1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Defaults: 11ac_help= 12ac_default_prefix=/usr/local 13# Any additions from configure.in: 14ac_help="$ac_help 15 --enable-default-service=SERVICE 16 the default service type to use 17 possibilities are: ezip, pgpow, justlinux, dhs, dnsomaic, 18 dyndns, dyndns-static, ods, tzo, gnudip, easydns, easydns-partner, dyns, hn, zoneedit, heipv6tb" 19ac_help="$ac_help 20 --enable-debug include support for debugging" 21ac_help="$ac_help 22 --disable-md5 disable MD5 support" 23 24# Initialize some variables set by options. 25# The variables have the same names as the options, with 26# dashes changed to underlines. 27build=NONE 28cache_file=./config.cache 29exec_prefix=NONE 30host=NONE 31no_create= 32nonopt=NONE 33no_recursion= 34prefix=NONE 35program_prefix=NONE 36program_suffix=NONE 37program_transform_name=s,x,x, 38silent= 39site= 40srcdir= 41target=NONE 42verbose= 43x_includes=NONE 44x_libraries=NONE 45bindir='${exec_prefix}/bin' 46sbindir='${exec_prefix}/sbin' 47libexecdir='${exec_prefix}/libexec' 48datadir='${prefix}/share' 49sysconfdir='${prefix}/etc' 50sharedstatedir='${prefix}/com' 51localstatedir='${prefix}/var' 52libdir='${exec_prefix}/lib' 53includedir='${prefix}/include' 54oldincludedir='/usr/include' 55infodir='${prefix}/info' 56mandir='${prefix}/man' 57 58# Initialize some other variables. 59subdirs= 60MFLAGS= MAKEFLAGS= 61SHELL=${CONFIG_SHELL-/bin/sh} 62# Maximum number of lines to put in a shell here document. 63ac_max_here_lines=12 64 65ac_prev= 66for ac_option 67do 68 69 # If the previous option needs an argument, assign it. 70 if test -n "$ac_prev"; then 71 eval "$ac_prev=\$ac_option" 72 ac_prev= 73 continue 74 fi 75 76 case "$ac_option" in 77 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 78 *) ac_optarg= ;; 79 esac 80 81 # Accept the important Cygnus configure options, so we can diagnose typos. 82 83 case "$ac_option" in 84 85 -bindir | --bindir | --bindi | --bind | --bin | --bi) 86 ac_prev=bindir ;; 87 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 88 bindir="$ac_optarg" ;; 89 90 -build | --build | --buil | --bui | --bu) 91 ac_prev=build ;; 92 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 93 build="$ac_optarg" ;; 94 95 -cache-file | --cache-file | --cache-fil | --cache-fi \ 96 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 97 ac_prev=cache_file ;; 98 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 99 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 100 cache_file="$ac_optarg" ;; 101 102 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 103 ac_prev=datadir ;; 104 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 105 | --da=*) 106 datadir="$ac_optarg" ;; 107 108 -disable-* | --disable-*) 109 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 110 # Reject names that are not valid shell variable names. 111 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 112 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 113 fi 114 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 115 eval "enable_${ac_feature}=no" ;; 116 117 -enable-* | --enable-*) 118 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 119 # Reject names that are not valid shell variable names. 120 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 121 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 122 fi 123 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 124 case "$ac_option" in 125 *=*) ;; 126 *) ac_optarg=yes ;; 127 esac 128 eval "enable_${ac_feature}='$ac_optarg'" ;; 129 130 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 131 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 132 | --exec | --exe | --ex) 133 ac_prev=exec_prefix ;; 134 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 135 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 136 | --exec=* | --exe=* | --ex=*) 137 exec_prefix="$ac_optarg" ;; 138 139 -gas | --gas | --ga | --g) 140 # Obsolete; use --with-gas. 141 with_gas=yes ;; 142 143 -help | --help | --hel | --he) 144 # Omit some internal or obsolete options to make the list less imposing. 145 # This message is too long to be a string in the A/UX 3.1 sh. 146 cat << EOF 147Usage: configure [options] [host] 148Options: [defaults in brackets after descriptions] 149Configuration: 150 --cache-file=FILE cache test results in FILE 151 --help print this message 152 --no-create do not create output files 153 --quiet, --silent do not print \`checking...' messages 154 --version print the version of autoconf that created configure 155Directory and file names: 156 --prefix=PREFIX install architecture-independent files in PREFIX 157 [$ac_default_prefix] 158 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 159 [same as prefix] 160 --bindir=DIR user executables in DIR [EPREFIX/bin] 161 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 162 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 163 --datadir=DIR read-only architecture-independent data in DIR 164 [PREFIX/share] 165 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 166 --sharedstatedir=DIR modifiable architecture-independent data in DIR 167 [PREFIX/com] 168 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 169 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 170 --includedir=DIR C header files in DIR [PREFIX/include] 171 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 172 --infodir=DIR info documentation in DIR [PREFIX/info] 173 --mandir=DIR man documentation in DIR [PREFIX/man] 174 --srcdir=DIR find the sources in DIR [configure dir or ..] 175 --program-prefix=PREFIX prepend PREFIX to installed program names 176 --program-suffix=SUFFIX append SUFFIX to installed program names 177 --program-transform-name=PROGRAM 178 run sed PROGRAM on installed program names 179EOF 180 cat << EOF 181Host type: 182 --build=BUILD configure for building on BUILD [BUILD=HOST] 183 --host=HOST configure for HOST [guessed] 184 --target=TARGET configure for TARGET [TARGET=HOST] 185Features and packages: 186 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 187 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 188 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 189 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 190 --x-includes=DIR X include files are in DIR 191 --x-libraries=DIR X library files are in DIR 192EOF 193 if test -n "$ac_help"; then 194 echo "--enable and --with options recognized:$ac_help" 195 fi 196 exit 0 ;; 197 198 -host | --host | --hos | --ho) 199 ac_prev=host ;; 200 -host=* | --host=* | --hos=* | --ho=*) 201 host="$ac_optarg" ;; 202 203 -includedir | --includedir | --includedi | --included | --include \ 204 | --includ | --inclu | --incl | --inc) 205 ac_prev=includedir ;; 206 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 207 | --includ=* | --inclu=* | --incl=* | --inc=*) 208 includedir="$ac_optarg" ;; 209 210 -infodir | --infodir | --infodi | --infod | --info | --inf) 211 ac_prev=infodir ;; 212 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 213 infodir="$ac_optarg" ;; 214 215 -libdir | --libdir | --libdi | --libd) 216 ac_prev=libdir ;; 217 -libdir=* | --libdir=* | --libdi=* | --libd=*) 218 libdir="$ac_optarg" ;; 219 220 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 221 | --libexe | --libex | --libe) 222 ac_prev=libexecdir ;; 223 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 224 | --libexe=* | --libex=* | --libe=*) 225 libexecdir="$ac_optarg" ;; 226 227 -localstatedir | --localstatedir | --localstatedi | --localstated \ 228 | --localstate | --localstat | --localsta | --localst \ 229 | --locals | --local | --loca | --loc | --lo) 230 ac_prev=localstatedir ;; 231 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 232 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 233 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 234 localstatedir="$ac_optarg" ;; 235 236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 237 ac_prev=mandir ;; 238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 239 mandir="$ac_optarg" ;; 240 241 -nfp | --nfp | --nf) 242 # Obsolete; use --without-fp. 243 with_fp=no ;; 244 245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 246 | --no-cr | --no-c) 247 no_create=yes ;; 248 249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 251 no_recursion=yes ;; 252 253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 255 | --oldin | --oldi | --old | --ol | --o) 256 ac_prev=oldincludedir ;; 257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 260 oldincludedir="$ac_optarg" ;; 261 262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 263 ac_prev=prefix ;; 264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 265 prefix="$ac_optarg" ;; 266 267 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 268 | --program-pre | --program-pr | --program-p) 269 ac_prev=program_prefix ;; 270 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 272 program_prefix="$ac_optarg" ;; 273 274 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 275 | --program-suf | --program-su | --program-s) 276 ac_prev=program_suffix ;; 277 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 279 program_suffix="$ac_optarg" ;; 280 281 -program-transform-name | --program-transform-name \ 282 | --program-transform-nam | --program-transform-na \ 283 | --program-transform-n | --program-transform- \ 284 | --program-transform | --program-transfor \ 285 | --program-transfo | --program-transf \ 286 | --program-trans | --program-tran \ 287 | --progr-tra | --program-tr | --program-t) 288 ac_prev=program_transform_name ;; 289 -program-transform-name=* | --program-transform-name=* \ 290 | --program-transform-nam=* | --program-transform-na=* \ 291 | --program-transform-n=* | --program-transform-=* \ 292 | --program-transform=* | --program-transfor=* \ 293 | --program-transfo=* | --program-transf=* \ 294 | --program-trans=* | --program-tran=* \ 295 | --progr-tra=* | --program-tr=* | --program-t=*) 296 program_transform_name="$ac_optarg" ;; 297 298 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 299 | -silent | --silent | --silen | --sile | --sil) 300 silent=yes ;; 301 302 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 303 ac_prev=sbindir ;; 304 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 305 | --sbi=* | --sb=*) 306 sbindir="$ac_optarg" ;; 307 308 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 309 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 310 | --sharedst | --shareds | --shared | --share | --shar \ 311 | --sha | --sh) 312 ac_prev=sharedstatedir ;; 313 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 314 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 315 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 316 | --sha=* | --sh=*) 317 sharedstatedir="$ac_optarg" ;; 318 319 -site | --site | --sit) 320 ac_prev=site ;; 321 -site=* | --site=* | --sit=*) 322 site="$ac_optarg" ;; 323 324 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 325 ac_prev=srcdir ;; 326 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 327 srcdir="$ac_optarg" ;; 328 329 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 330 | --syscon | --sysco | --sysc | --sys | --sy) 331 ac_prev=sysconfdir ;; 332 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 333 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 334 sysconfdir="$ac_optarg" ;; 335 336 -target | --target | --targe | --targ | --tar | --ta | --t) 337 ac_prev=target ;; 338 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 339 target="$ac_optarg" ;; 340 341 -v | -verbose | --verbose | --verbos | --verbo | --verb) 342 verbose=yes ;; 343 344 -version | --version | --versio | --versi | --vers) 345 echo "configure generated by autoconf version 2.13" 346 exit 0 ;; 347 348 -with-* | --with-*) 349 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 350 # Reject names that are not valid shell variable names. 351 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 352 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 353 fi 354 ac_package=`echo $ac_package| sed 's/-/_/g'` 355 case "$ac_option" in 356 *=*) ;; 357 *) ac_optarg=yes ;; 358 esac 359 eval "with_${ac_package}='$ac_optarg'" ;; 360 361 -without-* | --without-*) 362 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 363 # Reject names that are not valid shell variable names. 364 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 366 fi 367 ac_package=`echo $ac_package| sed 's/-/_/g'` 368 eval "with_${ac_package}=no" ;; 369 370 --x) 371 # Obsolete; use --with-x. 372 with_x=yes ;; 373 374 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 375 | --x-incl | --x-inc | --x-in | --x-i) 376 ac_prev=x_includes ;; 377 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 378 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 379 x_includes="$ac_optarg" ;; 380 381 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 382 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 383 ac_prev=x_libraries ;; 384 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 385 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 386 x_libraries="$ac_optarg" ;; 387 388 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 389 ;; 390 391 *) 392 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 393 echo "configure: warning: $ac_option: invalid host type" 1>&2 394 fi 395 if test "x$nonopt" != xNONE; then 396 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 397 fi 398 nonopt="$ac_option" 399 ;; 400 401 esac 402done 403 404if test -n "$ac_prev"; then 405 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 406fi 407 408trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 409 410# File descriptor usage: 411# 0 standard input 412# 1 file creation 413# 2 errors and warnings 414# 3 some systems may open it to /dev/tty 415# 4 used on the Kubota Titan 416# 6 checking for... messages and results 417# 5 compiler messages saved in config.log 418if test "$silent" = yes; then 419 exec 6>/dev/null 420else 421 exec 6>&1 422fi 423exec 5>./config.log 424 425echo "\ 426This file contains any messages produced by compilers while 427running configure, to aid debugging if configure makes a mistake. 428" 1>&5 429 430# Strip out --no-create and --no-recursion so they do not pile up. 431# Also quote any args containing shell metacharacters. 432ac_configure_args= 433for ac_arg 434do 435 case "$ac_arg" in 436 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 437 | --no-cr | --no-c) ;; 438 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 439 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 441 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 442 *) ac_configure_args="$ac_configure_args $ac_arg" ;; 443 esac 444done 445 446# NLS nuisances. 447# Only set these to C if already set. These must not be set unconditionally 448# because not all systems understand e.g. LANG=C (notably SCO). 449# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 450# Non-C LC_CTYPE values break the ctype check. 451if test "${LANG+set}" = set; then LANG=C; export LANG; fi 452if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 453if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 454if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 455 456# confdefs.h avoids OS command line length limits that DEFS can exceed. 457rm -rf conftest* confdefs.h 458# AIX cpp loses on an empty file, so make sure it contains at least a newline. 459echo > confdefs.h 460 461# A filename unique to this package, relative to the directory that 462# configure is in, which we can look for to find out if srcdir is correct. 463ac_unique_file=ez-ipupdate.c 464 465# Find the source files, if location was not specified. 466if test -z "$srcdir"; then 467 ac_srcdir_defaulted=yes 468 # Try the directory containing this script, then its parent. 469 ac_prog=$0 470 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 471 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 472 srcdir=$ac_confdir 473 if test ! -r $srcdir/$ac_unique_file; then 474 srcdir=.. 475 fi 476else 477 ac_srcdir_defaulted=no 478fi 479if test ! -r $srcdir/$ac_unique_file; then 480 if test "$ac_srcdir_defaulted" = yes; then 481 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 482 else 483 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 484 fi 485fi 486srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 487 488# Prefer explicitly selected file to automatically selected ones. 489if test -z "$CONFIG_SITE"; then 490 if test "x$prefix" != xNONE; then 491 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 492 else 493 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 494 fi 495fi 496for ac_site_file in $CONFIG_SITE; do 497 if test -r "$ac_site_file"; then 498 echo "loading site script $ac_site_file" 499 . "$ac_site_file" 500 fi 501done 502 503if test -r "$cache_file"; then 504 echo "loading cache $cache_file" 505 . $cache_file 506else 507 echo "creating cache $cache_file" 508 > $cache_file 509fi 510 511ac_ext=c 512# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 513ac_cpp='$CPP $CPPFLAGS' 514ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 515ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 516cross_compiling=$ac_cv_prog_cc_cross 517 518ac_exeext= 519ac_objext=o 520if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 521 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 522 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 523 ac_n= ac_c=' 524' ac_t=' ' 525 else 526 ac_n=-n ac_c= ac_t= 527 fi 528else 529 ac_n= ac_c='\c' ac_t= 530fi 531 532 533 534 535 536ac_aux_dir= 537for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 538 if test -f $ac_dir/install-sh; then 539 ac_aux_dir=$ac_dir 540 ac_install_sh="$ac_aux_dir/install-sh -c" 541 break 542 elif test -f $ac_dir/install.sh; then 543 ac_aux_dir=$ac_dir 544 ac_install_sh="$ac_aux_dir/install.sh -c" 545 break 546 fi 547done 548if test -z "$ac_aux_dir"; then 549 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 550fi 551ac_config_guess=$ac_aux_dir/config.guess 552ac_config_sub=$ac_aux_dir/config.sub 553ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 554 555# Find a good install program. We prefer a C program (faster), 556# so one script is as good as another. But avoid the broken or 557# incompatible versions: 558# SysV /etc/install, /usr/sbin/install 559# SunOS /usr/etc/install 560# IRIX /sbin/install 561# AIX /bin/install 562# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 563# AFS /usr/afsws/bin/install, which mishandles nonexistent args 564# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 565# ./install, which can be erroneously created by make from ./install.sh. 566echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 567echo "configure:568: checking for a BSD compatible install" >&5 568if test -z "$INSTALL"; then 569if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 570 echo $ac_n "(cached) $ac_c" 1>&6 571else 572 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 573 for ac_dir in $PATH; do 574 # Account for people who put trailing slashes in PATH elements. 575 case "$ac_dir/" in 576 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 577 *) 578 # OSF1 and SCO ODT 3.0 have their own names for install. 579 # Don't use installbsd from OSF since it installs stuff as root 580 # by default. 581 for ac_prog in ginstall scoinst install; do 582 if test -f $ac_dir/$ac_prog; then 583 if test $ac_prog = install && 584 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 585 # AIX install. It has an incompatible calling convention. 586 : 587 else 588 ac_cv_path_install="$ac_dir/$ac_prog -c" 589 break 2 590 fi 591 fi 592 done 593 ;; 594 esac 595 done 596 IFS="$ac_save_IFS" 597 598fi 599 if test "${ac_cv_path_install+set}" = set; then 600 INSTALL="$ac_cv_path_install" 601 else 602 # As a last resort, use the slow shell script. We don't cache a 603 # path for INSTALL within a source directory, because that will 604 # break other packages using the cache if that directory is 605 # removed, or if the path is relative. 606 INSTALL="$ac_install_sh" 607 fi 608fi 609echo "$ac_t""$INSTALL" 1>&6 610 611# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 612# It thinks the first close brace ends the variable substitution. 613test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 614 615test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 616 617test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 618 619echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 620echo "configure:621: checking whether build environment is sane" >&5 621# Just in case 622sleep 1 623echo timestamp > conftestfile 624# Do `set' in a subshell so we don't clobber the current shell's 625# arguments. Must try -L first in case configure is actually a 626# symlink; some systems play weird games with the mod time of symlinks 627# (eg FreeBSD returns the mod time of the symlink's containing 628# directory). 629if ( 630 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` 631 if test "$*" = "X"; then 632 # -L didn't work. 633 set X `ls -t $srcdir/configure conftestfile` 634 fi 635 if test "$*" != "X $srcdir/configure conftestfile" \ 636 && test "$*" != "X conftestfile $srcdir/configure"; then 637 638 # If neither matched, then we have a broken ls. This can happen 639 # if, for instance, CONFIG_SHELL is bash and it inherits a 640 # broken ls alias from the environment. This has actually 641 # happened. Such a system could not be considered "sane". 642 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken 643alias in your environment" 1>&2; exit 1; } 644 fi 645 646 test "$2" = conftestfile 647 ) 648then 649 # Ok. 650 : 651else 652 { echo "configure: error: newly created file is older than distributed files! 653Check your system clock" 1>&2; exit 1; } 654fi 655rm -f conftest* 656echo "$ac_t""yes" 1>&6 657if test "$program_transform_name" = s,x,x,; then 658 program_transform_name= 659else 660 # Double any \ or $. echo might interpret backslashes. 661 cat <<\EOF_SED > conftestsed 662s,\\,\\\\,g; s,\$,$$,g 663EOF_SED 664 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 665 rm -f conftestsed 666fi 667test "$program_prefix" != NONE && 668 program_transform_name="s,^,${program_prefix},; $program_transform_name" 669# Use a double $ so make ignores it. 670test "$program_suffix" != NONE && 671 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 672 673# sed with no file args requires a program. 674test "$program_transform_name" = "" && program_transform_name="s,x,x," 675 676echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 677echo "configure:678: checking whether ${MAKE-make} sets \${MAKE}" >&5 678set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 679if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 680 echo $ac_n "(cached) $ac_c" 1>&6 681else 682 cat > conftestmake <<\EOF 683all: 684 @echo 'ac_maketemp="${MAKE}"' 685EOF 686# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 687eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 688if test -n "$ac_maketemp"; then 689 eval ac_cv_prog_make_${ac_make}_set=yes 690else 691 eval ac_cv_prog_make_${ac_make}_set=no 692fi 693rm -f conftestmake 694fi 695if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 696 echo "$ac_t""yes" 1>&6 697 SET_MAKE= 698else 699 echo "$ac_t""no" 1>&6 700 SET_MAKE="MAKE=${MAKE-make}" 701fi 702 703 704PACKAGE=ez-ipupdate 705 706VERSION=3.0.11b7 707 708if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 709 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 710fi 711cat >> confdefs.h <<EOF 712#define PACKAGE "$PACKAGE" 713EOF 714 715cat >> confdefs.h <<EOF 716#define VERSION "$VERSION" 717EOF 718 719 720 721missing_dir=`cd $ac_aux_dir && pwd` 722echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 723echo "configure:724: checking for working aclocal" >&5 724# Run test in a subshell; some versions of sh will print an error if 725# an executable is not found, even if stderr is redirected. 726# Redirect stdin to placate older versions of autoconf. Sigh. 727if (aclocal --version) < /dev/null > /dev/null 2>&1; then 728 ACLOCAL=aclocal 729 echo "$ac_t""found" 1>&6 730else 731 ACLOCAL="$missing_dir/missing aclocal" 732 echo "$ac_t""missing" 1>&6 733fi 734 735echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 736echo "configure:737: checking for working autoconf" >&5 737# Run test in a subshell; some versions of sh will print an error if 738# an executable is not found, even if stderr is redirected. 739# Redirect stdin to placate older versions of autoconf. Sigh. 740if (autoconf --version) < /dev/null > /dev/null 2>&1; then 741 AUTOCONF=autoconf 742 echo "$ac_t""found" 1>&6 743else 744 AUTOCONF="$missing_dir/missing autoconf" 745 echo "$ac_t""missing" 1>&6 746fi 747 748echo $ac_n "checking for working automake""... $ac_c" 1>&6 749echo "configure:750: checking for working automake" >&5 750# Run test in a subshell; some versions of sh will print an error if 751# an executable is not found, even if stderr is redirected. 752# Redirect stdin to placate older versions of autoconf. Sigh. 753if (automake --version) < /dev/null > /dev/null 2>&1; then 754 AUTOMAKE=automake 755 echo "$ac_t""found" 1>&6 756else 757 AUTOMAKE="$missing_dir/missing automake" 758 echo "$ac_t""missing" 1>&6 759fi 760 761echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 762echo "configure:763: checking for working autoheader" >&5 763# Run test in a subshell; some versions of sh will print an error if 764# an executable is not found, even if stderr is redirected. 765# Redirect stdin to placate older versions of autoconf. Sigh. 766if (autoheader --version) < /dev/null > /dev/null 2>&1; then 767 AUTOHEADER=autoheader 768 echo "$ac_t""found" 1>&6 769else 770 AUTOHEADER="$missing_dir/missing autoheader" 771 echo "$ac_t""missing" 1>&6 772fi 773 774echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 775echo "configure:776: checking for working makeinfo" >&5 776# Run test in a subshell; some versions of sh will print an error if 777# an executable is not found, even if stderr is redirected. 778# Redirect stdin to placate older versions of autoconf. Sigh. 779if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 780 MAKEINFO=makeinfo 781 echo "$ac_t""found" 1>&6 782else 783 MAKEINFO="$missing_dir/missing makeinfo" 784 echo "$ac_t""missing" 1>&6 785fi 786 787 788 789 790 791if test "$program_transform_name" = s,x,x,; then 792 program_transform_name= 793else 794 # Double any \ or $. echo might interpret backslashes. 795 cat <<\EOF_SED > conftestsed 796s,\\,\\\\,g; s,\$,$$,g 797EOF_SED 798 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 799 rm -f conftestsed 800fi 801test "$program_prefix" != NONE && 802 program_transform_name="s,^,${program_prefix},; $program_transform_name" 803# Use a double $ so make ignores it. 804test "$program_suffix" != NONE && 805 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 806 807# sed with no file args requires a program. 808test "$program_transform_name" = "" && program_transform_name="s,x,x," 809 810# Extract the first word of "gcc", so it can be a program name with args. 811set dummy gcc; ac_word=$2 812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 813echo "configure:814: checking for $ac_word" >&5 814if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 815 echo $ac_n "(cached) $ac_c" 1>&6 816else 817 if test -n "$CC"; then 818 ac_cv_prog_CC="$CC" # Let the user override the test. 819else 820 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 821 ac_dummy="$PATH" 822 for ac_dir in $ac_dummy; do 823 test -z "$ac_dir" && ac_dir=. 824 if test -f $ac_dir/$ac_word; then 825 ac_cv_prog_CC="gcc" 826 break 827 fi 828 done 829 IFS="$ac_save_ifs" 830fi 831fi 832CC="$ac_cv_prog_CC" 833if test -n "$CC"; then 834 echo "$ac_t""$CC" 1>&6 835else 836 echo "$ac_t""no" 1>&6 837fi 838 839if test -z "$CC"; then 840 # Extract the first word of "cc", so it can be a program name with args. 841set dummy cc; ac_word=$2 842echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 843echo "configure:844: checking for $ac_word" >&5 844if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 845 echo $ac_n "(cached) $ac_c" 1>&6 846else 847 if test -n "$CC"; then 848 ac_cv_prog_CC="$CC" # Let the user override the test. 849else 850 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 851 ac_prog_rejected=no 852 ac_dummy="$PATH" 853 for ac_dir in $ac_dummy; do 854 test -z "$ac_dir" && ac_dir=. 855 if test -f $ac_dir/$ac_word; then 856 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 857 ac_prog_rejected=yes 858 continue 859 fi 860 ac_cv_prog_CC="cc" 861 break 862 fi 863 done 864 IFS="$ac_save_ifs" 865if test $ac_prog_rejected = yes; then 866 # We found a bogon in the path, so make sure we never use it. 867 set dummy $ac_cv_prog_CC 868 shift 869 if test $# -gt 0; then 870 # We chose a different compiler from the bogus one. 871 # However, it has the same basename, so the bogon will be chosen 872 # first if we set CC to just the basename; use the full file name. 873 shift 874 set dummy "$ac_dir/$ac_word" "$@" 875 shift 876 ac_cv_prog_CC="$@" 877 fi 878fi 879fi 880fi 881CC="$ac_cv_prog_CC" 882if test -n "$CC"; then 883 echo "$ac_t""$CC" 1>&6 884else 885 echo "$ac_t""no" 1>&6 886fi 887 888 if test -z "$CC"; then 889 case "`uname -s`" in 890 *win32* | *WIN32*) 891 # Extract the first word of "cl", so it can be a program name with args. 892set dummy cl; ac_word=$2 893echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 894echo "configure:895: checking for $ac_word" >&5 895if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 896 echo $ac_n "(cached) $ac_c" 1>&6 897else 898 if test -n "$CC"; then 899 ac_cv_prog_CC="$CC" # Let the user override the test. 900else 901 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 902 ac_dummy="$PATH" 903 for ac_dir in $ac_dummy; do 904 test -z "$ac_dir" && ac_dir=. 905 if test -f $ac_dir/$ac_word; then 906 ac_cv_prog_CC="cl" 907 break 908 fi 909 done 910 IFS="$ac_save_ifs" 911fi 912fi 913CC="$ac_cv_prog_CC" 914if test -n "$CC"; then 915 echo "$ac_t""$CC" 1>&6 916else 917 echo "$ac_t""no" 1>&6 918fi 919 ;; 920 esac 921 fi 922 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 923fi 924 925echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 926echo "configure:927: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 927 928ac_ext=c 929# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 930ac_cpp='$CPP $CPPFLAGS' 931ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 932ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 933cross_compiling=$ac_cv_prog_cc_cross 934 935cat > conftest.$ac_ext << EOF 936 937#line 938 "configure" 938#include "confdefs.h" 939 940main(){return(0);} 941EOF 942if { (eval echo configure:943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 943 ac_cv_prog_cc_works=yes 944 # If we can't run a trivial program, we are probably using a cross compiler. 945 if (./conftest; exit) 2>/dev/null; then 946 ac_cv_prog_cc_cross=no 947 else 948 ac_cv_prog_cc_cross=yes 949 fi 950else 951 echo "configure: failed program was:" >&5 952 cat conftest.$ac_ext >&5 953 ac_cv_prog_cc_works=no 954fi 955rm -fr conftest* 956ac_ext=c 957# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 958ac_cpp='$CPP $CPPFLAGS' 959ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 960ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 961cross_compiling=$ac_cv_prog_cc_cross 962 963echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 964if test $ac_cv_prog_cc_works = no; then 965 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 966fi 967echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 968echo "configure:969: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 969echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 970cross_compiling=$ac_cv_prog_cc_cross 971 972echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 973echo "configure:974: checking whether we are using GNU C" >&5 974if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 975 echo $ac_n "(cached) $ac_c" 1>&6 976else 977 cat > conftest.c <<EOF 978#ifdef __GNUC__ 979 yes; 980#endif 981EOF 982if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 983 ac_cv_prog_gcc=yes 984else 985 ac_cv_prog_gcc=no 986fi 987fi 988 989echo "$ac_t""$ac_cv_prog_gcc" 1>&6 990 991if test $ac_cv_prog_gcc = yes; then 992 GCC=yes 993else 994 GCC= 995fi 996 997ac_test_CFLAGS="${CFLAGS+set}" 998ac_save_CFLAGS="$CFLAGS" 999CFLAGS= 1000echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1001echo "configure:1002: checking whether ${CC-cc} accepts -g" >&5 1002if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1003 echo $ac_n "(cached) $ac_c" 1>&6 1004else 1005 echo 'void f(){}' > conftest.c 1006if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1007 ac_cv_prog_cc_g=yes 1008else 1009 ac_cv_prog_cc_g=no 1010fi 1011rm -f conftest* 1012 1013fi 1014 1015echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1016if test "$ac_test_CFLAGS" = set; then 1017 CFLAGS="$ac_save_CFLAGS" 1018elif test $ac_cv_prog_cc_g = yes; then 1019 if test "$GCC" = yes; then 1020 CFLAGS="-g -O2" 1021 else 1022 CFLAGS="-g" 1023 fi 1024else 1025 if test "$GCC" = yes; then 1026 CFLAGS="-O2" 1027 else 1028 CFLAGS= 1029 fi 1030fi 1031 1032echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1033echo "configure:1034: checking how to run the C preprocessor" >&5 1034# On Suns, sometimes $CPP names a directory. 1035if test -n "$CPP" && test -d "$CPP"; then 1036 CPP= 1037fi 1038if test -z "$CPP"; then 1039if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 1040 echo $ac_n "(cached) $ac_c" 1>&6 1041else 1042 # This must be in double quotes, not single quotes, because CPP may get 1043 # substituted into the Makefile and "${CC-cc}" will confuse make. 1044 CPP="${CC-cc} -E" 1045 # On the NeXT, cc -E runs the code through the compiler's parser, 1046 # not just through cpp. 1047 cat > conftest.$ac_ext <<EOF 1048#line 1049 "configure" 1049#include "confdefs.h" 1050#include <assert.h> 1051Syntax Error 1052EOF 1053ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1054{ (eval echo configure:1055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1055ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1056if test -z "$ac_err"; then 1057 : 1058else 1059 echo "$ac_err" >&5 1060 echo "configure: failed program was:" >&5 1061 cat conftest.$ac_ext >&5 1062 rm -rf conftest* 1063 CPP="${CC-cc} -E -traditional-cpp" 1064 cat > conftest.$ac_ext <<EOF 1065#line 1066 "configure" 1066#include "confdefs.h" 1067#include <assert.h> 1068Syntax Error 1069EOF 1070ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1071{ (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1072ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1073if test -z "$ac_err"; then 1074 : 1075else 1076 echo "$ac_err" >&5 1077 echo "configure: failed program was:" >&5 1078 cat conftest.$ac_ext >&5 1079 rm -rf conftest* 1080 CPP="${CC-cc} -nologo -E" 1081 cat > conftest.$ac_ext <<EOF 1082#line 1083 "configure" 1083#include "confdefs.h" 1084#include <assert.h> 1085Syntax Error 1086EOF 1087ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1088{ (eval echo configure:1089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1089ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1090if test -z "$ac_err"; then 1091 : 1092else 1093 echo "$ac_err" >&5 1094 echo "configure: failed program was:" >&5 1095 cat conftest.$ac_ext >&5 1096 rm -rf conftest* 1097 CPP=/lib/cpp 1098fi 1099rm -f conftest* 1100fi 1101rm -f conftest* 1102fi 1103rm -f conftest* 1104 ac_cv_prog_CPP="$CPP" 1105fi 1106 CPP="$ac_cv_prog_CPP" 1107else 1108 ac_cv_prog_CPP="$CPP" 1109fi 1110echo "$ac_t""$CPP" 1>&6 1111 1112# Find a good install program. We prefer a C program (faster), 1113# so one script is as good as another. But avoid the broken or 1114# incompatible versions: 1115# SysV /etc/install, /usr/sbin/install 1116# SunOS /usr/etc/install 1117# IRIX /sbin/install 1118# AIX /bin/install 1119# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1120# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1121# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1122# ./install, which can be erroneously created by make from ./install.sh. 1123echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1124echo "configure:1125: checking for a BSD compatible install" >&5 1125if test -z "$INSTALL"; then 1126if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1127 echo $ac_n "(cached) $ac_c" 1>&6 1128else 1129 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1130 for ac_dir in $PATH; do 1131 # Account for people who put trailing slashes in PATH elements. 1132 case "$ac_dir/" in 1133 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1134 *) 1135 # OSF1 and SCO ODT 3.0 have their own names for install. 1136 # Don't use installbsd from OSF since it installs stuff as root 1137 # by default. 1138 for ac_prog in ginstall scoinst install; do 1139 if test -f $ac_dir/$ac_prog; then 1140 if test $ac_prog = install && 1141 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1142 # AIX install. It has an incompatible calling convention. 1143 : 1144 else 1145 ac_cv_path_install="$ac_dir/$ac_prog -c" 1146 break 2 1147 fi 1148 fi 1149 done 1150 ;; 1151 esac 1152 done 1153 IFS="$ac_save_IFS" 1154 1155fi 1156 if test "${ac_cv_path_install+set}" = set; then 1157 INSTALL="$ac_cv_path_install" 1158 else 1159 # As a last resort, use the slow shell script. We don't cache a 1160 # path for INSTALL within a source directory, because that will 1161 # break other packages using the cache if that directory is 1162 # removed, or if the path is relative. 1163 INSTALL="$ac_install_sh" 1164 fi 1165fi 1166echo "$ac_t""$INSTALL" 1>&6 1167 1168# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1169# It thinks the first close brace ends the variable substitution. 1170test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1171 1172test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1173 1174test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1175 1176 1177echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 1178echo "configure:1179: checking return type of signal handlers" >&5 1179if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 1180 echo $ac_n "(cached) $ac_c" 1>&6 1181else 1182 cat > conftest.$ac_ext <<EOF 1183#line 1184 "configure" 1184#include "confdefs.h" 1185#include <sys/types.h> 1186#include <signal.h> 1187#ifdef signal 1188#undef signal 1189#endif 1190#ifdef __cplusplus 1191extern "C" void (*signal (int, void (*)(int)))(int); 1192#else 1193void (*signal ()) (); 1194#endif 1195 1196int main() { 1197int i; 1198; return 0; } 1199EOF 1200if { (eval echo configure:1201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1201 rm -rf conftest* 1202 ac_cv_type_signal=void 1203else 1204 echo "configure: failed program was:" >&5 1205 cat conftest.$ac_ext >&5 1206 rm -rf conftest* 1207 ac_cv_type_signal=int 1208fi 1209rm -f conftest* 1210fi 1211 1212echo "$ac_t""$ac_cv_type_signal" 1>&6 1213cat >> confdefs.h <<EOF 1214#define RETSIGTYPE $ac_cv_type_signal 1215EOF 1216 1217 1218 1219 1220echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 1221echo "configure:1222: checking for gethostbyname" >&5 1222if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then 1223 echo $ac_n "(cached) $ac_c" 1>&6 1224else 1225 cat > conftest.$ac_ext <<EOF 1226#line 1227 "configure" 1227#include "confdefs.h" 1228/* System header to define __stub macros and hopefully few prototypes, 1229 which can conflict with char gethostbyname(); below. */ 1230#include <assert.h> 1231/* Override any gcc2 internal prototype to avoid an error. */ 1232/* We use char because int might match the return type of a gcc2 1233 builtin and then its argument prototype would still apply. */ 1234char gethostbyname(); 1235 1236int main() { 1237 1238/* The GNU C library defines this for functions which it implements 1239 to always fail with ENOSYS. Some functions are actually named 1240 something starting with __ and the normal name is an alias. */ 1241#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) 1242choke me 1243#else 1244gethostbyname(); 1245#endif 1246 1247; return 0; } 1248EOF 1249if { (eval echo configure:1250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1250 rm -rf conftest* 1251 eval "ac_cv_func_gethostbyname=yes" 1252else 1253 echo "configure: failed program was:" >&5 1254 cat conftest.$ac_ext >&5 1255 rm -rf conftest* 1256 eval "ac_cv_func_gethostbyname=no" 1257fi 1258rm -f conftest* 1259fi 1260 1261if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then 1262 echo "$ac_t""yes" 1>&6 1263 : 1264else 1265 echo "$ac_t""no" 1>&6 1266fi 1267 1268if test $ac_cv_func_gethostbyname = no; then 1269 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1270echo "configure:1271: checking for gethostbyname in -lnsl" >&5 1271ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1272if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1273 echo $ac_n "(cached) $ac_c" 1>&6 1274else 1275 ac_save_LIBS="$LIBS" 1276LIBS="-lnsl $LIBS" 1277cat > conftest.$ac_ext <<EOF 1278#line 1279 "configure" 1279#include "confdefs.h" 1280/* Override any gcc2 internal prototype to avoid an error. */ 1281/* We use char because int might match the return type of a gcc2 1282 builtin and then its argument prototype would still apply. */ 1283char gethostbyname(); 1284 1285int main() { 1286gethostbyname() 1287; return 0; } 1288EOF 1289if { (eval echo configure:1290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1290 rm -rf conftest* 1291 eval "ac_cv_lib_$ac_lib_var=yes" 1292else 1293 echo "configure: failed program was:" >&5 1294 cat conftest.$ac_ext >&5 1295 rm -rf conftest* 1296 eval "ac_cv_lib_$ac_lib_var=no" 1297fi 1298rm -f conftest* 1299LIBS="$ac_save_LIBS" 1300 1301fi 1302if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1303 echo "$ac_t""yes" 1>&6 1304 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1305 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1306 cat >> confdefs.h <<EOF 1307#define $ac_tr_lib 1 1308EOF 1309 1310 LIBS="-lnsl $LIBS" 1311 1312else 1313 echo "$ac_t""no" 1>&6 1314fi 1315 1316fi 1317echo $ac_n "checking for connect""... $ac_c" 1>&6 1318echo "configure:1319: checking for connect" >&5 1319if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then 1320 echo $ac_n "(cached) $ac_c" 1>&6 1321else 1322 cat > conftest.$ac_ext <<EOF 1323#line 1324 "configure" 1324#include "confdefs.h" 1325/* System header to define __stub macros and hopefully few prototypes, 1326 which can conflict with char connect(); below. */ 1327#include <assert.h> 1328/* Override any gcc2 internal prototype to avoid an error. */ 1329/* We use char because int might match the return type of a gcc2 1330 builtin and then its argument prototype would still apply. */ 1331char connect(); 1332 1333int main() { 1334 1335/* The GNU C library defines this for functions which it implements 1336 to always fail with ENOSYS. Some functions are actually named 1337 something starting with __ and the normal name is an alias. */ 1338#if defined (__stub_connect) || defined (__stub___connect) 1339choke me 1340#else 1341connect(); 1342#endif 1343 1344; return 0; } 1345EOF 1346if { (eval echo configure:1347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1347 rm -rf conftest* 1348 eval "ac_cv_func_connect=yes" 1349else 1350 echo "configure: failed program was:" >&5 1351 cat conftest.$ac_ext >&5 1352 rm -rf conftest* 1353 eval "ac_cv_func_connect=no" 1354fi 1355rm -f conftest* 1356fi 1357 1358if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then 1359 echo "$ac_t""yes" 1>&6 1360 : 1361else 1362 echo "$ac_t""no" 1>&6 1363fi 1364 1365if test $ac_cv_func_connect = no; then 1366 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 1367echo "configure:1368: checking for connect in -lsocket" >&5 1368ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 1369if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1370 echo $ac_n "(cached) $ac_c" 1>&6 1371else 1372 ac_save_LIBS="$LIBS" 1373LIBS="-lsocket $LIBS" 1374cat > conftest.$ac_ext <<EOF 1375#line 1376 "configure" 1376#include "confdefs.h" 1377/* Override any gcc2 internal prototype to avoid an error. */ 1378/* We use char because int might match the return type of a gcc2 1379 builtin and then its argument prototype would still apply. */ 1380char connect(); 1381 1382int main() { 1383connect() 1384; return 0; } 1385EOF 1386if { (eval echo configure:1387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1387 rm -rf conftest* 1388 eval "ac_cv_lib_$ac_lib_var=yes" 1389else 1390 echo "configure: failed program was:" >&5 1391 cat conftest.$ac_ext >&5 1392 rm -rf conftest* 1393 eval "ac_cv_lib_$ac_lib_var=no" 1394fi 1395rm -f conftest* 1396LIBS="$ac_save_LIBS" 1397 1398fi 1399if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1400 echo "$ac_t""yes" 1>&6 1401 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1402 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1403 cat >> confdefs.h <<EOF 1404#define $ac_tr_lib 1 1405EOF 1406 1407 LIBS="-lsocket $LIBS" 1408 1409else 1410 echo "$ac_t""no" 1>&6 1411fi 1412 1413fi 1414 1415for ac_func in socket \ 1416 strdup \ 1417 getopt_long \ 1418 gethostbyaddr \ 1419 getservbyname \ 1420 inet_addr \ 1421 inet_ntoa \ 1422 snprintf \ 1423 vfprintf \ 1424 stat \ 1425 vsprintf \ 1426 vsnprintf \ 1427 strerror \ 1428 strftime \ 1429 wait \ 1430 waitpid \ 1431 getpid \ 1432 fork \ 1433 vfork \ 1434 getuid \ 1435 geteuid \ 1436 setuid \ 1437 seteuid \ 1438 getgid \ 1439 getegid \ 1440 setgid \ 1441 setegid \ 1442 inet_aton \ 1443 herror 1444do 1445echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1446echo "configure:1447: checking for $ac_func" >&5 1447if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1448 echo $ac_n "(cached) $ac_c" 1>&6 1449else 1450 cat > conftest.$ac_ext <<EOF 1451#line 1452 "configure" 1452#include "confdefs.h" 1453/* System header to define __stub macros and hopefully few prototypes, 1454 which can conflict with char $ac_func(); below. */ 1455#include <assert.h> 1456/* Override any gcc2 internal prototype to avoid an error. */ 1457/* We use char because int might match the return type of a gcc2 1458 builtin and then its argument prototype would still apply. */ 1459char $ac_func(); 1460 1461int main() { 1462 1463/* The GNU C library defines this for functions which it implements 1464 to always fail with ENOSYS. Some functions are actually named 1465 something starting with __ and the normal name is an alias. */ 1466#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 1467choke me 1468#else 1469$ac_func(); 1470#endif 1471 1472; return 0; } 1473EOF 1474if { (eval echo configure:1475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1475 rm -rf conftest* 1476 eval "ac_cv_func_$ac_func=yes" 1477else 1478 echo "configure: failed program was:" >&5 1479 cat conftest.$ac_ext >&5 1480 rm -rf conftest* 1481 eval "ac_cv_func_$ac_func=no" 1482fi 1483rm -f conftest* 1484fi 1485 1486if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 1487 echo "$ac_t""yes" 1>&6 1488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1489 cat >> confdefs.h <<EOF 1490#define $ac_tr_func 1 1491EOF 1492 1493else 1494 echo "$ac_t""no" 1>&6 1495fi 1496done 1497 1498 1499for ac_hdr in arpa/inet.h \ 1500 sys/types.h \ 1501 sys/time.h \ 1502 sys/stat.h \ 1503 fcntl.h \ 1504 signal.h \ 1505 syslog.h \ 1506 pwd.h \ 1507 stdarg.h \ 1508 grp.h \ 1509 errno.h \ 1510 sys/sockio.h \ 1511 sys/wait.h \ 1512 getopt.h 1513do 1514ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1515echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1516echo "configure:1517: checking for $ac_hdr" >&5 1517if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1518 echo $ac_n "(cached) $ac_c" 1>&6 1519else 1520 cat > conftest.$ac_ext <<EOF 1521#line 1522 "configure" 1522#include "confdefs.h" 1523#include <$ac_hdr> 1524EOF 1525ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1526{ (eval echo configure:1527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1527ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1528if test -z "$ac_err"; then 1529 rm -rf conftest* 1530 eval "ac_cv_header_$ac_safe=yes" 1531else 1532 echo "$ac_err" >&5 1533 echo "configure: failed program was:" >&5 1534 cat conftest.$ac_ext >&5 1535 rm -rf conftest* 1536 eval "ac_cv_header_$ac_safe=no" 1537fi 1538rm -f conftest* 1539fi 1540if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1541 echo "$ac_t""yes" 1>&6 1542 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1543 cat >> confdefs.h <<EOF 1544#define $ac_tr_hdr 1 1545EOF 1546 1547else 1548 echo "$ac_t""no" 1>&6 1549fi 1550done 1551 1552for ac_hdr in unistd.h \ 1553 netinet/in.h \ 1554 netdb.h \ 1555 sys/socket.h 1556 1557do 1558ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1559echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1560echo "configure:1561: checking for $ac_hdr" >&5 1561if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1562 echo $ac_n "(cached) $ac_c" 1>&6 1563else 1564 cat > conftest.$ac_ext <<EOF 1565#line 1566 "configure" 1566#include "confdefs.h" 1567#include <$ac_hdr> 1568EOF 1569ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1570{ (eval echo configure:1571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1571ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1572if test -z "$ac_err"; then 1573 rm -rf conftest* 1574 eval "ac_cv_header_$ac_safe=yes" 1575else 1576 echo "$ac_err" >&5 1577 echo "configure: failed program was:" >&5 1578 cat conftest.$ac_ext >&5 1579 rm -rf conftest* 1580 eval "ac_cv_header_$ac_safe=no" 1581fi 1582rm -f conftest* 1583fi 1584if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 1585 echo "$ac_t""yes" 1>&6 1586 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 1587 cat >> confdefs.h <<EOF 1588#define $ac_tr_hdr 1 1589EOF 1590 1591else 1592 echo "$ac_t""no" 1>&6 1593{ echo "configure: error: could not locate neccessary system header files" 1>&2; exit 1; } 1594fi 1595done 1596 1597 1598echo $ac_n "checking for sys_errlist in -lc""... $ac_c" 1>&6 1599echo "configure:1600: checking for sys_errlist in -lc" >&5 1600ac_lib_var=`echo c'_'sys_errlist | sed 'y%./+-%__p_%'` 1601if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1602 echo $ac_n "(cached) $ac_c" 1>&6 1603else 1604 ac_save_LIBS="$LIBS" 1605LIBS="-lc $LIBS" 1606cat > conftest.$ac_ext <<EOF 1607#line 1608 "configure" 1608#include "confdefs.h" 1609/* Override any gcc2 internal prototype to avoid an error. */ 1610/* We use char because int might match the return type of a gcc2 1611 builtin and then its argument prototype would still apply. */ 1612char sys_errlist(); 1613 1614int main() { 1615sys_errlist() 1616; return 0; } 1617EOF 1618if { (eval echo configure:1619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1619 rm -rf conftest* 1620 eval "ac_cv_lib_$ac_lib_var=yes" 1621else 1622 echo "configure: failed program was:" >&5 1623 cat conftest.$ac_ext >&5 1624 rm -rf conftest* 1625 eval "ac_cv_lib_$ac_lib_var=no" 1626fi 1627rm -f conftest* 1628LIBS="$ac_save_LIBS" 1629 1630fi 1631if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1632 echo "$ac_t""yes" 1>&6 1633 cat >> confdefs.h <<\EOF 1634#define HAVE_SYS_ERRLIST 1 1635EOF 1636 1637else 1638 echo "$ac_t""no" 1>&6 1639fi 1640 1641 1642for ac_func in getopt 1643do 1644echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1645echo "configure:1646: checking for $ac_func" >&5 1646if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1647 echo $ac_n "(cached) $ac_c" 1>&6 1648else 1649 cat > conftest.$ac_ext <<EOF 1650#line 1651 "configure" 1651#include "confdefs.h" 1652/* System header to define __stub macros and hopefully few prototypes, 1653 which can conflict with char $ac_func(); below. */ 1654#include <assert.h> 1655/* Override any gcc2 internal prototype to avoid an error. */ 1656/* We use char because int might match the return type of a gcc2 1657 builtin and then its argument prototype would still apply. */ 1658char $ac_func(); 1659 1660int main() { 1661 1662/* The GNU C library defines this for functions which it implements 1663 to always fail with ENOSYS. Some functions are actually named 1664 something starting with __ and the normal name is an alias. */ 1665#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 1666choke me 1667#else 1668$ac_func(); 1669#endif 1670 1671; return 0; } 1672EOF 1673if { (eval echo configure:1674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1674 rm -rf conftest* 1675 eval "ac_cv_func_$ac_func=yes" 1676else 1677 echo "configure: failed program was:" >&5 1678 cat conftest.$ac_ext >&5 1679 rm -rf conftest* 1680 eval "ac_cv_func_$ac_func=no" 1681fi 1682rm -f conftest* 1683fi 1684 1685if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 1686 echo "$ac_t""yes" 1>&6 1687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1688 cat >> confdefs.h <<EOF 1689#define $ac_tr_func 1 1690EOF 1691 1692else 1693 echo "$ac_t""no" 1>&6 1694fi 1695done 1696 1697if test "$ac_cv_func_getopt" != yes; then 1698 { echo "configure: error: getopt is needed for this program to work" 1>&2; exit 1; } 1699fi 1700 1701echo $ac_n "checking for getpass""... $ac_c" 1>&6 1702echo "configure:1703: checking for getpass" >&5 1703if eval "test \"`echo '$''{'ac_cv_func_getpass'+set}'`\" = set"; then 1704 echo $ac_n "(cached) $ac_c" 1>&6 1705else 1706 cat > conftest.$ac_ext <<EOF 1707#line 1708 "configure" 1708#include "confdefs.h" 1709/* System header to define __stub macros and hopefully few prototypes, 1710 which can conflict with char getpass(); below. */ 1711#include <assert.h> 1712/* Override any gcc2 internal prototype to avoid an error. */ 1713/* We use char because int might match the return type of a gcc2 1714 builtin and then its argument prototype would still apply. */ 1715char getpass(); 1716 1717int main() { 1718 1719/* The GNU C library defines this for functions which it implements 1720 to always fail with ENOSYS. Some functions are actually named 1721 something starting with __ and the normal name is an alias. */ 1722#if defined (__stub_getpass) || defined (__stub___getpass) 1723choke me 1724#else 1725getpass(); 1726#endif 1727 1728; return 0; } 1729EOF 1730if { (eval echo configure:1731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1731 rm -rf conftest* 1732 eval "ac_cv_func_getpass=yes" 1733else 1734 echo "configure: failed program was:" >&5 1735 cat conftest.$ac_ext >&5 1736 rm -rf conftest* 1737 eval "ac_cv_func_getpass=no" 1738fi 1739rm -f conftest* 1740fi 1741 1742if eval "test \"`echo '$ac_cv_func_'getpass`\" = yes"; then 1743 echo "$ac_t""yes" 1>&6 1744 cat >> confdefs.h <<\EOF 1745#define HAVE_GETPASS 1 1746EOF 1747 1748else 1749 echo "$ac_t""no" 1>&6 1750EXTRASRC="$EXTRASRC \$(srcdir)/getpass.c" 1751 EXTRAOBJ="$EXTRAOBJ \$(srcdir)/getpass.o" 1752fi 1753 1754 1755 1756# Make sure we can run config.sub. 1757if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 1758else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 1759fi 1760 1761echo $ac_n "checking host system type""... $ac_c" 1>&6 1762echo "configure:1763: checking host system type" >&5 1763 1764host_alias=$host 1765case "$host_alias" in 1766NONE) 1767 case $nonopt in 1768 NONE) 1769 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 1770 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 1771 fi ;; 1772 *) host_alias=$nonopt ;; 1773 esac ;; 1774esac 1775 1776host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 1777host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1778host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1779host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1780echo "$ac_t""$host" 1>&6 1781 1782cat >> confdefs.h <<EOF 1783#define OS "${host}" 1784EOF 1785 1786 1787echo $ac_n "checking for user supplied default service""... $ac_c" 1>&6 1788echo "configure:1789: checking for user supplied default service" >&5 1789# Check whether --enable-default-service or --disable-default-service was given. 1790if test "${enable_default_service+set}" = set; then 1791 enableval="$enable_default_service" 1792 use_SERVICE=$enableval; 1793 echo "$ac_t""yes" 1>&6 1794else 1795 echo "$ac_t""no" 1>&6 1796 use_SERVICE=null 1797 echo "configure: warning: not setting default service" 1>&2 1798fi 1799 1800case "$use_SERVICE" in 1801 ezip ) cat >> confdefs.h <<\EOF 1802#define DEF_SERVICE "ezip" 1803EOF 1804;; 1805 ez-ip ) cat >> confdefs.h <<\EOF 1806#define DEF_SERVICE "ezip" 1807EOF 1808;; 1809 pgpow ) cat >> confdefs.h <<\EOF 1810#define DEF_SERVICE "pgpow" 1811EOF 1812;; 1813 penguinpowered ) cat >> confdefs.h <<\EOF 1814#define DEF_SERVICE "pgpow" 1815EOF 1816;; 1817 justlinux ) cat >> confdefs.h <<\EOF 1818#define DEF_SERVICE "justlinux" 1819EOF 1820;; 1821 dhs ) cat >> confdefs.h <<\EOF 1822#define DEF_SERVICE "dhs" 1823EOF 1824;; 1825 dnsomatic ) cat >> confdefs.h <<\EOF 1826#define DEF_SERVICE "dnsomatic" 1827EOF 1828;; 1829 dyndns ) cat >> confdefs.h <<\EOF 1830#define DEF_SERVICE "dyndns" 1831EOF 1832;; 1833 dyndns-stat ) cat >> confdefs.h <<\EOF 1834#define DEF_SERVICE "dyndns-stat" 1835EOF 1836;; 1837 dyndns-static ) cat >> confdefs.h <<\EOF 1838#define DEF_SERVICE "dyndns-static" 1839EOF 1840;; 1841 ods ) cat >> confdefs.h <<\EOF 1842#define DEF_SERVICE "ods" 1843EOF 1844;; 1845 tzo ) cat >> confdefs.h <<\EOF 1846#define DEF_SERVICE "tzo" 1847EOF 1848;; 1849 gnudip ) cat >> confdefs.h <<\EOF 1850#define DEF_SERVICE "gnudip" 1851EOF 1852;; 1853 easydns ) cat >> confdefs.h <<\EOF 1854#define DEF_SERVICE "easydns" 1855EOF 1856;; 1857 easydns-partner ) cat >> confdefs.h <<\EOF 1858#define DEF_SERVICE "easydns-partner" 1859EOF 1860;; 1861 dyns ) cat >> confdefs.h <<\EOF 1862#define DEF_SERVICE "dyns" 1863EOF 1864;; 1865 hn ) cat >> confdefs.h <<\EOF 1866#define DEF_SERVICE "hn" 1867EOF 1868;; 1869 zoneedit ) cat >> confdefs.h <<\EOF 1870#define DEF_SERVICE "zoneedit" 1871EOF 1872;; 1873 heipv6tb ) cat >> confdefs.h <<\EOF 1874#define DEF_SERVICE "heipv6tb" 1875EOF 1876;; 1877 null ) cat >> confdefs.h <<\EOF 1878#define DEF_SERVICE "NULL" 1879EOF 1880;; 1881 "" ) ;; 1882 * ) { echo "configure: error: unknown default service type" 1>&2; exit 1; };; 1883esac 1884 1885echo $ac_n "checking whether user wants debugging support""... $ac_c" 1>&6 1886echo "configure:1883: checking whether user wants debugging support" >&5 1887# Check whether --enable-debug or --disable-debug was given. 1888if test "${enable_debug+set}" = set; then 1889 enableval="$enable_debug" 1890 cat >> confdefs.h <<\EOF 1891#define DEBUG 1 1892EOF 1893 1894 echo "$ac_t""yes" 1>&6 1895else 1896 echo "$ac_t""no" 1>&6 1897fi 1898 1899 1900echo $ac_n "checking whether user wants to dissable MD5 support""... $ac_c" 1>&6 1901echo "configure:1898: checking whether user wants to dissable MD5 support" >&5 1902# Check whether --enable-md5 or --disable-md5 was given. 1903if test "${enable_md5+set}" = set; then 1904 enableval="$enable_md5" 1905 echo "$ac_t""yes" 1>&6 1906else 1907 cat >> confdefs.h <<\EOF 1908#define USE_MD5 1 1909EOF 1910 1911 echo "$ac_t""no" 1>&6 1912fi 1913 1914 1915 1916 1917 1918trap '' 1 2 15 1919cat > confcache <<\EOF 1920# This file is a shell script that caches the results of configure 1921# tests run on this system so they can be shared between configure 1922# scripts and configure runs. It is not useful on other systems. 1923# If it contains results you don't want to keep, you may remove or edit it. 1924# 1925# By default, configure uses ./config.cache as the cache file, 1926# creating it if it does not exist already. You can give configure 1927# the --cache-file=FILE option to use a different cache file; that is 1928# what configure does when it calls configure scripts in 1929# subdirectories, so they share the cache. 1930# Giving --cache-file=/dev/null disables caching, for debugging configure. 1931# config.status only pays attention to the cache file if you give it the 1932# --recheck option to rerun configure. 1933# 1934EOF 1935# The following way of writing the cache mishandles newlines in values, 1936# but we know of no workaround that is simple, portable, and efficient. 1937# So, don't put newlines in cache variables' values. 1938# Ultrix sh set writes to stderr and can't be redirected directly, 1939# and sets the high bit in the cache file unless we assign to the vars. 1940(set) 2>&1 | 1941 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1942 *ac_space=\ *) 1943 # `set' does not quote correctly, so add quotes (double-quote substitution 1944 # turns \\\\ into \\, and sed turns \\ into \). 1945 sed -n \ 1946 -e "s/'/'\\\\''/g" \ 1947 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 1948 ;; 1949 *) 1950 # `set' quotes correctly as required by POSIX, so do not add quotes. 1951 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 1952 ;; 1953 esac >> confcache 1954if cmp -s $cache_file confcache; then 1955 : 1956else 1957 if test -w $cache_file; then 1958 echo "updating cache $cache_file" 1959 cat confcache > $cache_file 1960 else 1961 echo "not updating unwritable cache $cache_file" 1962 fi 1963fi 1964rm -f confcache 1965 1966trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 1967 1968test "x$prefix" = xNONE && prefix=$ac_default_prefix 1969# Let make expand exec_prefix. 1970test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1971 1972# Any assignment to VPATH causes Sun make to only execute 1973# the first set of double-colon rules, so remove it if not needed. 1974# If there is a colon in the path, we need to keep it. 1975if test "x$srcdir" = x.; then 1976 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 1977fi 1978 1979trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 1980 1981DEFS=-DHAVE_CONFIG_H 1982 1983# Without the "./", some shells look in PATH for config.status. 1984: ${CONFIG_STATUS=./config.status} 1985 1986echo creating $CONFIG_STATUS 1987rm -f $CONFIG_STATUS 1988cat > $CONFIG_STATUS <<EOF 1989#! /bin/sh 1990# Generated automatically by configure. 1991# Run this file to recreate the current configuration. 1992# This directory was configured as follows, 1993# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 1994# 1995# $0 $ac_configure_args 1996# 1997# Compiler output produced by configure, useful for debugging 1998# configure, is in ./config.log if it exists. 1999 2000ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 2001for ac_option 2002do 2003 case "\$ac_option" in 2004 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2005 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 2006 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2007 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2008 echo "$CONFIG_STATUS generated by autoconf version 2.13" 2009 exit 0 ;; 2010 -help | --help | --hel | --he | --h) 2011 echo "\$ac_cs_usage"; exit 0 ;; 2012 *) echo "\$ac_cs_usage"; exit 1 ;; 2013 esac 2014done 2015 2016ac_given_srcdir=$srcdir 2017ac_given_INSTALL="$INSTALL" 2018 2019trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2020EOF 2021cat >> $CONFIG_STATUS <<EOF 2022 2023# Protect against being on the right side of a sed subst in config.status. 2024sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 2025 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 2026$ac_vpsub 2027$extrasub 2028s%@SHELL@%$SHELL%g 2029s%@CFLAGS@%$CFLAGS%g 2030s%@CPPFLAGS@%$CPPFLAGS%g 2031s%@CXXFLAGS@%$CXXFLAGS%g 2032s%@FFLAGS@%$FFLAGS%g 2033s%@DEFS@%$DEFS%g 2034s%@LDFLAGS@%$LDFLAGS%g 2035s%@LIBS@%$LIBS%g 2036s%@exec_prefix@%$exec_prefix%g 2037s%@prefix@%$prefix%g 2038s%@program_transform_name@%$program_transform_name%g 2039s%@bindir@%$bindir%g 2040s%@sbindir@%$sbindir%g 2041s%@libexecdir@%$libexecdir%g 2042s%@datadir@%$datadir%g 2043s%@sysconfdir@%$sysconfdir%g 2044s%@sharedstatedir@%$sharedstatedir%g 2045s%@localstatedir@%$localstatedir%g 2046s%@libdir@%$libdir%g 2047s%@includedir@%$includedir%g 2048s%@oldincludedir@%$oldincludedir%g 2049s%@infodir@%$infodir%g 2050s%@mandir@%$mandir%g 2051s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 2052s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 2053s%@INSTALL_DATA@%$INSTALL_DATA%g 2054s%@PACKAGE@%$PACKAGE%g 2055s%@VERSION@%$VERSION%g 2056s%@ACLOCAL@%$ACLOCAL%g 2057s%@AUTOCONF@%$AUTOCONF%g 2058s%@AUTOMAKE@%$AUTOMAKE%g 2059s%@AUTOHEADER@%$AUTOHEADER%g 2060s%@MAKEINFO@%$MAKEINFO%g 2061s%@SET_MAKE@%$SET_MAKE%g 2062s%@CC@%$CC%g 2063s%@CPP@%$CPP%g 2064s%@host@%$host%g 2065s%@host_alias@%$host_alias%g 2066s%@host_cpu@%$host_cpu%g 2067s%@host_vendor@%$host_vendor%g 2068s%@host_os@%$host_os%g 2069s%@EXTRASRC@%$EXTRASRC%g 2070s%@EXTRAOBJ@%$EXTRAOBJ%g 2071 2072CEOF 2073EOF 2074 2075cat >> $CONFIG_STATUS <<\EOF 2076 2077# Split the substitutions into bite-sized pieces for seds with 2078# small command number limits, like on Digital OSF/1 and HP-UX. 2079ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 2080ac_file=1 # Number of current file. 2081ac_beg=1 # First line for current file. 2082ac_end=$ac_max_sed_cmds # Line after last line for current file. 2083ac_more_lines=: 2084ac_sed_cmds="" 2085while $ac_more_lines; do 2086 if test $ac_beg -gt 1; then 2087 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 2088 else 2089 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 2090 fi 2091 if test ! -s conftest.s$ac_file; then 2092 ac_more_lines=false 2093 rm -f conftest.s$ac_file 2094 else 2095 if test -z "$ac_sed_cmds"; then 2096 ac_sed_cmds="sed -f conftest.s$ac_file" 2097 else 2098 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 2099 fi 2100 ac_file=`expr $ac_file + 1` 2101 ac_beg=$ac_end 2102 ac_end=`expr $ac_end + $ac_max_sed_cmds` 2103 fi 2104done 2105if test -z "$ac_sed_cmds"; then 2106 ac_sed_cmds=cat 2107fi 2108EOF 2109 2110cat >> $CONFIG_STATUS <<EOF 2111 2112CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 2113EOF 2114cat >> $CONFIG_STATUS <<\EOF 2115for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 2116 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2117 case "$ac_file" in 2118 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2119 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2120 *) ac_file_in="${ac_file}.in" ;; 2121 esac 2122 2123 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 2124 2125 # Remove last slash and all that follows it. Not all systems have dirname. 2126 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2127 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2128 # The file is in a subdirectory. 2129 test ! -d "$ac_dir" && mkdir "$ac_dir" 2130 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 2131 # A "../" for each directory in $ac_dir_suffix. 2132 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 2133 else 2134 ac_dir_suffix= ac_dots= 2135 fi 2136 2137 case "$ac_given_srcdir" in 2138 .) srcdir=. 2139 if test -z "$ac_dots"; then top_srcdir=. 2140 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 2141 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2142 *) # Relative path. 2143 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 2144 top_srcdir="$ac_dots$ac_given_srcdir" ;; 2145 esac 2146 2147 case "$ac_given_INSTALL" in 2148 [/$]*) INSTALL="$ac_given_INSTALL" ;; 2149 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2150 esac 2151 2152 echo creating "$ac_file" 2153 rm -f "$ac_file" 2154 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 2155 case "$ac_file" in 2156 *Makefile*) ac_comsub="1i\\ 2157# $configure_input" ;; 2158 *) ac_comsub= ;; 2159 esac 2160 2161 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2162 sed -e "$ac_comsub 2163s%@configure_input@%$configure_input%g 2164s%@srcdir@%$srcdir%g 2165s%@top_srcdir@%$top_srcdir%g 2166s%@INSTALL@%$INSTALL%g 2167" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 2168fi; done 2169rm -f conftest.s* 2170 2171# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 2172# NAME is the cpp macro being defined and VALUE is the value it is being given. 2173# 2174# ac_d sets the value in "#define NAME VALUE" lines. 2175ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' 2176ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' 2177ac_dC='\3' 2178ac_dD='%g' 2179# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". 2180ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 2181ac_uB='\([ ]\)%\1#\2define\3' 2182ac_uC=' ' 2183ac_uD='\4%g' 2184# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 2185ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 2186ac_eB='$%\1#\2define\3' 2187ac_eC=' ' 2188ac_eD='%g' 2189 2190if test "${CONFIG_HEADERS+set}" != set; then 2191EOF 2192cat >> $CONFIG_STATUS <<EOF 2193 CONFIG_HEADERS="config.h" 2194EOF 2195cat >> $CONFIG_STATUS <<\EOF 2196fi 2197for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 2198 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2199 case "$ac_file" in 2200 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2201 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2202 *) ac_file_in="${ac_file}.in" ;; 2203 esac 2204 2205 echo creating $ac_file 2206 2207 rm -f conftest.frag conftest.in conftest.out 2208 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2209 cat $ac_file_inputs > conftest.in 2210 2211EOF 2212 2213# Transform confdefs.h into a sed script conftest.vals that substitutes 2214# the proper values into config.h.in to produce config.h. And first: 2215# Protect against being on the right side of a sed subst in config.status. 2216# Protect against being in an unquoted here document in config.status. 2217rm -f conftest.vals 2218cat > conftest.hdr <<\EOF 2219s/[\\&%]/\\&/g 2220s%[\\$`]%\\&%g 2221s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 2222s%ac_d%ac_u%gp 2223s%ac_u%ac_e%gp 2224EOF 2225sed -n -f conftest.hdr confdefs.h > conftest.vals 2226rm -f conftest.hdr 2227 2228# This sed command replaces #undef with comments. This is necessary, for 2229# example, in the case of _POSIX_SOURCE, which is predefined and required 2230# on some systems where configure will not decide to define it. 2231cat >> conftest.vals <<\EOF 2232s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 2233EOF 2234 2235# Break up conftest.vals because some shells have a limit on 2236# the size of here documents, and old seds have small limits too. 2237 2238rm -f conftest.tail 2239while : 2240do 2241 ac_lines=`grep -c . conftest.vals` 2242 # grep -c gives empty output for an empty file on some AIX systems. 2243 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 2244 # Write a limited-size here document to conftest.frag. 2245 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 2246 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS 2247 echo 'CEOF 2248 sed -f conftest.frag conftest.in > conftest.out 2249 rm -f conftest.in 2250 mv conftest.out conftest.in 2251' >> $CONFIG_STATUS 2252 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail 2253 rm -f conftest.vals 2254 mv conftest.tail conftest.vals 2255done 2256rm -f conftest.vals 2257 2258cat >> $CONFIG_STATUS <<\EOF 2259 rm -f conftest.frag conftest.h 2260 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 2261 cat conftest.in >> conftest.h 2262 rm -f conftest.in 2263 if cmp -s $ac_file conftest.h 2>/dev/null; then 2264 echo "$ac_file is unchanged" 2265 rm -f conftest.h 2266 else 2267 # Remove last slash and all that follows it. Not all systems have dirname. 2268 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2269 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2270 # The file is in a subdirectory. 2271 test ! -d "$ac_dir" && mkdir "$ac_dir" 2272 fi 2273 rm -f $ac_file 2274 mv conftest.h $ac_file 2275 fi 2276fi; done 2277 2278EOF 2279cat >> $CONFIG_STATUS <<EOF 2280 2281 2282EOF 2283cat >> $CONFIG_STATUS <<\EOF 2284test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 2285 2286exit 0 2287EOF 2288chmod +x $CONFIG_STATUS 2289rm -fr confdefs* $ac_clean_files 2290test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 2291 2292 2293