2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
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'"
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
274 ac_unique_file="conf/pam_conv1/pam_conv.y"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
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 LIBPAM_VERSION_MAJOR LIBPAM_VERSION_MINOR LOCALSRCDIR LOCALOBJDIR OS CONF_CFLAGS MKDIR SHLIBMODE MANMODE USESONAME SOSWITCH NEEDSONAME LDCONFIG CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LEX LEXLIB LEX_OUTPUT_ROOT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE WITH_DEBUG WITH_MEMORY_DEBUG WITH_LIBDEBUG WITH_PRELUDE FAKEROOT SECUREDIR SCONFIGDIR SUPLEMENTED INCLUDEDIR DOCDIR MANDIR WITH_PAMLOCKING PAM_READ_BOTH_CONFS STATIC_LIBPAM DYNAMIC_LIBPAM DYNAMIC STATIC WITH_LCKPWDF CPP EGREP PAM_NEEDS_LIBC HAVE_LCKPWDF LIBDL HAVE_LIBCRACK HAVE_LIBCRYPT HAVE_LIBUTIL HAVE_LIBNDBM HAVE_LIBDB HAVE_LIBFL HAVE_LIBNSL HAVE_LIBPWDB HAVE_LIBFLEX HAVE_LIBLEX HAVE_NDBM_H CRACKLIB_DICTPATH DYNTYPE OS_CFLAGS WARNINGS PIC LD LD_D LD_L RANLIB STRIP CC_STATIC LIBOBJS HAVE_SGML2TXT HAVE_SGML2HTML HAVE_SGML2LATEX HAVE_PS2PDF HAVE_SGML2PS PSER PS2PDF LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
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'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
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 ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
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" ;;
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'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
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 ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
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 ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
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'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
610 # Obsolete; use --with-x.
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 ;;
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 ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
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
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
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.
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
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
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 ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
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; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
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}
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
776 # Report the --help message.
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.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
789 Defaults for the options are specified in brackets.
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 \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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'.
816 For better control, use the options below.
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]
837 if test -n "$ac_init_help"; then
842 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
843 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
844 --enable-debug specify you are building with debugging on
845 --enable-memory-debug specify you want every malloc etc. call tracked
846 --enable-libdebug specify you are building debugging libraries
847 --enable-prelude build prelude ids support
848 --enable-fakeroot=<path to packaging directory>
849 --enable-securedir=<path to location of PAMs> default \$libdir/security
850 --enable-isadir=<path to arch-specific module files> default ../../\`basename \$libdir\`/security
851 --enable-sconfigdir=<path to module conf files> default \$sysconfdir/security
852 --enable-suplementedir=<path to module helper binaries> default \$sbindir
853 --enable-includedir=<path to include location> - where to put <security>
854 --enable-docdir=<path to store documentation in - /usr/share/doc/pam>
855 --enable-mandir=<path to store manuals in - /usr/share/man>
856 --enable-pamlocking configure libpam to observe a global authentication lock
857 --enable-uglyhack configure libpam to try to honor old pam_strerror syntax
858 --enable-read-both-confs read both /etc/pam.d and /etc/pam.conf files
859 --enable-static-libpam build a libpam.a library
860 --disable-dynamic-libpam do not build a shared libpam library
861 --enable-static-modules do not make the modules dynamically loadable
862 --disable-lckpwdf do not use the lckpwdf function
865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
867 --with-mailspool path to mail spool directory
868 default _PATH_MAILDIR if defined in paths.h, otherwise /var/spool/mail
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
879 Use these variables to override the choices made by `configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo && pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by $as_me, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1002 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1003 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1004 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1005 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1007 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1008 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1010 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1011 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1012 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1013 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1014 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1015 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1016 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close' the trap.
1096 trap 'exit_status=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var in $ac_subst_vars
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var in $ac_subst_files
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h; then
1159 sed "/^$/d" confdefs.h | sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core *.core &&
1167 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's/^/| /' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1264 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 ac_config_headers="$ac_config_headers _pam_aconf.h"
1322 LIBPAM_VERSION_MAJOR=0
1323 LIBPAM_VERSION_MINOR=79
1327 cat >>confdefs.h <<\_ACEOF
1328 #define LIBPAM_VERSION_MAJOR 1
1331 cat >>confdefs.h <<\_ACEOF
1332 #define LIBPAM_VERSION_MINOR 1
1339 LOCALSRCDIR=`/bin/pwd` ;
1340 LOCALOBJDIR=`/bin/pwd` ;
1341 OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
1352 SOSWITCH="-Wl,-soname -Wl," ;
1354 LDCONFIG=/sbin/ldconfig ;
1357 ac_cpp='$CPP $CPPFLAGS'
1358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1361 if test -n "$ac_tool_prefix"; then
1362 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1363 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1364 echo "$as_me:$LINENO: checking for $ac_word" >&5
1365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1366 if test "${ac_cv_prog_CC+set}" = set; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 if test -n "$CC"; then
1370 ac_cv_prog_CC="$CC" # Let the user override the test.
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 test -z "$as_dir" && as_dir=.
1377 for ac_exec_ext in '' $ac_executable_extensions; do
1378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1389 if test -n "$CC"; then
1390 echo "$as_me:$LINENO: result: $CC" >&5
1391 echo "${ECHO_T}$CC" >&6
1393 echo "$as_me:$LINENO: result: no" >&5
1394 echo "${ECHO_T}no" >&6
1398 if test -z "$ac_cv_prog_CC"; then
1400 # Extract the first word of "gcc", so it can be a program name with args.
1401 set dummy gcc; ac_word=$2
1402 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1405 echo $ECHO_N "(cached) $ECHO_C" >&6
1407 if test -n "$ac_ct_CC"; then
1408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1414 test -z "$as_dir" && as_dir=.
1415 for ac_exec_ext in '' $ac_executable_extensions; do
1416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417 ac_cv_prog_ac_ct_CC="gcc"
1418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1426 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1427 if test -n "$ac_ct_CC"; then
1428 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1429 echo "${ECHO_T}$ac_ct_CC" >&6
1431 echo "$as_me:$LINENO: result: no" >&5
1432 echo "${ECHO_T}no" >&6
1440 if test -z "$CC"; then
1441 if test -n "$ac_tool_prefix"; then
1442 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1443 set dummy ${ac_tool_prefix}cc; ac_word=$2
1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446 if test "${ac_cv_prog_CC+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 if test -n "$CC"; then
1450 ac_cv_prog_CC="$CC" # Let the user override the test.
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 for ac_exec_ext in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459 ac_cv_prog_CC="${ac_tool_prefix}cc"
1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469 if test -n "$CC"; then
1470 echo "$as_me:$LINENO: result: $CC" >&5
1471 echo "${ECHO_T}$CC" >&6
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1478 if test -z "$ac_cv_prog_CC"; then
1480 # Extract the first word of "cc", so it can be a program name with args.
1481 set dummy cc; ac_word=$2
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 if test -n "$ac_ct_CC"; then
1488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 test -z "$as_dir" && as_dir=.
1495 for ac_exec_ext in '' $ac_executable_extensions; do
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497 ac_cv_prog_ac_ct_CC="cc"
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1507 if test -n "$ac_ct_CC"; then
1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1509 echo "${ECHO_T}$ac_ct_CC" >&6
1511 echo "$as_me:$LINENO: result: no" >&5
1512 echo "${ECHO_T}no" >&6
1521 if test -z "$CC"; then
1522 # Extract the first word of "cc", so it can be a program name with args.
1523 set dummy cc; ac_word=$2
1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526 if test "${ac_cv_prog_CC+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 if test -n "$CC"; then
1530 ac_cv_prog_CC="$CC" # Let the user override the test.
1533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 test -z "$as_dir" && as_dir=.
1538 for ac_exec_ext in '' $ac_executable_extensions; do
1539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1541 ac_prog_rejected=yes
1545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1551 if test $ac_prog_rejected = yes; then
1552 # We found a bogon in the path, so make sure we never use it.
1553 set dummy $ac_cv_prog_CC
1555 if test $# != 0; then
1556 # We chose a different compiler from the bogus one.
1557 # However, it has the same basename, so the bogon will be chosen
1558 # first if we set CC to just the basename; use the full file name.
1560 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$CC"; then
1576 if test -n "$ac_tool_prefix"; then
1579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_prog_CC+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 if test -n "$CC"; then
1587 ac_cv_prog_CC="$CC" # Let the user override the test.
1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir=.
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 if test -n "$CC"; then
1607 echo "$as_me:$LINENO: result: $CC" >&5
1608 echo "${ECHO_T}$CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1614 test -n "$CC" && break
1617 if test -z "$CC"; then
1621 # Extract the first word of "$ac_prog", so it can be a program name with args.
1622 set dummy $ac_prog; ac_word=$2
1623 echo "$as_me:$LINENO: checking for $ac_word" >&5
1624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 if test -n "$ac_ct_CC"; then
1629 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635 test -z "$as_dir" && as_dir=.
1636 for ac_exec_ext in '' $ac_executable_extensions; do
1637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1638 ac_cv_prog_ac_ct_CC="$ac_prog"
1639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1648 if test -n "$ac_ct_CC"; then
1649 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1650 echo "${ECHO_T}$ac_ct_CC" >&6
1652 echo "$as_me:$LINENO: result: no" >&5
1653 echo "${ECHO_T}no" >&6
1656 test -n "$ac_ct_CC" && break
1665 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1666 See \`config.log' for more details." >&5
1667 echo "$as_me: error: no acceptable C compiler found in \$PATH
1668 See \`config.log' for more details." >&2;}
1669 { (exit 1); exit 1; }; }
1671 # Provide some information about the compiler.
1672 echo "$as_me:$LINENO:" \
1673 "checking for C compiler version" >&5
1674 ac_compiler=`set X $ac_compile; echo $2`
1675 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1676 (eval $ac_compiler --version </dev/null >&5) 2>&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }
1680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1681 (eval $ac_compiler -v </dev/null >&5) 2>&5
1683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1684 (exit $ac_status); }
1685 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1686 (eval $ac_compiler -V </dev/null >&5) 2>&5
1688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1689 (exit $ac_status); }
1691 cat >conftest.$ac_ext <<_ACEOF
1694 cat confdefs.h >>conftest.$ac_ext
1695 cat >>conftest.$ac_ext <<_ACEOF
1696 /* end confdefs.h. */
1706 ac_clean_files_save=$ac_clean_files
1707 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1708 # Try to create an executable without -o first, disregard a.out.
1709 # It will help us diagnose broken compilers, and finding out an intuition
1711 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1712 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1713 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1714 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1715 (eval $ac_link_default) 2>&5
1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1718 (exit $ac_status); }; then
1719 # Find the output, starting from the most likely. This scheme is
1720 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1723 # Be careful to initialize this variable, since it used to be cached.
1724 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1726 # b.out is created by i960 compilers.
1727 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1729 test -f "$ac_file" || continue
1731 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1734 # This is the source file.
1737 # We found the default executable, but exeext='' is most
1741 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1742 # FIXME: I believe we export ac_cv_exeext for Libtool,
1743 # but it would be cool to find out if it's true. Does anybody
1744 # maintain Libtool? --akim.
1752 echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1755 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1756 See \`config.log' for more details." >&5
1757 echo "$as_me: error: C compiler cannot create executables
1758 See \`config.log' for more details." >&2;}
1759 { (exit 77); exit 77; }; }
1762 ac_exeext=$ac_cv_exeext
1763 echo "$as_me:$LINENO: result: $ac_file" >&5
1764 echo "${ECHO_T}$ac_file" >&6
1766 # Check the compiler produces executables we can run. If not, either
1767 # the compiler is broken, or we cross compile.
1768 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1769 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1770 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1771 # If not cross compiling, check that we can run a simple program.
1772 if test "$cross_compiling" != yes; then
1773 if { ac_try='./$ac_file'
1774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 (exit $ac_status); }; }; then
1781 if test "$cross_compiling" = maybe; then
1784 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1785 If you meant to cross compile, use \`--host'.
1786 See \`config.log' for more details." >&5
1787 echo "$as_me: error: cannot run C compiled programs.
1788 If you meant to cross compile, use \`--host'.
1789 See \`config.log' for more details." >&2;}
1790 { (exit 1); exit 1; }; }
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1797 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1798 ac_clean_files=$ac_clean_files_save
1799 # Check the compiler produces executables we can run. If not, either
1800 # the compiler is broken, or we cross compile.
1801 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1802 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1803 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1804 echo "${ECHO_T}$cross_compiling" >&6
1806 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1807 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1809 (eval $ac_link) 2>&5
1811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812 (exit $ac_status); }; then
1813 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1814 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1815 # work properly (i.e., refer to `conftest.exe'), while it won't with
1817 for ac_file in conftest.exe conftest conftest.*; do
1818 test -f "$ac_file" || continue
1820 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1821 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1828 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1835 rm -f conftest$ac_cv_exeext
1836 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1837 echo "${ECHO_T}$ac_cv_exeext" >&6
1839 rm -f conftest.$ac_ext
1840 EXEEXT=$ac_cv_exeext
1842 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1843 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1844 if test "${ac_cv_objext+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 cat >conftest.$ac_ext <<_ACEOF
1850 cat confdefs.h >>conftest.$ac_ext
1851 cat >>conftest.$ac_ext <<_ACEOF
1852 /* end confdefs.h. */
1862 rm -f conftest.o conftest.obj
1863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1864 (eval $ac_compile) 2>&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }; then
1868 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1870 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1871 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1876 echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1880 See \`config.log' for more details." >&5
1881 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1882 See \`config.log' for more details." >&2;}
1883 { (exit 1); exit 1; }; }
1886 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1888 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1889 echo "${ECHO_T}$ac_cv_objext" >&6
1890 OBJEXT=$ac_cv_objext
1892 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1893 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1894 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 cat >conftest.$ac_ext <<_ACEOF
1900 cat confdefs.h >>conftest.$ac_ext
1901 cat >>conftest.$ac_ext <<_ACEOF
1902 /* end confdefs.h. */
1915 rm -f conftest.$ac_objext
1916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1917 (eval $ac_compile) 2>conftest.er1
1919 grep -v '^ *+' conftest.er1 >conftest.err
1921 cat conftest.err >&5
1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); } &&
1924 { ac_try='test -z "$ac_c_werror_flag"
1925 || test ! -s conftest.err'
1926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }; } &&
1931 { ac_try='test -s conftest.$ac_objext'
1932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; }; then
1939 echo "$as_me: failed program was:" >&5
1940 sed 's/^/| /' conftest.$ac_ext >&5
1944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1945 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1948 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1949 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1950 GCC=`test $ac_compiler_gnu = yes && echo yes`
1951 ac_test_CFLAGS=${CFLAGS+set}
1952 ac_save_CFLAGS=$CFLAGS
1954 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1955 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1956 if test "${ac_cv_prog_cc_g+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 cat >conftest.$ac_ext <<_ACEOF
1962 cat confdefs.h >>conftest.$ac_ext
1963 cat >>conftest.$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1974 rm -f conftest.$ac_objext
1975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1976 (eval $ac_compile) 2>conftest.er1
1978 grep -v '^ *+' conftest.er1 >conftest.err
1980 cat conftest.err >&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); } &&
1983 { ac_try='test -z "$ac_c_werror_flag"
1984 || test ! -s conftest.err'
1985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); }; } &&
1990 { ac_try='test -s conftest.$ac_objext'
1991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }; }; then
1998 echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.$ac_ext >&5
2003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2005 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2006 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2007 if test "$ac_test_CFLAGS" = set; then
2008 CFLAGS=$ac_save_CFLAGS
2009 elif test $ac_cv_prog_cc_g = yes; then
2010 if test "$GCC" = yes; then
2016 if test "$GCC" = yes; then
2022 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2023 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2024 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 ac_cv_prog_cc_stdc=no
2029 cat >conftest.$ac_ext <<_ACEOF
2032 cat confdefs.h >>conftest.$ac_ext
2033 cat >>conftest.$ac_ext <<_ACEOF
2034 /* end confdefs.h. */
2037 #include <sys/types.h>
2038 #include <sys/stat.h>
2039 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2040 struct buf { int x; };
2041 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2042 static char *e (p, i)
2048 static char *f (char * (*g) (char **, int), char **p, ...)
2053 s = g (p, va_arg (v,int));
2058 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2059 function prototypes and stuff, but not '\xHH' hex character constants.
2060 These don't provoke an error unfortunately, instead are silently treated
2061 as 'x'. The following induces an error, until -std1 is added to get
2062 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2063 array size at least. It's necessary to write '\x00'==0 to get something
2064 that's true only with -std1. */
2065 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2067 int test (int i, double x);
2068 struct s1 {int (*f) (int a);};
2069 struct s2 {int (*f) (double a);};
2070 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2076 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2081 # Don't try gcc -ansi; that turns off useful extensions and
2082 # breaks some systems' header files.
2083 # AIX -qlanglvl=ansi
2084 # Ultrix and OSF/1 -std1
2085 # HP-UX 10.20 and later -Ae
2086 # HP-UX older versions -Aa -D_HPUX_SOURCE
2087 # SVR4 -Xc -D__EXTENSIONS__
2088 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2090 CC="$ac_save_CC $ac_arg"
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093 (eval $ac_compile) 2>conftest.er1
2095 grep -v '^ *+' conftest.er1 >conftest.err
2097 cat conftest.err >&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); } &&
2100 { ac_try='test -z "$ac_c_werror_flag"
2101 || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2113 ac_cv_prog_cc_stdc=$ac_arg
2116 echo "$as_me: failed program was:" >&5
2117 sed 's/^/| /' conftest.$ac_ext >&5
2120 rm -f conftest.err conftest.$ac_objext
2122 rm -f conftest.$ac_ext conftest.$ac_objext
2127 case "x$ac_cv_prog_cc_stdc" in
2129 echo "$as_me:$LINENO: result: none needed" >&5
2130 echo "${ECHO_T}none needed" >&6 ;;
2132 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2133 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2134 CC="$CC $ac_cv_prog_cc_stdc" ;;
2137 # Some people use a C++ compiler to compile C. Since we use `exit',
2138 # in C++ we need to declare it. In case someone uses the same compiler
2139 # for both compiling C and C++ we need to have the C++ compiler decide
2140 # the declaration of exit, since it's the most demanding environment.
2141 cat >conftest.$ac_ext <<_ACEOF
2146 rm -f conftest.$ac_objext
2147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2148 (eval $ac_compile) 2>conftest.er1
2150 grep -v '^ *+' conftest.er1 >conftest.err
2152 cat conftest.err >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); } &&
2155 { ac_try='test -z "$ac_c_werror_flag"
2156 || test ! -s conftest.err'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; } &&
2162 { ac_try='test -s conftest.$ac_objext'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; }; then
2168 for ac_declaration in \
2170 'extern "C" void std::exit (int) throw (); using std::exit;' \
2171 'extern "C" void std::exit (int); using std::exit;' \
2172 'extern "C" void exit (int) throw ();' \
2173 'extern "C" void exit (int);' \
2176 cat >conftest.$ac_ext <<_ACEOF
2179 cat confdefs.h >>conftest.$ac_ext
2180 cat >>conftest.$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2192 rm -f conftest.$ac_objext
2193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2194 (eval $ac_compile) 2>conftest.er1
2196 grep -v '^ *+' conftest.er1 >conftest.err
2198 cat conftest.err >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); } &&
2201 { ac_try='test -z "$ac_c_werror_flag"
2202 || test ! -s conftest.err'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; } &&
2208 { ac_try='test -s conftest.$ac_objext'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; }; then
2216 echo "$as_me: failed program was:" >&5
2217 sed 's/^/| /' conftest.$ac_ext >&5
2221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2222 cat >conftest.$ac_ext <<_ACEOF
2225 cat confdefs.h >>conftest.$ac_ext
2226 cat >>conftest.$ac_ext <<_ACEOF
2227 /* end confdefs.h. */
2237 rm -f conftest.$ac_objext
2238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2239 (eval $ac_compile) 2>conftest.er1
2241 grep -v '^ *+' conftest.er1 >conftest.err
2243 cat conftest.err >&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); } &&
2246 { ac_try='test -z "$ac_c_werror_flag"
2247 || test ! -s conftest.err'
2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; } &&
2253 { ac_try='test -s conftest.$ac_objext'
2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; }; then
2261 echo "$as_me: failed program was:" >&5
2262 sed 's/^/| /' conftest.$ac_ext >&5
2265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2268 if test -n "$ac_declaration"; then
2269 echo '#ifdef __cplusplus' >>confdefs.h
2270 echo $ac_declaration >>confdefs.h
2271 echo '#endif' >>confdefs.h
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.$ac_ext >&5
2279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2281 ac_cpp='$CPP $CPPFLAGS'
2282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2286 for ac_prog in 'bison -y' byacc
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy $ac_prog; ac_word=$2
2290 echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2292 if test "${ac_cv_prog_YACC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$YACC"; then
2296 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2305 ac_cv_prog_YACC="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 YACC=$ac_cv_prog_YACC
2315 if test -n "$YACC"; then
2316 echo "$as_me:$LINENO: result: $YACC" >&5
2317 echo "${ECHO_T}$YACC" >&6
2319 echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6
2323 test -n "$YACC" && break
2325 test -n "$YACC" || YACC="yacc"
2328 for ac_prog in flex lex
2330 # Extract the first word of "$ac_prog", so it can be a program name with args.
2331 set dummy $ac_prog; ac_word=$2
2332 echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2334 if test "${ac_cv_prog_LEX+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2337 if test -n "$LEX"; then
2338 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2347 ac_cv_prog_LEX="$ac_prog"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 if test -n "$LEX"; then
2358 echo "$as_me:$LINENO: result: $LEX" >&5
2359 echo "${ECHO_T}$LEX" >&6
2361 echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6
2365 test -n "$LEX" && break
2367 test -n "$LEX" || LEX=":"
2369 if test -z "$LEXLIB"
2371 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2372 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2373 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 ac_check_lib_save_LIBS=$LIBS
2378 cat >conftest.$ac_ext <<_ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2385 /* Override any gcc2 internal prototype to avoid an error. */
2389 /* We use char because int might match the return type of a gcc2
2390 builtin and then its argument prototype would still apply. */
2400 rm -f conftest.$ac_objext conftest$ac_exeext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2402 (eval $ac_link) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1 >conftest.err
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag"
2410 || test ! -s conftest.err'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; } &&
2416 { ac_try='test -s conftest$ac_exeext'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; }; then
2422 ac_cv_lib_fl_yywrap=yes
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.$ac_ext >&5
2427 ac_cv_lib_fl_yywrap=no
2429 rm -f conftest.err conftest.$ac_objext \
2430 conftest$ac_exeext conftest.$ac_ext
2431 LIBS=$ac_check_lib_save_LIBS
2433 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2434 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2435 if test $ac_cv_lib_fl_yywrap = yes; then
2438 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2439 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2440 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 ac_check_lib_save_LIBS=$LIBS
2445 cat >conftest.$ac_ext <<_ACEOF
2448 cat confdefs.h >>conftest.$ac_ext
2449 cat >>conftest.$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2452 /* Override any gcc2 internal prototype to avoid an error. */
2456 /* We use char because int might match the return type of a gcc2
2457 builtin and then its argument prototype would still apply. */
2467 rm -f conftest.$ac_objext conftest$ac_exeext
2468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2469 (eval $ac_link) 2>conftest.er1
2471 grep -v '^ *+' conftest.er1 >conftest.err
2473 cat conftest.err >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } &&
2476 { ac_try='test -z "$ac_c_werror_flag"
2477 || test ! -s conftest.err'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; } &&
2483 { ac_try='test -s conftest$ac_exeext'
2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2489 ac_cv_lib_l_yywrap=yes
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_cv_lib_l_yywrap=no
2496 rm -f conftest.err conftest.$ac_objext \
2497 conftest$ac_exeext conftest.$ac_ext
2498 LIBS=$ac_check_lib_save_LIBS
2500 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2501 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2502 if test $ac_cv_lib_l_yywrap = yes; then
2510 if test "x$LEX" != "x:"; then
2511 echo "$as_me:$LINENO: checking lex output file root" >&5
2512 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2513 if test "${ac_cv_prog_lex_root+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 # The minimal lex program is just a single line: %%. But some broken lexes
2517 # (Solaris, I think it was) want two %% lines, so accommodate them.
2518 cat >conftest.l <<_ACEOF
2522 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2523 (eval $LEX conftest.l) 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }
2527 if test -f lex.yy.c; then
2528 ac_cv_prog_lex_root=lex.yy
2529 elif test -f lexyy.c; then
2530 ac_cv_prog_lex_root=lexyy
2532 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2533 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2534 { (exit 1); exit 1; }; }
2537 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2538 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2540 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2542 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2543 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2544 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2547 # POSIX says lex can declare yytext either as a pointer or an array; the
2548 # default is implementation-dependent. Figure out which it is, since
2549 # not all implementations provide the %pointer and %array declarations.
2550 ac_cv_prog_lex_yytext_pointer=no
2551 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2553 LIBS="$LIBS $LEXLIB"
2554 cat >conftest.$ac_ext <<_ACEOF
2555 `cat $LEX_OUTPUT_ROOT.c`
2557 rm -f conftest.$ac_objext conftest$ac_exeext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2559 (eval $ac_link) 2>conftest.er1
2561 grep -v '^ *+' conftest.er1 >conftest.err
2563 cat conftest.err >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } &&
2566 { ac_try='test -z "$ac_c_werror_flag"
2567 || test ! -s conftest.err'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try='test -s conftest$ac_exeext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2579 ac_cv_prog_lex_yytext_pointer=yes
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2585 rm -f conftest.err conftest.$ac_objext \
2586 conftest$ac_exeext conftest.$ac_ext
2588 rm -f "${LEX_OUTPUT_ROOT}.c"
2591 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2592 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2593 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2595 cat >>confdefs.h <<\_ACEOF
2596 #define YYTEXT_POINTER 1
2603 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2604 if test -f $ac_dir/install-sh; then
2606 ac_install_sh="$ac_aux_dir/install-sh -c"
2608 elif test -f $ac_dir/install.sh; then
2610 ac_install_sh="$ac_aux_dir/install.sh -c"
2612 elif test -f $ac_dir/shtool; then
2614 ac_install_sh="$ac_aux_dir/shtool install -c"
2618 if test -z "$ac_aux_dir"; then
2619 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2620 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2621 { (exit 1); exit 1; }; }
2623 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2624 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2625 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2627 # Find a good install program. We prefer a C program (faster),
2628 # so one script is as good as another. But avoid the broken or
2629 # incompatible versions:
2630 # SysV /etc/install, /usr/sbin/install
2631 # SunOS /usr/etc/install
2632 # IRIX /sbin/install
2634 # AmigaOS /C/install, which installs bootblocks on floppy discs
2635 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2636 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2637 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2638 # OS/2's system install, which has a completely different semantic
2639 # ./install, which can be erroneously created by make from ./install.sh.
2640 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2641 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2642 if test -z "$INSTALL"; then
2643 if test "${ac_cv_path_install+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir=.
2651 # Account for people who put trailing slashes in PATH elements.
2653 ./ | .// | /cC/* | \
2654 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2655 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2658 # OSF1 and SCO ODT 3.0 have their own names for install.
2659 # Don't use installbsd from OSF since it installs stuff as root
2661 for ac_prog in ginstall scoinst install; do
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2664 if test $ac_prog = install &&
2665 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2666 # AIX install. It has an incompatible calling convention.
2668 elif test $ac_prog = install &&
2669 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2670 # program-specific install script used by HP pwplus--don't use.
2673 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2685 if test "${ac_cv_path_install+set}" = set; then
2686 INSTALL=$ac_cv_path_install
2688 # As a last resort, use the slow shell script. We don't cache a
2689 # path for INSTALL within a source directory, because that will
2690 # break other packages using the cache if that directory is
2691 # removed, or if the path is relative.
2692 INSTALL=$ac_install_sh
2695 echo "$as_me:$LINENO: result: $INSTALL" >&5
2696 echo "${ECHO_T}$INSTALL" >&6
2698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2699 # It thinks the first close brace ends the variable substitution.
2700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2704 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2706 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2707 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2709 if test "$LN_S" = "ln -s"; then
2710 echo "$as_me:$LINENO: result: yes" >&5
2711 echo "${ECHO_T}yes" >&6
2713 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2714 echo "${ECHO_T}no, using $LN_S" >&6
2717 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2718 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2719 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2720 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.make <<\_ACEOF
2725 @echo 'ac_maketemp="$(MAKE)"'
2727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2728 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2729 if test -n "$ac_maketemp"; then
2730 eval ac_cv_prog_make_${ac_make}_set=yes
2732 eval ac_cv_prog_make_${ac_make}_set=no
2736 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2743 SET_MAKE="MAKE=${MAKE-make}"
2748 # Check whether --enable-debug or --disable-debug was given.
2749 if test "${enable_debug+set}" = set; then
2750 enableval="$enable_debug"
2751 WITH_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2760 # Check whether --enable-memory-debug or --disable-memory-debug was given.
2761 if test "${enable_memory_debug+set}" = set; then
2762 enableval="$enable_memory_debug"
2763 WITH_MEMORY_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2764 #define MEMORY_DEBUG 1
2768 WITH_MEMORY_DEBUG=no
2772 # Check whether --enable-libdebug or --disable-libdebug was given.
2773 if test "${enable_libdebug+set}" = set; then
2774 enableval="$enable_libdebug"
2775 WITH_LIBDEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2776 #define WITH_LIBDEBUG 1
2784 # Check whether --enable-prelude or --disable-prelude was given.
2785 if test "${enable_prelude+set}" = set; then
2786 enableval="$enable_prelude"
2787 WITH_PRELUDE=yes ; cat >>confdefs.h <<\_ACEOF
2788 #define WITH_PRELUDE 1
2796 # Check whether --enable-fakeroot or --disable-fakeroot was given.
2797 if test "${enable_fakeroot+set}" = set; then
2798 enableval="$enable_fakeroot"
2803 # Check whether --enable-securedir or --disable-securedir was given.
2804 if test "${enable_securedir+set}" = set; then
2805 enableval="$enable_securedir"
2806 SECUREDIR=$enableval
2808 SECUREDIR=$libdir/security
2812 # Check whether --enable-isadir or --disable-isadir was given.
2813 if test "${enable_isadir+set}" = set; then
2814 enableval="$enable_isadir"
2817 ISA=../../`basename $libdir`/security
2821 cat >>confdefs.h <<_ACEOF
2822 #define _PAM_ISA "$ISA"
2825 echo "$as_me:$LINENO: result: Defining \$ISA to \\"$ISA\\"." >&5
2826 echo "${ECHO_T}Defining \$ISA to \\"$ISA\\"." >&6
2828 # Check whether --enable-sconfigdir or --disable-sconfigdir was given.
2829 if test "${enable_sconfigdir+set}" = set; then
2830 enableval="$enable_sconfigdir"
2831 SCONFIGDIR=$enableval
2833 SCONFIGDIR=$sysconfdir/security
2837 # Check whether --enable-suplementedir or --disable-suplementedir was given.
2838 if test "${enable_suplementedir+set}" = set; then
2839 enableval="$enable_suplementedir"
2840 SUPLEMENTED=$enableval
2842 SUPLEMENTED=$sbindir
2846 # Check whether --enable-includedir or --disable-includedir was given.
2847 if test "${enable_includedir+set}" = set; then
2848 enableval="$enable_includedir"
2849 INCLUDEDIR=$enableval
2851 INCLUDEDIR=/usr/include
2855 # Check whether --enable-docdir or --disable-docdir was given.
2856 if test "${enable_docdir+set}" = set; then
2857 enableval="$enable_docdir"
2860 DOCDIR=/usr/share/doc/pam
2864 # Check whether --enable-mandir or --disable-mandir was given.
2865 if test "${enable_mandir+set}" = set; then
2866 enableval="$enable_mandir"
2869 MANDIR=/usr/share/man
2873 # Check whether --enable-pamlocking or --disable-pamlocking was given.
2874 if test "${enable_pamlocking+set}" = set; then
2875 enableval="$enable_pamlocking"
2876 WITH_PAMLOCKING=yes ; cat >>confdefs.h <<\_ACEOF
2877 #define PAM_LOCKING 1
2885 # Check whether --enable-uglyhack or --disable-uglyhack was given.
2886 if test "${enable_uglyhack+set}" = set; then
2887 enableval="$enable_uglyhack"
2888 cat >>confdefs.h <<\_ACEOF
2889 #define UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT 1
2894 # Check whether --enable-read-both-confs or --disable-read-both-confs was given.
2895 if test "${enable_read_both_confs+set}" = set; then
2896 enableval="$enable_read_both_confs"
2897 cat >>confdefs.h <<\_ACEOF
2898 #define PAM_READ_BOTH_CONFS 1
2904 # Check whether --enable-static-libpam or --disable-static-libpam was given.
2905 if test "${enable_static_libpam+set}" = set; then
2906 enableval="$enable_static_libpam"
2913 # Check whether --enable-dynamic-libpam or --disable-dynamic-libpam was given.
2914 if test "${enable_dynamic_libpam+set}" = set; then
2915 enableval="$enable_dynamic_libpam"
2922 DYNAMIC=-DPAM_DYNAMIC
2925 # Check whether --enable-static-modules or --disable-static-modules was given.
2926 if test "${enable_static_modules+set}" = set; then
2927 enableval="$enable_static_modules"
2932 # Check whether --enable-lckpwdf or --disable-lckpwdf was given.
2933 if test "${enable_lckpwdf+set}" = set; then
2934 enableval="$enable_lckpwdf"
2942 ac_cpp='$CPP $CPPFLAGS'
2943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2946 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2947 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2948 # On Suns, sometimes $CPP names a directory.
2949 if test -n "$CPP" && test -d "$CPP"; then
2952 if test -z "$CPP"; then
2953 if test "${ac_cv_prog_CPP+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 # Double quotes because CPP needs to be expanded
2957 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2960 for ac_c_preproc_warn_flag in '' yes
2962 # Use a header file that comes with gcc, so configuring glibc
2963 # with a fresh cross-compiler works.
2964 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2965 # <limits.h> exists even on freestanding compilers.
2966 # On the NeXT, cc -E runs the code through the compiler's parser,
2967 # not just through cpp. "Syntax error" is here to catch this case.
2968 cat >conftest.$ac_ext <<_ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2975 # include <limits.h>
2977 # include <assert.h>
2981 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2982 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } >/dev/null; then
2989 if test -s conftest.err; then
2990 ac_cpp_err=$ac_c_preproc_warn_flag
2991 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2998 if test -z "$ac_cpp_err"; then
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 # Broken: fails on valid input.
3007 rm -f conftest.err conftest.$ac_ext
3009 # OK, works on sane cases. Now check whether non-existent headers
3010 # can be detected and how.
3011 cat >conftest.$ac_ext <<_ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3017 #include <ac_nonexistent.h>
3019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3022 grep -v '^ *+' conftest.er1 >conftest.err
3024 cat conftest.err >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } >/dev/null; then
3027 if test -s conftest.err; then
3028 ac_cpp_err=$ac_c_preproc_warn_flag
3029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3036 if test -z "$ac_cpp_err"; then
3037 # Broken: success on invalid input.
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 # Passes both tests.
3047 rm -f conftest.err conftest.$ac_ext
3050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3051 rm -f conftest.err conftest.$ac_ext
3052 if $ac_preproc_ok; then
3064 echo "$as_me:$LINENO: result: $CPP" >&5
3065 echo "${ECHO_T}$CPP" >&6
3067 for ac_c_preproc_warn_flag in '' yes
3069 # Use a header file that comes with gcc, so configuring glibc
3070 # with a fresh cross-compiler works.
3071 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3072 # <limits.h> exists even on freestanding compilers.
3073 # On the NeXT, cc -E runs the code through the compiler's parser,
3074 # not just through cpp. "Syntax error" is here to catch this case.
3075 cat >conftest.$ac_ext <<_ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3082 # include <limits.h>
3084 # include <assert.h>
3088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3091 grep -v '^ *+' conftest.er1 >conftest.err
3093 cat conftest.err >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } >/dev/null; then
3096 if test -s conftest.err; then
3097 ac_cpp_err=$ac_c_preproc_warn_flag
3098 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3105 if test -z "$ac_cpp_err"; then
3108 echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3111 # Broken: fails on valid input.
3114 rm -f conftest.err conftest.$ac_ext
3116 # OK, works on sane cases. Now check whether non-existent headers
3117 # can be detected and how.
3118 cat >conftest.$ac_ext <<_ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 #include <ac_nonexistent.h>
3126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3129 grep -v '^ *+' conftest.er1 >conftest.err
3131 cat conftest.err >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); } >/dev/null; then
3134 if test -s conftest.err; then
3135 ac_cpp_err=$ac_c_preproc_warn_flag
3136 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3143 if test -z "$ac_cpp_err"; then
3144 # Broken: success on invalid input.
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 # Passes both tests.
3154 rm -f conftest.err conftest.$ac_ext
3157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3158 rm -f conftest.err conftest.$ac_ext
3159 if $ac_preproc_ok; then
3162 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3163 See \`config.log' for more details." >&5
3164 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3165 See \`config.log' for more details." >&2;}
3166 { (exit 1); exit 1; }; }
3170 ac_cpp='$CPP $CPPFLAGS'
3171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3176 echo "$as_me:$LINENO: checking for egrep" >&5
3177 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3178 if test "${ac_cv_prog_egrep+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3182 then ac_cv_prog_egrep='grep -E'
3183 else ac_cv_prog_egrep='egrep'
3186 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3187 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3188 EGREP=$ac_cv_prog_egrep
3191 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3192 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3193 if test "${ac_cv_header_stdc+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.$ac_ext <<_ACEOF
3199 cat confdefs.h >>conftest.$ac_ext
3200 cat >>conftest.$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3215 rm -f conftest.$ac_objext
3216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3217 (eval $ac_compile) 2>conftest.er1
3219 grep -v '^ *+' conftest.er1 >conftest.err
3221 cat conftest.err >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } &&
3224 { ac_try='test -z "$ac_c_werror_flag"
3225 || test ! -s conftest.err'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; } &&
3231 { ac_try='test -s conftest.$ac_objext'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; }; then
3237 ac_cv_header_stdc=yes
3239 echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3242 ac_cv_header_stdc=no
3244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3246 if test $ac_cv_header_stdc = yes; then
3247 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3258 $EGREP "memchr" >/dev/null 2>&1; then
3261 ac_cv_header_stdc=no
3267 if test $ac_cv_header_stdc = yes; then
3268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3269 cat >conftest.$ac_ext <<_ACEOF
3272 cat confdefs.h >>conftest.$ac_ext
3273 cat >>conftest.$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3279 $EGREP "free" >/dev/null 2>&1; then
3282 ac_cv_header_stdc=no
3288 if test $ac_cv_header_stdc = yes; then
3289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3290 if test "$cross_compiling" = yes; then
3293 cat >conftest.$ac_ext <<_ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3300 #if ((' ' & 0x0FF) == 0x020)
3301 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3302 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3304 # define ISLOWER(c) \
3305 (('a' <= (c) && (c) <= 'i') \
3306 || ('j' <= (c) && (c) <= 'r') \
3307 || ('s' <= (c) && (c) <= 'z'))
3308 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3311 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3316 for (i = 0; i < 256; i++)
3317 if (XOR (islower (i), ISLOWER (i))
3318 || toupper (i) != TOUPPER (i))
3323 rm -f conftest$ac_exeext
3324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3325 (eval $ac_link) 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 (exit $ac_status); }; }; then
3336 echo "$as_me: program exited with status $ac_status" >&5
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3341 ac_cv_header_stdc=no
3343 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3347 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3348 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3349 if test $ac_cv_header_stdc = yes; then
3351 cat >>confdefs.h <<\_ACEOF
3352 #define STDC_HEADERS 1
3357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3368 inttypes.h stdint.h unistd.h
3370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3371 echo "$as_me:$LINENO: checking for $ac_header" >&5
3372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3382 $ac_includes_default
3384 #include <$ac_header>
3386 rm -f conftest.$ac_objext
3387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3388 (eval $ac_compile) 2>conftest.er1
3390 grep -v '^ *+' conftest.er1 >conftest.err
3392 cat conftest.err >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); } &&
3395 { ac_try='test -z "$ac_c_werror_flag"
3396 || test ! -s conftest.err'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; } &&
3402 { ac_try='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3408 eval "$as_ac_Header=yes"
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 eval "$as_ac_Header=no"
3415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3420 cat >>confdefs.h <<_ACEOF
3421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3430 for ac_header in paths.h
3432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3434 echo "$as_me:$LINENO: checking for $ac_header" >&5
3435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3442 # Is the header compilable?
3443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3445 cat >conftest.$ac_ext <<_ACEOF
3448 cat confdefs.h >>conftest.$ac_ext
3449 cat >>conftest.$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 $ac_includes_default
3452 #include <$ac_header>
3454 rm -f conftest.$ac_objext
3455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3456 (eval $ac_compile) 2>conftest.er1
3458 grep -v '^ *+' conftest.er1 >conftest.err
3460 cat conftest.err >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); } &&
3463 { ac_try='test -z "$ac_c_werror_flag"
3464 || test ! -s conftest.err'
3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; } &&
3470 { ac_try='test -s conftest.$ac_objext'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; }; then
3476 ac_header_compiler=yes
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 ac_header_compiler=no
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3485 echo "${ECHO_T}$ac_header_compiler" >&6
3487 # Is the header present?
3488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3490 cat >conftest.$ac_ext <<_ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3496 #include <$ac_header>
3498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3501 grep -v '^ *+' conftest.er1 >conftest.err
3503 cat conftest.err >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } >/dev/null; then
3506 if test -s conftest.err; then
3507 ac_cpp_err=$ac_c_preproc_warn_flag
3508 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3515 if test -z "$ac_cpp_err"; then
3516 ac_header_preproc=yes
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 ac_header_preproc=no
3523 rm -f conftest.err conftest.$ac_ext
3524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3525 echo "${ECHO_T}$ac_header_preproc" >&6
3527 # So? What about this header?
3528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3534 ac_header_preproc=yes
3537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3551 ## ------------------------------------------ ##
3552 ## Report this to the AC_PACKAGE_NAME lists. ##
3553 ## ------------------------------------------ ##
3556 sed "s/^/$as_me: WARNING: /" >&2
3559 echo "$as_me:$LINENO: checking for $ac_header" >&5
3560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 eval "$as_ac_Header=\$ac_header_preproc"
3566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3571 cat >>confdefs.h <<_ACEOF
3572 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3580 # Check whether --with-mailspool or --without-mailspool was given.
3581 if test "${with_mailspool+set}" = set; then
3582 withval="$with_mailspool"
3583 with_mailspool=${withval}
3585 if test x$with_mailspool != x ; then
3586 pam_mail_spool="\"$with_mailspool\""
3588 if test "$cross_compiling" = yes; then
3589 pam_mail_spool="\"/var/spool/mail\""
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3600 #ifdef _PATH_MAILDIR
3607 rm -f conftest$ac_exeext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3609 (eval $ac_link) 2>&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 pam_mail_spool="_PATH_MAILDIR"
3620 echo "$as_me: program exited with status $ac_status" >&5
3621 echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3625 pam_mail_spool="\"/var/spool/mail\""
3627 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3630 cat >>confdefs.h <<_ACEOF
3631 #define PAM_PATH_MAILDIR $pam_mail_spool
3635 echo "$as_me:$LINENO: checking for __libc_sched_setscheduler in -lc" >&5
3636 echo $ECHO_N "checking for __libc_sched_setscheduler in -lc... $ECHO_C" >&6
3637 if test "${ac_cv_lib_c___libc_sched_setscheduler+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3640 ac_check_lib_save_LIBS=$LIBS
3642 cat >conftest.$ac_ext <<_ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3649 /* Override any gcc2 internal prototype to avoid an error. */
3653 /* We use char because int might match the return type of a gcc2
3654 builtin and then its argument prototype would still apply. */
3655 char __libc_sched_setscheduler ();
3659 __libc_sched_setscheduler ();
3664 rm -f conftest.$ac_objext conftest$ac_exeext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666 (eval $ac_link) 2>conftest.er1
3668 grep -v '^ *+' conftest.er1 >conftest.err
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } &&
3673 { ac_try='test -z "$ac_c_werror_flag"
3674 || test ! -s conftest.err'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; } &&
3680 { ac_try='test -s conftest$ac_exeext'
3681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }; }; then
3686 ac_cv_lib_c___libc_sched_setscheduler=yes
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 ac_cv_lib_c___libc_sched_setscheduler=no
3693 rm -f conftest.err conftest.$ac_objext \
3694 conftest$ac_exeext conftest.$ac_ext
3695 LIBS=$ac_check_lib_save_LIBS
3697 echo "$as_me:$LINENO: result: $ac_cv_lib_c___libc_sched_setscheduler" >&5
3698 echo "${ECHO_T}$ac_cv_lib_c___libc_sched_setscheduler" >&6
3699 if test $ac_cv_lib_c___libc_sched_setscheduler = yes; then
3707 echo "$as_me:$LINENO: checking for lckpwdf in -lc" >&5
3708 echo $ECHO_N "checking for lckpwdf in -lc... $ECHO_C" >&6
3709 if test "${ac_cv_lib_c_lckpwdf+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 ac_check_lib_save_LIBS=$LIBS
3714 cat >conftest.$ac_ext <<_ACEOF
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3721 /* Override any gcc2 internal prototype to avoid an error. */
3725 /* We use char because int might match the return type of a gcc2
3726 builtin and then its argument prototype would still apply. */
3736 rm -f conftest.$ac_objext conftest$ac_exeext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3738 (eval $ac_link) 2>conftest.er1
3740 grep -v '^ *+' conftest.er1 >conftest.err
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } &&
3745 { ac_try='test -z "$ac_c_werror_flag"
3746 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest$ac_exeext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3758 ac_cv_lib_c_lckpwdf=yes
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3763 ac_cv_lib_c_lckpwdf=no
3765 rm -f conftest.err conftest.$ac_objext \
3766 conftest$ac_exeext conftest.$ac_ext
3767 LIBS=$ac_check_lib_save_LIBS
3769 echo "$as_me:$LINENO: result: $ac_cv_lib_c_lckpwdf" >&5
3770 echo "${ECHO_T}$ac_cv_lib_c_lckpwdf" >&6
3771 if test $ac_cv_lib_c_lckpwdf = yes; then
3779 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3780 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
3781 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 ac_check_lib_save_LIBS=$LIBS
3786 cat >conftest.$ac_ext <<_ACEOF
3789 cat confdefs.h >>conftest.$ac_ext
3790 cat >>conftest.$ac_ext <<_ACEOF
3791 /* end confdefs.h. */
3793 /* Override any gcc2 internal prototype to avoid an error. */
3797 /* We use char because int might match the return type of a gcc2
3798 builtin and then its argument prototype would still apply. */
3808 rm -f conftest.$ac_objext conftest$ac_exeext
3809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3810 (eval $ac_link) 2>conftest.er1
3812 grep -v '^ *+' conftest.er1 >conftest.err
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } &&
3817 { ac_try='test -z "$ac_c_werror_flag"
3818 || test ! -s conftest.err'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; } &&
3824 { ac_try='test -s conftest$ac_exeext'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); }; }; then
3830 ac_cv_lib_dl_dlopen=yes
3832 echo "$as_me: failed program was:" >&5
3833 sed 's/^/| /' conftest.$ac_ext >&5
3835 ac_cv_lib_dl_dlopen=no
3837 rm -f conftest.err conftest.$ac_objext \
3838 conftest$ac_exeext conftest.$ac_ext
3839 LIBS=$ac_check_lib_save_LIBS
3841 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
3842 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
3843 if test $ac_cv_lib_dl_dlopen = yes; then
3849 echo "$as_me:$LINENO: checking for FascistCheck in -lcrack" >&5
3850 echo $ECHO_N "checking for FascistCheck in -lcrack... $ECHO_C" >&6
3851 if test "${ac_cv_lib_crack_FascistCheck+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 ac_check_lib_save_LIBS=$LIBS
3855 LIBS="-lcrack $LIBS"
3856 cat >conftest.$ac_ext <<_ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3863 /* Override any gcc2 internal prototype to avoid an error. */
3867 /* We use char because int might match the return type of a gcc2
3868 builtin and then its argument prototype would still apply. */
3869 char FascistCheck ();
3878 rm -f conftest.$ac_objext conftest$ac_exeext
3879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3880 (eval $ac_link) 2>conftest.er1
3882 grep -v '^ *+' conftest.er1 >conftest.err
3884 cat conftest.err >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } &&
3887 { ac_try='test -z "$ac_c_werror_flag"
3888 || test ! -s conftest.err'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; } &&
3894 { ac_try='test -s conftest$ac_exeext'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3900 ac_cv_lib_crack_FascistCheck=yes
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3905 ac_cv_lib_crack_FascistCheck=no
3907 rm -f conftest.err conftest.$ac_objext \
3908 conftest$ac_exeext conftest.$ac_ext
3909 LIBS=$ac_check_lib_save_LIBS
3911 echo "$as_me:$LINENO: result: $ac_cv_lib_crack_FascistCheck" >&5
3912 echo "${ECHO_T}$ac_cv_lib_crack_FascistCheck" >&6
3913 if test $ac_cv_lib_crack_FascistCheck = yes; then
3914 HAVE_LIBCRACK=yes ; cat >>confdefs.h <<\_ACEOF
3915 #define HAVE_LIBCRACK 1
3924 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
3925 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
3926 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3929 ac_check_lib_save_LIBS=$LIBS
3930 LIBS="-lcrypt $LIBS"
3931 cat >conftest.$ac_ext <<_ACEOF
3934 cat confdefs.h >>conftest.$ac_ext
3935 cat >>conftest.$ac_ext <<_ACEOF
3936 /* end confdefs.h. */
3938 /* Override any gcc2 internal prototype to avoid an error. */
3942 /* We use char because int might match the return type of a gcc2
3943 builtin and then its argument prototype would still apply. */
3953 rm -f conftest.$ac_objext conftest$ac_exeext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3955 (eval $ac_link) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1 >conftest.err
3959 cat conftest.err >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try='test -z "$ac_c_werror_flag"
3963 || test ! -s conftest.err'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; } &&
3969 { ac_try='test -s conftest$ac_exeext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3975 ac_cv_lib_crypt_crypt=yes
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3980 ac_cv_lib_crypt_crypt=no
3982 rm -f conftest.err conftest.$ac_objext \
3983 conftest$ac_exeext conftest.$ac_ext
3984 LIBS=$ac_check_lib_save_LIBS
3986 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
3987 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
3988 if test $ac_cv_lib_crypt_crypt = yes; then
3989 HAVE_LIBCRYPT=yes ; cat >>confdefs.h <<\_ACEOF
3990 #define HAVE_LIBCRYPT 1
3998 echo "$as_me:$LINENO: checking for logwtmp in -lutil" >&5
3999 echo $ECHO_N "checking for logwtmp in -lutil... $ECHO_C" >&6
4000 if test "${ac_cv_lib_util_logwtmp+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 ac_check_lib_save_LIBS=$LIBS
4005 cat >conftest.$ac_ext <<_ACEOF
4008 cat confdefs.h >>conftest.$ac_ext
4009 cat >>conftest.$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4012 /* Override any gcc2 internal prototype to avoid an error. */
4016 /* We use char because int might match the return type of a gcc2
4017 builtin and then its argument prototype would still apply. */
4027 rm -f conftest.$ac_objext conftest$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4031 grep -v '^ *+' conftest.er1 >conftest.err
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try='test -z "$ac_c_werror_flag"
4037 || test ! -s conftest.err'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; } &&
4043 { ac_try='test -s conftest$ac_exeext'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 ac_cv_lib_util_logwtmp=yes
4051 echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.$ac_ext >&5
4054 ac_cv_lib_util_logwtmp=no
4056 rm -f conftest.err conftest.$ac_objext \
4057 conftest$ac_exeext conftest.$ac_ext
4058 LIBS=$ac_check_lib_save_LIBS
4060 echo "$as_me:$LINENO: result: $ac_cv_lib_util_logwtmp" >&5
4061 echo "${ECHO_T}$ac_cv_lib_util_logwtmp" >&6
4062 if test $ac_cv_lib_util_logwtmp = yes; then
4063 HAVE_LIBUTIL=yes ; cat >>confdefs.h <<\_ACEOF
4064 #define HAVE_LIBUTIL 1
4072 echo "$as_me:$LINENO: checking for dbm_store in -lndbm" >&5
4073 echo $ECHO_N "checking for dbm_store in -lndbm... $ECHO_C" >&6
4074 if test "${ac_cv_lib_ndbm_dbm_store+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 ac_check_lib_save_LIBS=$LIBS
4079 cat >conftest.$ac_ext <<_ACEOF
4082 cat confdefs.h >>conftest.$ac_ext
4083 cat >>conftest.$ac_ext <<_ACEOF
4084 /* end confdefs.h. */
4086 /* Override any gcc2 internal prototype to avoid an error. */
4090 /* We use char because int might match the return type of a gcc2
4091 builtin and then its argument prototype would still apply. */
4101 rm -f conftest.$ac_objext conftest$ac_exeext
4102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4103 (eval $ac_link) 2>conftest.er1
4105 grep -v '^ *+' conftest.er1 >conftest.err
4107 cat conftest.err >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); } &&
4110 { ac_try='test -z "$ac_c_werror_flag"
4111 || test ! -s conftest.err'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; } &&
4117 { ac_try='test -s conftest$ac_exeext'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; }; then
4123 ac_cv_lib_ndbm_dbm_store=yes
4125 echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4128 ac_cv_lib_ndbm_dbm_store=no
4130 rm -f conftest.err conftest.$ac_objext \
4131 conftest$ac_exeext conftest.$ac_ext
4132 LIBS=$ac_check_lib_save_LIBS
4134 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_dbm_store" >&5
4135 echo "${ECHO_T}$ac_cv_lib_ndbm_dbm_store" >&6
4136 if test $ac_cv_lib_ndbm_dbm_store = yes; then
4137 HAVE_LIBNDBM=yes ; cat >>confdefs.h <<\_ACEOF
4138 #define HAVE_LIBNDBM 1
4146 echo "$as_me:$LINENO: checking for dbm_store in -ldb" >&5
4147 echo $ECHO_N "checking for dbm_store in -ldb... $ECHO_C" >&6
4148 if test "${ac_cv_lib_db_dbm_store+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 ac_check_lib_save_LIBS=$LIBS
4153 cat >conftest.$ac_ext <<_ACEOF
4156 cat confdefs.h >>conftest.$ac_ext
4157 cat >>conftest.$ac_ext <<_ACEOF
4158 /* end confdefs.h. */
4160 /* Override any gcc2 internal prototype to avoid an error. */
4164 /* We use char because int might match the return type of a gcc2
4165 builtin and then its argument prototype would still apply. */
4175 rm -f conftest.$ac_objext conftest$ac_exeext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4177 (eval $ac_link) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } &&
4184 { ac_try='test -z "$ac_c_werror_flag"
4185 || test ! -s conftest.err'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; } &&
4191 { ac_try='test -s conftest$ac_exeext'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; }; then
4197 ac_cv_lib_db_dbm_store=yes
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4202 ac_cv_lib_db_dbm_store=no
4204 rm -f conftest.err conftest.$ac_objext \
4205 conftest$ac_exeext conftest.$ac_ext
4206 LIBS=$ac_check_lib_save_LIBS
4208 echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbm_store" >&5
4209 echo "${ECHO_T}$ac_cv_lib_db_dbm_store" >&6
4210 if test $ac_cv_lib_db_dbm_store = yes; then
4211 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4212 #define HAVE_LIBDB 1
4219 if test x$HAVE_LIBDB != xyes ; then
4220 echo "$as_me:$LINENO: checking for db_create in -ldb" >&5
4221 echo $ECHO_N "checking for db_create in -ldb... $ECHO_C" >&6
4222 if test "${ac_cv_lib_db_db_create+set}" = set; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 ac_check_lib_save_LIBS=$LIBS
4227 cat >conftest.$ac_ext <<_ACEOF
4230 cat confdefs.h >>conftest.$ac_ext
4231 cat >>conftest.$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4234 /* Override any gcc2 internal prototype to avoid an error. */
4238 /* We use char because int might match the return type of a gcc2
4239 builtin and then its argument prototype would still apply. */
4249 rm -f conftest.$ac_objext conftest$ac_exeext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4251 (eval $ac_link) 2>conftest.er1
4253 grep -v '^ *+' conftest.er1 >conftest.err
4255 cat conftest.err >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } &&
4258 { ac_try='test -z "$ac_c_werror_flag"
4259 || test ! -s conftest.err'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; } &&
4265 { ac_try='test -s conftest$ac_exeext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 ac_cv_lib_db_db_create=yes
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4276 ac_cv_lib_db_db_create=no
4278 rm -f conftest.err conftest.$ac_objext \
4279 conftest$ac_exeext conftest.$ac_ext
4280 LIBS=$ac_check_lib_save_LIBS
4282 echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_create" >&5
4283 echo "${ECHO_T}$ac_cv_lib_db_db_create" >&6
4284 if test $ac_cv_lib_db_db_create = yes; then
4285 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4286 #define HAVE_LIBDB 1
4295 echo "$as_me:$LINENO: checking for yylex in -lfl" >&5
4296 echo $ECHO_N "checking for yylex in -lfl... $ECHO_C" >&6
4297 if test "${ac_cv_lib_fl_yylex+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 ac_check_lib_save_LIBS=$LIBS
4301 LIBS="-lfl HAVE_LIBFL=no $LIBS"
4302 cat >conftest.$ac_ext <<_ACEOF
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4309 /* Override any gcc2 internal prototype to avoid an error. */
4313 /* We use char because int might match the return type of a gcc2
4314 builtin and then its argument prototype would still apply. */
4324 rm -f conftest.$ac_objext conftest$ac_exeext
4325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4326 (eval $ac_link) 2>conftest.er1
4328 grep -v '^ *+' conftest.er1 >conftest.err
4330 cat conftest.err >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); } &&
4333 { ac_try='test -z "$ac_c_werror_flag"
4334 || test ! -s conftest.err'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; } &&
4340 { ac_try='test -s conftest$ac_exeext'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; }; then
4346 ac_cv_lib_fl_yylex=yes
4348 echo "$as_me: failed program was:" >&5
4349 sed 's/^/| /' conftest.$ac_ext >&5
4351 ac_cv_lib_fl_yylex=no
4353 rm -f conftest.err conftest.$ac_objext \
4354 conftest$ac_exeext conftest.$ac_ext
4355 LIBS=$ac_check_lib_save_LIBS
4357 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yylex" >&5
4358 echo "${ECHO_T}$ac_cv_lib_fl_yylex" >&6
4359 if test $ac_cv_lib_fl_yylex = yes; then
4362 HAVE_LIBFL=yes ; cat >>confdefs.h <<\_ACEOF
4363 #define HAVE_LIBFL 1
4369 echo "$as_me:$LINENO: checking for yp_maplist in -lnsl" >&5
4370 echo $ECHO_N "checking for yp_maplist in -lnsl... $ECHO_C" >&6
4371 if test "${ac_cv_lib_nsl_yp_maplist+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 ac_check_lib_save_LIBS=$LIBS
4376 cat >conftest.$ac_ext <<_ACEOF
4379 cat confdefs.h >>conftest.$ac_ext
4380 cat >>conftest.$ac_ext <<_ACEOF
4381 /* end confdefs.h. */
4383 /* Override any gcc2 internal prototype to avoid an error. */
4387 /* We use char because int might match the return type of a gcc2
4388 builtin and then its argument prototype would still apply. */
4398 rm -f conftest.$ac_objext conftest$ac_exeext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4400 (eval $ac_link) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1 >conftest.err
4404 cat conftest.err >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try='test -z "$ac_c_werror_flag"
4408 || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try='test -s conftest$ac_exeext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4420 ac_cv_lib_nsl_yp_maplist=yes
4422 echo "$as_me: failed program was:" >&5
4423 sed 's/^/| /' conftest.$ac_ext >&5
4425 ac_cv_lib_nsl_yp_maplist=no
4427 rm -f conftest.err conftest.$ac_objext \
4428 conftest$ac_exeext conftest.$ac_ext
4429 LIBS=$ac_check_lib_save_LIBS
4431 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_maplist" >&5
4432 echo "${ECHO_T}$ac_cv_lib_nsl_yp_maplist" >&6
4433 if test $ac_cv_lib_nsl_yp_maplist = yes; then
4434 HAVE_LIBNSL=yes ; cat >>confdefs.h <<\_ACEOF
4435 #define HAVE_LIBNSL 1
4444 if test $HAVE_LIBNSL = yes ; then
4445 pwdblibs="$pwdblibs -lnsl"
4447 echo "$as_me:$LINENO: checking for pwdb_db_name in -lpwdb" >&5
4448 echo $ECHO_N "checking for pwdb_db_name in -lpwdb... $ECHO_C" >&6
4449 if test "${ac_cv_lib_pwdb_pwdb_db_name+set}" = set; then
4450 echo $ECHO_N "(cached) $ECHO_C" >&6
4452 ac_check_lib_save_LIBS=$LIBS
4453 LIBS="-lpwdb $pwdblibs $LIBS"
4454 cat >conftest.$ac_ext <<_ACEOF
4457 cat confdefs.h >>conftest.$ac_ext
4458 cat >>conftest.$ac_ext <<_ACEOF
4459 /* end confdefs.h. */
4461 /* Override any gcc2 internal prototype to avoid an error. */
4465 /* We use char because int might match the return type of a gcc2
4466 builtin and then its argument prototype would still apply. */
4467 char pwdb_db_name ();
4476 rm -f conftest.$ac_objext conftest$ac_exeext
4477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4478 (eval $ac_link) 2>conftest.er1
4480 grep -v '^ *+' conftest.er1 >conftest.err
4482 cat conftest.err >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); } &&
4485 { ac_try='test -z "$ac_c_werror_flag"
4486 || test ! -s conftest.err'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; } &&
4492 { ac_try='test -s conftest$ac_exeext'
4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); }; }; then
4498 ac_cv_lib_pwdb_pwdb_db_name=yes
4500 echo "$as_me: failed program was:" >&5
4501 sed 's/^/| /' conftest.$ac_ext >&5
4503 ac_cv_lib_pwdb_pwdb_db_name=no
4505 rm -f conftest.err conftest.$ac_objext \
4506 conftest$ac_exeext conftest.$ac_ext
4507 LIBS=$ac_check_lib_save_LIBS
4509 echo "$as_me:$LINENO: result: $ac_cv_lib_pwdb_pwdb_db_name" >&5
4510 echo "${ECHO_T}$ac_cv_lib_pwdb_pwdb_db_name" >&6
4511 if test $ac_cv_lib_pwdb_pwdb_db_name = yes; then
4512 HAVE_LIBPWDB=yes ; cat >>confdefs.h <<\_ACEOF
4513 #define HAVE_LIBPWDB 1
4523 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4524 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4525 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 ac_check_lib_save_LIBS=$LIBS
4530 cat >conftest.$ac_ext <<_ACEOF
4533 cat confdefs.h >>conftest.$ac_ext
4534 cat >>conftest.$ac_ext <<_ACEOF
4535 /* end confdefs.h. */
4537 /* Override any gcc2 internal prototype to avoid an error. */
4541 /* We use char because int might match the return type of a gcc2
4542 builtin and then its argument prototype would still apply. */
4552 rm -f conftest.$ac_objext conftest$ac_exeext
4553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4554 (eval $ac_link) 2>conftest.er1
4556 grep -v '^ *+' conftest.er1 >conftest.err
4558 cat conftest.err >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); } &&
4561 { ac_try='test -z "$ac_c_werror_flag"
4562 || test ! -s conftest.err'
4563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); }; } &&
4568 { ac_try='test -s conftest$ac_exeext'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; }; then
4574 ac_cv_lib_fl_yywrap=yes
4576 echo "$as_me: failed program was:" >&5
4577 sed 's/^/| /' conftest.$ac_ext >&5
4579 ac_cv_lib_fl_yywrap=no
4581 rm -f conftest.err conftest.$ac_objext \
4582 conftest$ac_exeext conftest.$ac_ext
4583 LIBS=$ac_check_lib_save_LIBS
4585 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4586 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4587 if test $ac_cv_lib_fl_yywrap = yes; then
4588 HAVE_LIBFLEX=yes ; cat >>confdefs.h <<\_ACEOF
4589 #define HAVE_LIBFLEX 1
4597 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4598 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4599 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 ac_check_lib_save_LIBS=$LIBS
4604 cat >conftest.$ac_ext <<_ACEOF
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4611 /* Override any gcc2 internal prototype to avoid an error. */
4615 /* We use char because int might match the return type of a gcc2
4616 builtin and then its argument prototype would still apply. */
4626 rm -f conftest.$ac_objext conftest$ac_exeext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4628 (eval $ac_link) 2>conftest.er1
4630 grep -v '^ *+' conftest.er1 >conftest.err
4632 cat conftest.err >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } &&
4635 { ac_try='test -z "$ac_c_werror_flag"
4636 || test ! -s conftest.err'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try='test -s conftest$ac_exeext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4648 ac_cv_lib_l_yywrap=yes
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.$ac_ext >&5
4653 ac_cv_lib_l_yywrap=no
4655 rm -f conftest.err conftest.$ac_objext \
4656 conftest$ac_exeext conftest.$ac_ext
4657 LIBS=$ac_check_lib_save_LIBS
4659 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4660 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4661 if test $ac_cv_lib_l_yywrap = yes; then
4662 HAVE_LIBLEX=yes ; cat >>confdefs.h <<\_ACEOF
4663 #define HAVE_LIBLEX 1
4678 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4679 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4680 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4681 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4691 #include <sys/types.h>
4703 rm -f conftest.$ac_objext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4705 (eval $ac_compile) 2>conftest.er1
4707 grep -v '^ *+' conftest.er1 >conftest.err
4709 cat conftest.err >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); } &&
4712 { ac_try='test -z "$ac_c_werror_flag"
4713 || test ! -s conftest.err'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; } &&
4719 { ac_try='test -s conftest.$ac_objext'
4720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); }; }; then
4725 eval "$as_ac_Header=yes"
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 eval "$as_ac_Header=no"
4732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4737 cat >>confdefs.h <<_ACEOF
4738 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4741 ac_header_dirent=$ac_hdr; break
4745 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4746 if test $ac_header_dirent = dirent.h; then
4747 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4748 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4749 if test "${ac_cv_search_opendir+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 ac_func_search_save_LIBS=$LIBS
4753 ac_cv_search_opendir=no
4754 cat >conftest.$ac_ext <<_ACEOF
4757 cat confdefs.h >>conftest.$ac_ext
4758 cat >>conftest.$ac_ext <<_ACEOF
4759 /* end confdefs.h. */
4761 /* Override any gcc2 internal prototype to avoid an error. */
4765 /* We use char because int might match the return type of a gcc2
4766 builtin and then its argument prototype would still apply. */
4776 rm -f conftest.$ac_objext conftest$ac_exeext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4778 (eval $ac_link) 2>conftest.er1
4780 grep -v '^ *+' conftest.er1 >conftest.err
4782 cat conftest.err >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } &&
4785 { ac_try='test -z "$ac_c_werror_flag"
4786 || test ! -s conftest.err'
4787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; } &&
4792 { ac_try='test -s conftest$ac_exeext'
4793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; }; then
4798 ac_cv_search_opendir="none required"
4800 echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4804 rm -f conftest.err conftest.$ac_objext \
4805 conftest$ac_exeext conftest.$ac_ext
4806 if test "$ac_cv_search_opendir" = no; then
4807 for ac_lib in dir; do
4808 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4809 cat >conftest.$ac_ext <<_ACEOF
4812 cat confdefs.h >>conftest.$ac_ext
4813 cat >>conftest.$ac_ext <<_ACEOF
4814 /* end confdefs.h. */
4816 /* Override any gcc2 internal prototype to avoid an error. */
4820 /* We use char because int might match the return type of a gcc2
4821 builtin and then its argument prototype would still apply. */
4831 rm -f conftest.$ac_objext conftest$ac_exeext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4833 (eval $ac_link) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1 >conftest.err
4837 cat conftest.err >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try='test -s conftest$ac_exeext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_cv_search_opendir="-l$ac_lib"
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4860 rm -f conftest.err conftest.$ac_objext \
4861 conftest$ac_exeext conftest.$ac_ext
4864 LIBS=$ac_func_search_save_LIBS
4866 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4867 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4868 if test "$ac_cv_search_opendir" != no; then
4869 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4874 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4875 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4876 if test "${ac_cv_search_opendir+set}" = set; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4879 ac_func_search_save_LIBS=$LIBS
4880 ac_cv_search_opendir=no
4881 cat >conftest.$ac_ext <<_ACEOF
4884 cat confdefs.h >>conftest.$ac_ext
4885 cat >>conftest.$ac_ext <<_ACEOF
4886 /* end confdefs.h. */
4888 /* Override any gcc2 internal prototype to avoid an error. */
4892 /* We use char because int might match the return type of a gcc2
4893 builtin and then its argument prototype would still apply. */
4903 rm -f conftest.$ac_objext conftest$ac_exeext
4904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4905 (eval $ac_link) 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } &&
4912 { ac_try='test -z "$ac_c_werror_flag"
4913 || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try='test -s conftest$ac_exeext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 ac_cv_search_opendir="none required"
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.$ac_ext >&5
4931 rm -f conftest.err conftest.$ac_objext \
4932 conftest$ac_exeext conftest.$ac_ext
4933 if test "$ac_cv_search_opendir" = no; then
4935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4936 cat >conftest.$ac_ext <<_ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4943 /* Override any gcc2 internal prototype to avoid an error. */
4947 /* We use char because int might match the return type of a gcc2
4948 builtin and then its argument prototype would still apply. */
4958 rm -f conftest.$ac_objext conftest$ac_exeext
4959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4960 (eval $ac_link) 2>conftest.er1
4962 grep -v '^ *+' conftest.er1 >conftest.err
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try='test -z "$ac_c_werror_flag"
4968 || test ! -s conftest.err'
4969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); }; } &&
4974 { ac_try='test -s conftest$ac_exeext'
4975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); }; }; then
4980 ac_cv_search_opendir="-l$ac_lib"
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.$ac_ext >&5
4987 rm -f conftest.err conftest.$ac_objext \
4988 conftest$ac_exeext conftest.$ac_ext
4991 LIBS=$ac_func_search_save_LIBS
4993 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4994 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4995 if test "$ac_cv_search_opendir" != no; then
4996 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5002 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5003 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5004 if test "${ac_cv_header_stdc+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5007 cat >conftest.$ac_ext <<_ACEOF
5010 cat confdefs.h >>conftest.$ac_ext
5011 cat >>conftest.$ac_ext <<_ACEOF
5012 /* end confdefs.h. */
5026 rm -f conftest.$ac_objext
5027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5028 (eval $ac_compile) 2>conftest.er1
5030 grep -v '^ *+' conftest.er1 >conftest.err
5032 cat conftest.err >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try='test -z "$ac_c_werror_flag"
5036 || test ! -s conftest.err'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; } &&
5042 { ac_try='test -s conftest.$ac_objext'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 ac_cv_header_stdc=yes
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.$ac_ext >&5
5053 ac_cv_header_stdc=no
5055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5057 if test $ac_cv_header_stdc = yes; then
5058 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5069 $EGREP "memchr" >/dev/null 2>&1; then
5072 ac_cv_header_stdc=no
5078 if test $ac_cv_header_stdc = yes; then
5079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5080 cat >conftest.$ac_ext <<_ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5090 $EGREP "free" >/dev/null 2>&1; then
5093 ac_cv_header_stdc=no
5099 if test $ac_cv_header_stdc = yes; then
5100 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5101 if test "$cross_compiling" = yes; then
5104 cat >conftest.$ac_ext <<_ACEOF
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
5109 /* end confdefs.h. */
5111 #if ((' ' & 0x0FF) == 0x020)
5112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5115 # define ISLOWER(c) \
5116 (('a' <= (c) && (c) <= 'i') \
5117 || ('j' <= (c) && (c) <= 'r') \
5118 || ('s' <= (c) && (c) <= 'z'))
5119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5127 for (i = 0; i < 256; i++)
5128 if (XOR (islower (i), ISLOWER (i))
5129 || toupper (i) != TOUPPER (i))
5134 rm -f conftest$ac_exeext
5135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5136 (eval $ac_link) 2>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; }; then
5147 echo "$as_me: program exited with status $ac_status" >&5
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5152 ac_cv_header_stdc=no
5154 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5158 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5159 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5160 if test $ac_cv_header_stdc = yes; then
5162 cat >>confdefs.h <<\_ACEOF
5163 #define STDC_HEADERS 1
5168 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5169 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5170 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 cat >conftest.$ac_ext <<_ACEOF
5176 cat confdefs.h >>conftest.$ac_ext
5177 cat >>conftest.$ac_ext <<_ACEOF
5178 /* end confdefs.h. */
5179 #include <sys/types.h>
5180 #include <sys/wait.h>
5182 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5185 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5193 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5198 rm -f conftest.$ac_objext
5199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5200 (eval $ac_compile) 2>conftest.er1
5202 grep -v '^ *+' conftest.er1 >conftest.err
5204 cat conftest.err >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } &&
5207 { ac_try='test -z "$ac_c_werror_flag"
5208 || test ! -s conftest.err'
5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); }; } &&
5214 { ac_try='test -s conftest.$ac_objext'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; }; then
5220 ac_cv_header_sys_wait_h=yes
5222 echo "$as_me: failed program was:" >&5
5223 sed 's/^/| /' conftest.$ac_ext >&5
5225 ac_cv_header_sys_wait_h=no
5227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5229 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5230 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5231 if test $ac_cv_header_sys_wait_h = yes; then
5233 cat >>confdefs.h <<\_ACEOF
5234 #define HAVE_SYS_WAIT_H 1
5249 for ac_header in fcntl.h limits.h malloc.h sys/file.h sys/ioctl.h sys/time.h syslog.h termio.h unistd.h sys/fsuid.h
5251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5253 echo "$as_me:$LINENO: checking for $ac_header" >&5
5254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5261 # Is the header compilable?
5262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5264 cat >conftest.$ac_ext <<_ACEOF
5267 cat confdefs.h >>conftest.$ac_ext
5268 cat >>conftest.$ac_ext <<_ACEOF
5269 /* end confdefs.h. */
5270 $ac_includes_default
5271 #include <$ac_header>
5273 rm -f conftest.$ac_objext
5274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5275 (eval $ac_compile) 2>conftest.er1
5277 grep -v '^ *+' conftest.er1 >conftest.err
5279 cat conftest.err >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -z "$ac_c_werror_flag"
5283 || test ! -s conftest.err'
5284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try='test -s conftest.$ac_objext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5295 ac_header_compiler=yes
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5300 ac_header_compiler=no
5302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5304 echo "${ECHO_T}$ac_header_compiler" >&6
5306 # Is the header present?
5307 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 #include <$ac_header>
5317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5320 grep -v '^ *+' conftest.er1 >conftest.err
5322 cat conftest.err >&5
5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324 (exit $ac_status); } >/dev/null; then
5325 if test -s conftest.err; then
5326 ac_cpp_err=$ac_c_preproc_warn_flag
5327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5334 if test -z "$ac_cpp_err"; then
5335 ac_header_preproc=yes
5337 echo "$as_me: failed program was:" >&5
5338 sed 's/^/| /' conftest.$ac_ext >&5
5340 ac_header_preproc=no
5342 rm -f conftest.err conftest.$ac_ext
5343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5344 echo "${ECHO_T}$ac_header_preproc" >&6
5346 # So? What about this header?
5347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5353 ac_header_preproc=yes
5356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5370 ## ------------------------------------------ ##
5371 ## Report this to the AC_PACKAGE_NAME lists. ##
5372 ## ------------------------------------------ ##
5375 sed "s/^/$as_me: WARNING: /" >&2
5378 echo "$as_me:$LINENO: checking for $ac_header" >&5
5379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 eval "$as_ac_Header=\$ac_header_preproc"
5385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5390 cat >>confdefs.h <<_ACEOF
5391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5400 for ac_header in features.h
5402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5404 echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5412 # Is the header compilable?
5413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5415 cat >conftest.$ac_ext <<_ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5421 $ac_includes_default
5422 #include <$ac_header>
5424 rm -f conftest.$ac_objext
5425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5426 (eval $ac_compile) 2>conftest.er1
5428 grep -v '^ *+' conftest.er1 >conftest.err
5430 cat conftest.err >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); } &&
5433 { ac_try='test -z "$ac_c_werror_flag"
5434 || test ! -s conftest.err'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; } &&
5440 { ac_try='test -s conftest.$ac_objext'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; }; then
5446 ac_header_compiler=yes
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5451 ac_header_compiler=no
5453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5455 echo "${ECHO_T}$ac_header_compiler" >&6
5457 # Is the header present?
5458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5460 cat >conftest.$ac_ext <<_ACEOF
5463 cat confdefs.h >>conftest.$ac_ext
5464 cat >>conftest.$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5466 #include <$ac_header>
5468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5471 grep -v '^ *+' conftest.er1 >conftest.err
5473 cat conftest.err >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } >/dev/null; then
5476 if test -s conftest.err; then
5477 ac_cpp_err=$ac_c_preproc_warn_flag
5478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5485 if test -z "$ac_cpp_err"; then
5486 ac_header_preproc=yes
5488 echo "$as_me: failed program was:" >&5
5489 sed 's/^/| /' conftest.$ac_ext >&5
5491 ac_header_preproc=no
5493 rm -f conftest.err conftest.$ac_ext
5494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5495 echo "${ECHO_T}$ac_header_preproc" >&6
5497 # So? What about this header?
5498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5504 ac_header_preproc=yes
5507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5521 ## ------------------------------------------ ##
5522 ## Report this to the AC_PACKAGE_NAME lists. ##
5523 ## ------------------------------------------ ##
5526 sed "s/^/$as_me: WARNING: /" >&2
5529 echo "$as_me:$LINENO: checking for $ac_header" >&5
5530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 eval "$as_ac_Header=\$ac_header_preproc"
5536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5541 cat >>confdefs.h <<_ACEOF
5542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5551 for ac_header in crypt.h
5553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5555 echo "$as_me:$LINENO: checking for $ac_header" >&5
5556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5563 # Is the header compilable?
5564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5566 cat >conftest.$ac_ext <<_ACEOF
5569 cat confdefs.h >>conftest.$ac_ext
5570 cat >>conftest.$ac_ext <<_ACEOF
5571 /* end confdefs.h. */
5572 $ac_includes_default
5573 #include <$ac_header>
5575 rm -f conftest.$ac_objext
5576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5577 (eval $ac_compile) 2>conftest.er1
5579 grep -v '^ *+' conftest.er1 >conftest.err
5581 cat conftest.err >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } &&
5584 { ac_try='test -z "$ac_c_werror_flag"
5585 || test ! -s conftest.err'
5586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); }; } &&
5591 { ac_try='test -s conftest.$ac_objext'
5592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); }; }; then
5597 ac_header_compiler=yes
5599 echo "$as_me: failed program was:" >&5
5600 sed 's/^/| /' conftest.$ac_ext >&5
5602 ac_header_compiler=no
5604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5606 echo "${ECHO_T}$ac_header_compiler" >&6
5608 # Is the header present?
5609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5611 cat >conftest.$ac_ext <<_ACEOF
5614 cat confdefs.h >>conftest.$ac_ext
5615 cat >>conftest.$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5617 #include <$ac_header>
5619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5622 grep -v '^ *+' conftest.er1 >conftest.err
5624 cat conftest.err >&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } >/dev/null; then
5627 if test -s conftest.err; then
5628 ac_cpp_err=$ac_c_preproc_warn_flag
5629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5636 if test -z "$ac_cpp_err"; then
5637 ac_header_preproc=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.$ac_ext >&5
5642 ac_header_preproc=no
5644 rm -f conftest.err conftest.$ac_ext
5645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5646 echo "${ECHO_T}$ac_header_preproc" >&6
5648 # So? What about this header?
5649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5655 ac_header_preproc=yes
5658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5672 ## ------------------------------------------ ##
5673 ## Report this to the AC_PACKAGE_NAME lists. ##
5674 ## ------------------------------------------ ##
5677 sed "s/^/$as_me: WARNING: /" >&2
5680 echo "$as_me:$LINENO: checking for $ac_header" >&5
5681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 eval "$as_ac_Header=\$ac_header_preproc"
5687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5692 cat >>confdefs.h <<_ACEOF
5693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5703 for ac_header in ndbm.h db.h
5705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5707 echo "$as_me:$LINENO: checking for $ac_header" >&5
5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5715 # Is the header compilable?
5716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5718 cat >conftest.$ac_ext <<_ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 $ac_includes_default
5725 #include <$ac_header>
5727 rm -f conftest.$ac_objext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5729 (eval $ac_compile) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1 >conftest.err
5733 cat conftest.err >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try='test -z "$ac_c_werror_flag"
5737 || test ! -s conftest.err'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; } &&
5743 { ac_try='test -s conftest.$ac_objext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5749 ac_header_compiler=yes
5751 echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.$ac_ext >&5
5754 ac_header_compiler=no
5756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5758 echo "${ECHO_T}$ac_header_compiler" >&6
5760 # Is the header present?
5761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5763 cat >conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 #include <$ac_header>
5771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5774 grep -v '^ *+' conftest.er1 >conftest.err
5776 cat conftest.err >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); } >/dev/null; then
5779 if test -s conftest.err; then
5780 ac_cpp_err=$ac_c_preproc_warn_flag
5781 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5788 if test -z "$ac_cpp_err"; then
5789 ac_header_preproc=yes
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.$ac_ext >&5
5794 ac_header_preproc=no
5796 rm -f conftest.err conftest.$ac_ext
5797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5798 echo "${ECHO_T}$ac_header_preproc" >&6
5800 # So? What about this header?
5801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5807 ac_header_preproc=yes
5810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5824 ## ------------------------------------------ ##
5825 ## Report this to the AC_PACKAGE_NAME lists. ##
5826 ## ------------------------------------------ ##
5829 sed "s/^/$as_me: WARNING: /" >&2
5832 echo "$as_me:$LINENO: checking for $ac_header" >&5
5833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 eval "$as_ac_Header=\$ac_header_preproc"
5839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5844 cat >>confdefs.h <<_ACEOF
5845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5852 HAVE_NDBM_H=$ac_cv_header_ndbm_h
5858 for ac_header in lastlog.h utmp.h utmpx.h
5860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5862 echo "$as_me:$LINENO: checking for $ac_header" >&5
5863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5868 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5870 # Is the header compilable?
5871 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5873 cat >conftest.$ac_ext <<_ACEOF
5876 cat confdefs.h >>conftest.$ac_ext
5877 cat >>conftest.$ac_ext <<_ACEOF
5878 /* end confdefs.h. */
5879 $ac_includes_default
5880 #include <$ac_header>
5882 rm -f conftest.$ac_objext
5883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5884 (eval $ac_compile) 2>conftest.er1
5886 grep -v '^ *+' conftest.er1 >conftest.err
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } &&
5891 { ac_try='test -z "$ac_c_werror_flag"
5892 || test ! -s conftest.err'
5893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); }; } &&
5898 { ac_try='test -s conftest.$ac_objext'
5899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); }; }; then
5904 ac_header_compiler=yes
5906 echo "$as_me: failed program was:" >&5
5907 sed 's/^/| /' conftest.$ac_ext >&5
5909 ac_header_compiler=no
5911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5913 echo "${ECHO_T}$ac_header_compiler" >&6
5915 # Is the header present?
5916 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5917 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5918 cat >conftest.$ac_ext <<_ACEOF
5921 cat confdefs.h >>conftest.$ac_ext
5922 cat >>conftest.$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 #include <$ac_header>
5926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5929 grep -v '^ *+' conftest.er1 >conftest.err
5931 cat conftest.err >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } >/dev/null; then
5934 if test -s conftest.err; then
5935 ac_cpp_err=$ac_c_preproc_warn_flag
5936 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5943 if test -z "$ac_cpp_err"; then
5944 ac_header_preproc=yes
5946 echo "$as_me: failed program was:" >&5
5947 sed 's/^/| /' conftest.$ac_ext >&5
5949 ac_header_preproc=no
5951 rm -f conftest.err conftest.$ac_ext
5952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5953 echo "${ECHO_T}$ac_header_preproc" >&6
5955 # So? What about this header?
5956 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5959 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5961 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5962 ac_header_preproc=yes
5965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5966 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5968 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5969 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5970 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5971 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5972 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5976 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5979 ## ------------------------------------------ ##
5980 ## Report this to the AC_PACKAGE_NAME lists. ##
5981 ## ------------------------------------------ ##
5984 sed "s/^/$as_me: WARNING: /" >&2
5987 echo "$as_me:$LINENO: checking for $ac_header" >&5
5988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 eval "$as_ac_Header=\$ac_header_preproc"
5994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5998 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5999 cat >>confdefs.h <<_ACEOF
6000 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6009 echo "$as_me:$LINENO: checking path to cracklib dictionary" >&5
6010 echo $ECHO_N "checking path to cracklib dictionary... $ECHO_C" >&6
6011 DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
6012 /usr/local/lib /usr/local/share/lib /usr/share/cracklib"
6013 DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
6014 CRACKLIB_DICTPATH=""
6015 for d in $DICT_DIR_CANDIDATES ; do
6016 for f in $DICT_FILE_CANDIDATES ; do
6017 if test -r $d/$f.hwm ; then
6018 CRACKLIB_DICTPATH=$d/$f
6020 elif test -r $d/dict/$f.hwm ; then
6021 CRACKLIB_DICTPATH=$d/dict/$f
6026 if test -z "$CRACKLIB_DICTPATH" ; then
6027 { echo "$as_me:$LINENO: WARNING: none found - pam_cracklib will not be built" >&5
6028 echo "$as_me: WARNING: none found - pam_cracklib will not be built" >&2;}
6030 echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
6031 echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6
6036 GCC_WARNINGS="-Wall -Wwrite-strings \
6037 -Wpointer-arith -Wcast-qual -Wcast-align \
6038 -Wstrict-prototypes -Wmissing-prototypes \
6039 -Wnested-externs -Winline -Wshadow"
6041 if test "$GCC" = yes; then
6043 ### May need per-OS attention
6044 ### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris.
6048 LD_D="$CC -shared $LDFLAGS"
6049 WARNINGS="$GCC_WARNINGS"
6053 LD_L="$CC -shared $LDFLAGS"
6056 CC_STATIC="-Xlinker -export-dynamic"
6059 OS_CFLAGS="-ansi -pedantic"
6060 LD_D="gcc -shared -Xlinker -x"
6061 WARNINGS="$GCC_WARNINGS"
6065 LD_L="$LD -x -shared"
6068 CC_STATIC="-Xlinker -export-dynamic"
6074 LD_L=ld -bexpall -bM:SRE -bnoentry
6085 ### Non-gcc needs attention on per-OS basis
6089 # add some stuff here (see sourceforge bug 534205)
6090 # DOCDIR=/System/Documentation/Administration/Libraries/PAM
6091 # MANDIR=/usr/share/man
6094 ### Support for Solaris-C
6099 LD_D="cc -z text -G -R."
6106 OSRELEASE=`uname -r`
6107 if test "$OSRELEASE" = 6.5; then
6109 WARNINGS="-fullwarn"
6110 PIC= #PIC code is default for IRIX
6111 LD="cc -shared" # modules friendly approach
6113 LD_L="ld -G -z redlocsym"
6118 echo "IRIX prior to 6.5 not allowed for"
6122 *) echo "Native compiler on $OS is not yet supported"
6139 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6140 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6141 if test "${ac_cv_c_bigendian+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 # See if sys/param.h defines the BYTE_ORDER macro.
6145 cat >conftest.$ac_ext <<_ACEOF
6148 cat confdefs.h >>conftest.$ac_ext
6149 cat >>conftest.$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6151 #include <sys/types.h>
6152 #include <sys/param.h>
6157 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6165 rm -f conftest.$ac_objext
6166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6167 (eval $ac_compile) 2>conftest.er1
6169 grep -v '^ *+' conftest.er1 >conftest.err
6171 cat conftest.err >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); } &&
6174 { ac_try='test -z "$ac_c_werror_flag"
6175 || test ! -s conftest.err'
6176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); }; } &&
6181 { ac_try='test -s conftest.$ac_objext'
6182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6187 # It does; now see whether it defined to BIG_ENDIAN or not.
6188 cat >conftest.$ac_ext <<_ACEOF
6191 cat confdefs.h >>conftest.$ac_ext
6192 cat >>conftest.$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6194 #include <sys/types.h>
6195 #include <sys/param.h>
6200 #if BYTE_ORDER != BIG_ENDIAN
6208 rm -f conftest.$ac_objext
6209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6210 (eval $ac_compile) 2>conftest.er1
6212 grep -v '^ *+' conftest.er1 >conftest.err
6214 cat conftest.err >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } &&
6217 { ac_try='test -z "$ac_c_werror_flag"
6218 || test ! -s conftest.err'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; } &&
6224 { ac_try='test -s conftest.$ac_objext'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; }; then
6230 ac_cv_c_bigendian=yes
6232 echo "$as_me: failed program was:" >&5
6233 sed 's/^/| /' conftest.$ac_ext >&5
6235 ac_cv_c_bigendian=no
6237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6239 echo "$as_me: failed program was:" >&5
6240 sed 's/^/| /' conftest.$ac_ext >&5
6242 # It does not; compile a test program.
6243 if test "$cross_compiling" = yes; then
6244 # try to guess the endianness by grepping values into an object file
6245 ac_cv_c_bigendian=unknown
6246 cat >conftest.$ac_ext <<_ACEOF
6249 cat confdefs.h >>conftest.$ac_ext
6250 cat >>conftest.$ac_ext <<_ACEOF
6251 /* end confdefs.h. */
6252 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6253 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6254 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6255 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6256 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6257 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6261 _ascii (); _ebcdic ();
6266 rm -f conftest.$ac_objext
6267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6268 (eval $ac_compile) 2>conftest.er1
6270 grep -v '^ *+' conftest.er1 >conftest.err
6272 cat conftest.err >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); } &&
6275 { ac_try='test -z "$ac_c_werror_flag"
6276 || test ! -s conftest.err'
6277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); }; } &&
6282 { ac_try='test -s conftest.$ac_objext'
6283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); }; }; then
6288 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6289 ac_cv_c_bigendian=yes
6291 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6292 if test "$ac_cv_c_bigendian" = unknown; then
6293 ac_cv_c_bigendian=no
6295 # finding both strings is unlikely to happen, but who knows?
6296 ac_cv_c_bigendian=unknown
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6306 cat >conftest.$ac_ext <<_ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6315 /* Are we little or big endian? From Harbison&Steele. */
6319 char c[sizeof (long)];
6322 exit (u.c[sizeof (long) - 1] == 1);
6325 rm -f conftest$ac_exeext
6326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6327 (eval $ac_link) 2>&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; }; then
6336 ac_cv_c_bigendian=no
6338 echo "$as_me: program exited with status $ac_status" >&5
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.$ac_ext >&5
6343 ac_cv_c_bigendian=yes
6345 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6350 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6351 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6352 case $ac_cv_c_bigendian in
6355 cat >>confdefs.h <<\_ACEOF
6356 #define WORDS_BIGENDIAN 1
6362 { { echo "$as_me:$LINENO: error: unknown endianness
6363 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6364 echo "$as_me: error: unknown endianness
6365 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6366 { (exit 1); exit 1; }; } ;;
6369 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6370 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6371 if test "${ac_cv_c_const+set}" = set; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 cat >conftest.$ac_ext <<_ACEOF
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6384 /* FIXME: Include the comments suggested by Paul. */
6386 /* Ultrix mips cc rejects this. */
6387 typedef int charset[2];
6389 /* SunOS 4.1.1 cc rejects this. */
6390 char const *const *ccp;
6392 /* NEC SVR4.0.2 mips cc rejects this. */
6393 struct point {int x, y;};
6394 static struct point const zero = {0,0};
6395 /* AIX XL C 1.02.0.0 rejects this.
6396 It does not let you subtract one const X* pointer from another in
6397 an arm of an if-expression whose if-part is not a constant
6399 const char *g = "string";
6400 ccp = &g + (g ? g-g : 0);
6401 /* HPUX 7.0 cc rejects these. */
6404 ccp = (char const *const *) p;
6405 { /* SCO 3.2v4 cc rejects this. */
6407 char const *s = 0 ? (char *) 0 : (char const *) 0;
6411 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6413 const int *foo = &x[0];
6416 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6417 typedef const int *iptr;
6421 { /* AIX XL C 1.02.0.0 rejects this saying
6422 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6423 struct s { int j; const int *ap[3]; };
6424 struct s *b; b->j = 5;
6426 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6435 rm -f conftest.$ac_objext
6436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6437 (eval $ac_compile) 2>conftest.er1
6439 grep -v '^ *+' conftest.er1 >conftest.err
6441 cat conftest.err >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } &&
6444 { ac_try='test -z "$ac_c_werror_flag"
6445 || test ! -s conftest.err'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; } &&
6451 { ac_try='test -s conftest.$ac_objext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6466 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6467 echo "${ECHO_T}$ac_cv_c_const" >&6
6468 if test $ac_cv_c_const = no; then
6470 cat >>confdefs.h <<\_ACEOF
6476 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6477 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6478 if test "${ac_cv_type_uid_t+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6481 cat >conftest.$ac_ext <<_ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6487 #include <sys/types.h>
6490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6491 $EGREP "uid_t" >/dev/null 2>&1; then
6492 ac_cv_type_uid_t=yes
6499 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6500 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6501 if test $ac_cv_type_uid_t = no; then
6503 cat >>confdefs.h <<\_ACEOF
6508 cat >>confdefs.h <<\_ACEOF
6514 echo "$as_me:$LINENO: checking for off_t" >&5
6515 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6516 if test "${ac_cv_type_off_t+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 cat >conftest.$ac_ext <<_ACEOF
6522 cat confdefs.h >>conftest.$ac_ext
6523 cat >>conftest.$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 $ac_includes_default
6537 rm -f conftest.$ac_objext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6539 (eval $ac_compile) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1 >conftest.err
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try='test -z "$ac_c_werror_flag"
6547 || test ! -s conftest.err'
6548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); }; } &&
6553 { ac_try='test -s conftest.$ac_objext'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6559 ac_cv_type_off_t=yes
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6568 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6569 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6570 if test $ac_cv_type_off_t = yes; then
6574 cat >>confdefs.h <<_ACEOF
6580 echo "$as_me:$LINENO: checking for pid_t" >&5
6581 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6582 if test "${ac_cv_type_pid_t+set}" = set; then
6583 echo $ECHO_N "(cached) $ECHO_C" >&6
6585 cat >conftest.$ac_ext <<_ACEOF
6588 cat confdefs.h >>conftest.$ac_ext
6589 cat >>conftest.$ac_ext <<_ACEOF
6590 /* end confdefs.h. */
6591 $ac_includes_default
6603 rm -f conftest.$ac_objext
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 2>conftest.er1
6607 grep -v '^ *+' conftest.er1 >conftest.err
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } &&
6612 { ac_try='test -z "$ac_c_werror_flag"
6613 || test ! -s conftest.err'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; } &&
6619 { ac_try='test -s conftest.$ac_objext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_type_pid_t=yes
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6634 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6635 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6636 if test $ac_cv_type_pid_t = yes; then
6640 cat >>confdefs.h <<_ACEOF
6646 echo "$as_me:$LINENO: checking for size_t" >&5
6647 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6648 if test "${ac_cv_type_size_t+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 cat >conftest.$ac_ext <<_ACEOF
6654 cat confdefs.h >>conftest.$ac_ext
6655 cat >>conftest.$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6657 $ac_includes_default
6663 if (sizeof (size_t))
6669 rm -f conftest.$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>conftest.er1
6673 grep -v '^ *+' conftest.er1 >conftest.err
6675 cat conftest.err >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try='test -z "$ac_c_werror_flag"
6679 || test ! -s conftest.err'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; } &&
6685 { ac_try='test -s conftest.$ac_objext'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; }; then
6691 ac_cv_type_size_t=yes
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 ac_cv_type_size_t=no
6698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6701 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6702 if test $ac_cv_type_size_t = yes; then
6706 cat >>confdefs.h <<_ACEOF
6707 #define size_t unsigned
6712 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6713 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6714 if test "${ac_cv_header_time+set}" = set; then
6715 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 cat >conftest.$ac_ext <<_ACEOF
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6723 #include <sys/types.h>
6724 #include <sys/time.h>
6730 if ((struct tm *) 0)
6736 rm -f conftest.$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738 (eval $ac_compile) 2>conftest.er1
6740 grep -v '^ *+' conftest.er1 >conftest.err
6742 cat conftest.err >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try='test -z "$ac_c_werror_flag"
6746 || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6758 ac_cv_header_time=yes
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.$ac_ext >&5
6763 ac_cv_header_time=no
6765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6768 echo "${ECHO_T}$ac_cv_header_time" >&6
6769 if test $ac_cv_header_time = yes; then
6771 cat >>confdefs.h <<\_ACEOF
6772 #define TIME_WITH_SYS_TIME 1
6777 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6778 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6779 if test "${ac_cv_struct_tm+set}" = set; then
6780 echo $ECHO_N "(cached) $ECHO_C" >&6
6782 cat >conftest.$ac_ext <<_ACEOF
6785 cat confdefs.h >>conftest.$ac_ext
6786 cat >>conftest.$ac_ext <<_ACEOF
6787 /* end confdefs.h. */
6788 #include <sys/types.h>
6794 struct tm *tp; tp->tm_sec;
6799 rm -f conftest.$ac_objext
6800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6801 (eval $ac_compile) 2>conftest.er1
6803 grep -v '^ *+' conftest.er1 >conftest.err
6805 cat conftest.err >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } &&
6808 { ac_try='test -z "$ac_c_werror_flag"
6809 || test ! -s conftest.err'
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; } &&
6815 { ac_try='test -s conftest.$ac_objext'
6816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; }; then
6821 ac_cv_struct_tm=time.h
6823 echo "$as_me: failed program was:" >&5
6824 sed 's/^/| /' conftest.$ac_ext >&5
6826 ac_cv_struct_tm=sys/time.h
6828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6830 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6831 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6832 if test $ac_cv_struct_tm = sys/time.h; then
6834 cat >>confdefs.h <<\_ACEOF
6835 #define TM_IN_SYS_TIME 1
6841 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
6842 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
6843 if test "${ac_cv_type_getgroups+set}" = set; then
6844 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 if test "$cross_compiling" = yes; then
6847 ac_cv_type_getgroups=cross
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 /* Thanks to Mike Rendell for this test. */
6856 #include <sys/types.h>
6859 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6866 union { gid_t gval; long lval; } val;
6869 for (i = 0; i < NGID; i++)
6870 gidset[i] = val.gval;
6871 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6873 /* Exit non-zero if getgroups seems to require an array of ints. This
6874 happens when gid_t is short but getgroups modifies an array of ints. */
6875 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
6878 rm -f conftest$ac_exeext
6879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6880 (eval $ac_link) 2>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; }; then
6889 ac_cv_type_getgroups=gid_t
6891 echo "$as_me: program exited with status $ac_status" >&5
6892 echo "$as_me: failed program was:" >&5
6893 sed 's/^/| /' conftest.$ac_ext >&5
6896 ac_cv_type_getgroups=int
6898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6900 if test $ac_cv_type_getgroups = cross; then
6901 cat >conftest.$ac_ext <<_ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6911 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
6912 ac_cv_type_getgroups=gid_t
6914 ac_cv_type_getgroups=int
6920 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6921 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6923 cat >>confdefs.h <<_ACEOF
6924 #define GETGROUPS_T $ac_cv_type_getgroups
6928 if test $ac_cv_c_compiler_gnu = yes; then
6929 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6930 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6931 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 ac_pattern="Autoconf.*'x'"
6935 cat >conftest.$ac_ext <<_ACEOF
6938 cat confdefs.h >>conftest.$ac_ext
6939 cat >>conftest.$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6945 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6946 ac_cv_prog_gcc_traditional=yes
6948 ac_cv_prog_gcc_traditional=no
6953 if test $ac_cv_prog_gcc_traditional = no; then
6954 cat >conftest.$ac_ext <<_ACEOF
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6964 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6965 ac_cv_prog_gcc_traditional=yes
6971 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6972 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6973 if test $ac_cv_prog_gcc_traditional = yes; then
6974 CC="$CC -traditional"
6978 echo "$as_me:$LINENO: checking for working memcmp" >&5
6979 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
6980 if test "${ac_cv_func_memcmp_working+set}" = set; then
6981 echo $ECHO_N "(cached) $ECHO_C" >&6
6983 if test "$cross_compiling" = yes; then
6984 ac_cv_func_memcmp_working=no
6986 cat >conftest.$ac_ext <<_ACEOF
6989 cat confdefs.h >>conftest.$ac_ext
6990 cat >>conftest.$ac_ext <<_ACEOF
6991 /* end confdefs.h. */
6992 $ac_includes_default
6997 /* Some versions of memcmp are not 8-bit clean. */
6998 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6999 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7002 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7003 or more and with at least one buffer not starting on a 4-byte boundary.
7004 William Lewis provided this test program. */
7009 for (i = 0; i < 4; i++)
7013 strcpy (a, "--------01111111");
7014 strcpy (b, "--------10000000");
7015 if (memcmp (a, b, 16) >= 0)
7025 rm -f conftest$ac_exeext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7027 (eval $ac_link) 2>&5
7029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); }; }; then
7036 ac_cv_func_memcmp_working=yes
7038 echo "$as_me: program exited with status $ac_status" >&5
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.$ac_ext >&5
7043 ac_cv_func_memcmp_working=no
7045 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7048 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7049 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
7050 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
7051 "memcmp.$ac_objext" | \
7052 *" memcmp.$ac_objext" | \
7053 "memcmp.$ac_objext "* | \
7054 *" memcmp.$ac_objext "* ) ;;
7055 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
7060 for ac_func in vprintf
7062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7063 echo "$as_me:$LINENO: checking for $ac_func" >&5
7064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7065 if eval "test \"\${$as_ac_var+set}\" = set"; then
7066 echo $ECHO_N "(cached) $ECHO_C" >&6
7068 cat >conftest.$ac_ext <<_ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7076 #define $ac_func innocuous_$ac_func
7078 /* System header to define __stub macros and hopefully few prototypes,
7079 which can conflict with char $ac_func (); below.
7080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7081 <limits.h> exists even on freestanding compilers. */
7084 # include <limits.h>
7086 # include <assert.h>
7091 /* Override any gcc2 internal prototype to avoid an error. */
7096 /* We use char because int might match the return type of a gcc2
7097 builtin and then its argument prototype would still apply. */
7099 /* The GNU C library defines this for functions which it implements
7100 to always fail with ENOSYS. Some functions are actually named
7101 something starting with __ and the normal name is an alias. */
7102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7105 char (*f) () = $ac_func;
7114 return f != $ac_func;
7119 rm -f conftest.$ac_objext conftest$ac_exeext
7120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7121 (eval $ac_link) 2>conftest.er1
7123 grep -v '^ *+' conftest.er1 >conftest.err
7125 cat conftest.err >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } &&
7128 { ac_try='test -z "$ac_c_werror_flag"
7129 || test ! -s conftest.err'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; } &&
7135 { ac_try='test -s conftest$ac_exeext'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); }; }; then
7141 eval "$as_ac_var=yes"
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 eval "$as_ac_var=no"
7148 rm -f conftest.err conftest.$ac_objext \
7149 conftest$ac_exeext conftest.$ac_ext
7151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7153 if test `eval echo '${'$as_ac_var'}'` = yes; then
7154 cat >>confdefs.h <<_ACEOF
7155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7158 echo "$as_me:$LINENO: checking for _doprnt" >&5
7159 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7160 if test "${ac_cv_func__doprnt+set}" = set; then
7161 echo $ECHO_N "(cached) $ECHO_C" >&6
7163 cat >conftest.$ac_ext <<_ACEOF
7166 cat confdefs.h >>conftest.$ac_ext
7167 cat >>conftest.$ac_ext <<_ACEOF
7168 /* end confdefs.h. */
7169 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7171 #define _doprnt innocuous__doprnt
7173 /* System header to define __stub macros and hopefully few prototypes,
7174 which can conflict with char _doprnt (); below.
7175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 <limits.h> exists even on freestanding compilers. */
7179 # include <limits.h>
7181 # include <assert.h>
7186 /* Override any gcc2 internal prototype to avoid an error. */
7191 /* We use char because int might match the return type of a gcc2
7192 builtin and then its argument prototype would still apply. */
7194 /* The GNU C library defines this for functions which it implements
7195 to always fail with ENOSYS. Some functions are actually named
7196 something starting with __ and the normal name is an alias. */
7197 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7200 char (*f) () = _doprnt;
7209 return f != _doprnt;
7214 rm -f conftest.$ac_objext conftest$ac_exeext
7215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7216 (eval $ac_link) 2>conftest.er1
7218 grep -v '^ *+' conftest.er1 >conftest.err
7220 cat conftest.err >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } &&
7223 { ac_try='test -z "$ac_c_werror_flag"
7224 || test ! -s conftest.err'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; } &&
7230 { ac_try='test -s conftest$ac_exeext'
7231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 (exit $ac_status); }; }; then
7236 ac_cv_func__doprnt=yes
7238 echo "$as_me: failed program was:" >&5
7239 sed 's/^/| /' conftest.$ac_ext >&5
7241 ac_cv_func__doprnt=no
7243 rm -f conftest.err conftest.$ac_objext \
7244 conftest$ac_exeext conftest.$ac_ext
7246 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7247 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7248 if test $ac_cv_func__doprnt = yes; then
7250 cat >>confdefs.h <<\_ACEOF
7251 #define HAVE_DOPRNT 1
7271 for ac_func in gethostname gettimeofday mkdir select strcspn strdup strerror strspn strstr strtol uname
7273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7274 echo "$as_me:$LINENO: checking for $ac_func" >&5
7275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7276 if eval "test \"\${$as_ac_var+set}\" = set"; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 cat >conftest.$ac_ext <<_ACEOF
7282 cat confdefs.h >>conftest.$ac_ext
7283 cat >>conftest.$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7287 #define $ac_func innocuous_$ac_func
7289 /* System header to define __stub macros and hopefully few prototypes,
7290 which can conflict with char $ac_func (); below.
7291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7292 <limits.h> exists even on freestanding compilers. */
7295 # include <limits.h>
7297 # include <assert.h>
7302 /* Override any gcc2 internal prototype to avoid an error. */
7307 /* We use char because int might match the return type of a gcc2
7308 builtin and then its argument prototype would still apply. */
7310 /* The GNU C library defines this for functions which it implements
7311 to always fail with ENOSYS. Some functions are actually named
7312 something starting with __ and the normal name is an alias. */
7313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7316 char (*f) () = $ac_func;
7325 return f != $ac_func;
7330 rm -f conftest.$ac_objext conftest$ac_exeext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7332 (eval $ac_link) 2>conftest.er1
7334 grep -v '^ *+' conftest.er1 >conftest.err
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try='test -z "$ac_c_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try='test -s conftest$ac_exeext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 eval "$as_ac_var=yes"
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 eval "$as_ac_var=no"
7359 rm -f conftest.err conftest.$ac_objext \
7360 conftest$ac_exeext conftest.$ac_ext
7362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7364 if test `eval echo '${'$as_ac_var'}'` = yes; then
7365 cat >>confdefs.h <<_ACEOF
7366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7379 for ac_func in getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r getgrouplist
7381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7382 echo "$as_me:$LINENO: checking for $ac_func" >&5
7383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7384 if eval "test \"\${$as_ac_var+set}\" = set"; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 cat >conftest.$ac_ext <<_ACEOF
7390 cat confdefs.h >>conftest.$ac_ext
7391 cat >>conftest.$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7395 #define $ac_func innocuous_$ac_func
7397 /* System header to define __stub macros and hopefully few prototypes,
7398 which can conflict with char $ac_func (); below.
7399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7400 <limits.h> exists even on freestanding compilers. */
7403 # include <limits.h>
7405 # include <assert.h>
7410 /* Override any gcc2 internal prototype to avoid an error. */
7415 /* We use char because int might match the return type of a gcc2
7416 builtin and then its argument prototype would still apply. */
7418 /* The GNU C library defines this for functions which it implements
7419 to always fail with ENOSYS. Some functions are actually named
7420 something starting with __ and the normal name is an alias. */
7421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7424 char (*f) () = $ac_func;
7433 return f != $ac_func;
7438 rm -f conftest.$ac_objext conftest$ac_exeext
7439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7440 (eval $ac_link) 2>conftest.er1
7442 grep -v '^ *+' conftest.er1 >conftest.err
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } &&
7447 { ac_try='test -z "$ac_c_werror_flag"
7448 || test ! -s conftest.err'
7449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); }; } &&
7454 { ac_try='test -s conftest$ac_exeext'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; }; then
7460 eval "$as_ac_var=yes"
7462 echo "$as_me: failed program was:" >&5
7463 sed 's/^/| /' conftest.$ac_ext >&5
7465 eval "$as_ac_var=no"
7467 rm -f conftest.err conftest.$ac_objext \
7468 conftest$ac_exeext conftest.$ac_ext
7470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7472 if test `eval echo '${'$as_ac_var'}'` = yes; then
7473 cat >>confdefs.h <<_ACEOF
7474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7481 # Extract the first word of "sgml2txt", so it can be a program name with args.
7482 set dummy sgml2txt; ac_word=$2
7483 echo "$as_me:$LINENO: checking for $ac_word" >&5
7484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7485 if test "${ac_cv_prog_HAVE_SGML2TXT+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 if test -n "$HAVE_SGML2TXT"; then
7489 ac_cv_prog_HAVE_SGML2TXT="$HAVE_SGML2TXT" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7498 ac_cv_prog_HAVE_SGML2TXT="yes"
7499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7505 test -z "$ac_cv_prog_HAVE_SGML2TXT" && ac_cv_prog_HAVE_SGML2TXT="no"
7508 HAVE_SGML2TXT=$ac_cv_prog_HAVE_SGML2TXT
7509 if test -n "$HAVE_SGML2TXT"; then
7510 echo "$as_me:$LINENO: result: $HAVE_SGML2TXT" >&5
7511 echo "${ECHO_T}$HAVE_SGML2TXT" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7517 # Extract the first word of "sgml2html", so it can be a program name with args.
7518 set dummy sgml2html; ac_word=$2
7519 echo "$as_me:$LINENO: checking for $ac_word" >&5
7520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7521 if test "${ac_cv_prog_HAVE_SGML2HTML+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6
7524 if test -n "$HAVE_SGML2HTML"; then
7525 ac_cv_prog_HAVE_SGML2HTML="$HAVE_SGML2HTML" # Let the user override the test.
7527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 test -z "$as_dir" && as_dir=.
7532 for ac_exec_ext in '' $ac_executable_extensions; do
7533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7534 ac_cv_prog_HAVE_SGML2HTML="yes"
7535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 test -z "$ac_cv_prog_HAVE_SGML2HTML" && ac_cv_prog_HAVE_SGML2HTML="no"
7544 HAVE_SGML2HTML=$ac_cv_prog_HAVE_SGML2HTML
7545 if test -n "$HAVE_SGML2HTML"; then
7546 echo "$as_me:$LINENO: result: $HAVE_SGML2HTML" >&5
7547 echo "${ECHO_T}$HAVE_SGML2HTML" >&6
7549 echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6
7553 # Extract the first word of "sgml2latex", so it can be a program name with args.
7554 set dummy sgml2latex; ac_word=$2
7555 echo "$as_me:$LINENO: checking for $ac_word" >&5
7556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7557 if test "${ac_cv_prog_HAVE_SGML2LATEX+set}" = set; then
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
7560 if test -n "$HAVE_SGML2LATEX"; then
7561 ac_cv_prog_HAVE_SGML2LATEX="$HAVE_SGML2LATEX" # Let the user override the test.
7563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 test -z "$as_dir" && as_dir=.
7568 for ac_exec_ext in '' $ac_executable_extensions; do
7569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7570 ac_cv_prog_HAVE_SGML2LATEX="yes"
7571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7577 test -z "$ac_cv_prog_HAVE_SGML2LATEX" && ac_cv_prog_HAVE_SGML2LATEX="no"
7580 HAVE_SGML2LATEX=$ac_cv_prog_HAVE_SGML2LATEX
7581 if test -n "$HAVE_SGML2LATEX"; then
7582 echo "$as_me:$LINENO: result: $HAVE_SGML2LATEX" >&5
7583 echo "${ECHO_T}$HAVE_SGML2LATEX" >&6
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7589 if test $HAVE_SGML2LATEX = "yes" ; then
7590 if sgml2latex -h | grep -e --paper | grep ' -p ' > /dev/null ; then
7591 PSER="sgml2latex -o ps"
7593 PSER="sgml2latex -p"
7595 # Extract the first word of "ps2pdf", so it can be a program name with args.
7596 set dummy ps2pdf; ac_word=$2
7597 echo "$as_me:$LINENO: checking for $ac_word" >&5
7598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7599 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
7600 echo $ECHO_N "(cached) $ECHO_C" >&6
7602 if test -n "$HAVE_PS2PDF"; then
7603 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612 ac_cv_prog_HAVE_PS2PDF="yes"
7613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
7622 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
7623 if test -n "$HAVE_PS2PDF"; then
7624 echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
7625 echo "${ECHO_T}$HAVE_PS2PDF" >&6
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7632 # Extract the first word of "sgml2ps", so it can be a program name with args.
7633 set dummy sgml2ps; ac_word=$2
7634 echo "$as_me:$LINENO: checking for $ac_word" >&5
7635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7636 if test "${ac_cv_prog_HAVE_SGML2PS+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 if test -n "$HAVE_SGML2PS"; then
7640 ac_cv_prog_HAVE_SGML2PS="$HAVE_SGML2PS" # Let the user override the test.
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir=.
7647 for ac_exec_ext in '' $ac_executable_extensions; do
7648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649 ac_cv_prog_HAVE_SGML2PS="yes"
7650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7656 test -z "$ac_cv_prog_HAVE_SGML2PS" && ac_cv_prog_HAVE_SGML2PS="no"
7659 HAVE_SGML2PS=$ac_cv_prog_HAVE_SGML2PS
7660 if test -n "$HAVE_SGML2PS"; then
7661 echo "$as_me:$LINENO: result: $HAVE_SGML2PS" >&5
7662 echo "${ECHO_T}$HAVE_SGML2PS" >&6
7664 echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6
7668 if test $HAVE_SGML2PS = yes ; then
7675 ac_config_files="$ac_config_files Make.Rules"
7676 cat >confcache <<\_ACEOF
7677 # This file is a shell script that caches the results of configure
7678 # tests run on this system so they can be shared between configure
7679 # scripts and configure runs, see configure's option --config-cache.
7680 # It is not useful on other systems. If it contains results you don't
7681 # want to keep, you may remove or edit it.
7683 # config.status only pays attention to the cache file if you give it
7684 # the --recheck option to rerun configure.
7686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7692 # The following way of writing the cache mishandles newlines in values,
7693 # but we know of no workaround that is simple, portable, and efficient.
7694 # So, don't put newlines in cache variables' values.
7695 # Ultrix sh set writes to stderr and can't be redirected directly,
7696 # and sets the high bit in the cache file unless we assign to the vars.
7699 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7701 # `set' does not quote correctly, so add quotes (double-quote
7702 # substitution turns \\\\ into \\, and sed turns \\ into \).
7705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7708 # `set' quotes correctly as required by POSIX, so do not add quotes.
7710 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7717 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7719 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7721 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7722 if test -w $cache_file; then
7723 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7724 cat confcache >$cache_file
7726 echo "not updating unwritable cache $cache_file"
7731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7732 # Let make expand exec_prefix.
7733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7735 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7736 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7737 # trailing colons and then remove the whole line if VPATH becomes empty
7738 # (actually we leave an empty line to preserve line numbers).
7739 if test "x$srcdir" = x.; then
7740 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7741 s/:*\$(srcdir):*/:/;
7742 s/:*\${srcdir}:*/:/;
7744 s/^\([^=]*=[ ]*\):*/\1/;
7750 DEFS=-DHAVE_CONFIG_H
7754 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7755 # 1. Remove the extension, and $U if already installed.
7756 ac_i=`echo "$ac_i" |
7757 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7759 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7760 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7764 LTLIBOBJS=$ac_ltlibobjs
7768 : ${CONFIG_STATUS=./config.status}
7769 ac_clean_files_save=$ac_clean_files
7770 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7771 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7772 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7773 cat >$CONFIG_STATUS <<_ACEOF
7775 # Generated by $as_me.
7776 # Run this file to recreate the current configuration.
7777 # Compiler output produced by configure, useful for debugging
7778 # configure, is in config.log if it exists.
7783 SHELL=\${CONFIG_SHELL-$SHELL}
7786 cat >>$CONFIG_STATUS <<\_ACEOF
7787 ## --------------------- ##
7788 ## M4sh Initialization. ##
7789 ## --------------------- ##
7791 # Be Bourne compatible
7792 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7795 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7796 # is contrary to our usage. Disable this feature.
7797 alias -g '${1+"$@"}'='"$@"'
7798 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7801 DUALCASE=1; export DUALCASE # for MKS sh
7803 # Support unset when possible.
7804 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7811 # Work around bugs in pre-3.0 UWIN ksh.
7812 $as_unset ENV MAIL MAILPATH
7819 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7820 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7821 LC_TELEPHONE LC_TIME
7823 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7824 eval $as_var=C; export $as_var
7830 # Required to use basename.
7831 if expr a : '\(a\)' >/dev/null 2>&1; then
7837 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7838 as_basename=basename
7844 # Name of the executable.
7845 as_me=`$as_basename "$0" ||
7846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7847 X"$0" : 'X\(//\)$' \| \
7848 X"$0" : 'X\(/\)$' \| \
7849 . : '\(.\)' 2>/dev/null ||
7851 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7852 /^X\/\(\/\/\)$/{ s//\1/; q; }
7853 /^X\/\(\/\).*/{ s//\1/; q; }
7857 # PATH needs CR, and LINENO needs CR and PATH.
7858 # Avoid depending upon Character Ranges.
7859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7862 as_cr_digits='0123456789'
7863 as_cr_alnum=$as_cr_Letters$as_cr_digits
7865 # The user is always right.
7866 if test "${PATH_SEPARATOR+set}" != set; then
7867 echo "#! /bin/sh" >conf$$.sh
7868 echo "exit 0" >>conf$$.sh
7870 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7881 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7882 test "x$as_lineno_1" != "x$as_lineno_2" &&
7883 test "x$as_lineno_3" = "x$as_lineno_2" || {
7884 # Find who we are. Look in the path if we contain no path at all
7887 *[\\/]* ) as_myself=$0 ;;
7888 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir=.
7893 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7898 # We did not find ourselves, most probably we were run as `sh COMMAND'
7899 # in which case we are not to be found in the path.
7900 if test "x$as_myself" = x; then
7903 if test ! -f "$as_myself"; then
7904 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7905 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7906 { (exit 1); exit 1; }; }
7908 case $CONFIG_SHELL in
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7914 test -z "$as_dir" && as_dir=.
7915 for as_base in sh bash ksh sh5; do
7918 if ("$as_dir/$as_base" -c '
7921 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7922 test "x$as_lineno_1" != "x$as_lineno_2" &&
7923 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7924 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7925 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7926 CONFIG_SHELL=$as_dir/$as_base
7928 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7936 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7937 # uniformly replaced by the line number. The first 'sed' inserts a
7938 # line-number line before each line; the second 'sed' does the real
7939 # work. The second script uses 'N' to pair each line-number line
7940 # with the numbered line, and appends trailing '-' during
7941 # substitution so that $LINENO is not a special case at line end.
7942 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7943 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7944 sed '=' <$as_myself |
7949 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7952 s,^['$as_cr_digits']*\n,,
7954 chmod +x $as_me.lineno ||
7955 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7956 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7957 { (exit 1); exit 1; }; }
7959 # Don't try to exec as it changes $[0], causing all sort of problems
7960 # (the dirname of $[0] is not the place where we might find the
7961 # original and so on. Autoconf is especially sensible to this).
7963 # Exit status is that of the last command.
7968 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7969 *c*,-n*) ECHO_N= ECHO_C='
7971 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7972 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7975 if expr a : '\(a\)' >/dev/null 2>&1; then
7981 rm -f conf$$ conf$$.exe conf$$.file
7983 if ln -s conf$$.file conf$$ 2>/dev/null; then
7984 # We could just check for DJGPP; but this test a) works b) is more generic
7985 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7986 if test -f conf$$.exe; then
7987 # Don't use ln at all; we don't have any links
7992 elif ln conf$$.file conf$$ 2>/dev/null; then
7997 rm -f conf$$ conf$$.exe conf$$.file
7999 if mkdir -p . 2>/dev/null; then
8002 test -d ./-p && rmdir ./-p
8006 as_executable_p="test -f"
8008 # Sed expression to map a string onto a valid CPP name.
8009 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8011 # Sed expression to map a string onto a valid variable name.
8012 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8016 # We need space, tab and new line, in precisely that order.
8026 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8027 # report actual input values of CONFIG_FILES etc. instead of their
8028 # values after options handling. Logging --version etc. is OK.
8032 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8033 ## Running $as_me. ##
8038 This file was extended by $as_me, which was
8039 generated by GNU Autoconf 2.59. Invocation command line was
8041 CONFIG_FILES = $CONFIG_FILES
8042 CONFIG_HEADERS = $CONFIG_HEADERS
8043 CONFIG_LINKS = $CONFIG_LINKS
8044 CONFIG_COMMANDS = $CONFIG_COMMANDS
8048 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8052 # Files that config.status was made for.
8053 if test -n "$ac_config_files"; then
8054 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8057 if test -n "$ac_config_headers"; then
8058 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8061 if test -n "$ac_config_links"; then
8062 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8065 if test -n "$ac_config_commands"; then
8066 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8069 cat >>$CONFIG_STATUS <<\_ACEOF
8072 \`$as_me' instantiates files from templates according to the
8073 current configuration.
8075 Usage: $0 [OPTIONS] [FILE]...
8077 -h, --help print this help, then exit
8078 -V, --version print version number, then exit
8079 -q, --quiet do not print progress messages
8080 -d, --debug don't remove temporary files
8081 --recheck update $as_me by reconfiguring in the same conditions
8082 --file=FILE[:TEMPLATE]
8083 instantiate the configuration file FILE
8084 --header=FILE[:TEMPLATE]
8085 instantiate the configuration header FILE
8087 Configuration files:
8090 Configuration headers:
8093 Report bugs to <bug-autoconf@gnu.org>."
8096 cat >>$CONFIG_STATUS <<_ACEOF
8099 configured by $0, generated by GNU Autoconf 2.59,
8100 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8102 Copyright (C) 2003 Free Software Foundation, Inc.
8103 This config.status script is free software; the Free Software Foundation
8104 gives unlimited permission to copy, distribute and modify it."
8109 cat >>$CONFIG_STATUS <<\_ACEOF
8110 # If no file are specified by the user, then we need to provide default
8111 # value. By we need to know if files were specified by the user.
8117 ac_option=`expr "x$1" : 'x\([^=]*\)='`
8118 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8126 *) # This is not an option, so the user has probably given explicit
8129 ac_need_defaults=false;;
8133 # Handling of the options.
8135 cat >>$CONFIG_STATUS <<\_ACEOF
8136 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8138 --version | --vers* | -V )
8139 echo "$ac_cs_version"; exit 0 ;;
8141 # Conflict between --help and --header
8142 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8143 Try \`$0 --help' for more information." >&5
8144 echo "$as_me: error: ambiguous option: $1
8145 Try \`$0 --help' for more information." >&2;}
8146 { (exit 1); exit 1; }; };;
8147 --help | --hel | -h )
8148 echo "$ac_cs_usage"; exit 0 ;;
8149 --debug | --d* | -d )
8151 --file | --fil | --fi | --f )
8153 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8154 ac_need_defaults=false;;
8155 --header | --heade | --head | --hea )
8157 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8158 ac_need_defaults=false;;
8159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8160 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8164 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8165 Try \`$0 --help' for more information." >&5
8166 echo "$as_me: error: unrecognized option: $1
8167 Try \`$0 --help' for more information." >&2;}
8168 { (exit 1); exit 1; }; } ;;
8170 *) ac_config_targets="$ac_config_targets $1" ;;
8176 ac_configure_extra_args=
8178 if $ac_cs_silent; then
8180 ac_configure_extra_args="$ac_configure_extra_args --silent"
8184 cat >>$CONFIG_STATUS <<_ACEOF
8185 if \$ac_cs_recheck; then
8186 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8187 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8196 cat >>$CONFIG_STATUS <<\_ACEOF
8197 for ac_config_target in $ac_config_targets
8199 case "$ac_config_target" in
8200 # Handling of arguments.
8201 "Make.Rules" ) CONFIG_FILES="$CONFIG_FILES Make.Rules" ;;
8202 "_pam_aconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS _pam_aconf.h" ;;
8203 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8204 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8205 { (exit 1); exit 1; }; };;
8209 # If the user did not use the arguments to specify the items to instantiate,
8210 # then the envvar interface is used. Set only those that are not.
8211 # We use the long form for the default assignment because of an extremely
8212 # bizarre bug on SunOS 4.1.3.
8213 if $ac_need_defaults; then
8214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8218 # Have a temporary directory for convenience. Make it in the build tree
8219 # simply because there is no reason to put it here, and in addition,
8220 # creating and moving files from /tmp can sometimes cause problems.
8221 # Create a temporary directory, and hook for its removal unless debugging.
8224 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8225 trap '{ (exit 1); exit 1; }' 1 2 13 15
8228 # Create a (secure) tmp directory for tmp files.
8231 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8232 test -n "$tmp" && test -d "$tmp"
8235 tmp=./confstat$$-$RANDOM
8236 (umask 077 && mkdir $tmp)
8239 echo "$me: cannot create a temporary directory in ." >&2
8240 { (exit 1); exit 1; }
8245 cat >>$CONFIG_STATUS <<_ACEOF
8248 # CONFIG_FILES section.
8251 # No need to generate the scripts if there are no CONFIG_FILES.
8252 # This happens for instance when ./config.status config.h
8253 if test -n "\$CONFIG_FILES"; then
8254 # Protect against being on the right side of a sed subst in config.status.
8255 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8256 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8257 s,@SHELL@,$SHELL,;t t
8258 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8259 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8260 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8261 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8262 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8263 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8264 s,@exec_prefix@,$exec_prefix,;t t
8265 s,@prefix@,$prefix,;t t
8266 s,@program_transform_name@,$program_transform_name,;t t
8267 s,@bindir@,$bindir,;t t
8268 s,@sbindir@,$sbindir,;t t
8269 s,@libexecdir@,$libexecdir,;t t
8270 s,@datadir@,$datadir,;t t
8271 s,@sysconfdir@,$sysconfdir,;t t
8272 s,@sharedstatedir@,$sharedstatedir,;t t
8273 s,@localstatedir@,$localstatedir,;t t
8274 s,@libdir@,$libdir,;t t
8275 s,@includedir@,$includedir,;t t
8276 s,@oldincludedir@,$oldincludedir,;t t
8277 s,@infodir@,$infodir,;t t
8278 s,@mandir@,$mandir,;t t
8279 s,@build_alias@,$build_alias,;t t
8280 s,@host_alias@,$host_alias,;t t
8281 s,@target_alias@,$target_alias,;t t
8283 s,@ECHO_C@,$ECHO_C,;t t
8284 s,@ECHO_N@,$ECHO_N,;t t
8285 s,@ECHO_T@,$ECHO_T,;t t
8287 s,@LIBPAM_VERSION_MAJOR@,$LIBPAM_VERSION_MAJOR,;t t
8288 s,@LIBPAM_VERSION_MINOR@,$LIBPAM_VERSION_MINOR,;t t
8289 s,@LOCALSRCDIR@,$LOCALSRCDIR,;t t
8290 s,@LOCALOBJDIR@,$LOCALOBJDIR,;t t
8292 s,@CONF_CFLAGS@,$CONF_CFLAGS,;t t
8293 s,@MKDIR@,$MKDIR,;t t
8294 s,@SHLIBMODE@,$SHLIBMODE,;t t
8295 s,@MANMODE@,$MANMODE,;t t
8296 s,@USESONAME@,$USESONAME,;t t
8297 s,@SOSWITCH@,$SOSWITCH,;t t
8298 s,@NEEDSONAME@,$NEEDSONAME,;t t
8299 s,@LDCONFIG@,$LDCONFIG,;t t
8301 s,@CFLAGS@,$CFLAGS,;t t
8302 s,@LDFLAGS@,$LDFLAGS,;t t
8303 s,@CPPFLAGS@,$CPPFLAGS,;t t
8304 s,@ac_ct_CC@,$ac_ct_CC,;t t
8305 s,@EXEEXT@,$EXEEXT,;t t
8306 s,@OBJEXT@,$OBJEXT,;t t
8309 s,@LEXLIB@,$LEXLIB,;t t
8310 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8311 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8312 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8313 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8315 s,@SET_MAKE@,$SET_MAKE,;t t
8316 s,@WITH_DEBUG@,$WITH_DEBUG,;t t
8317 s,@WITH_MEMORY_DEBUG@,$WITH_MEMORY_DEBUG,;t t
8318 s,@WITH_LIBDEBUG@,$WITH_LIBDEBUG,;t t
8319 s,@WITH_PRELUDE@,$WITH_PRELUDE,;t t
8320 s,@FAKEROOT@,$FAKEROOT,;t t
8321 s,@SECUREDIR@,$SECUREDIR,;t t
8322 s,@SCONFIGDIR@,$SCONFIGDIR,;t t
8323 s,@SUPLEMENTED@,$SUPLEMENTED,;t t
8324 s,@INCLUDEDIR@,$INCLUDEDIR,;t t
8325 s,@DOCDIR@,$DOCDIR,;t t
8326 s,@MANDIR@,$MANDIR,;t t
8327 s,@WITH_PAMLOCKING@,$WITH_PAMLOCKING,;t t
8328 s,@PAM_READ_BOTH_CONFS@,$PAM_READ_BOTH_CONFS,;t t
8329 s,@STATIC_LIBPAM@,$STATIC_LIBPAM,;t t
8330 s,@DYNAMIC_LIBPAM@,$DYNAMIC_LIBPAM,;t t
8331 s,@DYNAMIC@,$DYNAMIC,;t t
8332 s,@STATIC@,$STATIC,;t t
8333 s,@WITH_LCKPWDF@,$WITH_LCKPWDF,;t t
8335 s,@EGREP@,$EGREP,;t t
8336 s,@PAM_NEEDS_LIBC@,$PAM_NEEDS_LIBC,;t t
8337 s,@HAVE_LCKPWDF@,$HAVE_LCKPWDF,;t t
8338 s,@LIBDL@,$LIBDL,;t t
8339 s,@HAVE_LIBCRACK@,$HAVE_LIBCRACK,;t t
8340 s,@HAVE_LIBCRYPT@,$HAVE_LIBCRYPT,;t t
8341 s,@HAVE_LIBUTIL@,$HAVE_LIBUTIL,;t t
8342 s,@HAVE_LIBNDBM@,$HAVE_LIBNDBM,;t t
8343 s,@HAVE_LIBDB@,$HAVE_LIBDB,;t t
8344 s,@HAVE_LIBFL@,$HAVE_LIBFL,;t t
8345 s,@HAVE_LIBNSL@,$HAVE_LIBNSL,;t t
8346 s,@HAVE_LIBPWDB@,$HAVE_LIBPWDB,;t t
8347 s,@HAVE_LIBFLEX@,$HAVE_LIBFLEX,;t t
8348 s,@HAVE_LIBLEX@,$HAVE_LIBLEX,;t t
8349 s,@HAVE_NDBM_H@,$HAVE_NDBM_H,;t t
8350 s,@CRACKLIB_DICTPATH@,$CRACKLIB_DICTPATH,;t t
8351 s,@DYNTYPE@,$DYNTYPE,;t t
8352 s,@OS_CFLAGS@,$OS_CFLAGS,;t t
8353 s,@WARNINGS@,$WARNINGS,;t t
8358 s,@RANLIB@,$RANLIB,;t t
8359 s,@STRIP@,$STRIP,;t t
8360 s,@CC_STATIC@,$CC_STATIC,;t t
8361 s,@LIBOBJS@,$LIBOBJS,;t t
8362 s,@HAVE_SGML2TXT@,$HAVE_SGML2TXT,;t t
8363 s,@HAVE_SGML2HTML@,$HAVE_SGML2HTML,;t t
8364 s,@HAVE_SGML2LATEX@,$HAVE_SGML2LATEX,;t t
8365 s,@HAVE_PS2PDF@,$HAVE_PS2PDF,;t t
8366 s,@HAVE_SGML2PS@,$HAVE_SGML2PS,;t t
8368 s,@PS2PDF@,$PS2PDF,;t t
8369 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8374 cat >>$CONFIG_STATUS <<\_ACEOF
8375 # Split the substitutions into bite-sized pieces for seds with
8376 # small command number limits, like on Digital OSF/1 and HP-UX.
8378 ac_sed_frag=1 # Number of current file.
8379 ac_beg=1 # First line for current file.
8380 ac_end=$ac_max_sed_lines # Line after last line for current file.
8383 while $ac_more_lines; do
8384 if test $ac_beg -gt 1; then
8385 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8387 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8389 if test ! -s $tmp/subs.frag; then
8392 # The purpose of the label and of the branching condition is to
8393 # speed up the sed processing (if there are no `@' at all, there
8394 # is no need to browse any of the substitutions).
8395 # These are the two extra sed commands mentioned above.
8397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8398 if test -z "$ac_sed_cmds"; then
8399 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8401 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8403 ac_sed_frag=`expr $ac_sed_frag + 1`
8405 ac_end=`expr $ac_end + $ac_max_sed_lines`
8408 if test -z "$ac_sed_cmds"; then
8411 fi # test -n "$CONFIG_FILES"
8414 cat >>$CONFIG_STATUS <<\_ACEOF
8415 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8418 - | *:- | *:-:* ) # input from stdin
8420 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8421 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8422 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8423 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8424 * ) ac_file_in=$ac_file.in ;;
8427 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8428 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8430 X"$ac_file" : 'X\(//\)[^/]' \| \
8431 X"$ac_file" : 'X\(//\)$' \| \
8432 X"$ac_file" : 'X\(/\)' \| \
8433 . : '\(.\)' 2>/dev/null ||
8435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8437 /^X\(\/\/\)$/{ s//\1/; q; }
8438 /^X\(\/\).*/{ s//\1/; q; }
8440 { if $as_mkdir_p; then
8445 while test ! -d "$as_dir"; do
8446 as_dirs="$as_dir $as_dirs"
8447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8449 X"$as_dir" : 'X\(//\)[^/]' \| \
8450 X"$as_dir" : 'X\(//\)$' \| \
8451 X"$as_dir" : 'X\(/\)' \| \
8452 . : '\(.\)' 2>/dev/null ||
8454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8456 /^X\(\/\/\)$/{ s//\1/; q; }
8457 /^X\(\/\).*/{ s//\1/; q; }
8460 test ! -n "$as_dirs" || mkdir $as_dirs
8461 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8463 { (exit 1); exit 1; }; }; }
8467 if test "$ac_dir" != .; then
8468 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8469 # A "../" for each directory in $ac_dir_suffix.
8470 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8472 ac_dir_suffix= ac_top_builddir=
8476 .) # No --srcdir option. We are building in place.
8478 if test -z "$ac_top_builddir"; then
8481 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8483 [\\/]* | ?:[\\/]* ) # Absolute path.
8484 ac_srcdir=$srcdir$ac_dir_suffix;
8485 ac_top_srcdir=$srcdir ;;
8487 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8488 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8491 # Do not use `cd foo && pwd` to compute absolute paths, because
8492 # the directories may not exist.
8494 .) ac_abs_builddir="$ac_dir";;
8497 .) ac_abs_builddir=`pwd`;;
8498 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8499 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8502 case $ac_abs_builddir in
8503 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8505 case ${ac_top_builddir}. in
8506 .) ac_abs_top_builddir=$ac_abs_builddir;;
8507 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8508 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8511 case $ac_abs_builddir in
8512 .) ac_abs_srcdir=$ac_srcdir;;
8515 .) ac_abs_srcdir=$ac_abs_builddir;;
8516 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8517 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8520 case $ac_abs_builddir in
8521 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8523 case $ac_top_srcdir in
8524 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8525 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8526 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8532 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8533 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8536 if test x"$ac_file" != x-; then
8537 { echo "$as_me:$LINENO: creating $ac_file" >&5
8538 echo "$as_me: creating $ac_file" >&6;}
8541 # Let's still pretend it is `configure' which instantiates (i.e., don't
8542 # use $as_me), people would be surprised to read:
8543 # /* config.h. Generated by config.status. */
8544 if test x"$ac_file" = x-; then
8547 configure_input="$ac_file. "
8549 configure_input=$configure_input"Generated from `echo $ac_file_in |
8550 sed 's,.*/,,'` by configure."
8552 # First look for the input files in the build tree, otherwise in the
8554 ac_file_inputs=`IFS=:
8555 for f in $ac_file_in; do
8557 -) echo $tmp/stdin ;;
8559 # Absolute (can't be DOS-style, as IFS=:)
8560 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8561 echo "$as_me: error: cannot find input file: $f" >&2;}
8562 { (exit 1); exit 1; }; }
8565 if test -f "$f"; then
8568 elif test -f "$srcdir/$f"; then
8573 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8574 echo "$as_me: error: cannot find input file: $f" >&2;}
8575 { (exit 1); exit 1; }; }
8578 done` || { (exit 1); exit 1; }
8580 cat >>$CONFIG_STATUS <<_ACEOF
8584 cat >>$CONFIG_STATUS <<\_ACEOF
8586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8587 s,@configure_input@,$configure_input,;t t
8588 s,@srcdir@,$ac_srcdir,;t t
8589 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8590 s,@top_srcdir@,$ac_top_srcdir,;t t
8591 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8592 s,@builddir@,$ac_builddir,;t t
8593 s,@abs_builddir@,$ac_abs_builddir,;t t
8594 s,@top_builddir@,$ac_top_builddir,;t t
8595 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8596 s,@INSTALL@,$ac_INSTALL,;t t
8597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8599 if test x"$ac_file" != x-; then
8600 mv $tmp/out $ac_file
8608 cat >>$CONFIG_STATUS <<\_ACEOF
8611 # CONFIG_HEADER section.
8614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8615 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8617 # ac_d sets the value in "#define NAME VALUE" lines.
8618 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8619 ac_dB='[ ].*$,\1#\2'
8622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8623 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8624 ac_uB='$,\1#\2define\3'
8628 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8631 - | *:- | *:-:* ) # input from stdin
8633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8637 * ) ac_file_in=$ac_file.in ;;
8640 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8641 echo "$as_me: creating $ac_file" >&6;}
8643 # First look for the input files in the build tree, otherwise in the
8645 ac_file_inputs=`IFS=:
8646 for f in $ac_file_in; do
8648 -) echo $tmp/stdin ;;
8650 # Absolute (can't be DOS-style, as IFS=:)
8651 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8652 echo "$as_me: error: cannot find input file: $f" >&2;}
8653 { (exit 1); exit 1; }; }
8654 # Do quote $f, to prevent DOS paths from being IFS'd.
8657 if test -f "$f"; then
8660 elif test -f "$srcdir/$f"; then
8665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8666 echo "$as_me: error: cannot find input file: $f" >&2;}
8667 { (exit 1); exit 1; }; }
8670 done` || { (exit 1); exit 1; }
8671 # Remove the trailing spaces.
8672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8677 # `conftest.undefs', that substitutes the proper values into
8678 # config.h.in to produce config.h. The first handles `#define'
8679 # templates, and the second `#undef' templates.
8680 # And first: Protect against being on the right side of a sed subst in
8681 # config.status. Protect against being in an unquoted here document
8683 rm -f conftest.defines conftest.undefs
8684 # Using a here document instead of a string reduces the quoting nightmare.
8685 # Putting comments in sed scripts is not portable.
8687 # `end' is used to avoid that the second main sed command (meant for
8688 # 0-ary CPP macros) applies to n-ary macro definitions.
8689 # See the Autoconf documentation for `clear'.
8690 cat >confdef2sed.sed <<\_ACEOF
8695 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8700 # If some macros were called several times there might be several times
8701 # the same #defines, which is useless. Nevertheless, we may not want to
8702 # sort them, since we want the *last* AC-DEFINE to be honored.
8703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8705 rm -f confdef2sed.sed
8707 # This sed command replaces #undef with comments. This is necessary, for
8708 # example, in the case of _POSIX_SOURCE, which is predefined and required
8709 # on some systems where configure will not decide to define it.
8710 cat >>conftest.undefs <<\_ACEOF
8711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8714 # Break up conftest.defines because some shells have a limit on the size
8715 # of here documents, and old seds have small limits too (100 cmds).
8716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8717 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8719 echo ' :' >>$CONFIG_STATUS
8721 while grep . conftest.defines >/dev/null
8723 # Write a limited-size here document to $tmp/defines.sed.
8724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8725 # Speed up: don't consider the non `#define' lines.
8726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8727 # Work around the forget-to-reset-the-flag bug.
8728 echo 't clr' >>$CONFIG_STATUS
8729 echo ': clr' >>$CONFIG_STATUS
8730 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8736 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8737 rm -f conftest.defines
8738 mv conftest.tail conftest.defines
8740 rm -f conftest.defines
8741 echo ' fi # grep' >>$CONFIG_STATUS
8742 echo >>$CONFIG_STATUS
8744 # Break up conftest.undefs because some shells have a limit on the size
8745 # of here documents, and old seds have small limits too (100 cmds).
8746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8748 while grep . conftest.undefs >/dev/null
8750 # Write a limited-size here document to $tmp/undefs.sed.
8751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8752 # Speed up: don't consider the non `#undef'
8753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8754 # Work around the forget-to-reset-the-flag bug.
8755 echo 't clr' >>$CONFIG_STATUS
8756 echo ': clr' >>$CONFIG_STATUS
8757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8764 rm -f conftest.undefs
8765 mv conftest.tail conftest.undefs
8767 rm -f conftest.undefs
8769 cat >>$CONFIG_STATUS <<\_ACEOF
8770 # Let's still pretend it is `configure' which instantiates (i.e., don't
8771 # use $as_me), people would be surprised to read:
8772 # /* config.h. Generated by config.status. */
8773 if test x"$ac_file" = x-; then
8774 echo "/* Generated by configure. */" >$tmp/config.h
8776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8778 cat $tmp/in >>$tmp/config.h
8780 if test x"$ac_file" != x-; then
8781 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8783 echo "$as_me: $ac_file is unchanged" >&6;}
8785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8787 X"$ac_file" : 'X\(//\)[^/]' \| \
8788 X"$ac_file" : 'X\(//\)$' \| \
8789 X"$ac_file" : 'X\(/\)' \| \
8790 . : '\(.\)' 2>/dev/null ||
8792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8794 /^X\(\/\/\)$/{ s//\1/; q; }
8795 /^X\(\/\).*/{ s//\1/; q; }
8797 { if $as_mkdir_p; then
8802 while test ! -d "$as_dir"; do
8803 as_dirs="$as_dir $as_dirs"
8804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8806 X"$as_dir" : 'X\(//\)[^/]' \| \
8807 X"$as_dir" : 'X\(//\)$' \| \
8808 X"$as_dir" : 'X\(/\)' \| \
8809 . : '\(.\)' 2>/dev/null ||
8811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8813 /^X\(\/\/\)$/{ s//\1/; q; }
8814 /^X\(\/\).*/{ s//\1/; q; }
8817 test ! -n "$as_dirs" || mkdir $as_dirs
8818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8820 { (exit 1); exit 1; }; }; }
8823 mv $tmp/config.h $ac_file
8832 cat >>$CONFIG_STATUS <<\_ACEOF
8834 { (exit 0); exit 0; }
8836 chmod +x $CONFIG_STATUS
8837 ac_clean_files=$ac_clean_files_save
8840 # configure is writing to config.log, and then calls config.status.
8841 # config.status does its own redirection, appending to config.log.
8842 # Unfortunately, on DOS this fails, as config.log is still kept open
8843 # by configure, so config.status won't be able to write to it; its
8844 # output is simply discarded. So we exec the FD to /dev/null,
8845 # effectively closing config.log, so it can be properly (re)opened and
8846 # appended to by config.status. When coming back to configure, we
8847 # need to make the FD available again.
8848 if test "$no_create" != yes; then
8850 ac_config_status_args=
8851 test "$silent" = yes &&
8852 ac_config_status_args="$ac_config_status_args --quiet"
8854 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8856 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8857 # would make configure fail if this is the last instruction.
8858 $ac_cs_success || { (exit 1); exit 1; }