A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59. 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 6 # This configure script is free software; the Free Software Foundation 7 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 79 # Avoid depending upon Character Ranges. 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83 as_cr_digits='0123456789' 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 200 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 225 as_executable_p="test -f" 226 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 243 244 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246 # so uname gets run too. 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 250 251 # 252 # Initializations. 253 # 254 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=. 256 cross_compiling=no 257 subdirs= 258 MFLAGS= 259 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 266 267 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 273 274 ac_unique_file="tlswrap.c" 275 # Factoring default headers for most tests. 276 ac_includes_default="\ 277 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H 279 # include <sys/types.h> 280 #endif 281 #if HAVE_SYS_STAT_H 282 # include <sys/stat.h> 283 #endif 284 #if STDC_HEADERS 285 # include <stdlib.h> 286 # include <stddef.h> 287 #else 288 # if HAVE_STDLIB_H 289 # include <stdlib.h> 290 # endif 291 #endif 292 #if HAVE_STRING_H 293 # if !STDC_HEADERS && HAVE_MEMORY_H 294 # include <memory.h> 295 # endif 296 # include <string.h> 297 #endif 298 #if HAVE_STRINGS_H 299 # include <strings.h> 300 #endif 301 #if HAVE_INTTYPES_H 302 # include <inttypes.h> 303 #else 304 # if HAVE_STDINT_H 305 # include <stdint.h> 306 # endif 307 #endif 308 #if HAVE_UNISTD_H 309 # include <unistd.h> 310 #endif" 311 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os ssldir CPP EGREP LIBOBJS INCLUDES LTLIBOBJS' 313 ac_subst_files='' 314 315 # Initialize some variables set by options. 316 ac_init_help= 317 ac_init_version=false 318 # The variables have the same names as the options, with 319 # dashes changed to underlines. 320 cache_file=/dev/null 321 exec_prefix=NONE 322 no_create= 323 no_recursion= 324 prefix=NONE 325 program_prefix=NONE 326 program_suffix=NONE 327 program_transform_name=s,x,x, 328 silent= 329 site= 330 srcdir= 331 verbose= 332 x_includes=NONE 333 x_libraries=NONE 334 335 # Installation directory options. 336 # These are left unexpanded so users can "make install exec_prefix=/foo" 337 # and all the variables that are supposed to be based on exec_prefix 338 # by default will actually change. 339 # Use braces instead of parens because sh, perl, etc. also accept them. 340 bindir='${exec_prefix}/bin' 341 sbindir='${exec_prefix}/sbin' 342 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 344 sysconfdir='${prefix}/etc' 345 sharedstatedir='${prefix}/com' 346 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib' 348 includedir='${prefix}/include' 349 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 352 353 ac_prev= 354 for ac_option 355 do 356 # If the previous option needs an argument, assign it. 357 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option" 359 ac_prev= 360 continue 361 fi 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 367 case $ac_option in 368 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 370 ac_prev=bindir ;; 371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 372 bindir=$ac_optarg ;; 373 374 -build | --build | --buil | --bui | --bu) 375 ac_prev=build_alias ;; 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 377 build_alias=$ac_optarg ;; 378 379 -cache-file | --cache-file | --cache-fil | --cache-fi \ 380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 381 ac_prev=cache_file ;; 382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 384 cache_file=$ac_optarg ;; 385 386 --config-cache | -C) 387 cache_file=config.cache ;; 388 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 390 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 393 datadir=$ac_optarg ;; 394 395 -disable-* | --disable-*) 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 403 404 -enable-* | --enable-*) 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 416 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 419 | --exec | --exe | --ex) 420 ac_prev=exec_prefix ;; 421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423 | --exec=* | --exe=* | --ex=*) 424 exec_prefix=$ac_optarg ;; 425 426 -gas | --gas | --ga | --g) 427 # Obsolete; use --with-gas. 428 with_gas=yes ;; 429 430 -help | --help | --hel | --he | -h) 431 ac_init_help=long ;; 432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 433 ac_init_help=recursive ;; 434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 435 ac_init_help=short ;; 436 437 -host | --host | --hos | --ho) 438 ac_prev=host_alias ;; 439 -host=* | --host=* | --hos=* | --ho=*) 440 host_alias=$ac_optarg ;; 441 442 -includedir | --includedir | --includedi | --included | --include \ 443 | --includ | --inclu | --incl | --inc) 444 ac_prev=includedir ;; 445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446 | --includ=* | --inclu=* | --incl=* | --inc=*) 447 includedir=$ac_optarg ;; 448 449 -infodir | --infodir | --infodi | --infod | --info | --inf) 450 ac_prev=infodir ;; 451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 452 infodir=$ac_optarg ;; 453 454 -libdir | --libdir | --libdi | --libd) 455 ac_prev=libdir ;; 456 -libdir=* | --libdir=* | --libdi=* | --libd=*) 457 libdir=$ac_optarg ;; 458 459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 460 | --libexe | --libex | --libe) 461 ac_prev=libexecdir ;; 462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463 | --libexe=* | --libex=* | --libe=*) 464 libexecdir=$ac_optarg ;; 465 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 469 ac_prev=localstatedir ;; 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 473 localstatedir=$ac_optarg ;; 474 475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476 ac_prev=mandir ;; 477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 478 mandir=$ac_optarg ;; 479 480 -nfp | --nfp | --nf) 481 # Obsolete; use --without-fp. 482 with_fp=no ;; 483 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485 | --no-cr | --no-c | -n) 486 no_create=yes ;; 487 488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 490 no_recursion=yes ;; 491 492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 494 | --oldin | --oldi | --old | --ol | --o) 495 ac_prev=oldincludedir ;; 496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 499 oldincludedir=$ac_optarg ;; 500 501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502 ac_prev=prefix ;; 503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 504 prefix=$ac_optarg ;; 505 506 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 507 | --program-pre | --program-pr | --program-p) 508 ac_prev=program_prefix ;; 509 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 511 program_prefix=$ac_optarg ;; 512 513 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 514 | --program-suf | --program-su | --program-s) 515 ac_prev=program_suffix ;; 516 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 518 program_suffix=$ac_optarg ;; 519 520 -program-transform-name | --program-transform-name \ 521 | --program-transform-nam | --program-transform-na \ 522 | --program-transform-n | --program-transform- \ 523 | --program-transform | --program-transfor \ 524 | --program-transfo | --program-transf \ 525 | --program-trans | --program-tran \ 526 | --progr-tra | --program-tr | --program-t) 527 ac_prev=program_transform_name ;; 528 -program-transform-name=* | --program-transform-name=* \ 529 | --program-transform-nam=* | --program-transform-na=* \ 530 | --program-transform-n=* | --program-transform-=* \ 531 | --program-transform=* | --program-transfor=* \ 532 | --program-transfo=* | --program-transf=* \ 533 | --program-trans=* | --program-tran=* \ 534 | --progr-tra=* | --program-tr=* | --program-t=*) 535 program_transform_name=$ac_optarg ;; 536 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 | -silent | --silent | --silen | --sile | --sil) 539 silent=yes ;; 540 541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 542 ac_prev=sbindir ;; 543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544 | --sbi=* | --sb=*) 545 sbindir=$ac_optarg ;; 546 547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 549 | --sharedst | --shareds | --shared | --share | --shar \ 550 | --sha | --sh) 551 ac_prev=sharedstatedir ;; 552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555 | --sha=* | --sh=*) 556 sharedstatedir=$ac_optarg ;; 557 558 -site | --site | --sit) 559 ac_prev=site ;; 560 -site=* | --site=* | --sit=*) 561 site=$ac_optarg ;; 562 563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564 ac_prev=srcdir ;; 565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 566 srcdir=$ac_optarg ;; 567 568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 569 | --syscon | --sysco | --sysc | --sys | --sy) 570 ac_prev=sysconfdir ;; 571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 573 sysconfdir=$ac_optarg ;; 574 575 -target | --target | --targe | --targ | --tar | --ta | --t) 576 ac_prev=target_alias ;; 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 578 target_alias=$ac_optarg ;; 579 580 -v | -verbose | --verbose | --verbos | --verbo | --verb) 581 verbose=yes ;; 582 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; 585 586 -with-* | --with-*) 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 598 599 -without-* | --without-*) 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 607 608 --x) 609 # Obsolete; use --with-x. 610 with_x=yes ;; 611 612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 613 | --x-incl | --x-inc | --x-in | --x-i) 614 ac_prev=x_includes ;; 615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 617 x_includes=$ac_optarg ;; 618 619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 621 ac_prev=x_libraries ;; 622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 624 x_libraries=$ac_optarg ;; 625 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 629 ;; 630 631 *=*) 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 639 export $ac_envvar ;; 640 641 *) 642 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 ;; 648 649 esac 650 done 651 652 if test -n "$ac_prev"; then 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 660 do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 666 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 679 done 680 681 # There might be people who depend on the old broken behavior: `$host' 682 # used to hold the argument of --host etc. 683 # FIXME: To remove some day. 684 build=$build_alias 685 host=$host_alias 686 target=$target_alias 687 688 # FIXME: To remove some day. 689 if test "x$host_alias" != x; then 690 if test "x$build_alias" = x; then 691 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 693 If a cross compiler is detected then cross compile mode will be used." >&2 694 elif test "x$build_alias" != "x$host_alias"; then 695 cross_compiling=yes 696 fi 697 fi 698 699 ac_tool_prefix= 700 test -n "$host_alias" && ac_tool_prefix=$host_alias- 701 702 test "$silent" = yes && exec 6>/dev/null 703 704 705 # Find the source files, if location was not specified. 706 if test -z "$srcdir"; then 707 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 721 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then 723 srcdir=.. 724 fi 725 else 726 ac_srcdir_defaulted=no 727 fi 728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CPP_set=${CPP+set} 770 ac_env_CPP_value=$CPP 771 ac_cv_env_CPP_set=${CPP+set} 772 ac_cv_env_CPP_value=$CPP 773 774 # 775 # Report the --help message. 776 # 777 if test "$ac_init_help" = "long"; then 778 # Omit some internal or obsolete options to make the list less imposing. 779 # This message is too long to be a string in the A/UX 3.1 sh. 780 cat <<_ACEOF 781 \`configure' configures this package to adapt to many kinds of systems. 782 783 Usage: $0 [OPTION]... [VAR=VALUE]... 784 785 To assign environment variables (e.g., CC, CFLAGS...), specify them as 786 VAR=VALUE. See below for descriptions of some of the useful variables. 787 788 Defaults for the options are specified in brackets. 789 790 Configuration: 791 -h, --help display this help and exit 792 --help=short display options specific to this package 793 --help=recursive display the short help of all the included packages 794 -V, --version display version information and exit 795 -q, --quiet, --silent do not print \`checking...' messages 796 --cache-file=FILE cache test results in FILE [disabled] 797 -C, --config-cache alias for \`--cache-file=config.cache' 798 -n, --no-create do not create output files 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 800 801 _ACEOF 802 803 cat <<_ACEOF 804 Installation directories: 805 --prefix=PREFIX install architecture-independent files in PREFIX 806 [$ac_default_prefix] 807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 808 [PREFIX] 809 810 By default, \`make install' will install all the files in 811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 812 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 813 for instance \`--prefix=\$HOME'. 814 815 For better control, use the options below. 816 817 Fine tuning of the installation directories: 818 --bindir=DIR user executables [EPREFIX/bin] 819 --sbindir=DIR system admin executables [EPREFIX/sbin] 820 --libexecdir=DIR program executables [EPREFIX/libexec] 821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 824 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 825 --libdir=DIR object code libraries [EPREFIX/lib] 826 --includedir=DIR C header files [PREFIX/include] 827 --oldincludedir=DIR C header files for non-gcc [/usr/include] 828 --infodir=DIR info documentation [PREFIX/info] 829 --mandir=DIR man documentation [PREFIX/man] 830 _ACEOF 831 832 cat <<\_ACEOF 833 834 Program names: 835 --program-prefix=PREFIX prepend PREFIX to installed program names 836 --program-suffix=SUFFIX append SUFFIX to installed program names 837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 838 839 System types: 840 --build=BUILD configure for building on BUILD [guessed] 841 --host=HOST cross-compile to build programs to run on HOST [BUILD] 842 _ACEOF 843 fi 844 845 if test -n "$ac_init_help"; then 846 847 cat <<\_ACEOF 848 849 Optional Features: 850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 852 --disable-dependency-tracking speeds up one-time build 853 --enable-dependency-tracking do not reject slow dependency extractors 854 --enable-libwrap enable TCP wrappers 855 856 Optional Packages: 857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 859 --with-ssl=DIR location of installed SSL libraries/include files 860 861 Some influential environment variables: 862 CC C compiler command 863 CFLAGS C compiler flags 864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 865 nonstandard directory <lib dir> 866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 867 headers in a nonstandard directory <include dir> 868 CPP C preprocessor 869 870 Use these variables to override the choices made by `configure' or to help 871 it to find libraries and programs with nonstandard names/locations. 872 873 _ACEOF 874 fi 875 876 if test "$ac_init_help" = "recursive"; then 877 # If there are subdirs, report their specific --help. 878 ac_popdir=`pwd` 879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 880 test -d $ac_dir || continue 881 ac_builddir=. 882 883 if test "$ac_dir" != .; then 884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 885 # A "../" for each directory in $ac_dir_suffix. 886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 887 else 888 ac_dir_suffix= ac_top_builddir= 889 fi 890 891 case $srcdir in 892 .) # No --srcdir option. We are building in place. 893 ac_srcdir=. 894 if test -z "$ac_top_builddir"; then 895 ac_top_srcdir=. 896 else 897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 898 fi ;; 899 [\\/]* | ?:[\\/]* ) # Absolute path. 900 ac_srcdir=$srcdir$ac_dir_suffix; 901 ac_top_srcdir=$srcdir ;; 902 *) # Relative path. 903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 904 ac_top_srcdir=$ac_top_builddir$srcdir ;; 905 esac 906 907 # Do not use `cd foo && pwd` to compute absolute paths, because 908 # the directories may not exist. 909 case `pwd` in 910 .) ac_abs_builddir="$ac_dir";; 911 *) 912 case "$ac_dir" in 913 .) ac_abs_builddir=`pwd`;; 914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 915 *) ac_abs_builddir=`pwd`/"$ac_dir";; 916 esac;; 917 esac 918 case $ac_abs_builddir in 919 .) ac_abs_top_builddir=${ac_top_builddir}.;; 920 *) 921 case ${ac_top_builddir}. in 922 .) ac_abs_top_builddir=$ac_abs_builddir;; 923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 925 esac;; 926 esac 927 case $ac_abs_builddir in 928 .) ac_abs_srcdir=$ac_srcdir;; 929 *) 930 case $ac_srcdir in 931 .) ac_abs_srcdir=$ac_abs_builddir;; 932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 934 esac;; 935 esac 936 case $ac_abs_builddir in 937 .) ac_abs_top_srcdir=$ac_top_srcdir;; 938 *) 939 case $ac_top_srcdir in 940 .) ac_abs_top_srcdir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 943 esac;; 944 esac 945 946 cd $ac_dir 947 # Check for guested configure; otherwise get Cygnus style configure. 948 if test -f $ac_srcdir/configure.gnu; then 949 echo 950 $SHELL $ac_srcdir/configure.gnu --help=recursive 951 elif test -f $ac_srcdir/configure; then 952 echo 953 $SHELL $ac_srcdir/configure --help=recursive 954 elif test -f $ac_srcdir/configure.ac || 955 test -f $ac_srcdir/configure.in; then 956 echo 957 $ac_configure --help 958 else 959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 960 fi 961 cd $ac_popdir 962 done 963 fi 964 965 test -n "$ac_init_help" && exit 0 966 if $ac_init_version; then 967 cat <<\_ACEOF 968 969 Copyright (C) 2003 Free Software Foundation, Inc. 970 This configure script is free software; the Free Software Foundation 971 gives unlimited permission to copy, distribute and modify it. 972 _ACEOF 973 exit 0 974 fi 975 exec 5>config.log 976 cat >&5 <<_ACEOF 977 This file contains any messages produced by compilers while 978 running configure, to aid debugging if configure makes a mistake. 979 980 It was created by $as_me, which was 981 generated by GNU Autoconf 2.59. Invocation command line was 982 983 $ $0 $@ 984 985 _ACEOF 986 { 987 cat <<_ASUNAME 988 ## --------- ## 989 ## Platform. ## 990 ## --------- ## 991 992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 993 uname -m = `(uname -m) 2>/dev/null || echo unknown` 994 uname -r = `(uname -r) 2>/dev/null || echo unknown` 995 uname -s = `(uname -s) 2>/dev/null || echo unknown` 996 uname -v = `(uname -v) 2>/dev/null || echo unknown` 997 998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1000 1001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1004 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1008 1009 _ASUNAME 1010 1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1012 for as_dir in $PATH 1013 do 1014 IFS=$as_save_IFS 1015 test -z "$as_dir" && as_dir=. 1016 echo "PATH: $as_dir" 1017 done 1018 1019 } >&5 1020 1021 cat >&5 <<_ACEOF 1022 1023 1024 ## ----------- ## 1025 ## Core tests. ## 1026 ## ----------- ## 1027 1028 _ACEOF 1029 1030 1031 # Keep a trace of the command line. 1032 # Strip out --no-create and --no-recursion so they do not pile up. 1033 # Strip out --silent because we don't want to record it for future runs. 1034 # Also quote any args containing shell meta-characters. 1035 # Make two passes to allow for proper duplicate-argument suppression. 1036 ac_configure_args= 1037 ac_configure_args0= 1038 ac_configure_args1= 1039 ac_sep= 1040 ac_must_keep_next=false 1041 for ac_pass in 1 2 1042 do 1043 for ac_arg 1044 do 1045 case $ac_arg in 1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1048 | -silent | --silent | --silen | --sile | --sil) 1049 continue ;; 1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1051 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1052 esac 1053 case $ac_pass in 1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1055 2) 1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1057 if test $ac_must_keep_next = true; then 1058 ac_must_keep_next=false # Got value, back to normal. 1059 else 1060 case $ac_arg in 1061 *=* | --config-cache | -C | -disable-* | --disable-* \ 1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1064 | -with-* | --with-* | -without-* | --without-* | --x) 1065 case "$ac_configure_args0 " in 1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1067 esac 1068 ;; 1069 -* ) ac_must_keep_next=true ;; 1070 esac 1071 fi 1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1073 # Get rid of the leading space. 1074 ac_sep=" " 1075 ;; 1076 esac 1077 done 1078 done 1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1081 1082 # When interrupted or exit'd, cleanup temporary files, and complete 1083 # config.log. We remove comments because anyway the quotes in there 1084 # would cause problems or look ugly. 1085 # WARNING: Be sure not to use single quotes in there, as some shells, 1086 # such as our DU 5.0 friend, will then `close' the trap. 1087 trap 'exit_status=$? 1088 # Save into config.log some information that might help in debugging. 1089 { 1090 echo 1091 1092 cat <<\_ASBOX 1093 ## ---------------- ## 1094 ## Cache variables. ## 1095 ## ---------------- ## 1096 _ASBOX 1097 echo 1098 # The following way of writing the cache mishandles newlines in values, 1099 { 1100 (set) 2>&1 | 1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1102 *ac_space=\ *) 1103 sed -n \ 1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1106 ;; 1107 *) 1108 sed -n \ 1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1110 ;; 1111 esac; 1112 } 1113 echo 1114 1115 cat <<\_ASBOX 1116 ## ----------------- ## 1117 ## Output variables. ## 1118 ## ----------------- ## 1119 _ASBOX 1120 echo 1121 for ac_var in $ac_subst_vars 1122 do 1123 eval ac_val=$`echo $ac_var` 1124 echo "$ac_var='"'"'$ac_val'"'"'" 1125 done | sort 1126 echo 1127 1128 if test -n "$ac_subst_files"; then 1129 cat <<\_ASBOX 1130 ## ------------- ## 1131 ## Output files. ## 1132 ## ------------- ## 1133 _ASBOX 1134 echo 1135 for ac_var in $ac_subst_files 1136 do 1137 eval ac_val=$`echo $ac_var` 1138 echo "$ac_var='"'"'$ac_val'"'"'" 1139 done | sort 1140 echo 1141 fi 1142 1143 if test -s confdefs.h; then 1144 cat <<\_ASBOX 1145 ## ----------- ## 1146 ## confdefs.h. ## 1147 ## ----------- ## 1148 _ASBOX 1149 echo 1150 sed "/^$/d" confdefs.h | sort 1151 echo 1152 fi 1153 test "$ac_signal" != 0 && 1154 echo "$as_me: caught signal $ac_signal" 1155 echo "$as_me: exit $exit_status" 1156 } >&5 1157 rm -f core *.core && 1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1159 exit $exit_status 1160 ' 0 1161 for ac_signal in 1 2 13 15; do 1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1163 done 1164 ac_signal=0 1165 1166 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1167 rm -rf conftest* confdefs.h 1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1169 echo >confdefs.h 1170 1171 # Predefined preprocessor variables. 1172 1173 cat >>confdefs.h <<_ACEOF 1174 #define PACKAGE_NAME "$PACKAGE_NAME" 1175 _ACEOF 1176 1177 1178 cat >>confdefs.h <<_ACEOF 1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1180 _ACEOF 1181 1182 1183 cat >>confdefs.h <<_ACEOF 1184 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1185 _ACEOF 1186 1187 1188 cat >>confdefs.h <<_ACEOF 1189 #define PACKAGE_STRING "$PACKAGE_STRING" 1190 _ACEOF 1191 1192 1193 cat >>confdefs.h <<_ACEOF 1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1195 _ACEOF 1196 1197 1198 # Let the site file select an alternate cache file if it wants to. 1199 # Prefer explicitly selected file to automatically selected ones. 1200 if test -z "$CONFIG_SITE"; then 1201 if test "x$prefix" != xNONE; then 1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1203 else 1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1205 fi 1206 fi 1207 for ac_site_file in $CONFIG_SITE; do 1208 if test -r "$ac_site_file"; then 1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1210 echo "$as_me: loading site script $ac_site_file" >&6;} 1211 sed 's/^/| /' "$ac_site_file" >&5 1212 . "$ac_site_file" 1213 fi 1214 done 1215 1216 if test -r "$cache_file"; then 1217 # Some versions of bash will fail to source /dev/null (special 1218 # files actually), so we avoid doing that. 1219 if test -f "$cache_file"; then 1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1221 echo "$as_me: loading cache $cache_file" >&6;} 1222 case $cache_file in 1223 [\\/]* | ?:[\\/]* ) . $cache_file;; 1224 *) . ./$cache_file;; 1225 esac 1226 fi 1227 else 1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1229 echo "$as_me: creating cache $cache_file" >&6;} 1230 >$cache_file 1231 fi 1232 1233 # Check that the precious variables saved in the cache have kept the same 1234 # value. 1235 ac_cache_corrupted=false 1236 for ac_var in `(set) 2>&1 | 1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1239 eval ac_new_set=\$ac_env_${ac_var}_set 1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1241 eval ac_new_val="\$ac_env_${ac_var}_value" 1242 case $ac_old_set,$ac_new_set in 1243 set,) 1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1246 ac_cache_corrupted=: ;; 1247 ,set) 1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1250 ac_cache_corrupted=: ;; 1251 ,);; 1252 *) 1253 if test "x$ac_old_val" != "x$ac_new_val"; then 1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1257 echo "$as_me: former value: $ac_old_val" >&2;} 1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1259 echo "$as_me: current value: $ac_new_val" >&2;} 1260 ac_cache_corrupted=: 1261 fi;; 1262 esac 1263 # Pass precious variables to config.status. 1264 if test "$ac_new_set" = set; then 1265 case $ac_new_val in 1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1267 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1268 *) ac_arg=$ac_var=$ac_new_val ;; 1269 esac 1270 case " $ac_configure_args " in 1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1273 esac 1274 fi 1275 done 1276 if $ac_cache_corrupted; then 1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1281 { (exit 1); exit 1; }; } 1282 fi 1283 1284 ac_ext=c 1285 ac_cpp='$CPP $CPPFLAGS' 1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 am__api_version="1.9" 1309 ac_aux_dir= 1310 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1311 if test -f $ac_dir/install-sh; then 1312 ac_aux_dir=$ac_dir 1313 ac_install_sh="$ac_aux_dir/install-sh -c" 1314 break 1315 elif test -f $ac_dir/install.sh; then 1316 ac_aux_dir=$ac_dir 1317 ac_install_sh="$ac_aux_dir/install.sh -c" 1318 break 1319 elif test -f $ac_dir/shtool; then 1320 ac_aux_dir=$ac_dir 1321 ac_install_sh="$ac_aux_dir/shtool install -c" 1322 break 1323 fi 1324 done 1325 if test -z "$ac_aux_dir"; then 1326 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1327 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1328 { (exit 1); exit 1; }; } 1329 fi 1330 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1331 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1332 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1333 1334 # Find a good install program. We prefer a C program (faster), 1335 # so one script is as good as another. But avoid the broken or 1336 # incompatible versions: 1337 # SysV /etc/install, /usr/sbin/install 1338 # SunOS /usr/etc/install 1339 # IRIX /sbin/install 1340 # AIX /bin/install 1341 # AmigaOS /C/install, which installs bootblocks on floppy discs 1342 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1343 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1344 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1345 # OS/2's system install, which has a completely different semantic 1346 # ./install, which can be erroneously created by make from ./install.sh. 1347 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1348 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1349 if test -z "$INSTALL"; then 1350 if test "${ac_cv_path_install+set}" = set; then 1351 echo $ECHO_N "(cached) $ECHO_C" >&6 1352 else 1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1354 for as_dir in $PATH 1355 do 1356 IFS=$as_save_IFS 1357 test -z "$as_dir" && as_dir=. 1358 # Account for people who put trailing slashes in PATH elements. 1359 case $as_dir/ in 1360 ./ | .// | /cC/* | \ 1361 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1362 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1363 /usr/ucb/* ) ;; 1364 *) 1365 # OSF1 and SCO ODT 3.0 have their own names for install. 1366 # Don't use installbsd from OSF since it installs stuff as root 1367 # by default. 1368 for ac_prog in ginstall scoinst install; do 1369 for ac_exec_ext in '' $ac_executable_extensions; do 1370 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1371 if test $ac_prog = install && 1372 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1373 # AIX install. It has an incompatible calling convention. 1374 : 1375 elif test $ac_prog = install && 1376 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1377 # program-specific install script used by HP pwplus--don't use. 1378 : 1379 else 1380 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1381 break 3 1382 fi 1383 fi 1384 done 1385 done 1386 ;; 1387 esac 1388 done 1389 1390 1391 fi 1392 if test "${ac_cv_path_install+set}" = set; then 1393 INSTALL=$ac_cv_path_install 1394 else 1395 # As a last resort, use the slow shell script. We don't cache a 1396 # path for INSTALL within a source directory, because that will 1397 # break other packages using the cache if that directory is 1398 # removed, or if the path is relative. 1399 INSTALL=$ac_install_sh 1400 fi 1401 fi 1402 echo "$as_me:$LINENO: result: $INSTALL" >&5 1403 echo "${ECHO_T}$INSTALL" >&6 1404 1405 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1406 # It thinks the first close brace ends the variable substitution. 1407 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1408 1409 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1410 1411 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1412 1413 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1414 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1415 # Just in case 1416 sleep 1 1417 echo timestamp > conftest.file 1418 # Do `set' in a subshell so we don't clobber the current shell's 1419 # arguments. Must try -L first in case configure is actually a 1420 # symlink; some systems play weird games with the mod time of symlinks 1421 # (eg FreeBSD returns the mod time of the symlink's containing 1422 # directory). 1423 if ( 1424 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1425 if test "$*" = "X"; then 1426 # -L didn't work. 1427 set X `ls -t $srcdir/configure conftest.file` 1428 fi 1429 rm -f conftest.file 1430 if test "$*" != "X $srcdir/configure conftest.file" \ 1431 && test "$*" != "X conftest.file $srcdir/configure"; then 1432 1433 # If neither matched, then we have a broken ls. This can happen 1434 # if, for instance, CONFIG_SHELL is bash and it inherits a 1435 # broken ls alias from the environment. This has actually 1436 # happened. Such a system could not be considered "sane". 1437 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1438 alias in your environment" >&5 1439 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1440 alias in your environment" >&2;} 1441 { (exit 1); exit 1; }; } 1442 fi 1443 1444 test "$2" = conftest.file 1445 ) 1446 then 1447 # Ok. 1448 : 1449 else 1450 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1451 Check your system clock" >&5 1452 echo "$as_me: error: newly created file is older than distributed files! 1453 Check your system clock" >&2;} 1454 { (exit 1); exit 1; }; } 1455 fi 1456 echo "$as_me:$LINENO: result: yes" >&5 1457 echo "${ECHO_T}yes" >&6 1458 test "$program_prefix" != NONE && 1459 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1460 # Use a double $ so make ignores it. 1461 test "$program_suffix" != NONE && 1462 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1463 # Double any \ or $. echo might interpret backslashes. 1464 # By default was `s,x,x', remove it if useless. 1465 cat <<\_ACEOF >conftest.sed 1466 s/[\\$]/&&/g;s/;s,x,x,$// 1467 _ACEOF 1468 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1469 rm conftest.sed 1470 1471 # expand $ac_aux_dir to an absolute path 1472 am_aux_dir=`cd $ac_aux_dir && pwd` 1473 1474 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1475 # Use eval to expand $SHELL 1476 if eval "$MISSING --run true"; then 1477 am_missing_run="$MISSING --run " 1478 else 1479 am_missing_run= 1480 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1481 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1482 fi 1483 1484 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1485 # We used to keeping the `.' as first argument, in order to 1486 # allow $(mkdir_p) to be used without argument. As in 1487 # $(mkdir_p) $(somedir) 1488 # where $(somedir) is conditionally defined. However this is wrong 1489 # for two reasons: 1490 # 1. if the package is installed by a user who cannot write `.' 1491 # make install will fail, 1492 # 2. the above comment should most certainly read 1493 # $(mkdir_p) $(DESTDIR)$(somedir) 1494 # so it does not work when $(somedir) is undefined and 1495 # $(DESTDIR) is not. 1496 # To support the latter case, we have to write 1497 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 1498 # so the `.' trick is pointless. 1499 mkdir_p='mkdir -p --' 1500 else 1501 # On NextStep and OpenStep, the `mkdir' command does not 1502 # recognize any option. It will interpret all options as 1503 # directories to create, and then abort because `.' already 1504 # exists. 1505 for d in ./-p ./--version; 1506 do 1507 test -d $d && rmdir $d 1508 done 1509 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 1510 if test -f "$ac_aux_dir/mkinstalldirs"; then 1511 mkdir_p='$(mkinstalldirs)' 1512 else 1513 mkdir_p='$(install_sh) -d' 1514 fi 1515 fi 1516 1517 for ac_prog in gawk mawk nawk awk 1518 do 1519 # Extract the first word of "$ac_prog", so it can be a program name with args. 1520 set dummy $ac_prog; ac_word=$2 1521 echo "$as_me:$LINENO: checking for $ac_word" >&5 1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1523 if test "${ac_cv_prog_AWK+set}" = set; then 1524 echo $ECHO_N "(cached) $ECHO_C" >&6 1525 else 1526 if test -n "$AWK"; then 1527 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1528 else 1529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1530 for as_dir in $PATH 1531 do 1532 IFS=$as_save_IFS 1533 test -z "$as_dir" && as_dir=. 1534 for ac_exec_ext in '' $ac_executable_extensions; do 1535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1536 ac_cv_prog_AWK="$ac_prog" 1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1538 break 2 1539 fi 1540 done 1541 done 1542 1543 fi 1544 fi 1545 AWK=$ac_cv_prog_AWK 1546 if test -n "$AWK"; then 1547 echo "$as_me:$LINENO: result: $AWK" >&5 1548 echo "${ECHO_T}$AWK" >&6 1549 else 1550 echo "$as_me:$LINENO: result: no" >&5 1551 echo "${ECHO_T}no" >&6 1552 fi 1553 1554 test -n "$AWK" && break 1555 done 1556 1557 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1558 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1559 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1560 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1561 echo $ECHO_N "(cached) $ECHO_C" >&6 1562 else 1563 cat >conftest.make <<\_ACEOF 1564 all: 1565 @echo 'ac_maketemp="$(MAKE)"' 1566 _ACEOF 1567 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1568 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1569 if test -n "$ac_maketemp"; then 1570 eval ac_cv_prog_make_${ac_make}_set=yes 1571 else 1572 eval ac_cv_prog_make_${ac_make}_set=no 1573 fi 1574 rm -f conftest.make 1575 fi 1576 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1577 echo "$as_me:$LINENO: result: yes" >&5 1578 echo "${ECHO_T}yes" >&6 1579 SET_MAKE= 1580 else 1581 echo "$as_me:$LINENO: result: no" >&5 1582 echo "${ECHO_T}no" >&6 1583 SET_MAKE="MAKE=${MAKE-make}" 1584 fi 1585 1586 rm -rf .tst 2>/dev/null 1587 mkdir .tst 2>/dev/null 1588 if test -d .tst; then 1589 am__leading_dot=. 1590 else 1591 am__leading_dot=_ 1592 fi 1593 rmdir .tst 2>/dev/null 1594 1595 # test to see if srcdir already configured 1596 if test "`cd $srcdir && pwd`" != "`pwd`" && 1597 test -f $srcdir/config.status; then 1598 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1599 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1600 { (exit 1); exit 1; }; } 1601 fi 1602 1603 # test whether we have cygpath 1604 if test -z "$CYGPATH_W"; then 1605 if (cygpath --version) >/dev/null 2>/dev/null; then 1606 CYGPATH_W='cygpath -w' 1607 else 1608 CYGPATH_W=echo 1609 fi 1610 fi 1611 1612 1613 # Define the identity of the package. 1614 PACKAGE=tlswrap 1615 VERSION=0.8 1616 1617 1618 cat >>confdefs.h <<_ACEOF 1619 #define PACKAGE "$PACKAGE" 1620 _ACEOF 1621 1622 1623 cat >>confdefs.h <<_ACEOF 1624 #define VERSION "$VERSION" 1625 _ACEOF 1626 1627 # Some tools Automake needs. 1628 1629 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1630 1631 1632 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1633 1634 1635 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1636 1637 1638 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1639 1640 1641 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1642 1643 install_sh=${install_sh-"$am_aux_dir/install-sh"} 1644 1645 # Installed binaries are usually stripped using `strip' when the user 1646 # run `make install-strip'. However `strip' might not be the right 1647 # tool to use in cross-compilation environments, therefore Automake 1648 # will honor the `STRIP' environment variable to overrule this program. 1649 if test "$cross_compiling" != no; then 1650 if test -n "$ac_tool_prefix"; then 1651 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1652 set dummy ${ac_tool_prefix}strip; ac_word=$2 1653 echo "$as_me:$LINENO: checking for $ac_word" >&5 1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1655 if test "${ac_cv_prog_STRIP+set}" = set; then 1656 echo $ECHO_N "(cached) $ECHO_C" >&6 1657 else 1658 if test -n "$STRIP"; then 1659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1660 else 1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1662 for as_dir in $PATH 1663 do 1664 IFS=$as_save_IFS 1665 test -z "$as_dir" && as_dir=. 1666 for ac_exec_ext in '' $ac_executable_extensions; do 1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1668 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1670 break 2 1671 fi 1672 done 1673 done 1674 1675 fi 1676 fi 1677 STRIP=$ac_cv_prog_STRIP 1678 if test -n "$STRIP"; then 1679 echo "$as_me:$LINENO: result: $STRIP" >&5 1680 echo "${ECHO_T}$STRIP" >&6 1681 else 1682 echo "$as_me:$LINENO: result: no" >&5 1683 echo "${ECHO_T}no" >&6 1684 fi 1685 1686 fi 1687 if test -z "$ac_cv_prog_STRIP"; then 1688 ac_ct_STRIP=$STRIP 1689 # Extract the first word of "strip", so it can be a program name with args. 1690 set dummy strip; ac_word=$2 1691 echo "$as_me:$LINENO: checking for $ac_word" >&5 1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1693 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1694 echo $ECHO_N "(cached) $ECHO_C" >&6 1695 else 1696 if test -n "$ac_ct_STRIP"; then 1697 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1698 else 1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1700 for as_dir in $PATH 1701 do 1702 IFS=$as_save_IFS 1703 test -z "$as_dir" && as_dir=. 1704 for ac_exec_ext in '' $ac_executable_extensions; do 1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1706 ac_cv_prog_ac_ct_STRIP="strip" 1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1708 break 2 1709 fi 1710 done 1711 done 1712 1713 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1714 fi 1715 fi 1716 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1717 if test -n "$ac_ct_STRIP"; then 1718 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1719 echo "${ECHO_T}$ac_ct_STRIP" >&6 1720 else 1721 echo "$as_me:$LINENO: result: no" >&5 1722 echo "${ECHO_T}no" >&6 1723 fi 1724 1725 STRIP=$ac_ct_STRIP 1726 else 1727 STRIP="$ac_cv_prog_STRIP" 1728 fi 1729 1730 fi 1731 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1732 1733 # We need awk for the "check" target. The system "awk" is bad on 1734 # some platforms. 1735 # Always define AMTAR for backward compatibility. 1736 1737 AMTAR=${AMTAR-"${am_missing_run}tar"} 1738 1739 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 1740 1741 1742 1743 1744 1745 1746 1747 CFLAGS="-g" 1748 1749 ac_ext=c 1750 ac_cpp='$CPP $CPPFLAGS' 1751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1753 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1754 if test -n "$ac_tool_prefix"; then 1755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1756 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1757 echo "$as_me:$LINENO: checking for $ac_word" >&5 1758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1759 if test "${ac_cv_prog_CC+set}" = set; then 1760 echo $ECHO_N "(cached) $ECHO_C" >&6 1761 else 1762 if test -n "$CC"; then 1763 ac_cv_prog_CC="$CC" # Let the user override the test. 1764 else 1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1766 for as_dir in $PATH 1767 do 1768 IFS=$as_save_IFS 1769 test -z "$as_dir" && as_dir=. 1770 for ac_exec_ext in '' $ac_executable_extensions; do 1771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1772 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1774 break 2 1775 fi 1776 done 1777 done 1778 1779 fi 1780 fi 1781 CC=$ac_cv_prog_CC 1782 if test -n "$CC"; then 1783 echo "$as_me:$LINENO: result: $CC" >&5 1784 echo "${ECHO_T}$CC" >&6 1785 else 1786 echo "$as_me:$LINENO: result: no" >&5 1787 echo "${ECHO_T}no" >&6 1788 fi 1789 1790 fi 1791 if test -z "$ac_cv_prog_CC"; then 1792 ac_ct_CC=$CC 1793 # Extract the first word of "gcc", so it can be a program name with args. 1794 set dummy gcc; ac_word=$2 1795 echo "$as_me:$LINENO: checking for $ac_word" >&5 1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1798 echo $ECHO_N "(cached) $ECHO_C" >&6 1799 else 1800 if test -n "$ac_ct_CC"; then 1801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1802 else 1803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1804 for as_dir in $PATH 1805 do 1806 IFS=$as_save_IFS 1807 test -z "$as_dir" && as_dir=. 1808 for ac_exec_ext in '' $ac_executable_extensions; do 1809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1810 ac_cv_prog_ac_ct_CC="gcc" 1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1812 break 2 1813 fi 1814 done 1815 done 1816 1817 fi 1818 fi 1819 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1820 if test -n "$ac_ct_CC"; then 1821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1822 echo "${ECHO_T}$ac_ct_CC" >&6 1823 else 1824 echo "$as_me:$LINENO: result: no" >&5 1825 echo "${ECHO_T}no" >&6 1826 fi 1827 1828 CC=$ac_ct_CC 1829 else 1830 CC="$ac_cv_prog_CC" 1831 fi 1832 1833 if test -z "$CC"; then 1834 if test -n "$ac_tool_prefix"; then 1835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1836 set dummy ${ac_tool_prefix}cc; ac_word=$2 1837 echo "$as_me:$LINENO: checking for $ac_word" >&5 1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1839 if test "${ac_cv_prog_CC+set}" = set; then 1840 echo $ECHO_N "(cached) $ECHO_C" >&6 1841 else 1842 if test -n "$CC"; then 1843 ac_cv_prog_CC="$CC" # Let the user override the test. 1844 else 1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1846 for as_dir in $PATH 1847 do 1848 IFS=$as_save_IFS 1849 test -z "$as_dir" && as_dir=. 1850 for ac_exec_ext in '' $ac_executable_extensions; do 1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1852 ac_cv_prog_CC="${ac_tool_prefix}cc" 1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1854 break 2 1855 fi 1856 done 1857 done 1858 1859 fi 1860 fi 1861 CC=$ac_cv_prog_CC 1862 if test -n "$CC"; then 1863 echo "$as_me:$LINENO: result: $CC" >&5 1864 echo "${ECHO_T}$CC" >&6 1865 else 1866 echo "$as_me:$LINENO: result: no" >&5 1867 echo "${ECHO_T}no" >&6 1868 fi 1869 1870 fi 1871 if test -z "$ac_cv_prog_CC"; then 1872 ac_ct_CC=$CC 1873 # Extract the first word of "cc", so it can be a program name with args. 1874 set dummy cc; ac_word=$2 1875 echo "$as_me:$LINENO: checking for $ac_word" >&5 1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1878 echo $ECHO_N "(cached) $ECHO_C" >&6 1879 else 1880 if test -n "$ac_ct_CC"; then 1881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1882 else 1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1884 for as_dir in $PATH 1885 do 1886 IFS=$as_save_IFS 1887 test -z "$as_dir" && as_dir=. 1888 for ac_exec_ext in '' $ac_executable_extensions; do 1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1890 ac_cv_prog_ac_ct_CC="cc" 1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1892 break 2 1893 fi 1894 done 1895 done 1896 1897 fi 1898 fi 1899 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1900 if test -n "$ac_ct_CC"; then 1901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1902 echo "${ECHO_T}$ac_ct_CC" >&6 1903 else 1904 echo "$as_me:$LINENO: result: no" >&5 1905 echo "${ECHO_T}no" >&6 1906 fi 1907 1908 CC=$ac_ct_CC 1909 else 1910 CC="$ac_cv_prog_CC" 1911 fi 1912 1913 fi 1914 if test -z "$CC"; then 1915 # Extract the first word of "cc", so it can be a program name with args. 1916 set dummy cc; ac_word=$2 1917 echo "$as_me:$LINENO: checking for $ac_word" >&5 1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1919 if test "${ac_cv_prog_CC+set}" = set; then 1920 echo $ECHO_N "(cached) $ECHO_C" >&6 1921 else 1922 if test -n "$CC"; then 1923 ac_cv_prog_CC="$CC" # Let the user override the test. 1924 else 1925 ac_prog_rejected=no 1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1927 for as_dir in $PATH 1928 do 1929 IFS=$as_save_IFS 1930 test -z "$as_dir" && as_dir=. 1931 for ac_exec_ext in '' $ac_executable_extensions; do 1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1934 ac_prog_rejected=yes 1935 continue 1936 fi 1937 ac_cv_prog_CC="cc" 1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1939 break 2 1940 fi 1941 done 1942 done 1943 1944 if test $ac_prog_rejected = yes; then 1945 # We found a bogon in the path, so make sure we never use it. 1946 set dummy $ac_cv_prog_CC 1947 shift 1948 if test $# != 0; then 1949 # We chose a different compiler from the bogus one. 1950 # However, it has the same basename, so the bogon will be chosen 1951 # first if we set CC to just the basename; use the full file name. 1952 shift 1953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1954 fi 1955 fi 1956 fi 1957 fi 1958 CC=$ac_cv_prog_CC 1959 if test -n "$CC"; then 1960 echo "$as_me:$LINENO: result: $CC" >&5 1961 echo "${ECHO_T}$CC" >&6 1962 else 1963 echo "$as_me:$LINENO: result: no" >&5 1964 echo "${ECHO_T}no" >&6 1965 fi 1966 1967 fi 1968 if test -z "$CC"; then 1969 if test -n "$ac_tool_prefix"; then 1970 for ac_prog in cl 1971 do 1972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1974 echo "$as_me:$LINENO: checking for $ac_word" >&5 1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1976 if test "${ac_cv_prog_CC+set}" = set; then 1977 echo $ECHO_N "(cached) $ECHO_C" >&6 1978 else 1979 if test -n "$CC"; then 1980 ac_cv_prog_CC="$CC" # Let the user override the test. 1981 else 1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1983 for as_dir in $PATH 1984 do 1985 IFS=$as_save_IFS 1986 test -z "$as_dir" && as_dir=. 1987 for ac_exec_ext in '' $ac_executable_extensions; do 1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1991 break 2 1992 fi 1993 done 1994 done 1995 1996 fi 1997 fi 1998 CC=$ac_cv_prog_CC 1999 if test -n "$CC"; then 2000 echo "$as_me:$LINENO: result: $CC" >&5 2001 echo "${ECHO_T}$CC" >&6 2002 else 2003 echo "$as_me:$LINENO: result: no" >&5 2004 echo "${ECHO_T}no" >&6 2005 fi 2006 2007 test -n "$CC" && break 2008 done 2009 fi 2010 if test -z "$CC"; then 2011 ac_ct_CC=$CC 2012 for ac_prog in cl 2013 do 2014 # Extract the first word of "$ac_prog", so it can be a program name with args. 2015 set dummy $ac_prog; ac_word=$2 2016 echo "$as_me:$LINENO: checking for $ac_word" >&5 2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2019 echo $ECHO_N "(cached) $ECHO_C" >&6 2020 else 2021 if test -n "$ac_ct_CC"; then 2022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2023 else 2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2025 for as_dir in $PATH 2026 do 2027 IFS=$as_save_IFS 2028 test -z "$as_dir" && as_dir=. 2029 for ac_exec_ext in '' $ac_executable_extensions; do 2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2031 ac_cv_prog_ac_ct_CC="$ac_prog" 2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2033 break 2 2034 fi 2035 done 2036 done 2037 2038 fi 2039 fi 2040 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2041 if test -n "$ac_ct_CC"; then 2042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2043 echo "${ECHO_T}$ac_ct_CC" >&6 2044 else 2045 echo "$as_me:$LINENO: result: no" >&5 2046 echo "${ECHO_T}no" >&6 2047 fi 2048 2049 test -n "$ac_ct_CC" && break 2050 done 2051 2052 CC=$ac_ct_CC 2053 fi 2054 2055 fi 2056 2057 2058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2059 See \`config.log' for more details." >&5 2060 echo "$as_me: error: no acceptable C compiler found in \$PATH 2061 See \`config.log' for more details." >&2;} 2062 { (exit 1); exit 1; }; } 2063 2064 # Provide some information about the compiler. 2065 echo "$as_me:$LINENO:" \ 2066 "checking for C compiler version" >&5 2067 ac_compiler=`set X $ac_compile; echo $2` 2068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2069 (eval $ac_compiler --version </dev/null >&5) 2>&5 2070 ac_status=$? 2071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2072 (exit $ac_status); } 2073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2074 (eval $ac_compiler -v </dev/null >&5) 2>&5 2075 ac_status=$? 2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2077 (exit $ac_status); } 2078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2079 (eval $ac_compiler -V </dev/null >&5) 2>&5 2080 ac_status=$? 2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2082 (exit $ac_status); } 2083 2084 cat >conftest.$ac_ext <<_ACEOF 2085 /* confdefs.h. */ 2086 _ACEOF 2087 cat confdefs.h >>conftest.$ac_ext 2088 cat >>conftest.$ac_ext <<_ACEOF 2089 /* end confdefs.h. */ 2090 2091 int 2092 main () 2093 { 2094 2095 ; 2096 return 0; 2097 } 2098 _ACEOF 2099 ac_clean_files_save=$ac_clean_files 2100 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2101 # Try to create an executable without -o first, disregard a.out. 2102 # It will help us diagnose broken compilers, and finding out an intuition 2103 # of exeext. 2104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2106 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2108 (eval $ac_link_default) 2>&5 2109 ac_status=$? 2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2111 (exit $ac_status); }; then 2112 # Find the output, starting from the most likely. This scheme is 2113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 2114 # resort. 2115 2116 # Be careful to initialize this variable, since it used to be cached. 2117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2118 ac_cv_exeext= 2119 # b.out is created by i960 compilers. 2120 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2121 do 2122 test -f "$ac_file" || continue 2123 case $ac_file in 2124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2125 ;; 2126 conftest.$ac_ext ) 2127 # This is the source file. 2128 ;; 2129 [ab].out ) 2130 # We found the default executable, but exeext='' is most 2131 # certainly right. 2132 break;; 2133 *.* ) 2134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2135 # FIXME: I believe we export ac_cv_exeext for Libtool, 2136 # but it would be cool to find out if it's true. Does anybody 2137 # maintain Libtool? --akim. 2138 export ac_cv_exeext 2139 break;; 2140 * ) 2141 break;; 2142 esac 2143 done 2144 else 2145 echo "$as_me: failed program was:" >&5 2146 sed 's/^/| /' conftest.$ac_ext >&5 2147 2148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2149 See \`config.log' for more details." >&5 2150 echo "$as_me: error: C compiler cannot create executables 2151 See \`config.log' for more details." >&2;} 2152 { (exit 77); exit 77; }; } 2153 fi 2154 2155 ac_exeext=$ac_cv_exeext 2156 echo "$as_me:$LINENO: result: $ac_file" >&5 2157 echo "${ECHO_T}$ac_file" >&6 2158 2159 # Check the compiler produces executables we can run. If not, either 2160 # the compiler is broken, or we cross compile. 2161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2164 # If not cross compiling, check that we can run a simple program. 2165 if test "$cross_compiling" != yes; then 2166 if { ac_try='./$ac_file' 2167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2168 (eval $ac_try) 2>&5 2169 ac_status=$? 2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2171 (exit $ac_status); }; }; then 2172 cross_compiling=no 2173 else 2174 if test "$cross_compiling" = maybe; then 2175 cross_compiling=yes 2176 else 2177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2178 If you meant to cross compile, use \`--host'. 2179 See \`config.log' for more details." >&5 2180 echo "$as_me: error: cannot run C compiled programs. 2181 If you meant to cross compile, use \`--host'. 2182 See \`config.log' for more details." >&2;} 2183 { (exit 1); exit 1; }; } 2184 fi 2185 fi 2186 fi 2187 echo "$as_me:$LINENO: result: yes" >&5 2188 echo "${ECHO_T}yes" >&6 2189 2190 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2191 ac_clean_files=$ac_clean_files_save 2192 # Check the compiler produces executables we can run. If not, either 2193 # the compiler is broken, or we cross compile. 2194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2196 echo "$as_me:$LINENO: result: $cross_compiling" >&5 2197 echo "${ECHO_T}$cross_compiling" >&6 2198 2199 echo "$as_me:$LINENO: checking for suffix of executables" >&5 2200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2202 (eval $ac_link) 2>&5 2203 ac_status=$? 2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2205 (exit $ac_status); }; then 2206 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2208 # work properly (i.e., refer to `conftest.exe'), while it won't with 2209 # `rm'. 2210 for ac_file in conftest.exe conftest conftest.*; do 2211 test -f "$ac_file" || continue 2212 case $ac_file in 2213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2214 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2215 export ac_cv_exeext 2216 break;; 2217 * ) break;; 2218 esac 2219 done 2220 else 2221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2222 See \`config.log' for more details." >&5 2223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2224 See \`config.log' for more details." >&2;} 2225 { (exit 1); exit 1; }; } 2226 fi 2227 2228 rm -f conftest$ac_cv_exeext 2229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2230 echo "${ECHO_T}$ac_cv_exeext" >&6 2231 2232 rm -f conftest.$ac_ext 2233 EXEEXT=$ac_cv_exeext 2234 ac_exeext=$EXEEXT 2235 echo "$as_me:$LINENO: checking for suffix of object files" >&5 2236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2237 if test "${ac_cv_objext+set}" = set; then 2238 echo $ECHO_N "(cached) $ECHO_C" >&6 2239 else 2240 cat >conftest.$ac_ext <<_ACEOF 2241 /* confdefs.h. */ 2242 _ACEOF 2243 cat confdefs.h >>conftest.$ac_ext 2244 cat >>conftest.$ac_ext <<_ACEOF 2245 /* end confdefs.h. */ 2246 2247 int 2248 main () 2249 { 2250 2251 ; 2252 return 0; 2253 } 2254 _ACEOF 2255 rm -f conftest.o conftest.obj 2256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2257 (eval $ac_compile) 2>&5 2258 ac_status=$? 2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2260 (exit $ac_status); }; then 2261 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2262 case $ac_file in 2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2264 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2265 break;; 2266 esac 2267 done 2268 else 2269 echo "$as_me: failed program was:" >&5 2270 sed 's/^/| /' conftest.$ac_ext >&5 2271 2272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2273 See \`config.log' for more details." >&5 2274 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2275 See \`config.log' for more details." >&2;} 2276 { (exit 1); exit 1; }; } 2277 fi 2278 2279 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2280 fi 2281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2282 echo "${ECHO_T}$ac_cv_objext" >&6 2283 OBJEXT=$ac_cv_objext 2284 ac_objext=$OBJEXT 2285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2287 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2288 echo $ECHO_N "(cached) $ECHO_C" >&6 2289 else 2290 cat >conftest.$ac_ext <<_ACEOF 2291 /* confdefs.h. */ 2292 _ACEOF 2293 cat confdefs.h >>conftest.$ac_ext 2294 cat >>conftest.$ac_ext <<_ACEOF 2295 /* end confdefs.h. */ 2296 2297 int 2298 main () 2299 { 2300 #ifndef __GNUC__ 2301 choke me 2302 #endif 2303 2304 ; 2305 return 0; 2306 } 2307 _ACEOF 2308 rm -f conftest.$ac_objext 2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2310 (eval $ac_compile) 2>conftest.er1 2311 ac_status=$? 2312 grep -v '^ *+' conftest.er1 >conftest.err 2313 rm -f conftest.er1 2314 cat conftest.err >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2316 (exit $ac_status); } && 2317 { ac_try='test -z "$ac_c_werror_flag" 2318 || test ! -s conftest.err' 2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2320 (eval $ac_try) 2>&5 2321 ac_status=$? 2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2323 (exit $ac_status); }; } && 2324 { ac_try='test -s conftest.$ac_objext' 2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2326 (eval $ac_try) 2>&5 2327 ac_status=$? 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2329 (exit $ac_status); }; }; then 2330 ac_compiler_gnu=yes 2331 else 2332 echo "$as_me: failed program was:" >&5 2333 sed 's/^/| /' conftest.$ac_ext >&5 2334 2335 ac_compiler_gnu=no 2336 fi 2337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2338 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2339 2340 fi 2341 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2342 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2343 GCC=`test $ac_compiler_gnu = yes && echo yes` 2344 ac_test_CFLAGS=${CFLAGS+set} 2345 ac_save_CFLAGS=$CFLAGS 2346 CFLAGS="-g" 2347 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2348 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2349 if test "${ac_cv_prog_cc_g+set}" = set; then 2350 echo $ECHO_N "(cached) $ECHO_C" >&6 2351 else 2352 cat >conftest.$ac_ext <<_ACEOF 2353 /* confdefs.h. */ 2354 _ACEOF 2355 cat confdefs.h >>conftest.$ac_ext 2356 cat >>conftest.$ac_ext <<_ACEOF 2357 /* end confdefs.h. */ 2358 2359 int 2360 main () 2361 { 2362 2363 ; 2364 return 0; 2365 } 2366 _ACEOF 2367 rm -f conftest.$ac_objext 2368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2369 (eval $ac_compile) 2>conftest.er1 2370 ac_status=$? 2371 grep -v '^ *+' conftest.er1 >conftest.err 2372 rm -f conftest.er1 2373 cat conftest.err >&5 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2375 (exit $ac_status); } && 2376 { ac_try='test -z "$ac_c_werror_flag" 2377 || test ! -s conftest.err' 2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2379 (eval $ac_try) 2>&5 2380 ac_status=$? 2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2382 (exit $ac_status); }; } && 2383 { ac_try='test -s conftest.$ac_objext' 2384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2385 (eval $ac_try) 2>&5 2386 ac_status=$? 2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2388 (exit $ac_status); }; }; then 2389 ac_cv_prog_cc_g=yes 2390 else 2391 echo "$as_me: failed program was:" >&5 2392 sed 's/^/| /' conftest.$ac_ext >&5 2393 2394 ac_cv_prog_cc_g=no 2395 fi 2396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2397 fi 2398 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2399 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2400 if test "$ac_test_CFLAGS" = set; then 2401 CFLAGS=$ac_save_CFLAGS 2402 elif test $ac_cv_prog_cc_g = yes; then 2403 if test "$GCC" = yes; then 2404 CFLAGS="-g -O2" 2405 else 2406 CFLAGS="-g" 2407 fi 2408 else 2409 if test "$GCC" = yes; then 2410 CFLAGS="-O2" 2411 else 2412 CFLAGS= 2413 fi 2414 fi 2415 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2416 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2417 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2418 echo $ECHO_N "(cached) $ECHO_C" >&6 2419 else 2420 ac_cv_prog_cc_stdc=no 2421 ac_save_CC=$CC 2422 cat >conftest.$ac_ext <<_ACEOF 2423 /* confdefs.h. */ 2424 _ACEOF 2425 cat confdefs.h >>conftest.$ac_ext 2426 cat >>conftest.$ac_ext <<_ACEOF 2427 /* end confdefs.h. */ 2428 #include <stdarg.h> 2429 #include <stdio.h> 2430 #include <sys/types.h> 2431 #include <sys/stat.h> 2432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2433 struct buf { int x; }; 2434 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2435 static char *e (p, i) 2436 char **p; 2437 int i; 2438 { 2439 return p[i]; 2440 } 2441 static char *f (char * (*g) (char **, int), char **p, ...) 2442 { 2443 char *s; 2444 va_list v; 2445 va_start (v,p); 2446 s = g (p, va_arg (v,int)); 2447 va_end (v); 2448 return s; 2449 } 2450 2451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2452 function prototypes and stuff, but not '\xHH' hex character constants. 2453 These don't provoke an error unfortunately, instead are silently treated 2454 as 'x'. The following induces an error, until -std1 is added to get 2455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2456 array size at least. It's necessary to write '\x00'==0 to get something 2457 that's true only with -std1. */ 2458 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2459 2460 int test (int i, double x); 2461 struct s1 {int (*f) (int a);}; 2462 struct s2 {int (*f) (double a);}; 2463 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2464 int argc; 2465 char **argv; 2466 int 2467 main () 2468 { 2469 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2470 ; 2471 return 0; 2472 } 2473 _ACEOF 2474 # Don't try gcc -ansi; that turns off useful extensions and 2475 # breaks some systems' header files. 2476 # AIX -qlanglvl=ansi 2477 # Ultrix and OSF/1 -std1 2478 # HP-UX 10.20 and later -Ae 2479 # HP-UX older versions -Aa -D_HPUX_SOURCE 2480 # SVR4 -Xc -D__EXTENSIONS__ 2481 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2482 do 2483 CC="$ac_save_CC $ac_arg" 2484 rm -f conftest.$ac_objext 2485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2486 (eval $ac_compile) 2>conftest.er1 2487 ac_status=$? 2488 grep -v '^ *+' conftest.er1 >conftest.err 2489 rm -f conftest.er1 2490 cat conftest.err >&5 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); } && 2493 { ac_try='test -z "$ac_c_werror_flag" 2494 || test ! -s conftest.err' 2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2496 (eval $ac_try) 2>&5 2497 ac_status=$? 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2499 (exit $ac_status); }; } && 2500 { ac_try='test -s conftest.$ac_objext' 2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2502 (eval $ac_try) 2>&5 2503 ac_status=$? 2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2505 (exit $ac_status); }; }; then 2506 ac_cv_prog_cc_stdc=$ac_arg 2507 break 2508 else 2509 echo "$as_me: failed program was:" >&5 2510 sed 's/^/| /' conftest.$ac_ext >&5 2511 2512 fi 2513 rm -f conftest.err conftest.$ac_objext 2514 done 2515 rm -f conftest.$ac_ext conftest.$ac_objext 2516 CC=$ac_save_CC 2517 2518 fi 2519 2520 case "x$ac_cv_prog_cc_stdc" in 2521 x|xno) 2522 echo "$as_me:$LINENO: result: none needed" >&5 2523 echo "${ECHO_T}none needed" >&6 ;; 2524 *) 2525 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2526 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2527 CC="$CC $ac_cv_prog_cc_stdc" ;; 2528 esac 2529 2530 # Some people use a C++ compiler to compile C. Since we use `exit', 2531 # in C++ we need to declare it. In case someone uses the same compiler 2532 # for both compiling C and C++ we need to have the C++ compiler decide 2533 # the declaration of exit, since it's the most demanding environment. 2534 cat >conftest.$ac_ext <<_ACEOF 2535 #ifndef __cplusplus 2536 choke me 2537 #endif 2538 _ACEOF 2539 rm -f conftest.$ac_objext 2540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2541 (eval $ac_compile) 2>conftest.er1 2542 ac_status=$? 2543 grep -v '^ *+' conftest.er1 >conftest.err 2544 rm -f conftest.er1 2545 cat conftest.err >&5 2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2547 (exit $ac_status); } && 2548 { ac_try='test -z "$ac_c_werror_flag" 2549 || test ! -s conftest.err' 2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2551 (eval $ac_try) 2>&5 2552 ac_status=$? 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2554 (exit $ac_status); }; } && 2555 { ac_try='test -s conftest.$ac_objext' 2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2557 (eval $ac_try) 2>&5 2558 ac_status=$? 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); }; }; then 2561 for ac_declaration in \ 2562 '' \ 2563 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2564 'extern "C" void std::exit (int); using std::exit;' \ 2565 'extern "C" void exit (int) throw ();' \ 2566 'extern "C" void exit (int);' \ 2567 'void exit (int);' 2568 do 2569 cat >conftest.$ac_ext <<_ACEOF 2570 /* confdefs.h. */ 2571 _ACEOF 2572 cat confdefs.h >>conftest.$ac_ext 2573 cat >>conftest.$ac_ext <<_ACEOF 2574 /* end confdefs.h. */ 2575 $ac_declaration 2576 #include <stdlib.h> 2577 int 2578 main () 2579 { 2580 exit (42); 2581 ; 2582 return 0; 2583 } 2584 _ACEOF 2585 rm -f conftest.$ac_objext 2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2587 (eval $ac_compile) 2>conftest.er1 2588 ac_status=$? 2589 grep -v '^ *+' conftest.er1 >conftest.err 2590 rm -f conftest.er1 2591 cat conftest.err >&5 2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); } && 2594 { ac_try='test -z "$ac_c_werror_flag" 2595 || test ! -s conftest.err' 2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2597 (eval $ac_try) 2>&5 2598 ac_status=$? 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 (exit $ac_status); }; } && 2601 { ac_try='test -s conftest.$ac_objext' 2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2603 (eval $ac_try) 2>&5 2604 ac_status=$? 2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2606 (exit $ac_status); }; }; then 2607 : 2608 else 2609 echo "$as_me: failed program was:" >&5 2610 sed 's/^/| /' conftest.$ac_ext >&5 2611 2612 continue 2613 fi 2614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2615 cat >conftest.$ac_ext <<_ACEOF 2616 /* confdefs.h. */ 2617 _ACEOF 2618 cat confdefs.h >>conftest.$ac_ext 2619 cat >>conftest.$ac_ext <<_ACEOF 2620 /* end confdefs.h. */ 2621 $ac_declaration 2622 int 2623 main () 2624 { 2625 exit (42); 2626 ; 2627 return 0; 2628 } 2629 _ACEOF 2630 rm -f conftest.$ac_objext 2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2632 (eval $ac_compile) 2>conftest.er1 2633 ac_status=$? 2634 grep -v '^ *+' conftest.er1 >conftest.err 2635 rm -f conftest.er1 2636 cat conftest.err >&5 2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2638 (exit $ac_status); } && 2639 { ac_try='test -z "$ac_c_werror_flag" 2640 || test ! -s conftest.err' 2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2642 (eval $ac_try) 2>&5 2643 ac_status=$? 2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2645 (exit $ac_status); }; } && 2646 { ac_try='test -s conftest.$ac_objext' 2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2648 (eval $ac_try) 2>&5 2649 ac_status=$? 2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2651 (exit $ac_status); }; }; then 2652 break 2653 else 2654 echo "$as_me: failed program was:" >&5 2655 sed 's/^/| /' conftest.$ac_ext >&5 2656 2657 fi 2658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2659 done 2660 rm -f conftest* 2661 if test -n "$ac_declaration"; then 2662 echo '#ifdef __cplusplus' >>confdefs.h 2663 echo $ac_declaration >>confdefs.h 2664 echo '#endif' >>confdefs.h 2665 fi 2666 2667 else 2668 echo "$as_me: failed program was:" >&5 2669 sed 's/^/| /' conftest.$ac_ext >&5 2670 2671 fi 2672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2673 ac_ext=c 2674 ac_cpp='$CPP $CPPFLAGS' 2675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2677 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2678 DEPDIR="${am__leading_dot}deps" 2679 2680 ac_config_commands="$ac_config_commands depfiles" 2681 2682 2683 am_make=${MAKE-make} 2684 cat > confinc << 'END' 2685 am__doit: 2686 @echo done 2687 .PHONY: am__doit 2688 END 2689 # If we don't find an include directive, just comment out the code. 2690 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2691 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2692 am__include="#" 2693 am__quote= 2694 _am_result=none 2695 # First try GNU make style include. 2696 echo "include confinc" > confmf 2697 # We grep out `Entering directory' and `Leaving directory' 2698 # messages which can occur if `w' ends up in MAKEFLAGS. 2699 # In particular we don't look at `^make:' because GNU make might 2700 # be invoked under some other name (usually "gmake"), in which 2701 # case it prints its new name instead of `make'. 2702 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2703 am__include=include 2704 am__quote= 2705 _am_result=GNU 2706 fi 2707 # Now try BSD make style include. 2708 if test "$am__include" = "#"; then 2709 echo '.include "confinc"' > confmf 2710 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2711 am__include=.include 2712 am__quote="\"" 2713 _am_result=BSD 2714 fi 2715 fi 2716 2717 2718 echo "$as_me:$LINENO: result: $_am_result" >&5 2719 echo "${ECHO_T}$_am_result" >&6 2720 rm -f confinc confmf 2721 2722 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2723 if test "${enable_dependency_tracking+set}" = set; then 2724 enableval="$enable_dependency_tracking" 2725 2726 fi; 2727 if test "x$enable_dependency_tracking" != xno; then 2728 am_depcomp="$ac_aux_dir/depcomp" 2729 AMDEPBACKSLASH='\' 2730 fi 2731 2732 2733 if test "x$enable_dependency_tracking" != xno; then 2734 AMDEP_TRUE= 2735 AMDEP_FALSE='#' 2736 else 2737 AMDEP_TRUE='#' 2738 AMDEP_FALSE= 2739 fi 2740 2741 2742 2743 2744 depcc="$CC" am_compiler_list= 2745 2746 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2747 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2748 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2749 echo $ECHO_N "(cached) $ECHO_C" >&6 2750 else 2751 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2752 # We make a subdir and do the tests there. Otherwise we can end up 2753 # making bogus files that we don't know about and never remove. For 2754 # instance it was reported that on HP-UX the gcc test will end up 2755 # making a dummy file named `D' -- because `-MD' means `put the output 2756 # in D'. 2757 mkdir conftest.dir 2758 # Copy depcomp to subdir because otherwise we won't find it if we're 2759 # using a relative directory. 2760 cp "$am_depcomp" conftest.dir 2761 cd conftest.dir 2762 # We will build objects and dependencies in a subdirectory because 2763 # it helps to detect inapplicable dependency modes. For instance 2764 # both Tru64's cc and ICC support -MD to output dependencies as a 2765 # side effect of compilation, but ICC will put the dependencies in 2766 # the current directory while Tru64 will put them in the object 2767 # directory. 2768 mkdir sub 2769 2770 am_cv_CC_dependencies_compiler_type=none 2771 if test "$am_compiler_list" = ""; then 2772 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2773 fi 2774 for depmode in $am_compiler_list; do 2775 # Setup a source with many dependencies, because some compilers 2776 # like to wrap large dependency lists on column 80 (with \), and 2777 # we should not choose a depcomp mode which is confused by this. 2778 # 2779 # We need to recreate these files for each test, as the compiler may 2780 # overwrite some of them when testing with obscure command lines. 2781 # This happens at least with the AIX C compiler. 2782 : > sub/conftest.c 2783 for i in 1 2 3 4 5 6; do 2784 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2785 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2786 # Solaris 8's {/usr,}/bin/sh. 2787 touch sub/conftst$i.h 2788 done 2789 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2790 2791 case $depmode in 2792 nosideeffect) 2793 # after this tag, mechanisms are not by side-effect, so they'll 2794 # only be used when explicitly requested 2795 if test "x$enable_dependency_tracking" = xyes; then 2796 continue 2797 else 2798 break 2799 fi 2800 ;; 2801 none) break ;; 2802 esac 2803 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2804 # mode. It turns out that the SunPro C++ compiler does not properly 2805 # handle `-M -o', and we need to detect this. 2806 if depmode=$depmode \ 2807 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2808 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2809 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2810 >/dev/null 2>conftest.err && 2811 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2812 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2813 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2814 # icc doesn't choke on unknown options, it will just issue warnings 2815 # or remarks (even with -Werror). So we grep stderr for any message 2816 # that says an option was ignored or not supported. 2817 # When given -MP, icc 7.0 and 7.1 complain thusly: 2818 # icc: Command line warning: ignoring option '-M'; no argument required 2819 # The diagnosis changed in icc 8.0: 2820 # icc: Command line remark: option '-MP' not supported 2821 if (grep 'ignoring option' conftest.err || 2822 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2823 am_cv_CC_dependencies_compiler_type=$depmode 2824 break 2825 fi 2826 fi 2827 done 2828 2829 cd .. 2830 rm -rf conftest.dir 2831 else 2832 am_cv_CC_dependencies_compiler_type=none 2833 fi 2834 2835 fi 2836 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2837 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2838 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2839 2840 2841 2842 if 2843 test "x$enable_dependency_tracking" != xno \ 2844 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2845 am__fastdepCC_TRUE= 2846 am__fastdepCC_FALSE='#' 2847 else 2848 am__fastdepCC_TRUE='#' 2849 am__fastdepCC_FALSE= 2850 fi 2851 2852 2853 if test "$GCC" = "yes" && test "$CC" != "icc"; then CFLAGS="$CFLAGS -O2 -Wall -Wmissing-prototypes"; fi 2854 # if test -n "$GCC"; then 2855 # CFLAGS="$CFLAGS -O2 -Wall -Wmissing-prototypes" 2856 # else 2857 #case "$host_os" in 2858 # *hpux*) CFLAGS="$CFLAGS +O3" ;; 2859 # *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000" ;; 2860 # *) CFLAGS="$CFLAGS -O" ;; 2861 # esac 2862 # fi 2863 2864 # Make sure we can run config.sub. 2865 $ac_config_sub sun4 >/dev/null 2>&1 || 2866 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2867 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2868 { (exit 1); exit 1; }; } 2869 2870 echo "$as_me:$LINENO: checking build system type" >&5 2871 echo $ECHO_N "checking build system type... $ECHO_C" >&6 2872 if test "${ac_cv_build+set}" = set; then 2873 echo $ECHO_N "(cached) $ECHO_C" >&6 2874 else 2875 ac_cv_build_alias=$build_alias 2876 test -z "$ac_cv_build_alias" && 2877 ac_cv_build_alias=`$ac_config_guess` 2878 test -z "$ac_cv_build_alias" && 2879 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2880 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2881 { (exit 1); exit 1; }; } 2882 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2883 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2884 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 2885 { (exit 1); exit 1; }; } 2886 2887 fi 2888 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2889 echo "${ECHO_T}$ac_cv_build" >&6 2890 build=$ac_cv_build 2891 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2892 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2893 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2894 2895 2896 echo "$as_me:$LINENO: checking host system type" >&5 2897 echo $ECHO_N "checking host system type... $ECHO_C" >&6 2898 if test "${ac_cv_host+set}" = set; then 2899 echo $ECHO_N "(cached) $ECHO_C" >&6 2900 else 2901 ac_cv_host_alias=$host_alias 2902 test -z "$ac_cv_host_alias" && 2903 ac_cv_host_alias=$ac_cv_build_alias 2904 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2905 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2906 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2907 { (exit 1); exit 1; }; } 2908 2909 fi 2910 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2911 echo "${ECHO_T}$ac_cv_host" >&6 2912 host=$ac_cv_host 2913 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2914 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2915 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2916 2917 2918 case $host_os in 2919 *cygwin* ) CYGWIN=yes;; 2920 * ) CYGWIN=no;; 2921 esac 2922 2923 if test "$CYGWIN" = "yes"; then CFLAGS="$CFLAGS -Dsys_errlist=_imp___sys_errlist"; fi 2924 checkssldir() { : 2925 if test -f "$1/include/openssl/ssl.h"; then 2926 # AC_DEFINE(HAVE_OPENSSL) 2927 ssldir="$1" 2928 return 0 2929 fi 2930 if test -f "$1/include/ssl.h"; then 2931 ssldir="$1" 2932 return 0 2933 fi 2934 return 1 2935 } 2936 echo "$as_me:$LINENO: checking for SSL directory" >&5 2937 echo $ECHO_N "checking for SSL directory... $ECHO_C" >&6 2938 2939 # Check whether --with-ssl or --without-ssl was given. 2940 if test "${with_ssl+set}" = set; then 2941 withval="$with_ssl" 2942 2943 checkssldir "$withval" 2944 2945 else 2946 2947 for maindir in /usr/local /usr/lib /usr/pkg /usr /var/ssl /opt; do 2948 for dir in $maindir $maindir/openssl $maindir/ssl; do 2949 checkssldir $dir && break 2 2950 done 2951 done 2952 2953 2954 fi; 2955 if test -z "$ssldir"; then 2956 echo "$as_me:$LINENO: result: Not found" >&5 2957 echo "${ECHO_T}Not found" >&6 2958 echo 2959 echo "Couldn't find your SSL library installation dir" 2960 echo "Use --with-ssl option to fix this problem" 2961 echo 2962 exit 1 2963 fi 2964 echo "$as_me:$LINENO: result: $ssldir" >&5 2965 echo "${ECHO_T}$ssldir" >&6 2966 2967 #AC_DEFINE_UNQUOTED(ssldir, "$ssldir") 2968 2969 echo "$as_me:$LINENO: checking whether to enable TCP wrappers" >&5 2970 echo $ECHO_N "checking whether to enable TCP wrappers... $ECHO_C" >&6 2971 # Check whether --enable-libwrap or --disable-libwrap was given. 2972 if test "${enable_libwrap+set}" = set; then 2973 enableval="$enable_libwrap" 2974 2975 LIBWRAP=yes 2976 2977 else 2978 2979 LIBWRAP=no 2980 2981 2982 fi; 2983 echo "$as_me:$LINENO: result: $LIBWRAP" >&5 2984 echo "${ECHO_T}$LIBWRAP" >&6 2985 if test "$LIBWRAP" = "yes"; then 2986 2987 2988 echo "$as_me:$LINENO: checking for hosts_ctl in -lwrap" >&5 2989 echo $ECHO_N "checking for hosts_ctl in -lwrap... $ECHO_C" >&6 2990 if test "${ac_cv_lib_wrap_hosts_ctl+set}" = set; then 2991 echo $ECHO_N "(cached) $ECHO_C" >&6 2992 else 2993 ac_check_lib_save_LIBS=$LIBS 2994 LIBS="-lwrap $LIBS" 2995 cat >conftest.$ac_ext <<_ACEOF 2996 /* confdefs.h. */ 2997 _ACEOF 2998 cat confdefs.h >>conftest.$ac_ext 2999 cat >>conftest.$ac_ext <<_ACEOF 3000 /* end confdefs.h. */ 3001 3002 /* Override any gcc2 internal prototype to avoid an error. */ 3003 #ifdef __cplusplus 3004 extern "C" 3005 #endif 3006 /* We use char because int might match the return type of a gcc2 3007 builtin and then its argument prototype would still apply. */ 3008 char hosts_ctl (); 3009 int 3010 main () 3011 { 3012 hosts_ctl (); 3013 ; 3014 return 0; 3015 } 3016 _ACEOF 3017 rm -f conftest.$ac_objext conftest$ac_exeext 3018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3019 (eval $ac_link) 2>conftest.er1 3020 ac_status=$? 3021 grep -v '^ *+' conftest.er1 >conftest.err 3022 rm -f conftest.er1 3023 cat conftest.err >&5 3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3025 (exit $ac_status); } && 3026 { ac_try='test -z "$ac_c_werror_flag" 3027 || test ! -s conftest.err' 3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3029 (eval $ac_try) 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); }; } && 3033 { ac_try='test -s conftest$ac_exeext' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; }; then 3039 ac_cv_lib_wrap_hosts_ctl=yes 3040 else 3041 echo "$as_me: failed program was:" >&5 3042 sed 's/^/| /' conftest.$ac_ext >&5 3043 3044 ac_cv_lib_wrap_hosts_ctl=no 3045 fi 3046 rm -f conftest.err conftest.$ac_objext \ 3047 conftest$ac_exeext conftest.$ac_ext 3048 LIBS=$ac_check_lib_save_LIBS 3049 fi 3050 echo "$as_me:$LINENO: result: $ac_cv_lib_wrap_hosts_ctl" >&5 3051 echo "${ECHO_T}$ac_cv_lib_wrap_hosts_ctl" >&6 3052 if test $ac_cv_lib_wrap_hosts_ctl = yes; then 3053 cat >>confdefs.h <<_ACEOF 3054 #define HAVE_LIBWRAP 1 3055 _ACEOF 3056 3057 LIBS="-lwrap $LIBS" 3058 3059 fi 3060 3061 fi 3062 3063 ac_config_headers="$ac_config_headers conf.h" 3064 3065 3066 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5 3067 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6 3068 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then 3069 echo $ECHO_N "(cached) $ECHO_C" >&6 3070 else 3071 ac_check_lib_save_LIBS=$LIBS 3072 LIBS="-lresolv $LIBS" 3073 cat >conftest.$ac_ext <<_ACEOF 3074 /* confdefs.h. */ 3075 _ACEOF 3076 cat confdefs.h >>conftest.$ac_ext 3077 cat >>conftest.$ac_ext <<_ACEOF 3078 /* end confdefs.h. */ 3079 3080 /* Override any gcc2 internal prototype to avoid an error. */ 3081 #ifdef __cplusplus 3082 extern "C" 3083 #endif 3084 /* We use char because int might match the return type of a gcc2 3085 builtin and then its argument prototype would still apply. */ 3086 char inet_aton (); 3087 int 3088 main () 3089 { 3090 inet_aton (); 3091 ; 3092 return 0; 3093 } 3094 _ACEOF 3095 rm -f conftest.$ac_objext conftest$ac_exeext 3096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3097 (eval $ac_link) 2>conftest.er1 3098 ac_status=$? 3099 grep -v '^ *+' conftest.er1 >conftest.err 3100 rm -f conftest.er1 3101 cat conftest.err >&5 3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3103 (exit $ac_status); } && 3104 { ac_try='test -z "$ac_c_werror_flag" 3105 || test ! -s conftest.err' 3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3107 (eval $ac_try) 2>&5 3108 ac_status=$? 3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3110 (exit $ac_status); }; } && 3111 { ac_try='test -s conftest$ac_exeext' 3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3113 (eval $ac_try) 2>&5 3114 ac_status=$? 3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3116 (exit $ac_status); }; }; then 3117 ac_cv_lib_resolv_inet_aton=yes 3118 else 3119 echo "$as_me: failed program was:" >&5 3120 sed 's/^/| /' conftest.$ac_ext >&5 3121 3122 ac_cv_lib_resolv_inet_aton=no 3123 fi 3124 rm -f conftest.err conftest.$ac_objext \ 3125 conftest$ac_exeext conftest.$ac_ext 3126 LIBS=$ac_check_lib_save_LIBS 3127 fi 3128 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5 3129 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6 3130 if test $ac_cv_lib_resolv_inet_aton = yes; then 3131 cat >>confdefs.h <<_ACEOF 3132 #define HAVE_LIBRESOLV 1 3133 _ACEOF 3134 3135 LIBS="-lresolv $LIBS" 3136 3137 fi 3138 3139 3140 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 3141 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 3142 if test "${ac_cv_lib_socket_connect+set}" = set; then 3143 echo $ECHO_N "(cached) $ECHO_C" >&6 3144 else 3145 ac_check_lib_save_LIBS=$LIBS 3146 LIBS="-lsocket $LIBS" 3147 cat >conftest.$ac_ext <<_ACEOF 3148 /* confdefs.h. */ 3149 _ACEOF 3150 cat confdefs.h >>conftest.$ac_ext 3151 cat >>conftest.$ac_ext <<_ACEOF 3152 /* end confdefs.h. */ 3153 3154 /* Override any gcc2 internal prototype to avoid an error. */ 3155 #ifdef __cplusplus 3156 extern "C" 3157 #endif 3158 /* We use char because int might match the return type of a gcc2 3159 builtin and then its argument prototype would still apply. */ 3160 char connect (); 3161 int 3162 main () 3163 { 3164 connect (); 3165 ; 3166 return 0; 3167 } 3168 _ACEOF 3169 rm -f conftest.$ac_objext conftest$ac_exeext 3170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3171 (eval $ac_link) 2>conftest.er1 3172 ac_status=$? 3173 grep -v '^ *+' conftest.er1 >conftest.err 3174 rm -f conftest.er1 3175 cat conftest.err >&5 3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177 (exit $ac_status); } && 3178 { ac_try='test -z "$ac_c_werror_flag" 3179 || test ! -s conftest.err' 3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3181 (eval $ac_try) 2>&5 3182 ac_status=$? 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3184 (exit $ac_status); }; } && 3185 { ac_try='test -s conftest$ac_exeext' 3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3187 (eval $ac_try) 2>&5 3188 ac_status=$? 3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3190 (exit $ac_status); }; }; then 3191 ac_cv_lib_socket_connect=yes 3192 else 3193 echo "$as_me: failed program was:" >&5 3194 sed 's/^/| /' conftest.$ac_ext >&5 3195 3196 ac_cv_lib_socket_connect=no 3197 fi 3198 rm -f conftest.err conftest.$ac_objext \ 3199 conftest$ac_exeext conftest.$ac_ext 3200 LIBS=$ac_check_lib_save_LIBS 3201 fi 3202 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 3203 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 3204 if test $ac_cv_lib_socket_connect = yes; then 3205 cat >>confdefs.h <<_ACEOF 3206 #define HAVE_LIBSOCKET 1 3207 _ACEOF 3208 3209 LIBS="-lsocket $LIBS" 3210 3211 fi 3212 3213 3214 echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5 3215 echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6 3216 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then 3217 echo $ECHO_N "(cached) $ECHO_C" >&6 3218 else 3219 ac_check_lib_save_LIBS=$LIBS 3220 LIBS="-lnsl $LIBS" 3221 cat >conftest.$ac_ext <<_ACEOF 3222 /* confdefs.h. */ 3223 _ACEOF 3224 cat confdefs.h >>conftest.$ac_ext 3225 cat >>conftest.$ac_ext <<_ACEOF 3226 /* end confdefs.h. */ 3227 3228 /* Override any gcc2 internal prototype to avoid an error. */ 3229 #ifdef __cplusplus 3230 extern "C" 3231 #endif 3232 /* We use char because int might match the return type of a gcc2 3233 builtin and then its argument prototype would still apply. */ 3234 char inet_ntoa (); 3235 int 3236 main () 3237 { 3238 inet_ntoa (); 3239 ; 3240 return 0; 3241 } 3242 _ACEOF 3243 rm -f conftest.$ac_objext conftest$ac_exeext 3244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3245 (eval $ac_link) 2>conftest.er1 3246 ac_status=$? 3247 grep -v '^ *+' conftest.er1 >conftest.err 3248 rm -f conftest.er1 3249 cat conftest.err >&5 3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3251 (exit $ac_status); } && 3252 { ac_try='test -z "$ac_c_werror_flag" 3253 || test ! -s conftest.err' 3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3255 (eval $ac_try) 2>&5 3256 ac_status=$? 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); }; } && 3259 { ac_try='test -s conftest$ac_exeext' 3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3261 (eval $ac_try) 2>&5 3262 ac_status=$? 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3264 (exit $ac_status); }; }; then 3265 ac_cv_lib_nsl_inet_ntoa=yes 3266 else 3267 echo "$as_me: failed program was:" >&5 3268 sed 's/^/| /' conftest.$ac_ext >&5 3269 3270 ac_cv_lib_nsl_inet_ntoa=no 3271 fi 3272 rm -f conftest.err conftest.$ac_objext \ 3273 conftest$ac_exeext conftest.$ac_ext 3274 LIBS=$ac_check_lib_save_LIBS 3275 fi 3276 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5 3277 echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6 3278 if test $ac_cv_lib_nsl_inet_ntoa = yes; then 3279 cat >>confdefs.h <<_ACEOF 3280 #define HAVE_LIBNSL 1 3281 _ACEOF 3282 3283 LIBS="-lnsl $LIBS" 3284 3285 fi 3286 3287 3288 echo "$as_me:$LINENO: checking for pidfile in -lutil" >&5 3289 echo $ECHO_N "checking for pidfile in -lutil... $ECHO_C" >&6 3290 if test "${ac_cv_lib_util_pidfile+set}" = set; then 3291 echo $ECHO_N "(cached) $ECHO_C" >&6 3292 else 3293 ac_check_lib_save_LIBS=$LIBS 3294 LIBS="-lutil $LIBS" 3295 cat >conftest.$ac_ext <<_ACEOF 3296 /* confdefs.h. */ 3297 _ACEOF 3298 cat confdefs.h >>conftest.$ac_ext 3299 cat >>conftest.$ac_ext <<_ACEOF 3300 /* end confdefs.h. */ 3301 3302 /* Override any gcc2 internal prototype to avoid an error. */ 3303 #ifdef __cplusplus 3304 extern "C" 3305 #endif 3306 /* We use char because int might match the return type of a gcc2 3307 builtin and then its argument prototype would still apply. */ 3308 char pidfile (); 3309 int 3310 main () 3311 { 3312 pidfile (); 3313 ; 3314 return 0; 3315 } 3316 _ACEOF 3317 rm -f conftest.$ac_objext conftest$ac_exeext 3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3319 (eval $ac_link) 2>conftest.er1 3320 ac_status=$? 3321 grep -v '^ *+' conftest.er1 >conftest.err 3322 rm -f conftest.er1 3323 cat conftest.err >&5 3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3325 (exit $ac_status); } && 3326 { ac_try='test -z "$ac_c_werror_flag" 3327 || test ! -s conftest.err' 3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3329 (eval $ac_try) 2>&5 3330 ac_status=$? 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); }; } && 3333 { ac_try='test -s conftest$ac_exeext' 3334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3335 (eval $ac_try) 2>&5 3336 ac_status=$? 3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3338 (exit $ac_status); }; }; then 3339 ac_cv_lib_util_pidfile=yes 3340 else 3341 echo "$as_me: failed program was:" >&5 3342 sed 's/^/| /' conftest.$ac_ext >&5 3343 3344 ac_cv_lib_util_pidfile=no 3345 fi 3346 rm -f conftest.err conftest.$ac_objext \ 3347 conftest$ac_exeext conftest.$ac_ext 3348 LIBS=$ac_check_lib_save_LIBS 3349 fi 3350 echo "$as_me:$LINENO: result: $ac_cv_lib_util_pidfile" >&5 3351 echo "${ECHO_T}$ac_cv_lib_util_pidfile" >&6 3352 if test $ac_cv_lib_util_pidfile = yes; then 3353 cat >>confdefs.h <<_ACEOF 3354 #define HAVE_LIBUTIL 1 3355 _ACEOF 3356 3357 LIBS="-lutil $LIBS" 3358 3359 fi 3360 3361 # AC_CHECK_LIB(wrap, hosts_ctl) 3362 3363 CFLAGS="$CFLAGS -I$ssldir/include" 3364 LIBS="$LIBS -L$ssldir/lib -lssl -lcrypto" 3365 3366 ac_ext=c 3367 ac_cpp='$CPP $CPPFLAGS' 3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3371 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3372 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3373 # On Suns, sometimes $CPP names a directory. 3374 if test -n "$CPP" && test -d "$CPP"; then 3375 CPP= 3376 fi 3377 if test -z "$CPP"; then 3378 if test "${ac_cv_prog_CPP+set}" = set; then 3379 echo $ECHO_N "(cached) $ECHO_C" >&6 3380 else 3381 # Double quotes because CPP needs to be expanded 3382 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3383 do 3384 ac_preproc_ok=false 3385 for ac_c_preproc_warn_flag in '' yes 3386 do 3387 # Use a header file that comes with gcc, so configuring glibc 3388 # with a fresh cross-compiler works. 3389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3390 # <limits.h> exists even on freestanding compilers. 3391 # On the NeXT, cc -E runs the code through the compiler's parser, 3392 # not just through cpp. "Syntax error" is here to catch this case. 3393 cat >conftest.$ac_ext <<_ACEOF 3394 /* confdefs.h. */ 3395 _ACEOF 3396 cat confdefs.h >>conftest.$ac_ext 3397 cat >>conftest.$ac_ext <<_ACEOF 3398 /* end confdefs.h. */ 3399 #ifdef __STDC__ 3400 # include <limits.h> 3401 #else 3402 # include <assert.h> 3403 #endif 3404 Syntax error 3405 _ACEOF 3406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3408 ac_status=$? 3409 grep -v '^ *+' conftest.er1 >conftest.err 3410 rm -f conftest.er1 3411 cat conftest.err >&5 3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3413 (exit $ac_status); } >/dev/null; then 3414 if test -s conftest.err; then 3415 ac_cpp_err=$ac_c_preproc_warn_flag 3416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3417 else 3418 ac_cpp_err= 3419 fi 3420 else 3421 ac_cpp_err=yes 3422 fi 3423 if test -z "$ac_cpp_err"; then 3424 : 3425 else 3426 echo "$as_me: failed program was:" >&5 3427 sed 's/^/| /' conftest.$ac_ext >&5 3428 3429 # Broken: fails on valid input. 3430 continue 3431 fi 3432 rm -f conftest.err conftest.$ac_ext 3433 3434 # OK, works on sane cases. Now check whether non-existent headers 3435 # can be detected and how. 3436 cat >conftest.$ac_ext <<_ACEOF 3437 /* confdefs.h. */ 3438 _ACEOF 3439 cat confdefs.h >>conftest.$ac_ext 3440 cat >>conftest.$ac_ext <<_ACEOF 3441 /* end confdefs.h. */ 3442 #include <ac_nonexistent.h> 3443 _ACEOF 3444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3446 ac_status=$? 3447 grep -v '^ *+' conftest.er1 >conftest.err 3448 rm -f conftest.er1 3449 cat conftest.err >&5 3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3451 (exit $ac_status); } >/dev/null; then 3452 if test -s conftest.err; then 3453 ac_cpp_err=$ac_c_preproc_warn_flag 3454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3455 else 3456 ac_cpp_err= 3457 fi 3458 else 3459 ac_cpp_err=yes 3460 fi 3461 if test -z "$ac_cpp_err"; then 3462 # Broken: success on invalid input. 3463 continue 3464 else 3465 echo "$as_me: failed program was:" >&5 3466 sed 's/^/| /' conftest.$ac_ext >&5 3467 3468 # Passes both tests. 3469 ac_preproc_ok=: 3470 break 3471 fi 3472 rm -f conftest.err conftest.$ac_ext 3473 3474 done 3475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3476 rm -f conftest.err conftest.$ac_ext 3477 if $ac_preproc_ok; then 3478 break 3479 fi 3480 3481 done 3482 ac_cv_prog_CPP=$CPP 3483 3484 fi 3485 CPP=$ac_cv_prog_CPP 3486 else 3487 ac_cv_prog_CPP=$CPP 3488 fi 3489 echo "$as_me:$LINENO: result: $CPP" >&5 3490 echo "${ECHO_T}$CPP" >&6 3491 ac_preproc_ok=false 3492 for ac_c_preproc_warn_flag in '' yes 3493 do 3494 # Use a header file that comes with gcc, so configuring glibc 3495 # with a fresh cross-compiler works. 3496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3497 # <limits.h> exists even on freestanding compilers. 3498 # On the NeXT, cc -E runs the code through the compiler's parser, 3499 # not just through cpp. "Syntax error" is here to catch this case. 3500 cat >conftest.$ac_ext <<_ACEOF 3501 /* confdefs.h. */ 3502 _ACEOF 3503 cat confdefs.h >>conftest.$ac_ext 3504 cat >>conftest.$ac_ext <<_ACEOF 3505 /* end confdefs.h. */ 3506 #ifdef __STDC__ 3507 # include <limits.h> 3508 #else 3509 # include <assert.h> 3510 #endif 3511 Syntax error 3512 _ACEOF 3513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3515 ac_status=$? 3516 grep -v '^ *+' conftest.er1 >conftest.err 3517 rm -f conftest.er1 3518 cat conftest.err >&5 3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3520 (exit $ac_status); } >/dev/null; then 3521 if test -s conftest.err; then 3522 ac_cpp_err=$ac_c_preproc_warn_flag 3523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3524 else 3525 ac_cpp_err= 3526 fi 3527 else 3528 ac_cpp_err=yes 3529 fi 3530 if test -z "$ac_cpp_err"; then 3531 : 3532 else 3533 echo "$as_me: failed program was:" >&5 3534 sed 's/^/| /' conftest.$ac_ext >&5 3535 3536 # Broken: fails on valid input. 3537 continue 3538 fi 3539 rm -f conftest.err conftest.$ac_ext 3540 3541 # OK, works on sane cases. Now check whether non-existent headers 3542 # can be detected and how. 3543 cat >conftest.$ac_ext <<_ACEOF 3544 /* confdefs.h. */ 3545 _ACEOF 3546 cat confdefs.h >>conftest.$ac_ext 3547 cat >>conftest.$ac_ext <<_ACEOF 3548 /* end confdefs.h. */ 3549 #include <ac_nonexistent.h> 3550 _ACEOF 3551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3553 ac_status=$? 3554 grep -v '^ *+' conftest.er1 >conftest.err 3555 rm -f conftest.er1 3556 cat conftest.err >&5 3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3558 (exit $ac_status); } >/dev/null; then 3559 if test -s conftest.err; then 3560 ac_cpp_err=$ac_c_preproc_warn_flag 3561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3562 else 3563 ac_cpp_err= 3564 fi 3565 else 3566 ac_cpp_err=yes 3567 fi 3568 if test -z "$ac_cpp_err"; then 3569 # Broken: success on invalid input. 3570 continue 3571 else 3572 echo "$as_me: failed program was:" >&5 3573 sed 's/^/| /' conftest.$ac_ext >&5 3574 3575 # Passes both tests. 3576 ac_preproc_ok=: 3577 break 3578 fi 3579 rm -f conftest.err conftest.$ac_ext 3580 3581 done 3582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3583 rm -f conftest.err conftest.$ac_ext 3584 if $ac_preproc_ok; then 3585 : 3586 else 3587 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3588 See \`config.log' for more details." >&5 3589 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3590 See \`config.log' for more details." >&2;} 3591 { (exit 1); exit 1; }; } 3592 fi 3593 3594 ac_ext=c 3595 ac_cpp='$CPP $CPPFLAGS' 3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3599 3600 3601 echo "$as_me:$LINENO: checking for egrep" >&5 3602 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3603 if test "${ac_cv_prog_egrep+set}" = set; then 3604 echo $ECHO_N "(cached) $ECHO_C" >&6 3605 else 3606 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3607 then ac_cv_prog_egrep='grep -E' 3608 else ac_cv_prog_egrep='egrep' 3609 fi 3610 fi 3611 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3612 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3613 EGREP=$ac_cv_prog_egrep 3614 3615 3616 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3617 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3618 if test "${ac_cv_header_stdc+set}" = set; then 3619 echo $ECHO_N "(cached) $ECHO_C" >&6 3620 else 3621 cat >conftest.$ac_ext <<_ACEOF 3622 /* confdefs.h. */ 3623 _ACEOF 3624 cat confdefs.h >>conftest.$ac_ext 3625 cat >>conftest.$ac_ext <<_ACEOF 3626 /* end confdefs.h. */ 3627 #include <stdlib.h> 3628 #include <stdarg.h> 3629 #include <string.h> 3630 #include <float.h> 3631 3632 int 3633 main () 3634 { 3635 3636 ; 3637 return 0; 3638 } 3639 _ACEOF 3640 rm -f conftest.$ac_objext 3641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3642 (eval $ac_compile) 2>conftest.er1 3643 ac_status=$? 3644 grep -v '^ *+' conftest.er1 >conftest.err 3645 rm -f conftest.er1 3646 cat conftest.err >&5 3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3648 (exit $ac_status); } && 3649 { ac_try='test -z "$ac_c_werror_flag" 3650 || test ! -s conftest.err' 3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3652 (eval $ac_try) 2>&5 3653 ac_status=$? 3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3655 (exit $ac_status); }; } && 3656 { ac_try='test -s conftest.$ac_objext' 3657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3658 (eval $ac_try) 2>&5 3659 ac_status=$? 3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3661 (exit $ac_status); }; }; then 3662 ac_cv_header_stdc=yes 3663 else 3664 echo "$as_me: failed program was:" >&5 3665 sed 's/^/| /' conftest.$ac_ext >&5 3666 3667 ac_cv_header_stdc=no 3668 fi 3669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3670 3671 if test $ac_cv_header_stdc = yes; then 3672 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3673 cat >conftest.$ac_ext <<_ACEOF 3674 /* confdefs.h. */ 3675 _ACEOF 3676 cat confdefs.h >>conftest.$ac_ext 3677 cat >>conftest.$ac_ext <<_ACEOF 3678 /* end confdefs.h. */ 3679 #include <string.h> 3680 3681 _ACEOF 3682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3683 $EGREP "memchr" >/dev/null 2>&1; then 3684 : 3685 else 3686 ac_cv_header_stdc=no 3687 fi 3688 rm -f conftest* 3689 3690 fi 3691 3692 if test $ac_cv_header_stdc = yes; then 3693 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3694 cat >conftest.$ac_ext <<_ACEOF 3695 /* confdefs.h. */ 3696 _ACEOF 3697 cat confdefs.h >>conftest.$ac_ext 3698 cat >>conftest.$ac_ext <<_ACEOF 3699 /* end confdefs.h. */ 3700 #include <stdlib.h> 3701 3702 _ACEOF 3703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3704 $EGREP "free" >/dev/null 2>&1; then 3705 : 3706 else 3707 ac_cv_header_stdc=no 3708 fi 3709 rm -f conftest* 3710 3711 fi 3712 3713 if test $ac_cv_header_stdc = yes; then 3714 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3715 if test "$cross_compiling" = yes; then 3716 : 3717 else 3718 cat >conftest.$ac_ext <<_ACEOF 3719 /* confdefs.h. */ 3720 _ACEOF 3721 cat confdefs.h >>conftest.$ac_ext 3722 cat >>conftest.$ac_ext <<_ACEOF 3723 /* end confdefs.h. */ 3724 #include <ctype.h> 3725 #if ((' ' & 0x0FF) == 0x020) 3726 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3727 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3728 #else 3729 # define ISLOWER(c) \ 3730 (('a' <= (c) && (c) <= 'i') \ 3731 || ('j' <= (c) && (c) <= 'r') \ 3732 || ('s' <= (c) && (c) <= 'z')) 3733 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3734 #endif 3735 3736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3737 int 3738 main () 3739 { 3740 int i; 3741 for (i = 0; i < 256; i++) 3742 if (XOR (islower (i), ISLOWER (i)) 3743 || toupper (i) != TOUPPER (i)) 3744 exit(2); 3745 exit (0); 3746 } 3747 _ACEOF 3748 rm -f conftest$ac_exeext 3749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3750 (eval $ac_link) 2>&5 3751 ac_status=$? 3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3755 (eval $ac_try) 2>&5 3756 ac_status=$? 3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3758 (exit $ac_status); }; }; then 3759 : 3760 else 3761 echo "$as_me: program exited with status $ac_status" >&5 3762 echo "$as_me: failed program was:" >&5 3763 sed 's/^/| /' conftest.$ac_ext >&5 3764 3765 ( exit $ac_status ) 3766 ac_cv_header_stdc=no 3767 fi 3768 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3769 fi 3770 fi 3771 fi 3772 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3773 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3774 if test $ac_cv_header_stdc = yes; then 3775 3776 cat >>confdefs.h <<\_ACEOF 3777 #define STDC_HEADERS 1 3778 _ACEOF 3779 3780 fi 3781 3782 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3793 inttypes.h stdint.h unistd.h 3794 do 3795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3796 echo "$as_me:$LINENO: checking for $ac_header" >&5 3797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3798 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3799 echo $ECHO_N "(cached) $ECHO_C" >&6 3800 else 3801 cat >conftest.$ac_ext <<_ACEOF 3802 /* confdefs.h. */ 3803 _ACEOF 3804 cat confdefs.h >>conftest.$ac_ext 3805 cat >>conftest.$ac_ext <<_ACEOF 3806 /* end confdefs.h. */ 3807 $ac_includes_default 3808 3809 #include <$ac_header> 3810 _ACEOF 3811 rm -f conftest.$ac_objext 3812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3813 (eval $ac_compile) 2>conftest.er1 3814 ac_status=$? 3815 grep -v '^ *+' conftest.er1 >conftest.err 3816 rm -f conftest.er1 3817 cat conftest.err >&5 3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3819 (exit $ac_status); } && 3820 { ac_try='test -z "$ac_c_werror_flag" 3821 || test ! -s conftest.err' 3822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3823 (eval $ac_try) 2>&5 3824 ac_status=$? 3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3826 (exit $ac_status); }; } && 3827 { ac_try='test -s conftest.$ac_objext' 3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3829 (eval $ac_try) 2>&5 3830 ac_status=$? 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3832 (exit $ac_status); }; }; then 3833 eval "$as_ac_Header=yes" 3834 else 3835 echo "$as_me: failed program was:" >&5 3836 sed 's/^/| /' conftest.$ac_ext >&5 3837 3838 eval "$as_ac_Header=no" 3839 fi 3840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3841 fi 3842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3844 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3845 cat >>confdefs.h <<_ACEOF 3846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3847 _ACEOF 3848 3849 fi 3850 3851 done 3852 3853 3854 3855 3856 3857 3858 3859 for ac_header in fcntl.h strings.h sys/time.h syslog.h unistd.h 3860 do 3861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3862 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3863 echo "$as_me:$LINENO: checking for $ac_header" >&5 3864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3865 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3866 echo $ECHO_N "(cached) $ECHO_C" >&6 3867 fi 3868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3870 else 3871 # Is the header compilable? 3872 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3873 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3874 cat >conftest.$ac_ext <<_ACEOF 3875 /* confdefs.h. */ 3876 _ACEOF 3877 cat confdefs.h >>conftest.$ac_ext 3878 cat >>conftest.$ac_ext <<_ACEOF 3879 /* end confdefs.h. */ 3880 $ac_includes_default 3881 #include <$ac_header> 3882 _ACEOF 3883 rm -f conftest.$ac_objext 3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3885 (eval $ac_compile) 2>conftest.er1 3886 ac_status=$? 3887 grep -v '^ *+' conftest.er1 >conftest.err 3888 rm -f conftest.er1 3889 cat conftest.err >&5 3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3891 (exit $ac_status); } && 3892 { ac_try='test -z "$ac_c_werror_flag" 3893 || test ! -s conftest.err' 3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3895 (eval $ac_try) 2>&5 3896 ac_status=$? 3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3898 (exit $ac_status); }; } && 3899 { ac_try='test -s conftest.$ac_objext' 3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3901 (eval $ac_try) 2>&5 3902 ac_status=$? 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3904 (exit $ac_status); }; }; then 3905 ac_header_compiler=yes 3906 else 3907 echo "$as_me: failed program was:" >&5 3908 sed 's/^/| /' conftest.$ac_ext >&5 3909 3910 ac_header_compiler=no 3911 fi 3912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3914 echo "${ECHO_T}$ac_header_compiler" >&6 3915 3916 # Is the header present? 3917 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3918 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3919 cat >conftest.$ac_ext <<_ACEOF 3920 /* confdefs.h. */ 3921 _ACEOF 3922 cat confdefs.h >>conftest.$ac_ext 3923 cat >>conftest.$ac_ext <<_ACEOF 3924 /* end confdefs.h. */ 3925 #include <$ac_header> 3926 _ACEOF 3927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3929 ac_status=$? 3930 grep -v '^ *+' conftest.er1 >conftest.err 3931 rm -f conftest.er1 3932 cat conftest.err >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); } >/dev/null; then 3935 if test -s conftest.err; then 3936 ac_cpp_err=$ac_c_preproc_warn_flag 3937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3938 else 3939 ac_cpp_err= 3940 fi 3941 else 3942 ac_cpp_err=yes 3943 fi 3944 if test -z "$ac_cpp_err"; then 3945 ac_header_preproc=yes 3946 else 3947 echo "$as_me: failed program was:" >&5 3948 sed 's/^/| /' conftest.$ac_ext >&5 3949 3950 ac_header_preproc=no 3951 fi 3952 rm -f conftest.err conftest.$ac_ext 3953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3954 echo "${ECHO_T}$ac_header_preproc" >&6 3955 3956 # So? What about this header? 3957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3958 yes:no: ) 3959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3960 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3962 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3963 ac_header_preproc=yes 3964 ;; 3965 no:yes:* ) 3966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3967 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3969 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3971 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3973 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3978 ( 3979 cat <<\_ASBOX 3980 ## ------------------------------------------ ## 3981 ## Report this to the AC_PACKAGE_NAME lists. ## 3982 ## ------------------------------------------ ## 3983 _ASBOX 3984 ) | 3985 sed "s/^/$as_me: WARNING: /" >&2 3986 ;; 3987 esac 3988 echo "$as_me:$LINENO: checking for $ac_header" >&5 3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3991 echo $ECHO_N "(cached) $ECHO_C" >&6 3992 else 3993 eval "$as_ac_Header=\$ac_header_preproc" 3994 fi 3995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3997 3998 fi 3999 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4000 cat >>confdefs.h <<_ACEOF 4001 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4002 _ACEOF 4003 4004 fi 4005 4006 done 4007 4008 4009 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4010 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4011 if test "${ac_cv_c_const+set}" = set; then 4012 echo $ECHO_N "(cached) $ECHO_C" >&6 4013 else 4014 cat >conftest.$ac_ext <<_ACEOF 4015 /* confdefs.h. */ 4016 _ACEOF 4017 cat confdefs.h >>conftest.$ac_ext 4018 cat >>conftest.$ac_ext <<_ACEOF 4019 /* end confdefs.h. */ 4020 4021 int 4022 main () 4023 { 4024 /* FIXME: Include the comments suggested by Paul. */ 4025 #ifndef __cplusplus 4026 /* Ultrix mips cc rejects this. */ 4027 typedef int charset[2]; 4028 const charset x; 4029 /* SunOS 4.1.1 cc rejects this. */ 4030 char const *const *ccp; 4031 char **p; 4032 /* NEC SVR4.0.2 mips cc rejects this. */ 4033 struct point {int x, y;}; 4034 static struct point const zero = {0,0}; 4035 /* AIX XL C 1.02.0.0 rejects this. 4036 It does not let you subtract one const X* pointer from another in 4037 an arm of an if-expression whose if-part is not a constant 4038 expression */ 4039 const char *g = "string"; 4040 ccp = &g + (g ? g-g : 0); 4041 /* HPUX 7.0 cc rejects these. */ 4042 ++ccp; 4043 p = (char**) ccp; 4044 ccp = (char const *const *) p; 4045 { /* SCO 3.2v4 cc rejects this. */ 4046 char *t; 4047 char const *s = 0 ? (char *) 0 : (char const *) 0; 4048 4049 *t++ = 0; 4050 } 4051 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4052 int x[] = {25, 17}; 4053 const int *foo = &x[0]; 4054 ++foo; 4055 } 4056 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4057 typedef const int *iptr; 4058 iptr p = 0; 4059 ++p; 4060 } 4061 { /* AIX XL C 1.02.0.0 rejects this saying 4062 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4063 struct s { int j; const int *ap[3]; }; 4064 struct s *b; b->j = 5; 4065 } 4066 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4067 const int foo = 10; 4068 } 4069 #endif 4070 4071 ; 4072 return 0; 4073 } 4074 _ACEOF 4075 rm -f conftest.$ac_objext 4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4077 (eval $ac_compile) 2>conftest.er1 4078 ac_status=$? 4079 grep -v '^ *+' conftest.er1 >conftest.err 4080 rm -f conftest.er1 4081 cat conftest.err >&5 4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4083 (exit $ac_status); } && 4084 { ac_try='test -z "$ac_c_werror_flag" 4085 || test ! -s conftest.err' 4086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4087 (eval $ac_try) 2>&5 4088 ac_status=$? 4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 (exit $ac_status); }; } && 4091 { ac_try='test -s conftest.$ac_objext' 4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4093 (eval $ac_try) 2>&5 4094 ac_status=$? 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); }; }; then 4097 ac_cv_c_const=yes 4098 else 4099 echo "$as_me: failed program was:" >&5 4100 sed 's/^/| /' conftest.$ac_ext >&5 4101 4102 ac_cv_c_const=no 4103 fi 4104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4105 fi 4106 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4107 echo "${ECHO_T}$ac_cv_c_const" >&6 4108 if test $ac_cv_c_const = no; then 4109 4110 cat >>confdefs.h <<\_ACEOF 4111 #define const 4112 _ACEOF 4113 4114 fi 4115 4116 echo "$as_me:$LINENO: checking for pid_t" >&5 4117 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 4118 if test "${ac_cv_type_pid_t+set}" = set; then 4119 echo $ECHO_N "(cached) $ECHO_C" >&6 4120 else 4121 cat >conftest.$ac_ext <<_ACEOF 4122 /* confdefs.h. */ 4123 _ACEOF 4124 cat confdefs.h >>conftest.$ac_ext 4125 cat >>conftest.$ac_ext <<_ACEOF 4126 /* end confdefs.h. */ 4127 $ac_includes_default 4128 int 4129 main () 4130 { 4131 if ((pid_t *) 0) 4132 return 0; 4133 if (sizeof (pid_t)) 4134 return 0; 4135 ; 4136 return 0; 4137 } 4138 _ACEOF 4139 rm -f conftest.$ac_objext 4140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4141 (eval $ac_compile) 2>conftest.er1 4142 ac_status=$? 4143 grep -v '^ *+' conftest.er1 >conftest.err 4144 rm -f conftest.er1 4145 cat conftest.err >&5 4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4147 (exit $ac_status); } && 4148 { ac_try='test -z "$ac_c_werror_flag" 4149 || test ! -s conftest.err' 4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4151 (eval $ac_try) 2>&5 4152 ac_status=$? 4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4154 (exit $ac_status); }; } && 4155 { ac_try='test -s conftest.$ac_objext' 4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4157 (eval $ac_try) 2>&5 4158 ac_status=$? 4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4160 (exit $ac_status); }; }; then 4161 ac_cv_type_pid_t=yes 4162 else 4163 echo "$as_me: failed program was:" >&5 4164 sed 's/^/| /' conftest.$ac_ext >&5 4165 4166 ac_cv_type_pid_t=no 4167 fi 4168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4169 fi 4170 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 4171 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 4172 if test $ac_cv_type_pid_t = yes; then 4173 : 4174 else 4175 4176 cat >>confdefs.h <<_ACEOF 4177 #define pid_t int 4178 _ACEOF 4179 4180 fi 4181 4182 echo "$as_me:$LINENO: checking for size_t" >&5 4183 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4184 if test "${ac_cv_type_size_t+set}" = set; then 4185 echo $ECHO_N "(cached) $ECHO_C" >&6 4186 else 4187 cat >conftest.$ac_ext <<_ACEOF 4188 /* confdefs.h. */ 4189 _ACEOF 4190 cat confdefs.h >>conftest.$ac_ext 4191 cat >>conftest.$ac_ext <<_ACEOF 4192 /* end confdefs.h. */ 4193 $ac_includes_default 4194 int 4195 main () 4196 { 4197 if ((size_t *) 0) 4198 return 0; 4199 if (sizeof (size_t)) 4200 return 0; 4201 ; 4202 return 0; 4203 } 4204 _ACEOF 4205 rm -f conftest.$ac_objext 4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4207 (eval $ac_compile) 2>conftest.er1 4208 ac_status=$? 4209 grep -v '^ *+' conftest.er1 >conftest.err 4210 rm -f conftest.er1 4211 cat conftest.err >&5 4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (exit $ac_status); } && 4214 { ac_try='test -z "$ac_c_werror_flag" 4215 || test ! -s conftest.err' 4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4217 (eval $ac_try) 2>&5 4218 ac_status=$? 4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4220 (exit $ac_status); }; } && 4221 { ac_try='test -s conftest.$ac_objext' 4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4223 (eval $ac_try) 2>&5 4224 ac_status=$? 4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4226 (exit $ac_status); }; }; then 4227 ac_cv_type_size_t=yes 4228 else 4229 echo "$as_me: failed program was:" >&5 4230 sed 's/^/| /' conftest.$ac_ext >&5 4231 4232 ac_cv_type_size_t=no 4233 fi 4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4235 fi 4236 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4237 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4238 if test $ac_cv_type_size_t = yes; then 4239 : 4240 else 4241 4242 cat >>confdefs.h <<_ACEOF 4243 #define size_t unsigned 4244 _ACEOF 4245 4246 fi 4247 4248 #AC_CHECK_TYPES(socklen_t,[AC_DEFINE(HAVE_SOCKLEN_T)],,[#include <sys/socket.h>]) 4249 #AC_CHECK_TYPES(socklen_t,,,[#include <sys/socket.h>]) 4250 echo "$as_me:$LINENO: checking for socklen_t" >&5 4251 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 4252 if test "${ac_cv_type_socklen_t+set}" = set; then 4253 echo $ECHO_N "(cached) $ECHO_C" >&6 4254 else 4255 cat >conftest.$ac_ext <<_ACEOF 4256 /* confdefs.h. */ 4257 _ACEOF 4258 cat confdefs.h >>conftest.$ac_ext 4259 cat >>conftest.$ac_ext <<_ACEOF 4260 /* end confdefs.h. */ 4261 #include <sys/socket.h> 4262 4263 int 4264 main () 4265 { 4266 if ((socklen_t *) 0) 4267 return 0; 4268 if (sizeof (socklen_t)) 4269 return 0; 4270 ; 4271 return 0; 4272 } 4273 _ACEOF 4274 rm -f conftest.$ac_objext 4275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4276 (eval $ac_compile) 2>conftest.er1 4277 ac_status=$? 4278 grep -v '^ *+' conftest.er1 >conftest.err 4279 rm -f conftest.er1 4280 cat conftest.err >&5 4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4282 (exit $ac_status); } && 4283 { ac_try='test -z "$ac_c_werror_flag" 4284 || test ! -s conftest.err' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); }; } && 4290 { ac_try='test -s conftest.$ac_objext' 4291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4292 (eval $ac_try) 2>&5 4293 ac_status=$? 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); }; }; then 4296 ac_cv_type_socklen_t=yes 4297 else 4298 echo "$as_me: failed program was:" >&5 4299 sed 's/^/| /' conftest.$ac_ext >&5 4300 4301 ac_cv_type_socklen_t=no 4302 fi 4303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4304 fi 4305 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 4306 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 4307 if test $ac_cv_type_socklen_t = yes; then 4308 : 4309 else 4310 4311 cat >>confdefs.h <<\_ACEOF 4312 #define socklen_t size_t 4313 _ACEOF 4314 4315 fi 4316 4317 4318 #AC_CHECK_SIZEOF(ssize_t) 4319 #AC_CHECK_SIZEOF(unsigned int) 4320 #AC_CHECK_SIZEOF(unsigned long) 4321 4322 case "$ac_cv_host" in 4323 *hpux*) 4324 cat >>confdefs.h <<\_ACEOF 4325 #define _XOPEN_SOURCE_EXTENDED 4326 _ACEOF 4327 ;; 4328 esac 4329 4330 4331 echo "$as_me:$LINENO: checking for working memcmp" >&5 4332 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 4333 if test "${ac_cv_func_memcmp_working+set}" = set; then 4334 echo $ECHO_N "(cached) $ECHO_C" >&6 4335 else 4336 if test "$cross_compiling" = yes; then 4337 ac_cv_func_memcmp_working=no 4338 else 4339 cat >conftest.$ac_ext <<_ACEOF 4340 /* confdefs.h. */ 4341 _ACEOF 4342 cat confdefs.h >>conftest.$ac_ext 4343 cat >>conftest.$ac_ext <<_ACEOF 4344 /* end confdefs.h. */ 4345 $ac_includes_default 4346 int 4347 main () 4348 { 4349 4350 /* Some versions of memcmp are not 8-bit clean. */ 4351 char c0 = 0x40, c1 = 0x80, c2 = 0x81; 4352 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 4353 exit (1); 4354 4355 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 4356 or more and with at least one buffer not starting on a 4-byte boundary. 4357 William Lewis provided this test program. */ 4358 { 4359 char foo[21]; 4360 char bar[21]; 4361 int i; 4362 for (i = 0; i < 4; i++) 4363 { 4364 char *a = foo + i; 4365 char *b = bar + i; 4366 strcpy (a, "--------01111111"); 4367 strcpy (b, "--------10000000"); 4368 if (memcmp (a, b, 16) >= 0) 4369 exit (1); 4370 } 4371 exit (0); 4372 } 4373 4374 ; 4375 return 0; 4376 } 4377 _ACEOF 4378 rm -f conftest$ac_exeext 4379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4380 (eval $ac_link) 2>&5 4381 ac_status=$? 4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4385 (eval $ac_try) 2>&5 4386 ac_status=$? 4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4388 (exit $ac_status); }; }; then 4389 ac_cv_func_memcmp_working=yes 4390 else 4391 echo "$as_me: program exited with status $ac_status" >&5 4392 echo "$as_me: failed program was:" >&5 4393 sed 's/^/| /' conftest.$ac_ext >&5 4394 4395 ( exit $ac_status ) 4396 ac_cv_func_memcmp_working=no 4397 fi 4398 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4399 fi 4400 fi 4401 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 4402 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 4403 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in 4404 "memcmp.$ac_objext" | \ 4405 *" memcmp.$ac_objext" | \ 4406 "memcmp.$ac_objext "* | \ 4407 *" memcmp.$ac_objext "* ) ;; 4408 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;; 4409 esac 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 for ac_func in getopt pidfile inet_aton RAND_status errx strlcpy daemon getnameinfo setproctitle 4422 do 4423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4424 echo "$as_me:$LINENO: checking for $ac_func" >&5 4425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4426 if eval "test \"\${$as_ac_var+set}\" = set"; then 4427 echo $ECHO_N "(cached) $ECHO_C" >&6 4428 else 4429 cat >conftest.$ac_ext <<_ACEOF 4430 /* confdefs.h. */ 4431 _ACEOF 4432 cat confdefs.h >>conftest.$ac_ext 4433 cat >>conftest.$ac_ext <<_ACEOF 4434 /* end confdefs.h. */ 4435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4436 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4437 #define $ac_func innocuous_$ac_func 4438 4439 /* System header to define __stub macros and hopefully few prototypes, 4440 which can conflict with char $ac_func (); below. 4441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4442 <limits.h> exists even on freestanding compilers. */ 4443 4444 #ifdef __STDC__ 4445 # include <limits.h> 4446 #else 4447 # include <assert.h> 4448 #endif 4449 4450 #undef $ac_func 4451 4452 /* Override any gcc2 internal prototype to avoid an error. */ 4453 #ifdef __cplusplus 4454 extern "C" 4455 { 4456 #endif 4457 /* We use char because int might match the return type of a gcc2 4458 builtin and then its argument prototype would still apply. */ 4459 char $ac_func (); 4460 /* The GNU C library defines this for functions which it implements 4461 to always fail with ENOSYS. Some functions are actually named 4462 something starting with __ and the normal name is an alias. */ 4463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4464 choke me 4465 #else 4466 char (*f) () = $ac_func; 4467 #endif 4468 #ifdef __cplusplus 4469 } 4470 #endif 4471 4472 int 4473 main () 4474 { 4475 return f != $ac_func; 4476 ; 4477 return 0; 4478 } 4479 _ACEOF 4480 rm -f conftest.$ac_objext conftest$ac_exeext 4481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4482 (eval $ac_link) 2>conftest.er1 4483 ac_status=$? 4484 grep -v '^ *+' conftest.er1 >conftest.err 4485 rm -f conftest.er1 4486 cat conftest.err >&5 4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4488 (exit $ac_status); } && 4489 { ac_try='test -z "$ac_c_werror_flag" 4490 || test ! -s conftest.err' 4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4492 (eval $ac_try) 2>&5 4493 ac_status=$? 4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4495 (exit $ac_status); }; } && 4496 { ac_try='test -s conftest$ac_exeext' 4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4498 (eval $ac_try) 2>&5 4499 ac_status=$? 4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 (exit $ac_status); }; }; then 4502 eval "$as_ac_var=yes" 4503 else 4504 echo "$as_me: failed program was:" >&5 4505 sed 's/^/| /' conftest.$ac_ext >&5 4506 4507 eval "$as_ac_var=no" 4508 fi 4509 rm -f conftest.err conftest.$ac_objext \ 4510 conftest$ac_exeext conftest.$ac_ext 4511 fi 4512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4514 if test `eval echo '${'$as_ac_var'}'` = yes; then 4515 cat >>confdefs.h <<_ACEOF 4516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4517 _ACEOF 4518 4519 fi 4520 done 4521 4522 4523 ac_config_files="$ac_config_files Makefile" 4524 cat >confcache <<\_ACEOF 4525 # This file is a shell script that caches the results of configure 4526 # tests run on this system so they can be shared between configure 4527 # scripts and configure runs, see configure's option --config-cache. 4528 # It is not useful on other systems. If it contains results you don't 4529 # want to keep, you may remove or edit it. 4530 # 4531 # config.status only pays attention to the cache file if you give it 4532 # the --recheck option to rerun configure. 4533 # 4534 # `ac_cv_env_foo' variables (set or unset) will be overridden when 4535 # loading this file, other *unset* `ac_cv_foo' will be assigned the 4536 # following values. 4537 4538 _ACEOF 4539 4540 # The following way of writing the cache mishandles newlines in values, 4541 # but we know of no workaround that is simple, portable, and efficient. 4542 # So, don't put newlines in cache variables' values. 4543 # Ultrix sh set writes to stderr and can't be redirected directly, 4544 # and sets the high bit in the cache file unless we assign to the vars. 4545 { 4546 (set) 2>&1 | 4547 case `(ac_space=' '; set | grep ac_space) 2>&1` in 4548 *ac_space=\ *) 4549 # `set' does not quote correctly, so add quotes (double-quote 4550 # substitution turns \\\\ into \\, and sed turns \\ into \). 4551 sed -n \ 4552 "s/'/'\\\\''/g; 4553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4554 ;; 4555 *) 4556 # `set' quotes correctly as required by POSIX, so do not add quotes. 4557 sed -n \ 4558 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 4559 ;; 4560 esac; 4561 } | 4562 sed ' 4563 t clear 4564 : clear 4565 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4566 t end 4567 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4568 : end' >>confcache 4569 if diff $cache_file confcache >/dev/null 2>&1; then :; else 4570 if test -w $cache_file; then 4571 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 4572 cat confcache >$cache_file 4573 else 4574 echo "not updating unwritable cache $cache_file" 4575 fi 4576 fi 4577 rm -f confcache 4578 4579 test "x$prefix" = xNONE && prefix=$ac_default_prefix 4580 # Let make expand exec_prefix. 4581 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4582 4583 # VPATH may cause trouble with some makes, so we remove $(srcdir), 4584 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4585 # trailing colons and then remove the whole line if VPATH becomes empty 4586 # (actually we leave an empty line to preserve line numbers). 4587 if test "x$srcdir" = x.; then 4588 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4589 s/:*\$(srcdir):*/:/; 4590 s/:*\${srcdir}:*/:/; 4591 s/:*@srcdir@:*/:/; 4592 s/^\([^=]*=[ ]*\):*/\1/; 4593 s/:*$//; 4594 s/^[^=]*=[ ]*$//; 4595 }' 4596 fi 4597 4598 DEFS=-DHAVE_CONFIG_H 4599 4600 ac_libobjs= 4601 ac_ltlibobjs= 4602 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4603 # 1. Remove the extension, and $U if already installed. 4604 ac_i=`echo "$ac_i" | 4605 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 4606 # 2. Add them. 4607 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 4608 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 4609 done 4610 LIBOBJS=$ac_libobjs 4611 4612 LTLIBOBJS=$ac_ltlibobjs 4613 4614 4615 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4616 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4617 Usually this means the macro was only invoked conditionally." >&5 4618 echo "$as_me: error: conditional \"AMDEP\" was never defined. 4619 Usually this means the macro was only invoked conditionally." >&2;} 4620 { (exit 1); exit 1; }; } 4621 fi 4622 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4623 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4624 Usually this means the macro was only invoked conditionally." >&5 4625 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4626 Usually this means the macro was only invoked conditionally." >&2;} 4627 { (exit 1); exit 1; }; } 4628 fi 4629 4630 : ${CONFIG_STATUS=./config.status} 4631 ac_clean_files_save=$ac_clean_files 4632 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4633 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4634 echo "$as_me: creating $CONFIG_STATUS" >&6;} 4635 cat >$CONFIG_STATUS <<_ACEOF 4636 #! $SHELL 4637 # Generated by $as_me. 4638 # Run this file to recreate the current configuration. 4639 # Compiler output produced by configure, useful for debugging 4640 # configure, is in config.log if it exists. 4641 4642 debug=false 4643 ac_cs_recheck=false 4644 ac_cs_silent=false 4645 SHELL=\${CONFIG_SHELL-$SHELL} 4646 _ACEOF 4647 4648 cat >>$CONFIG_STATUS <<\_ACEOF 4649 ## --------------------- ## 4650 ## M4sh Initialization. ## 4651 ## --------------------- ## 4652 4653 # Be Bourne compatible 4654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4655 emulate sh 4656 NULLCMD=: 4657 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4658 # is contrary to our usage. Disable this feature. 4659 alias -g '${1+"$@"}'='"$@"' 4660 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 4661 set -o posix 4662 fi 4663 DUALCASE=1; export DUALCASE # for MKS sh 4664 4665 # Support unset when possible. 4666 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4667 as_unset=unset 4668 else 4669 as_unset=false 4670 fi 4671 4672 4673 # Work around bugs in pre-3.0 UWIN ksh. 4674 $as_unset ENV MAIL MAILPATH 4675 PS1='$ ' 4676 PS2='> ' 4677 PS4='+ ' 4678 4679 # NLS nuisances. 4680 for as_var in \ 4681 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4682 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4683 LC_TELEPHONE LC_TIME 4684 do 4685 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4686 eval $as_var=C; export $as_var 4687 else 4688 $as_unset $as_var 4689 fi 4690 done 4691 4692 # Required to use basename. 4693 if expr a : '\(a\)' >/dev/null 2>&1; then 4694 as_expr=expr 4695 else 4696 as_expr=false 4697 fi 4698 4699 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 4700 as_basename=basename 4701 else 4702 as_basename=false 4703 fi 4704 4705 4706 # Name of the executable. 4707 as_me=`$as_basename "$0" || 4708 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4709 X"$0" : 'X\(//\)$' \| \ 4710 X"$0" : 'X\(/\)$' \| \ 4711 . : '\(.\)' 2>/dev/null || 4712 echo X/"$0" | 4713 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 4714 /^X\/\(\/\/\)$/{ s//\1/; q; } 4715 /^X\/\(\/\).*/{ s//\1/; q; } 4716 s/.*/./; q'` 4717 4718 4719 # PATH needs CR, and LINENO needs CR and PATH. 4720 # Avoid depending upon Character Ranges. 4721 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4724 as_cr_digits='0123456789' 4725 as_cr_alnum=$as_cr_Letters$as_cr_digits 4726 4727 # The user is always right. 4728 if test "${PATH_SEPARATOR+set}" != set; then 4729 echo "#! /bin/sh" >conf$$.sh 4730 echo "exit 0" >>conf$$.sh 4731 chmod +x conf$$.sh 4732 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4733 PATH_SEPARATOR=';' 4734 else 4735 PATH_SEPARATOR=: 4736 fi 4737 rm -f conf$$.sh 4738 fi 4739 4740 4741 as_lineno_1=$LINENO 4742 as_lineno_2=$LINENO 4743 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4744 test "x$as_lineno_1" != "x$as_lineno_2" && 4745 test "x$as_lineno_3" = "x$as_lineno_2" || { 4746 # Find who we are. Look in the path if we contain no path at all 4747 # relative or not. 4748 case $0 in 4749 *[\\/]* ) as_myself=$0 ;; 4750 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4751 for as_dir in $PATH 4752 do 4753 IFS=$as_save_IFS 4754 test -z "$as_dir" && as_dir=. 4755 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4756 done 4757 4758 ;; 4759 esac 4760 # We did not find ourselves, most probably we were run as `sh COMMAND' 4761 # in which case we are not to be found in the path. 4762 if test "x$as_myself" = x; then 4763 as_myself=$0 4764 fi 4765 if test ! -f "$as_myself"; then 4766 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 4767 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 4768 { (exit 1); exit 1; }; } 4769 fi 4770 case $CONFIG_SHELL in 4771 '') 4772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4773 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 4774 do 4775 IFS=$as_save_IFS 4776 test -z "$as_dir" && as_dir=. 4777 for as_base in sh bash ksh sh5; do 4778 case $as_dir in 4779 /*) 4780 if ("$as_dir/$as_base" -c ' 4781 as_lineno_1=$LINENO 4782 as_lineno_2=$LINENO 4783 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 4784 test "x$as_lineno_1" != "x$as_lineno_2" && 4785 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 4786 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 4787 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 4788 CONFIG_SHELL=$as_dir/$as_base 4789 export CONFIG_SHELL 4790 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 4791 fi;; 4792 esac 4793 done 4794 done 4795 ;; 4796 esac 4797 4798 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4799 # uniformly replaced by the line number. The first 'sed' inserts a 4800 # line-number line before each line; the second 'sed' does the real 4801 # work. The second script uses 'N' to pair each line-number line 4802 # with the numbered line, and appends trailing '-' during 4803 # substitution so that $LINENO is not a special case at line end. 4804 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4805 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 4806 sed '=' <$as_myself | 4807 sed ' 4808 N 4809 s,$,-, 4810 : loop 4811 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 4812 t loop 4813 s,-$,, 4814 s,^['$as_cr_digits']*\n,, 4815 ' >$as_me.lineno && 4816 chmod +x $as_me.lineno || 4817 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 4818 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 4819 { (exit 1); exit 1; }; } 4820 4821 # Don't try to exec as it changes $[0], causing all sort of problems 4822 # (the dirname of $[0] is not the place where we might find the 4823 # original and so on. Autoconf is especially sensible to this). 4824 . ./$as_me.lineno 4825 # Exit status is that of the last command. 4826 exit 4827 } 4828 4829 4830 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 4831 *c*,-n*) ECHO_N= ECHO_C=' 4832 ' ECHO_T=' ' ;; 4833 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 4834 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 4835 esac 4836 4837 if expr a : '\(a\)' >/dev/null 2>&1; then 4838 as_expr=expr 4839 else 4840 as_expr=false 4841 fi 4842 4843 rm -f conf$$ conf$$.exe conf$$.file 4844 echo >conf$$.file 4845 if ln -s conf$$.file conf$$ 2>/dev/null; then 4846 # We could just check for DJGPP; but this test a) works b) is more generic 4847 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 4848 if test -f conf$$.exe; then 4849 # Don't use ln at all; we don't have any links 4850 as_ln_s='cp -p' 4851 else 4852 as_ln_s='ln -s' 4853 fi 4854 elif ln conf$$.file conf$$ 2>/dev/null; then 4855 as_ln_s=ln 4856 else 4857 as_ln_s='cp -p' 4858 fi 4859 rm -f conf$$ conf$$.exe conf$$.file 4860 4861 if mkdir -p . 2>/dev/null; then 4862 as_mkdir_p=: 4863 else 4864 test -d ./-p && rmdir ./-p 4865 as_mkdir_p=false 4866 fi 4867 4868 as_executable_p="test -f" 4869 4870 # Sed expression to map a string onto a valid CPP name. 4871 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4872 4873 # Sed expression to map a string onto a valid variable name. 4874 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4875 4876 4877 # IFS 4878 # We need space, tab and new line, in precisely that order. 4879 as_nl=' 4880 ' 4881 IFS=" $as_nl" 4882 4883 # CDPATH. 4884 $as_unset CDPATH 4885 4886 exec 6>&1 4887 4888 # Open the log real soon, to keep \$[0] and so on meaningful, and to 4889 # report actual input values of CONFIG_FILES etc. instead of their 4890 # values after options handling. Logging --version etc. is OK. 4891 exec 5>>config.log 4892 { 4893 echo 4894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4895 ## Running $as_me. ## 4896 _ASBOX 4897 } >&5 4898 cat >&5 <<_CSEOF 4899 4900 This file was extended by $as_me, which was 4901 generated by GNU Autoconf 2.59. Invocation command line was 4902 4903 CONFIG_FILES = $CONFIG_FILES 4904 CONFIG_HEADERS = $CONFIG_HEADERS 4905 CONFIG_LINKS = $CONFIG_LINKS 4906 CONFIG_COMMANDS = $CONFIG_COMMANDS 4907 $ $0 $@ 4908 4909 _CSEOF 4910 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 4911 echo >&5 4912 _ACEOF 4913 4914 # Files that config.status was made for. 4915 if test -n "$ac_config_files"; then 4916 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 4917 fi 4918 4919 if test -n "$ac_config_headers"; then 4920 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 4921 fi 4922 4923 if test -n "$ac_config_links"; then 4924 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 4925 fi 4926 4927 if test -n "$ac_config_commands"; then 4928 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 4929 fi 4930 4931 cat >>$CONFIG_STATUS <<\_ACEOF 4932 4933 ac_cs_usage="\ 4934 \`$as_me' instantiates files from templates according to the 4935 current configuration. 4936 4937 Usage: $0 [OPTIONS] [FILE]... 4938 4939 -h, --help print this help, then exit 4940 -V, --version print version number, then exit 4941 -q, --quiet do not print progress messages 4942 -d, --debug don't remove temporary files 4943 --recheck update $as_me by reconfiguring in the same conditions 4944 --file=FILE[:TEMPLATE] 4945 instantiate the configuration file FILE 4946 --header=FILE[:TEMPLATE] 4947 instantiate the configuration header FILE 4948 4949 Configuration files: 4950 $config_files 4951 4952 Configuration headers: 4953 $config_headers 4954 4955 Configuration commands: 4956 $config_commands 4957 4958 Report bugs to <bug-autoconf@gnu.org>." 4959 _ACEOF 4960 4961 cat >>$CONFIG_STATUS <<_ACEOF 4962 ac_cs_version="\\ 4963 config.status 4964 configured by $0, generated by GNU Autoconf 2.59, 4965 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4966 4967 Copyright (C) 2003 Free Software Foundation, Inc. 4968 This config.status script is free software; the Free Software Foundation 4969 gives unlimited permission to copy, distribute and modify it." 4970 srcdir=$srcdir 4971 INSTALL="$INSTALL" 4972 _ACEOF 4973 4974 cat >>$CONFIG_STATUS <<\_ACEOF 4975 # If no file are specified by the user, then we need to provide default 4976 # value. By we need to know if files were specified by the user. 4977 ac_need_defaults=: 4978 while test $# != 0 4979 do 4980 case $1 in 4981 --*=*) 4982 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4983 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4984 ac_shift=: 4985 ;; 4986 -*) 4987 ac_option=$1 4988 ac_optarg=$2 4989 ac_shift=shift 4990 ;; 4991 *) # This is not an option, so the user has probably given explicit 4992 # arguments. 4993 ac_option=$1 4994 ac_need_defaults=false;; 4995 esac 4996 4997 case $ac_option in 4998 # Handling of the options. 4999 _ACEOF 5000 cat >>$CONFIG_STATUS <<\_ACEOF 5001 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5002 ac_cs_recheck=: ;; 5003 --version | --vers* | -V ) 5004 echo "$ac_cs_version"; exit 0 ;; 5005 --he | --h) 5006 # Conflict between --help and --header 5007 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5008 Try \`$0 --help' for more information." >&5 5009 echo "$as_me: error: ambiguous option: $1 5010 Try \`$0 --help' for more information." >&2;} 5011 { (exit 1); exit 1; }; };; 5012 --help | --hel | -h ) 5013 echo "$ac_cs_usage"; exit 0 ;; 5014 --debug | --d* | -d ) 5015 debug=: ;; 5016 --file | --fil | --fi | --f ) 5017 $ac_shift 5018 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5019 ac_need_defaults=false;; 5020 --header | --heade | --head | --hea ) 5021 $ac_shift 5022 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5023 ac_need_defaults=false;; 5024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5025 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5026 ac_cs_silent=: ;; 5027 5028 # This is an error. 5029 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5030 Try \`$0 --help' for more information." >&5 5031 echo "$as_me: error: unrecognized option: $1 5032 Try \`$0 --help' for more information." >&2;} 5033 { (exit 1); exit 1; }; } ;; 5034 5035 *) ac_config_targets="$ac_config_targets $1" ;; 5036 5037 esac 5038 shift 5039 done 5040 5041 ac_configure_extra_args= 5042 5043 if $ac_cs_silent; then 5044 exec 6>/dev/null 5045 ac_configure_extra_args="$ac_configure_extra_args --silent" 5046 fi 5047 5048 _ACEOF 5049 cat >>$CONFIG_STATUS <<_ACEOF 5050 if \$ac_cs_recheck; then 5051 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5052 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5053 fi 5054 5055 _ACEOF 5056 5057 cat >>$CONFIG_STATUS <<_ACEOF 5058 # 5059 # INIT-COMMANDS section. 5060 # 5061 5062 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5063 5064 _ACEOF 5065 5066 5067 5068 cat >>$CONFIG_STATUS <<\_ACEOF 5069 for ac_config_target in $ac_config_targets 5070 do 5071 case "$ac_config_target" in 5072 # Handling of arguments. 5073 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5074 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5075 "conf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;; 5076 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5077 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5078 { (exit 1); exit 1; }; };; 5079 esac 5080 done 5081 5082 # If the user did not use the arguments to specify the items to instantiate, 5083 # then the envvar interface is used. Set only those that are not. 5084 # We use the long form for the default assignment because of an extremely 5085 # bizarre bug on SunOS 4.1.3. 5086 if $ac_need_defaults; then 5087 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5088 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5090 fi 5091 5092 # Have a temporary directory for convenience. Make it in the build tree 5093 # simply because there is no reason to put it here, and in addition, 5094 # creating and moving files from /tmp can sometimes cause problems. 5095 # Create a temporary directory, and hook for its removal unless debugging. 5096 $debug || 5097 { 5098 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5099 trap '{ (exit 1); exit 1; }' 1 2 13 15 5100 } 5101 5102 # Create a (secure) tmp directory for tmp files. 5103 5104 { 5105 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5106 test -n "$tmp" && test -d "$tmp" 5107 } || 5108 { 5109 tmp=./confstat$$-$RANDOM 5110 (umask 077 && mkdir $tmp) 5111 } || 5112 { 5113 echo "$me: cannot create a temporary directory in ." >&2 5114 { (exit 1); exit 1; } 5115 } 5116