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