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 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-fakeroot=<path to packaging directory>
848 --enable-securedir=<path to location of PAMs> default \$libdir/security
849 --enable-isadir=<path to arch-specific module files> default ../../\`basename \$libdir\`/security
850 --enable-sconfigdir=<path to module conf files> default \$sysconfdir/security
851 --enable-suplementedir=<path to module helper binaries> default \$sbindir
852 --enable-includedir=<path to include location> - where to put <security>
853 --enable-docdir=<path to store documentation in - /usr/share/doc/pam>
854 --enable-mandir=<path to store manuals in - /usr/share/man>
855 --enable-pamlocking configure libpam to observe a global authentication lock
856 --enable-uglyhack configure libpam to try to honor old pam_strerror syntax
857 --enable-read-both-confs read both /etc/pam.d and /etc/pam.conf files
858 --enable-static-libpam build a libpam.a library
859 --disable-dynamic-libpam do not build a shared libpam library
860 --enable-static-modules do not make the modules dynamically loadable
861 --disable-lckpwdf do not use the lckpwdf function
864 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
865 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
866 --with-mailspool path to mail spool directory
867 default _PATH_MAILDIR if defined in paths.h, otherwise /var/spool/mail
869 Some influential environment variables:
870 CC C compiler command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
873 nonstandard directory <lib dir>
874 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
875 headers in a nonstandard directory <include dir>
878 Use these variables to override the choices made by `configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
915 # Do not use `cd foo && pwd` to compute absolute paths, because
916 # the directories may not exist.
918 .) ac_abs_builddir="$ac_dir";;
921 .) ac_abs_builddir=`pwd`;;
922 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
923 *) ac_abs_builddir=`pwd`/"$ac_dir";;
926 case $ac_abs_builddir in
927 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 case ${ac_top_builddir}. in
930 .) ac_abs_top_builddir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
932 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
935 case $ac_abs_builddir in
936 .) ac_abs_srcdir=$ac_srcdir;;
939 .) ac_abs_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
941 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
944 case $ac_abs_builddir in
945 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 case $ac_top_srcdir in
948 .) ac_abs_top_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
950 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
955 # Check for guested configure; otherwise get Cygnus style configure.
956 if test -f $ac_srcdir/configure.gnu; then
958 $SHELL $ac_srcdir/configure.gnu --help=recursive
959 elif test -f $ac_srcdir/configure; then
961 $SHELL $ac_srcdir/configure --help=recursive
962 elif test -f $ac_srcdir/configure.ac ||
963 test -f $ac_srcdir/configure.in; then
967 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
973 test -n "$ac_init_help" && exit 0
974 if $ac_init_version; then
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by $as_me, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close' the trap.
1095 trap 'exit_status=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var in $ac_subst_vars
1131 eval ac_val=$`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var in $ac_subst_files
1145 eval ac_val=$`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h; then
1158 sed "/^$/d" confdefs.h | sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core *.core &&
1166 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's/^/| /' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1263 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1288 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 ac_config_headers="$ac_config_headers _pam_aconf.h"
1321 LIBPAM_VERSION_MAJOR=0
1322 LIBPAM_VERSION_MINOR=79
1326 cat >>confdefs.h <<\_ACEOF
1327 #define LIBPAM_VERSION_MAJOR 1
1330 cat >>confdefs.h <<\_ACEOF
1331 #define LIBPAM_VERSION_MINOR 1
1338 LOCALSRCDIR=`/bin/pwd` ;
1339 LOCALOBJDIR=`/bin/pwd` ;
1340 OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
1351 SOSWITCH="-Wl,-soname -Wl," ;
1353 LDCONFIG=/sbin/ldconfig ;
1356 ac_cpp='$CPP $CPPFLAGS'
1357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1360 if test -n "$ac_tool_prefix"; then
1361 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1362 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1363 echo "$as_me:$LINENO: checking for $ac_word" >&5
1364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1365 if test "${ac_cv_prog_CC+set}" = set; then
1366 echo $ECHO_N "(cached) $ECHO_C" >&6
1368 if test -n "$CC"; then
1369 ac_cv_prog_CC="$CC" # Let the user override the test.
1371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1375 test -z "$as_dir" && as_dir=.
1376 for ac_exec_ext in '' $ac_executable_extensions; do
1377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1378 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1388 if test -n "$CC"; then
1389 echo "$as_me:$LINENO: result: $CC" >&5
1390 echo "${ECHO_T}$CC" >&6
1392 echo "$as_me:$LINENO: result: no" >&5
1393 echo "${ECHO_T}no" >&6
1397 if test -z "$ac_cv_prog_CC"; then
1399 # Extract the first word of "gcc", so it can be a program name with args.
1400 set dummy gcc; ac_word=$2
1401 echo "$as_me:$LINENO: checking for $ac_word" >&5
1402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1403 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 if test -n "$ac_ct_CC"; then
1407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1413 test -z "$as_dir" && as_dir=.
1414 for ac_exec_ext in '' $ac_executable_extensions; do
1415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1416 ac_cv_prog_ac_ct_CC="gcc"
1417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1426 if test -n "$ac_ct_CC"; then
1427 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1428 echo "${ECHO_T}$ac_ct_CC" >&6
1430 echo "$as_me:$LINENO: result: no" >&5
1431 echo "${ECHO_T}no" >&6
1439 if test -z "$CC"; then
1440 if test -n "$ac_tool_prefix"; then
1441 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1442 set dummy ${ac_tool_prefix}cc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$CC"; then
1449 ac_cv_prog_CC="$CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_CC="${ac_tool_prefix}cc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1468 if test -n "$CC"; then
1469 echo "$as_me:$LINENO: result: $CC" >&5
1470 echo "${ECHO_T}$CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1477 if test -z "$ac_cv_prog_CC"; then
1479 # Extract the first word of "cc", so it can be a program name with args.
1480 set dummy cc; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$ac_ct_CC"; then
1487 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_ac_ct_CC="cc"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1505 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1506 if test -n "$ac_ct_CC"; then
1507 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1508 echo "${ECHO_T}$ac_ct_CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1520 if test -z "$CC"; then
1521 # Extract the first word of "cc", so it can be a program name with args.
1522 set dummy cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1536 test -z "$as_dir" && as_dir=.
1537 for ac_exec_ext in '' $ac_executable_extensions; do
1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1540 ac_prog_rejected=yes
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550 if test $ac_prog_rejected = yes; then
1551 # We found a bogon in the path, so make sure we never use it.
1552 set dummy $ac_cv_prog_CC
1554 if test $# != 0; then
1555 # We chose a different compiler from the bogus one.
1556 # However, it has the same basename, so the bogon will be chosen
1557 # first if we set CC to just the basename; use the full file name.
1559 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1574 if test -z "$CC"; then
1575 if test -n "$ac_tool_prefix"; then
1578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_prog_CC+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 if test -n "$CC"; then
1586 ac_cv_prog_CC="$CC" # Let the user override the test.
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir=.
1593 for ac_exec_ext in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 if test -n "$CC"; then
1606 echo "$as_me:$LINENO: result: $CC" >&5
1607 echo "${ECHO_T}$CC" >&6
1609 echo "$as_me:$LINENO: result: no" >&5
1610 echo "${ECHO_T}no" >&6
1613 test -n "$CC" && break
1616 if test -z "$CC"; then
1620 # Extract the first word of "$ac_prog", so it can be a program name with args.
1621 set dummy $ac_prog; ac_word=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$ac_ct_CC"; then
1628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir=.
1635 for ac_exec_ext in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_ac_ct_CC="$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1647 if test -n "$ac_ct_CC"; then
1648 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1649 echo "${ECHO_T}$ac_ct_CC" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1655 test -n "$ac_ct_CC" && break
1664 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1665 See \`config.log' for more details." >&5
1666 echo "$as_me: error: no acceptable C compiler found in \$PATH
1667 See \`config.log' for more details." >&2;}
1668 { (exit 1); exit 1; }; }
1670 # Provide some information about the compiler.
1671 echo "$as_me:$LINENO:" \
1672 "checking for C compiler version" >&5
1673 ac_compiler=`set X $ac_compile; echo $2`
1674 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1675 (eval $ac_compiler --version </dev/null >&5) 2>&5
1677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1678 (exit $ac_status); }
1679 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1680 (eval $ac_compiler -v </dev/null >&5) 2>&5
1682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1683 (exit $ac_status); }
1684 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1685 (eval $ac_compiler -V </dev/null >&5) 2>&5
1687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1688 (exit $ac_status); }
1690 cat >conftest.$ac_ext <<_ACEOF
1693 cat confdefs.h >>conftest.$ac_ext
1694 cat >>conftest.$ac_ext <<_ACEOF
1695 /* end confdefs.h. */
1705 ac_clean_files_save=$ac_clean_files
1706 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1707 # Try to create an executable without -o first, disregard a.out.
1708 # It will help us diagnose broken compilers, and finding out an intuition
1710 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1711 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1712 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1713 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1714 (eval $ac_link_default) 2>&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }; then
1718 # Find the output, starting from the most likely. This scheme is
1719 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1722 # Be careful to initialize this variable, since it used to be cached.
1723 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1725 # b.out is created by i960 compilers.
1726 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1728 test -f "$ac_file" || continue
1730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1733 # This is the source file.
1736 # We found the default executable, but exeext='' is most
1740 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1741 # FIXME: I believe we export ac_cv_exeext for Libtool,
1742 # but it would be cool to find out if it's true. Does anybody
1743 # maintain Libtool? --akim.
1751 echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1754 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1755 See \`config.log' for more details." >&5
1756 echo "$as_me: error: C compiler cannot create executables
1757 See \`config.log' for more details." >&2;}
1758 { (exit 77); exit 77; }; }
1761 ac_exeext=$ac_cv_exeext
1762 echo "$as_me:$LINENO: result: $ac_file" >&5
1763 echo "${ECHO_T}$ac_file" >&6
1765 # Check the compiler produces executables we can run. If not, either
1766 # the compiler is broken, or we cross compile.
1767 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1768 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1769 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1770 # If not cross compiling, check that we can run a simple program.
1771 if test "$cross_compiling" != yes; then
1772 if { ac_try='./$ac_file'
1773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777 (exit $ac_status); }; }; then
1780 if test "$cross_compiling" = maybe; then
1783 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1784 If you meant to cross compile, use \`--host'.
1785 See \`config.log' for more details." >&5
1786 echo "$as_me: error: cannot run C compiled programs.
1787 If you meant to cross compile, use \`--host'.
1788 See \`config.log' for more details." >&2;}
1789 { (exit 1); exit 1; }; }
1793 echo "$as_me:$LINENO: result: yes" >&5
1794 echo "${ECHO_T}yes" >&6
1796 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1797 ac_clean_files=$ac_clean_files_save
1798 # Check the compiler produces executables we can run. If not, either
1799 # the compiler is broken, or we cross compile.
1800 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1801 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1802 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1803 echo "${ECHO_T}$cross_compiling" >&6
1805 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1806 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1808 (eval $ac_link) 2>&5
1810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811 (exit $ac_status); }; then
1812 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1813 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1814 # work properly (i.e., refer to `conftest.exe'), while it won't with
1816 for ac_file in conftest.exe conftest conftest.*; do
1817 test -f "$ac_file" || continue
1819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1820 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1827 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1828 See \`config.log' for more details." >&5
1829 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1830 See \`config.log' for more details." >&2;}
1831 { (exit 1); exit 1; }; }
1834 rm -f conftest$ac_cv_exeext
1835 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1836 echo "${ECHO_T}$ac_cv_exeext" >&6
1838 rm -f conftest.$ac_ext
1839 EXEEXT=$ac_cv_exeext
1841 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1842 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1843 if test "${ac_cv_objext+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 cat >conftest.$ac_ext <<_ACEOF
1849 cat confdefs.h >>conftest.$ac_ext
1850 cat >>conftest.$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1861 rm -f conftest.o conftest.obj
1862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1863 (eval $ac_compile) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }; then
1867 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1870 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1875 echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1879 See \`config.log' for more details." >&5
1880 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1881 See \`config.log' for more details." >&2;}
1882 { (exit 1); exit 1; }; }
1885 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1887 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1888 echo "${ECHO_T}$ac_cv_objext" >&6
1889 OBJEXT=$ac_cv_objext
1891 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1892 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 cat >conftest.$ac_ext <<_ACEOF
1899 cat confdefs.h >>conftest.$ac_ext
1900 cat >>conftest.$ac_ext <<_ACEOF
1901 /* end confdefs.h. */
1914 rm -f conftest.$ac_objext
1915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1916 (eval $ac_compile) 2>conftest.er1
1918 grep -v '^ *+' conftest.er1 >conftest.err
1920 cat conftest.err >&5
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); } &&
1923 { ac_try='test -z "$ac_c_werror_flag"
1924 || test ! -s conftest.err'
1925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); }; } &&
1930 { ac_try='test -s conftest.$ac_objext'
1931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; }; then
1938 echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.$ac_ext >&5
1943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1944 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1947 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1948 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1949 GCC=`test $ac_compiler_gnu = yes && echo yes`
1950 ac_test_CFLAGS=${CFLAGS+set}
1951 ac_save_CFLAGS=$CFLAGS
1953 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1954 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1955 if test "${ac_cv_prog_cc_g+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 cat >conftest.$ac_ext <<_ACEOF
1961 cat confdefs.h >>conftest.$ac_ext
1962 cat >>conftest.$ac_ext <<_ACEOF
1963 /* end confdefs.h. */
1973 rm -f conftest.$ac_objext
1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1975 (eval $ac_compile) 2>conftest.er1
1977 grep -v '^ *+' conftest.er1 >conftest.err
1979 cat conftest.err >&5
1980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981 (exit $ac_status); } &&
1982 { ac_try='test -z "$ac_c_werror_flag"
1983 || test ! -s conftest.err'
1984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }; } &&
1989 { ac_try='test -s conftest.$ac_objext'
1990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; }; then
1997 echo "$as_me: failed program was:" >&5
1998 sed 's/^/| /' conftest.$ac_ext >&5
2002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2004 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2005 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2006 if test "$ac_test_CFLAGS" = set; then
2007 CFLAGS=$ac_save_CFLAGS
2008 elif test $ac_cv_prog_cc_g = yes; then
2009 if test "$GCC" = yes; then
2015 if test "$GCC" = yes; then
2021 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2022 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2023 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 ac_cv_prog_cc_stdc=no
2028 cat >conftest.$ac_ext <<_ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2036 #include <sys/types.h>
2037 #include <sys/stat.h>
2038 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2039 struct buf { int x; };
2040 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2041 static char *e (p, i)
2047 static char *f (char * (*g) (char **, int), char **p, ...)
2052 s = g (p, va_arg (v,int));
2057 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2058 function prototypes and stuff, but not '\xHH' hex character constants.
2059 These don't provoke an error unfortunately, instead are silently treated
2060 as 'x'. The following induces an error, until -std1 is added to get
2061 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2062 array size at least. It's necessary to write '\x00'==0 to get something
2063 that's true only with -std1. */
2064 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2066 int test (int i, double x);
2067 struct s1 {int (*f) (int a);};
2068 struct s2 {int (*f) (double a);};
2069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2080 # Don't try gcc -ansi; that turns off useful extensions and
2081 # breaks some systems' header files.
2082 # AIX -qlanglvl=ansi
2083 # Ultrix and OSF/1 -std1
2084 # HP-UX 10.20 and later -Ae
2085 # HP-UX older versions -Aa -D_HPUX_SOURCE
2086 # SVR4 -Xc -D__EXTENSIONS__
2087 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2089 CC="$ac_save_CC $ac_arg"
2090 rm -f conftest.$ac_objext
2091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092 (eval $ac_compile) 2>conftest.er1
2094 grep -v '^ *+' conftest.er1 >conftest.err
2096 cat conftest.err >&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try='test -z "$ac_c_werror_flag"
2100 || test ! -s conftest.err'
2101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105 (exit $ac_status); }; } &&
2106 { ac_try='test -s conftest.$ac_objext'
2107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 (exit $ac_status); }; }; then
2112 ac_cv_prog_cc_stdc=$ac_arg
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.$ac_ext >&5
2119 rm -f conftest.err conftest.$ac_objext
2121 rm -f conftest.$ac_ext conftest.$ac_objext
2126 case "x$ac_cv_prog_cc_stdc" in
2128 echo "$as_me:$LINENO: result: none needed" >&5
2129 echo "${ECHO_T}none needed" >&6 ;;
2131 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2132 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2133 CC="$CC $ac_cv_prog_cc_stdc" ;;
2136 # Some people use a C++ compiler to compile C. Since we use `exit',
2137 # in C++ we need to declare it. In case someone uses the same compiler
2138 # for both compiling C and C++ we need to have the C++ compiler decide
2139 # the declaration of exit, since it's the most demanding environment.
2140 cat >conftest.$ac_ext <<_ACEOF
2145 rm -f conftest.$ac_objext
2146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147 (eval $ac_compile) 2>conftest.er1
2149 grep -v '^ *+' conftest.er1 >conftest.err
2151 cat conftest.err >&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); } &&
2154 { ac_try='test -z "$ac_c_werror_flag"
2155 || test ! -s conftest.err'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; } &&
2161 { ac_try='test -s conftest.$ac_objext'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; }; then
2167 for ac_declaration in \
2169 'extern "C" void std::exit (int) throw (); using std::exit;' \
2170 'extern "C" void std::exit (int); using std::exit;' \
2171 'extern "C" void exit (int) throw ();' \
2172 'extern "C" void exit (int);' \
2175 cat >conftest.$ac_ext <<_ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2191 rm -f conftest.$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1 >conftest.err
2197 cat conftest.err >&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try='test -z "$ac_c_werror_flag"
2201 || test ! -s conftest.err'
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.$ac_ext >&5
2220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2221 cat >conftest.$ac_ext <<_ACEOF
2224 cat confdefs.h >>conftest.$ac_ext
2225 cat >>conftest.$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2236 rm -f conftest.$ac_objext
2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2238 (eval $ac_compile) 2>conftest.er1
2240 grep -v '^ *+' conftest.er1 >conftest.err
2242 cat conftest.err >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); } &&
2245 { ac_try='test -z "$ac_c_werror_flag"
2246 || test ! -s conftest.err'
2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; } &&
2252 { ac_try='test -s conftest.$ac_objext'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; }; then
2260 echo "$as_me: failed program was:" >&5
2261 sed 's/^/| /' conftest.$ac_ext >&5
2264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2267 if test -n "$ac_declaration"; then
2268 echo '#ifdef __cplusplus' >>confdefs.h
2269 echo $ac_declaration >>confdefs.h
2270 echo '#endif' >>confdefs.h
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285 for ac_prog in 'bison -y' byacc
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2291 if test "${ac_cv_prog_YACC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 if test -n "$YACC"; then
2295 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_YACC="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 YACC=$ac_cv_prog_YACC
2314 if test -n "$YACC"; then
2315 echo "$as_me:$LINENO: result: $YACC" >&5
2316 echo "${ECHO_T}$YACC" >&6
2318 echo "$as_me:$LINENO: result: no" >&5
2319 echo "${ECHO_T}no" >&6
2322 test -n "$YACC" && break
2324 test -n "$YACC" || YACC="yacc"
2327 for ac_prog in flex lex
2329 # Extract the first word of "$ac_prog", so it can be a program name with args.
2330 set dummy $ac_prog; ac_word=$2
2331 echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2333 if test "${ac_cv_prog_LEX+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$LEX"; then
2337 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2346 ac_cv_prog_LEX="$ac_prog"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 if test -n "$LEX"; then
2357 echo "$as_me:$LINENO: result: $LEX" >&5
2358 echo "${ECHO_T}$LEX" >&6
2360 echo "$as_me:$LINENO: result: no" >&5
2361 echo "${ECHO_T}no" >&6
2364 test -n "$LEX" && break
2366 test -n "$LEX" || LEX=":"
2368 if test -z "$LEXLIB"
2370 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2371 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2372 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 ac_check_lib_save_LIBS=$LIBS
2377 cat >conftest.$ac_ext <<_ACEOF
2380 cat confdefs.h >>conftest.$ac_ext
2381 cat >>conftest.$ac_ext <<_ACEOF
2382 /* end confdefs.h. */
2384 /* Override any gcc2 internal prototype to avoid an error. */
2388 /* We use char because int might match the return type of a gcc2
2389 builtin and then its argument prototype would still apply. */
2399 rm -f conftest.$ac_objext conftest$ac_exeext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2401 (eval $ac_link) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try='test -s conftest$ac_exeext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2421 ac_cv_lib_fl_yywrap=yes
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2426 ac_cv_lib_fl_yywrap=no
2428 rm -f conftest.err conftest.$ac_objext \
2429 conftest$ac_exeext conftest.$ac_ext
2430 LIBS=$ac_check_lib_save_LIBS
2432 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2433 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2434 if test $ac_cv_lib_fl_yywrap = yes; then
2437 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2438 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2439 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2440 echo $ECHO_N "(cached) $ECHO_C" >&6
2442 ac_check_lib_save_LIBS=$LIBS
2444 cat >conftest.$ac_ext <<_ACEOF
2447 cat confdefs.h >>conftest.$ac_ext
2448 cat >>conftest.$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2451 /* Override any gcc2 internal prototype to avoid an error. */
2455 /* We use char because int might match the return type of a gcc2
2456 builtin and then its argument prototype would still apply. */
2466 rm -f conftest.$ac_objext conftest$ac_exeext
2467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2468 (eval $ac_link) 2>conftest.er1
2470 grep -v '^ *+' conftest.er1 >conftest.err
2472 cat conftest.err >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); } &&
2475 { ac_try='test -z "$ac_c_werror_flag"
2476 || test ! -s conftest.err'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; } &&
2482 { ac_try='test -s conftest$ac_exeext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 ac_cv_lib_l_yywrap=yes
2490 echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.$ac_ext >&5
2493 ac_cv_lib_l_yywrap=no
2495 rm -f conftest.err conftest.$ac_objext \
2496 conftest$ac_exeext conftest.$ac_ext
2497 LIBS=$ac_check_lib_save_LIBS
2499 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2500 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2501 if test $ac_cv_lib_l_yywrap = yes; then
2509 if test "x$LEX" != "x:"; then
2510 echo "$as_me:$LINENO: checking lex output file root" >&5
2511 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2512 if test "${ac_cv_prog_lex_root+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 # The minimal lex program is just a single line: %%. But some broken lexes
2516 # (Solaris, I think it was) want two %% lines, so accommodate them.
2517 cat >conftest.l <<_ACEOF
2521 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2522 (eval $LEX conftest.l) 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }
2526 if test -f lex.yy.c; then
2527 ac_cv_prog_lex_root=lex.yy
2528 elif test -f lexyy.c; then
2529 ac_cv_prog_lex_root=lexyy
2531 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2532 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2533 { (exit 1); exit 1; }; }
2536 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2537 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2539 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2541 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2542 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2543 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 # POSIX says lex can declare yytext either as a pointer or an array; the
2547 # default is implementation-dependent. Figure out which it is, since
2548 # not all implementations provide the %pointer and %array declarations.
2549 ac_cv_prog_lex_yytext_pointer=no
2550 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2552 LIBS="$LIBS $LEXLIB"
2553 cat >conftest.$ac_ext <<_ACEOF
2554 `cat $LEX_OUTPUT_ROOT.c`
2556 rm -f conftest.$ac_objext conftest$ac_exeext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2558 (eval $ac_link) 2>conftest.er1
2560 grep -v '^ *+' conftest.er1 >conftest.err
2562 cat conftest.err >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); } &&
2565 { ac_try='test -z "$ac_c_werror_flag"
2566 || test ! -s conftest.err'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; } &&
2572 { ac_try='test -s conftest$ac_exeext'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; }; then
2578 ac_cv_prog_lex_yytext_pointer=yes
2580 echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2584 rm -f conftest.err conftest.$ac_objext \
2585 conftest$ac_exeext conftest.$ac_ext
2587 rm -f "${LEX_OUTPUT_ROOT}.c"
2590 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2591 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2592 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2594 cat >>confdefs.h <<\_ACEOF
2595 #define YYTEXT_POINTER 1
2602 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2603 if test -f $ac_dir/install-sh; then
2605 ac_install_sh="$ac_aux_dir/install-sh -c"
2607 elif test -f $ac_dir/install.sh; then
2609 ac_install_sh="$ac_aux_dir/install.sh -c"
2611 elif test -f $ac_dir/shtool; then
2613 ac_install_sh="$ac_aux_dir/shtool install -c"
2617 if test -z "$ac_aux_dir"; then
2618 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2619 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2620 { (exit 1); exit 1; }; }
2622 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2623 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2624 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2626 # Find a good install program. We prefer a C program (faster),
2627 # so one script is as good as another. But avoid the broken or
2628 # incompatible versions:
2629 # SysV /etc/install, /usr/sbin/install
2630 # SunOS /usr/etc/install
2631 # IRIX /sbin/install
2633 # AmigaOS /C/install, which installs bootblocks on floppy discs
2634 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2635 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2636 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2637 # OS/2's system install, which has a completely different semantic
2638 # ./install, which can be erroneously created by make from ./install.sh.
2639 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2640 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2641 if test -z "$INSTALL"; then
2642 if test "${ac_cv_path_install+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 # Account for people who put trailing slashes in PATH elements.
2652 ./ | .// | /cC/* | \
2653 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2654 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2657 # OSF1 and SCO ODT 3.0 have their own names for install.
2658 # Don't use installbsd from OSF since it installs stuff as root
2660 for ac_prog in ginstall scoinst install; do
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2663 if test $ac_prog = install &&
2664 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2665 # AIX install. It has an incompatible calling convention.
2667 elif test $ac_prog = install &&
2668 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2669 # program-specific install script used by HP pwplus--don't use.
2672 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2684 if test "${ac_cv_path_install+set}" = set; then
2685 INSTALL=$ac_cv_path_install
2687 # As a last resort, use the slow shell script. We don't cache a
2688 # path for INSTALL within a source directory, because that will
2689 # break other packages using the cache if that directory is
2690 # removed, or if the path is relative.
2691 INSTALL=$ac_install_sh
2694 echo "$as_me:$LINENO: result: $INSTALL" >&5
2695 echo "${ECHO_T}$INSTALL" >&6
2697 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2698 # It thinks the first close brace ends the variable substitution.
2699 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2701 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2703 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2705 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2706 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2708 if test "$LN_S" = "ln -s"; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2712 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2713 echo "${ECHO_T}no, using $LN_S" >&6
2716 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2718 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2719 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 cat >conftest.make <<\_ACEOF
2724 @echo 'ac_maketemp="$(MAKE)"'
2726 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2727 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2728 if test -n "$ac_maketemp"; then
2729 eval ac_cv_prog_make_${ac_make}_set=yes
2731 eval ac_cv_prog_make_${ac_make}_set=no
2735 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2736 echo "$as_me:$LINENO: result: yes" >&5
2737 echo "${ECHO_T}yes" >&6
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2742 SET_MAKE="MAKE=${MAKE-make}"
2747 # Check whether --enable-debug or --disable-debug was given.
2748 if test "${enable_debug+set}" = set; then
2749 enableval="$enable_debug"
2750 WITH_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2759 # Check whether --enable-memory-debug or --disable-memory-debug was given.
2760 if test "${enable_memory_debug+set}" = set; then
2761 enableval="$enable_memory_debug"
2762 WITH_MEMORY_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2763 #define MEMORY_DEBUG 1
2767 WITH_MEMORY_DEBUG=no
2771 # Check whether --enable-libdebug or --disable-libdebug was given.
2772 if test "${enable_libdebug+set}" = set; then
2773 enableval="$enable_libdebug"
2774 WITH_LIBDEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2775 #define WITH_LIBDEBUG 1
2783 # Check whether --enable-fakeroot or --disable-fakeroot was given.
2784 if test "${enable_fakeroot+set}" = set; then
2785 enableval="$enable_fakeroot"
2790 # Check whether --enable-securedir or --disable-securedir was given.
2791 if test "${enable_securedir+set}" = set; then
2792 enableval="$enable_securedir"
2793 SECUREDIR=$enableval
2795 SECUREDIR=$libdir/security
2799 # Check whether --enable-isadir or --disable-isadir was given.
2800 if test "${enable_isadir+set}" = set; then
2801 enableval="$enable_isadir"
2804 ISA=../../`basename $libdir`/security
2808 cat >>confdefs.h <<_ACEOF
2809 #define _PAM_ISA "$ISA"
2812 echo "$as_me:$LINENO: result: Defining \$ISA to \\"$ISA\\"." >&5
2813 echo "${ECHO_T}Defining \$ISA to \\"$ISA\\"." >&6
2815 # Check whether --enable-sconfigdir or --disable-sconfigdir was given.
2816 if test "${enable_sconfigdir+set}" = set; then
2817 enableval="$enable_sconfigdir"
2818 SCONFIGDIR=$enableval
2820 SCONFIGDIR=$sysconfdir/security
2824 # Check whether --enable-suplementedir or --disable-suplementedir was given.
2825 if test "${enable_suplementedir+set}" = set; then
2826 enableval="$enable_suplementedir"
2827 SUPLEMENTED=$enableval
2829 SUPLEMENTED=$sbindir
2833 # Check whether --enable-includedir or --disable-includedir was given.
2834 if test "${enable_includedir+set}" = set; then
2835 enableval="$enable_includedir"
2836 INCLUDEDIR=$enableval
2838 INCLUDEDIR=/usr/include
2842 # Check whether --enable-docdir or --disable-docdir was given.
2843 if test "${enable_docdir+set}" = set; then
2844 enableval="$enable_docdir"
2847 DOCDIR=/usr/share/doc/pam
2851 # Check whether --enable-mandir or --disable-mandir was given.
2852 if test "${enable_mandir+set}" = set; then
2853 enableval="$enable_mandir"
2856 MANDIR=/usr/share/man
2860 # Check whether --enable-pamlocking or --disable-pamlocking was given.
2861 if test "${enable_pamlocking+set}" = set; then
2862 enableval="$enable_pamlocking"
2863 WITH_PAMLOCKING=yes ; cat >>confdefs.h <<\_ACEOF
2864 #define PAM_LOCKING 1
2872 # Check whether --enable-uglyhack or --disable-uglyhack was given.
2873 if test "${enable_uglyhack+set}" = set; then
2874 enableval="$enable_uglyhack"
2875 cat >>confdefs.h <<\_ACEOF
2876 #define UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT 1
2881 # Check whether --enable-read-both-confs or --disable-read-both-confs was given.
2882 if test "${enable_read_both_confs+set}" = set; then
2883 enableval="$enable_read_both_confs"
2884 cat >>confdefs.h <<\_ACEOF
2885 #define PAM_READ_BOTH_CONFS 1
2891 # Check whether --enable-static-libpam or --disable-static-libpam was given.
2892 if test "${enable_static_libpam+set}" = set; then
2893 enableval="$enable_static_libpam"
2900 # Check whether --enable-dynamic-libpam or --disable-dynamic-libpam was given.
2901 if test "${enable_dynamic_libpam+set}" = set; then
2902 enableval="$enable_dynamic_libpam"
2909 DYNAMIC=-DPAM_DYNAMIC
2912 # Check whether --enable-static-modules or --disable-static-modules was given.
2913 if test "${enable_static_modules+set}" = set; then
2914 enableval="$enable_static_modules"
2919 # Check whether --enable-lckpwdf or --disable-lckpwdf was given.
2920 if test "${enable_lckpwdf+set}" = set; then
2921 enableval="$enable_lckpwdf"
2929 ac_cpp='$CPP $CPPFLAGS'
2930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2933 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2934 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2935 # On Suns, sometimes $CPP names a directory.
2936 if test -n "$CPP" && test -d "$CPP"; then
2939 if test -z "$CPP"; then
2940 if test "${ac_cv_prog_CPP+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 # Double quotes because CPP needs to be expanded
2944 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2947 for ac_c_preproc_warn_flag in '' yes
2949 # Use a header file that comes with gcc, so configuring glibc
2950 # with a fresh cross-compiler works.
2951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2952 # <limits.h> exists even on freestanding compilers.
2953 # On the NeXT, cc -E runs the code through the compiler's parser,
2954 # not just through cpp. "Syntax error" is here to catch this case.
2955 cat >conftest.$ac_ext <<_ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2962 # include <limits.h>
2964 # include <assert.h>
2968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2971 grep -v '^ *+' conftest.er1 >conftest.err
2973 cat conftest.err >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); } >/dev/null; then
2976 if test -s conftest.err; then
2977 ac_cpp_err=$ac_c_preproc_warn_flag
2978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2985 if test -z "$ac_cpp_err"; then
2988 echo "$as_me: failed program was:" >&5
2989 sed 's/^/| /' conftest.$ac_ext >&5
2991 # Broken: fails on valid input.
2994 rm -f conftest.err conftest.$ac_ext
2996 # OK, works on sane cases. Now check whether non-existent headers
2997 # can be detected and how.
2998 cat >conftest.$ac_ext <<_ACEOF
3001 cat confdefs.h >>conftest.$ac_ext
3002 cat >>conftest.$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3004 #include <ac_nonexistent.h>
3006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3009 grep -v '^ *+' conftest.er1 >conftest.err
3011 cat conftest.err >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } >/dev/null; then
3014 if test -s conftest.err; then
3015 ac_cpp_err=$ac_c_preproc_warn_flag
3016 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3023 if test -z "$ac_cpp_err"; then
3024 # Broken: success on invalid input.
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3030 # Passes both tests.
3034 rm -f conftest.err conftest.$ac_ext
3037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3038 rm -f conftest.err conftest.$ac_ext
3039 if $ac_preproc_ok; then
3051 echo "$as_me:$LINENO: result: $CPP" >&5
3052 echo "${ECHO_T}$CPP" >&6
3054 for ac_c_preproc_warn_flag in '' yes
3056 # Use a header file that comes with gcc, so configuring glibc
3057 # with a fresh cross-compiler works.
3058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3059 # <limits.h> exists even on freestanding compilers.
3060 # On the NeXT, cc -E runs the code through the compiler's parser,
3061 # not just through cpp. "Syntax error" is here to catch this case.
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3069 # include <limits.h>
3071 # include <assert.h>
3075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } >/dev/null; then
3083 if test -s conftest.err; then
3084 ac_cpp_err=$ac_c_preproc_warn_flag
3085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3092 if test -z "$ac_cpp_err"; then
3095 echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3098 # Broken: fails on valid input.
3101 rm -f conftest.err conftest.$ac_ext
3103 # OK, works on sane cases. Now check whether non-existent headers
3104 # can be detected and how.
3105 cat >conftest.$ac_ext <<_ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3111 #include <ac_nonexistent.h>
3113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3116 grep -v '^ *+' conftest.er1 >conftest.err
3118 cat conftest.err >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } >/dev/null; then
3121 if test -s conftest.err; then
3122 ac_cpp_err=$ac_c_preproc_warn_flag
3123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3130 if test -z "$ac_cpp_err"; then
3131 # Broken: success on invalid input.
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 # Passes both tests.
3141 rm -f conftest.err conftest.$ac_ext
3144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3145 rm -f conftest.err conftest.$ac_ext
3146 if $ac_preproc_ok; then
3149 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3150 See \`config.log' for more details." >&5
3151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3152 See \`config.log' for more details." >&2;}
3153 { (exit 1); exit 1; }; }
3157 ac_cpp='$CPP $CPPFLAGS'
3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3163 echo "$as_me:$LINENO: checking for egrep" >&5
3164 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3165 if test "${ac_cv_prog_egrep+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3169 then ac_cv_prog_egrep='grep -E'
3170 else ac_cv_prog_egrep='egrep'
3173 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3174 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3175 EGREP=$ac_cv_prog_egrep
3178 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3179 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3180 if test "${ac_cv_header_stdc+set}" = set; then
3181 echo $ECHO_N "(cached) $ECHO_C" >&6
3183 cat >conftest.$ac_ext <<_ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3224 ac_cv_header_stdc=yes
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3229 ac_cv_header_stdc=no
3231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3233 if test $ac_cv_header_stdc = yes; then
3234 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3235 cat >conftest.$ac_ext <<_ACEOF
3238 cat confdefs.h >>conftest.$ac_ext
3239 cat >>conftest.$ac_ext <<_ACEOF
3240 /* end confdefs.h. */
3244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3245 $EGREP "memchr" >/dev/null 2>&1; then
3248 ac_cv_header_stdc=no
3254 if test $ac_cv_header_stdc = yes; then
3255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3266 $EGREP "free" >/dev/null 2>&1; then
3269 ac_cv_header_stdc=no
3275 if test $ac_cv_header_stdc = yes; then
3276 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3277 if test "$cross_compiling" = yes; then
3280 cat >conftest.$ac_ext <<_ACEOF
3283 cat confdefs.h >>conftest.$ac_ext
3284 cat >>conftest.$ac_ext <<_ACEOF
3285 /* end confdefs.h. */
3287 #if ((' ' & 0x0FF) == 0x020)
3288 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3289 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3291 # define ISLOWER(c) \
3292 (('a' <= (c) && (c) <= 'i') \
3293 || ('j' <= (c) && (c) <= 'r') \
3294 || ('s' <= (c) && (c) <= 'z'))
3295 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3298 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3303 for (i = 0; i < 256; i++)
3304 if (XOR (islower (i), ISLOWER (i))
3305 || toupper (i) != TOUPPER (i))
3310 rm -f conftest$ac_exeext
3311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3312 (eval $ac_link) 2>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; }; then
3323 echo "$as_me: program exited with status $ac_status" >&5
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3328 ac_cv_header_stdc=no
3330 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3334 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3335 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3336 if test $ac_cv_header_stdc = yes; then
3338 cat >>confdefs.h <<\_ACEOF
3339 #define STDC_HEADERS 1
3344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3354 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3355 inttypes.h stdint.h unistd.h
3357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3358 echo "$as_me:$LINENO: checking for $ac_header" >&5
3359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 cat >conftest.$ac_ext <<_ACEOF
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3369 $ac_includes_default
3371 #include <$ac_header>
3373 rm -f conftest.$ac_objext
3374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3375 (eval $ac_compile) 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } &&
3382 { ac_try='test -z "$ac_c_werror_flag"
3383 || test ! -s conftest.err'
3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); }; } &&
3389 { ac_try='test -s conftest.$ac_objext'
3390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); }; }; then
3395 eval "$as_ac_Header=yes"
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 eval "$as_ac_Header=no"
3402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3407 cat >>confdefs.h <<_ACEOF
3408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3417 for ac_header in paths.h
3419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3421 echo "$as_me:$LINENO: checking for $ac_header" >&5
3422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3429 # Is the header compilable?
3430 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3438 $ac_includes_default
3439 #include <$ac_header>
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3445 grep -v '^ *+' conftest.er1 >conftest.err
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 ac_header_compiler=yes
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3468 ac_header_compiler=no
3470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3472 echo "${ECHO_T}$ac_header_compiler" >&6
3474 # Is the header present?
3475 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3476 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 #include <$ac_header>
3485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3486 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1 >conftest.err
3490 cat conftest.err >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } >/dev/null; then
3493 if test -s conftest.err; then
3494 ac_cpp_err=$ac_c_preproc_warn_flag
3495 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3502 if test -z "$ac_cpp_err"; then
3503 ac_header_preproc=yes
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3508 ac_header_preproc=no
3510 rm -f conftest.err conftest.$ac_ext
3511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3512 echo "${ECHO_T}$ac_header_preproc" >&6
3514 # So? What about this header?
3515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3521 ac_header_preproc=yes
3524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3538 ## ------------------------------------------ ##
3539 ## Report this to the AC_PACKAGE_NAME lists. ##
3540 ## ------------------------------------------ ##
3543 sed "s/^/$as_me: WARNING: /" >&2
3546 echo "$as_me:$LINENO: checking for $ac_header" >&5
3547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 eval "$as_ac_Header=\$ac_header_preproc"
3553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3558 cat >>confdefs.h <<_ACEOF
3559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3567 # Check whether --with-mailspool or --without-mailspool was given.
3568 if test "${with_mailspool+set}" = set; then
3569 withval="$with_mailspool"
3570 with_mailspool=${withval}
3572 if test x$with_mailspool != x ; then
3573 pam_mail_spool="\"$with_mailspool\""
3575 if test "$cross_compiling" = yes; then
3576 pam_mail_spool="\"/var/spool/mail\""
3578 cat >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3587 #ifdef _PATH_MAILDIR
3594 rm -f conftest$ac_exeext
3595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3596 (eval $ac_link) 2>&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 pam_mail_spool="_PATH_MAILDIR"
3607 echo "$as_me: program exited with status $ac_status" >&5
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3612 pam_mail_spool="\"/var/spool/mail\""
3614 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3617 cat >>confdefs.h <<_ACEOF
3618 #define PAM_PATH_MAILDIR $pam_mail_spool
3622 echo "$as_me:$LINENO: checking for __libc_sched_setscheduler in -lc" >&5
3623 echo $ECHO_N "checking for __libc_sched_setscheduler in -lc... $ECHO_C" >&6
3624 if test "${ac_cv_lib_c___libc_sched_setscheduler+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 ac_check_lib_save_LIBS=$LIBS
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3636 /* Override any gcc2 internal prototype to avoid an error. */
3640 /* We use char because int might match the return type of a gcc2
3641 builtin and then its argument prototype would still apply. */
3642 char __libc_sched_setscheduler ();
3646 __libc_sched_setscheduler ();
3651 rm -f conftest.$ac_objext conftest$ac_exeext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3653 (eval $ac_link) 2>conftest.er1
3655 grep -v '^ *+' conftest.er1 >conftest.err
3657 cat conftest.err >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try='test -z "$ac_c_werror_flag"
3661 || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_lib_c___libc_sched_setscheduler=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 ac_cv_lib_c___libc_sched_setscheduler=no
3680 rm -f conftest.err conftest.$ac_objext \
3681 conftest$ac_exeext conftest.$ac_ext
3682 LIBS=$ac_check_lib_save_LIBS
3684 echo "$as_me:$LINENO: result: $ac_cv_lib_c___libc_sched_setscheduler" >&5
3685 echo "${ECHO_T}$ac_cv_lib_c___libc_sched_setscheduler" >&6
3686 if test $ac_cv_lib_c___libc_sched_setscheduler = yes; then
3694 echo "$as_me:$LINENO: checking for lckpwdf in -lc" >&5
3695 echo $ECHO_N "checking for lckpwdf in -lc... $ECHO_C" >&6
3696 if test "${ac_cv_lib_c_lckpwdf+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 ac_check_lib_save_LIBS=$LIBS
3701 cat >conftest.$ac_ext <<_ACEOF
3704 cat confdefs.h >>conftest.$ac_ext
3705 cat >>conftest.$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3708 /* Override any gcc2 internal prototype to avoid an error. */
3712 /* We use char because int might match the return type of a gcc2
3713 builtin and then its argument prototype would still apply. */
3723 rm -f conftest.$ac_objext conftest$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>conftest.er1
3727 grep -v '^ *+' conftest.er1 >conftest.err
3729 cat conftest.err >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } &&
3732 { ac_try='test -z "$ac_c_werror_flag"
3733 || test ! -s conftest.err'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; } &&
3739 { ac_try='test -s conftest$ac_exeext'
3740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); }; }; then
3745 ac_cv_lib_c_lckpwdf=yes
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 ac_cv_lib_c_lckpwdf=no
3752 rm -f conftest.err conftest.$ac_objext \
3753 conftest$ac_exeext conftest.$ac_ext
3754 LIBS=$ac_check_lib_save_LIBS
3756 echo "$as_me:$LINENO: result: $ac_cv_lib_c_lckpwdf" >&5
3757 echo "${ECHO_T}$ac_cv_lib_c_lckpwdf" >&6
3758 if test $ac_cv_lib_c_lckpwdf = yes; then
3766 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3767 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
3768 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 ac_check_lib_save_LIBS=$LIBS
3773 cat >conftest.$ac_ext <<_ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3780 /* Override any gcc2 internal prototype to avoid an error. */
3784 /* We use char because int might match the return type of a gcc2
3785 builtin and then its argument prototype would still apply. */
3795 rm -f conftest.$ac_objext conftest$ac_exeext
3796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3797 (eval $ac_link) 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } &&
3804 { ac_try='test -z "$ac_c_werror_flag"
3805 || test ! -s conftest.err'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; } &&
3811 { ac_try='test -s conftest$ac_exeext'
3812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); }; }; then
3817 ac_cv_lib_dl_dlopen=yes
3819 echo "$as_me: failed program was:" >&5
3820 sed 's/^/| /' conftest.$ac_ext >&5
3822 ac_cv_lib_dl_dlopen=no
3824 rm -f conftest.err conftest.$ac_objext \
3825 conftest$ac_exeext conftest.$ac_ext
3826 LIBS=$ac_check_lib_save_LIBS
3828 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
3829 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
3830 if test $ac_cv_lib_dl_dlopen = yes; then
3836 echo "$as_me:$LINENO: checking for FascistCheck in -lcrack" >&5
3837 echo $ECHO_N "checking for FascistCheck in -lcrack... $ECHO_C" >&6
3838 if test "${ac_cv_lib_crack_FascistCheck+set}" = set; then
3839 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 ac_check_lib_save_LIBS=$LIBS
3842 LIBS="-lcrack $LIBS"
3843 cat >conftest.$ac_ext <<_ACEOF
3846 cat confdefs.h >>conftest.$ac_ext
3847 cat >>conftest.$ac_ext <<_ACEOF
3848 /* end confdefs.h. */
3850 /* Override any gcc2 internal prototype to avoid an error. */
3854 /* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3856 char FascistCheck ();
3865 rm -f conftest.$ac_objext conftest$ac_exeext
3866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3867 (eval $ac_link) 2>conftest.er1
3869 grep -v '^ *+' conftest.er1 >conftest.err
3871 cat conftest.err >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } &&
3874 { ac_try='test -z "$ac_c_werror_flag"
3875 || test ! -s conftest.err'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; } &&
3881 { ac_try='test -s conftest$ac_exeext'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then
3887 ac_cv_lib_crack_FascistCheck=yes
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3892 ac_cv_lib_crack_FascistCheck=no
3894 rm -f conftest.err conftest.$ac_objext \
3895 conftest$ac_exeext conftest.$ac_ext
3896 LIBS=$ac_check_lib_save_LIBS
3898 echo "$as_me:$LINENO: result: $ac_cv_lib_crack_FascistCheck" >&5
3899 echo "${ECHO_T}$ac_cv_lib_crack_FascistCheck" >&6
3900 if test $ac_cv_lib_crack_FascistCheck = yes; then
3901 HAVE_LIBCRACK=yes ; cat >>confdefs.h <<\_ACEOF
3902 #define HAVE_LIBCRACK 1
3911 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
3912 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
3913 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
3914 echo $ECHO_N "(cached) $ECHO_C" >&6
3916 ac_check_lib_save_LIBS=$LIBS
3917 LIBS="-lcrypt $LIBS"
3918 cat >conftest.$ac_ext <<_ACEOF
3921 cat confdefs.h >>conftest.$ac_ext
3922 cat >>conftest.$ac_ext <<_ACEOF
3923 /* end confdefs.h. */
3925 /* Override any gcc2 internal prototype to avoid an error. */
3929 /* We use char because int might match the return type of a gcc2
3930 builtin and then its argument prototype would still apply. */
3940 rm -f conftest.$ac_objext conftest$ac_exeext
3941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3942 (eval $ac_link) 2>conftest.er1
3944 grep -v '^ *+' conftest.er1 >conftest.err
3946 cat conftest.err >&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try='test -z "$ac_c_werror_flag"
3950 || test ! -s conftest.err'
3951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); }; } &&
3956 { ac_try='test -s conftest$ac_exeext'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; }; then
3962 ac_cv_lib_crypt_crypt=yes
3964 echo "$as_me: failed program was:" >&5
3965 sed 's/^/| /' conftest.$ac_ext >&5
3967 ac_cv_lib_crypt_crypt=no
3969 rm -f conftest.err conftest.$ac_objext \
3970 conftest$ac_exeext conftest.$ac_ext
3971 LIBS=$ac_check_lib_save_LIBS
3973 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
3974 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
3975 if test $ac_cv_lib_crypt_crypt = yes; then
3976 HAVE_LIBCRYPT=yes ; cat >>confdefs.h <<\_ACEOF
3977 #define HAVE_LIBCRYPT 1
3985 echo "$as_me:$LINENO: checking for logwtmp in -lutil" >&5
3986 echo $ECHO_N "checking for logwtmp in -lutil... $ECHO_C" >&6
3987 if test "${ac_cv_lib_util_logwtmp+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 ac_check_lib_save_LIBS=$LIBS
3992 cat >conftest.$ac_ext <<_ACEOF
3995 cat confdefs.h >>conftest.$ac_ext
3996 cat >>conftest.$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3999 /* Override any gcc2 internal prototype to avoid an error. */
4003 /* We use char because int might match the return type of a gcc2
4004 builtin and then its argument prototype would still apply. */
4014 rm -f conftest.$ac_objext conftest$ac_exeext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4016 (eval $ac_link) 2>conftest.er1
4018 grep -v '^ *+' conftest.er1 >conftest.err
4020 cat conftest.err >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); } &&
4023 { ac_try='test -z "$ac_c_werror_flag"
4024 || test ! -s conftest.err'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; } &&
4030 { ac_try='test -s conftest$ac_exeext'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; }; then
4036 ac_cv_lib_util_logwtmp=yes
4038 echo "$as_me: failed program was:" >&5
4039 sed 's/^/| /' conftest.$ac_ext >&5
4041 ac_cv_lib_util_logwtmp=no
4043 rm -f conftest.err conftest.$ac_objext \
4044 conftest$ac_exeext conftest.$ac_ext
4045 LIBS=$ac_check_lib_save_LIBS
4047 echo "$as_me:$LINENO: result: $ac_cv_lib_util_logwtmp" >&5
4048 echo "${ECHO_T}$ac_cv_lib_util_logwtmp" >&6
4049 if test $ac_cv_lib_util_logwtmp = yes; then
4050 HAVE_LIBUTIL=yes ; cat >>confdefs.h <<\_ACEOF
4051 #define HAVE_LIBUTIL 1
4059 echo "$as_me:$LINENO: checking for dbm_store in -lndbm" >&5
4060 echo $ECHO_N "checking for dbm_store in -lndbm... $ECHO_C" >&6
4061 if test "${ac_cv_lib_ndbm_dbm_store+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 ac_check_lib_save_LIBS=$LIBS
4066 cat >conftest.$ac_ext <<_ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4073 /* Override any gcc2 internal prototype to avoid an error. */
4077 /* We use char because int might match the return type of a gcc2
4078 builtin and then its argument prototype would still apply. */
4088 rm -f conftest.$ac_objext conftest$ac_exeext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4090 (eval $ac_link) 2>conftest.er1
4092 grep -v '^ *+' conftest.er1 >conftest.err
4094 cat conftest.err >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } &&
4097 { ac_try='test -z "$ac_c_werror_flag"
4098 || test ! -s conftest.err'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; } &&
4104 { ac_try='test -s conftest$ac_exeext'
4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }; }; then
4110 ac_cv_lib_ndbm_dbm_store=yes
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 ac_cv_lib_ndbm_dbm_store=no
4117 rm -f conftest.err conftest.$ac_objext \
4118 conftest$ac_exeext conftest.$ac_ext
4119 LIBS=$ac_check_lib_save_LIBS
4121 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_dbm_store" >&5
4122 echo "${ECHO_T}$ac_cv_lib_ndbm_dbm_store" >&6
4123 if test $ac_cv_lib_ndbm_dbm_store = yes; then
4124 HAVE_LIBNDBM=yes ; cat >>confdefs.h <<\_ACEOF
4125 #define HAVE_LIBNDBM 1
4133 echo "$as_me:$LINENO: checking for dbm_store in -ldb" >&5
4134 echo $ECHO_N "checking for dbm_store in -ldb... $ECHO_C" >&6
4135 if test "${ac_cv_lib_db_dbm_store+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 ac_check_lib_save_LIBS=$LIBS
4140 cat >conftest.$ac_ext <<_ACEOF
4143 cat confdefs.h >>conftest.$ac_ext
4144 cat >>conftest.$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4147 /* Override any gcc2 internal prototype to avoid an error. */
4151 /* We use char because int might match the return type of a gcc2
4152 builtin and then its argument prototype would still apply. */
4162 rm -f conftest.$ac_objext conftest$ac_exeext
4163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4164 (eval $ac_link) 2>conftest.er1
4166 grep -v '^ *+' conftest.er1 >conftest.err
4168 cat conftest.err >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); } &&
4171 { ac_try='test -z "$ac_c_werror_flag"
4172 || test ! -s conftest.err'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; } &&
4178 { ac_try='test -s conftest$ac_exeext'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; }; then
4184 ac_cv_lib_db_dbm_store=yes
4186 echo "$as_me: failed program was:" >&5
4187 sed 's/^/| /' conftest.$ac_ext >&5
4189 ac_cv_lib_db_dbm_store=no
4191 rm -f conftest.err conftest.$ac_objext \
4192 conftest$ac_exeext conftest.$ac_ext
4193 LIBS=$ac_check_lib_save_LIBS
4195 echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbm_store" >&5
4196 echo "${ECHO_T}$ac_cv_lib_db_dbm_store" >&6
4197 if test $ac_cv_lib_db_dbm_store = yes; then
4198 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4199 #define HAVE_LIBDB 1
4206 if test x$HAVE_LIBDB != xyes ; then
4207 echo "$as_me:$LINENO: checking for db_create in -ldb" >&5
4208 echo $ECHO_N "checking for db_create in -ldb... $ECHO_C" >&6
4209 if test "${ac_cv_lib_db_db_create+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 ac_check_lib_save_LIBS=$LIBS
4214 cat >conftest.$ac_ext <<_ACEOF
4217 cat confdefs.h >>conftest.$ac_ext
4218 cat >>conftest.$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4221 /* Override any gcc2 internal prototype to avoid an error. */
4225 /* We use char because int might match the return type of a gcc2
4226 builtin and then its argument prototype would still apply. */
4236 rm -f conftest.$ac_objext conftest$ac_exeext
4237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4238 (eval $ac_link) 2>conftest.er1
4240 grep -v '^ *+' conftest.er1 >conftest.err
4242 cat conftest.err >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); } &&
4245 { ac_try='test -z "$ac_c_werror_flag"
4246 || test ! -s conftest.err'
4247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); }; } &&
4252 { ac_try='test -s conftest$ac_exeext'
4253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); }; }; then
4258 ac_cv_lib_db_db_create=yes
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 ac_cv_lib_db_db_create=no
4265 rm -f conftest.err conftest.$ac_objext \
4266 conftest$ac_exeext conftest.$ac_ext
4267 LIBS=$ac_check_lib_save_LIBS
4269 echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_create" >&5
4270 echo "${ECHO_T}$ac_cv_lib_db_db_create" >&6
4271 if test $ac_cv_lib_db_db_create = yes; then
4272 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4273 #define HAVE_LIBDB 1
4282 echo "$as_me:$LINENO: checking for yylex in -lfl" >&5
4283 echo $ECHO_N "checking for yylex in -lfl... $ECHO_C" >&6
4284 if test "${ac_cv_lib_fl_yylex+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 ac_check_lib_save_LIBS=$LIBS
4288 LIBS="-lfl HAVE_LIBFL=no $LIBS"
4289 cat >conftest.$ac_ext <<_ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4296 /* Override any gcc2 internal prototype to avoid an error. */
4300 /* We use char because int might match the return type of a gcc2
4301 builtin and then its argument prototype would still apply. */
4311 rm -f conftest.$ac_objext conftest$ac_exeext
4312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4313 (eval $ac_link) 2>conftest.er1
4315 grep -v '^ *+' conftest.er1 >conftest.err
4317 cat conftest.err >&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); } &&
4320 { ac_try='test -z "$ac_c_werror_flag"
4321 || test ! -s conftest.err'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; } &&
4327 { ac_try='test -s conftest$ac_exeext'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; }; then
4333 ac_cv_lib_fl_yylex=yes
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 ac_cv_lib_fl_yylex=no
4340 rm -f conftest.err conftest.$ac_objext \
4341 conftest$ac_exeext conftest.$ac_ext
4342 LIBS=$ac_check_lib_save_LIBS
4344 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yylex" >&5
4345 echo "${ECHO_T}$ac_cv_lib_fl_yylex" >&6
4346 if test $ac_cv_lib_fl_yylex = yes; then
4349 HAVE_LIBFL=yes ; cat >>confdefs.h <<\_ACEOF
4350 #define HAVE_LIBFL 1
4356 echo "$as_me:$LINENO: checking for yp_maplist in -lnsl" >&5
4357 echo $ECHO_N "checking for yp_maplist in -lnsl... $ECHO_C" >&6
4358 if test "${ac_cv_lib_nsl_yp_maplist+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 ac_check_lib_save_LIBS=$LIBS
4363 cat >conftest.$ac_ext <<_ACEOF
4366 cat confdefs.h >>conftest.$ac_ext
4367 cat >>conftest.$ac_ext <<_ACEOF
4368 /* end confdefs.h. */
4370 /* Override any gcc2 internal prototype to avoid an error. */
4374 /* We use char because int might match the return type of a gcc2
4375 builtin and then its argument prototype would still apply. */
4385 rm -f conftest.$ac_objext conftest$ac_exeext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4387 (eval $ac_link) 2>conftest.er1
4389 grep -v '^ *+' conftest.er1 >conftest.err
4391 cat conftest.err >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); } &&
4394 { ac_try='test -z "$ac_c_werror_flag"
4395 || test ! -s conftest.err'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; } &&
4401 { ac_try='test -s conftest$ac_exeext'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; }; then
4407 ac_cv_lib_nsl_yp_maplist=yes
4409 echo "$as_me: failed program was:" >&5
4410 sed 's/^/| /' conftest.$ac_ext >&5
4412 ac_cv_lib_nsl_yp_maplist=no
4414 rm -f conftest.err conftest.$ac_objext \
4415 conftest$ac_exeext conftest.$ac_ext
4416 LIBS=$ac_check_lib_save_LIBS
4418 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_maplist" >&5
4419 echo "${ECHO_T}$ac_cv_lib_nsl_yp_maplist" >&6
4420 if test $ac_cv_lib_nsl_yp_maplist = yes; then
4421 HAVE_LIBNSL=yes ; cat >>confdefs.h <<\_ACEOF
4422 #define HAVE_LIBNSL 1
4431 if test $HAVE_LIBNSL = yes ; then
4432 pwdblibs="$pwdblibs -lnsl"
4434 echo "$as_me:$LINENO: checking for pwdb_db_name in -lpwdb" >&5
4435 echo $ECHO_N "checking for pwdb_db_name in -lpwdb... $ECHO_C" >&6
4436 if test "${ac_cv_lib_pwdb_pwdb_db_name+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 ac_check_lib_save_LIBS=$LIBS
4440 LIBS="-lpwdb $pwdblibs $LIBS"
4441 cat >conftest.$ac_ext <<_ACEOF
4444 cat confdefs.h >>conftest.$ac_ext
4445 cat >>conftest.$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4448 /* Override any gcc2 internal prototype to avoid an error. */
4452 /* We use char because int might match the return type of a gcc2
4453 builtin and then its argument prototype would still apply. */
4454 char pwdb_db_name ();
4463 rm -f conftest.$ac_objext conftest$ac_exeext
4464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4465 (eval $ac_link) 2>conftest.er1
4467 grep -v '^ *+' conftest.er1 >conftest.err
4469 cat conftest.err >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } &&
4472 { ac_try='test -z "$ac_c_werror_flag"
4473 || test ! -s conftest.err'
4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478 (exit $ac_status); }; } &&
4479 { ac_try='test -s conftest$ac_exeext'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; }; then
4485 ac_cv_lib_pwdb_pwdb_db_name=yes
4487 echo "$as_me: failed program was:" >&5
4488 sed 's/^/| /' conftest.$ac_ext >&5
4490 ac_cv_lib_pwdb_pwdb_db_name=no
4492 rm -f conftest.err conftest.$ac_objext \
4493 conftest$ac_exeext conftest.$ac_ext
4494 LIBS=$ac_check_lib_save_LIBS
4496 echo "$as_me:$LINENO: result: $ac_cv_lib_pwdb_pwdb_db_name" >&5
4497 echo "${ECHO_T}$ac_cv_lib_pwdb_pwdb_db_name" >&6
4498 if test $ac_cv_lib_pwdb_pwdb_db_name = yes; then
4499 HAVE_LIBPWDB=yes ; cat >>confdefs.h <<\_ACEOF
4500 #define HAVE_LIBPWDB 1
4510 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4511 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4512 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 ac_check_lib_save_LIBS=$LIBS
4517 cat >conftest.$ac_ext <<_ACEOF
4520 cat confdefs.h >>conftest.$ac_ext
4521 cat >>conftest.$ac_ext <<_ACEOF
4522 /* end confdefs.h. */
4524 /* Override any gcc2 internal prototype to avoid an error. */
4528 /* We use char because int might match the return type of a gcc2
4529 builtin and then its argument prototype would still apply. */
4539 rm -f conftest.$ac_objext conftest$ac_exeext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4541 (eval $ac_link) 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try='test -z "$ac_c_werror_flag"
4549 || test ! -s conftest.err'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; } &&
4555 { ac_try='test -s conftest$ac_exeext'
4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4561 ac_cv_lib_fl_yywrap=yes
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.$ac_ext >&5
4566 ac_cv_lib_fl_yywrap=no
4568 rm -f conftest.err conftest.$ac_objext \
4569 conftest$ac_exeext conftest.$ac_ext
4570 LIBS=$ac_check_lib_save_LIBS
4572 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4573 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4574 if test $ac_cv_lib_fl_yywrap = yes; then
4575 HAVE_LIBFLEX=yes ; cat >>confdefs.h <<\_ACEOF
4576 #define HAVE_LIBFLEX 1
4584 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4585 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4586 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 ac_check_lib_save_LIBS=$LIBS
4591 cat >conftest.$ac_ext <<_ACEOF
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4598 /* Override any gcc2 internal prototype to avoid an error. */
4602 /* We use char because int might match the return type of a gcc2
4603 builtin and then its argument prototype would still apply. */
4613 rm -f conftest.$ac_objext conftest$ac_exeext
4614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4615 (eval $ac_link) 2>conftest.er1
4617 grep -v '^ *+' conftest.er1 >conftest.err
4619 cat conftest.err >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } &&
4622 { ac_try='test -z "$ac_c_werror_flag"
4623 || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try='test -s conftest$ac_exeext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4635 ac_cv_lib_l_yywrap=yes
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4640 ac_cv_lib_l_yywrap=no
4642 rm -f conftest.err conftest.$ac_objext \
4643 conftest$ac_exeext conftest.$ac_ext
4644 LIBS=$ac_check_lib_save_LIBS
4646 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4647 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4648 if test $ac_cv_lib_l_yywrap = yes; then
4649 HAVE_LIBLEX=yes ; cat >>confdefs.h <<\_ACEOF
4650 #define HAVE_LIBLEX 1
4665 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4666 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4667 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4668 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4670 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 cat >conftest.$ac_ext <<_ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4678 #include <sys/types.h>
4690 rm -f conftest.$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1 >conftest.err
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try='test -z "$ac_c_werror_flag"
4700 || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try='test -s conftest.$ac_objext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 eval "$as_ac_Header=yes"
4714 echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.$ac_ext >&5
4717 eval "$as_ac_Header=no"
4719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4724 cat >>confdefs.h <<_ACEOF
4725 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4728 ac_header_dirent=$ac_hdr; break
4732 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4733 if test $ac_header_dirent = dirent.h; then
4734 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4735 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4736 if test "${ac_cv_search_opendir+set}" = set; then
4737 echo $ECHO_N "(cached) $ECHO_C" >&6
4739 ac_func_search_save_LIBS=$LIBS
4740 ac_cv_search_opendir=no
4741 cat >conftest.$ac_ext <<_ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4748 /* Override any gcc2 internal prototype to avoid an error. */
4752 /* We use char because int might match the return type of a gcc2
4753 builtin and then its argument prototype would still apply. */
4763 rm -f conftest.$ac_objext conftest$ac_exeext
4764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4765 (eval $ac_link) 2>conftest.er1
4767 grep -v '^ *+' conftest.er1 >conftest.err
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } &&
4772 { ac_try='test -z "$ac_c_werror_flag"
4773 || test ! -s conftest.err'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; } &&
4779 { ac_try='test -s conftest$ac_exeext'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; }; then
4785 ac_cv_search_opendir="none required"
4787 echo "$as_me: failed program was:" >&5
4788 sed 's/^/| /' conftest.$ac_ext >&5
4791 rm -f conftest.err conftest.$ac_objext \
4792 conftest$ac_exeext conftest.$ac_ext
4793 if test "$ac_cv_search_opendir" = no; then
4794 for ac_lib in dir; do
4795 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4796 cat >conftest.$ac_ext <<_ACEOF
4799 cat confdefs.h >>conftest.$ac_ext
4800 cat >>conftest.$ac_ext <<_ACEOF
4801 /* end confdefs.h. */
4803 /* Override any gcc2 internal prototype to avoid an error. */
4807 /* We use char because int might match the return type of a gcc2
4808 builtin and then its argument prototype would still apply. */
4818 rm -f conftest.$ac_objext conftest$ac_exeext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4820 (eval $ac_link) 2>conftest.er1
4822 grep -v '^ *+' conftest.er1 >conftest.err
4824 cat conftest.err >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } &&
4827 { ac_try='test -z "$ac_c_werror_flag"
4828 || test ! -s conftest.err'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; } &&
4834 { ac_try='test -s conftest$ac_exeext'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; }; then
4840 ac_cv_search_opendir="-l$ac_lib"
4843 echo "$as_me: failed program was:" >&5
4844 sed 's/^/| /' conftest.$ac_ext >&5
4847 rm -f conftest.err conftest.$ac_objext \
4848 conftest$ac_exeext conftest.$ac_ext
4851 LIBS=$ac_func_search_save_LIBS
4853 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4854 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4855 if test "$ac_cv_search_opendir" != no; then
4856 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4861 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4862 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4863 if test "${ac_cv_search_opendir+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 ac_func_search_save_LIBS=$LIBS
4867 ac_cv_search_opendir=no
4868 cat >conftest.$ac_ext <<_ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4875 /* Override any gcc2 internal prototype to avoid an error. */
4879 /* We use char because int might match the return type of a gcc2
4880 builtin and then its argument prototype would still apply. */
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4892 (eval $ac_link) 2>conftest.er1
4894 grep -v '^ *+' conftest.er1 >conftest.err
4896 cat conftest.err >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); } &&
4899 { ac_try='test -z "$ac_c_werror_flag"
4900 || test ! -s conftest.err'
4901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; } &&
4906 { ac_try='test -s conftest$ac_exeext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_cv_search_opendir="none required"
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4918 rm -f conftest.err conftest.$ac_objext \
4919 conftest$ac_exeext conftest.$ac_ext
4920 if test "$ac_cv_search_opendir" = no; then
4922 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4923 cat >conftest.$ac_ext <<_ACEOF
4926 cat confdefs.h >>conftest.$ac_ext
4927 cat >>conftest.$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4930 /* Override any gcc2 internal prototype to avoid an error. */
4934 /* We use char because int might match the return type of a gcc2
4935 builtin and then its argument prototype would still apply. */
4945 rm -f conftest.$ac_objext conftest$ac_exeext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4947 (eval $ac_link) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1 >conftest.err
4951 cat conftest.err >&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try='test -z "$ac_c_werror_flag"
4955 || test ! -s conftest.err'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; } &&
4961 { ac_try='test -s conftest$ac_exeext'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4967 ac_cv_search_opendir="-l$ac_lib"
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4974 rm -f conftest.err conftest.$ac_objext \
4975 conftest$ac_exeext conftest.$ac_ext
4978 LIBS=$ac_func_search_save_LIBS
4980 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4981 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4982 if test "$ac_cv_search_opendir" != no; then
4983 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4989 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4990 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4991 if test "${ac_cv_header_stdc+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 cat >conftest.$ac_ext <<_ACEOF
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5013 rm -f conftest.$ac_objext
5014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5015 (eval $ac_compile) 2>conftest.er1
5017 grep -v '^ *+' conftest.er1 >conftest.err
5019 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try='test -z "$ac_c_werror_flag"
5023 || test ! -s conftest.err'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; } &&
5029 { ac_try='test -s conftest.$ac_objext'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; }; then
5035 ac_cv_header_stdc=yes
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.$ac_ext >&5
5040 ac_cv_header_stdc=no
5042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5044 if test $ac_cv_header_stdc = yes; then
5045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5046 cat >conftest.$ac_ext <<_ACEOF
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5056 $EGREP "memchr" >/dev/null 2>&1; then
5059 ac_cv_header_stdc=no
5065 if test $ac_cv_header_stdc = yes; then
5066 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5077 $EGREP "free" >/dev/null 2>&1; then
5080 ac_cv_header_stdc=no
5086 if test $ac_cv_header_stdc = yes; then
5087 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5088 if test "$cross_compiling" = yes; then
5091 cat >conftest.$ac_ext <<_ACEOF
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5098 #if ((' ' & 0x0FF) == 0x020)
5099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5102 # define ISLOWER(c) \
5103 (('a' <= (c) && (c) <= 'i') \
5104 || ('j' <= (c) && (c) <= 'r') \
5105 || ('s' <= (c) && (c) <= 'z'))
5106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5114 for (i = 0; i < 256; i++)
5115 if (XOR (islower (i), ISLOWER (i))
5116 || toupper (i) != TOUPPER (i))
5121 rm -f conftest$ac_exeext
5122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5123 (eval $ac_link) 2>&5
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131 (exit $ac_status); }; }; then
5134 echo "$as_me: program exited with status $ac_status" >&5
5135 echo "$as_me: failed program was:" >&5
5136 sed 's/^/| /' conftest.$ac_ext >&5
5139 ac_cv_header_stdc=no
5141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5145 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5146 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5147 if test $ac_cv_header_stdc = yes; then
5149 cat >>confdefs.h <<\_ACEOF
5150 #define STDC_HEADERS 1
5155 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5156 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5157 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 cat >conftest.$ac_ext <<_ACEOF
5163 cat confdefs.h >>conftest.$ac_ext
5164 cat >>conftest.$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 #include <sys/types.h>
5167 #include <sys/wait.h>
5169 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5172 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5180 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5185 rm -f conftest.$ac_objext
5186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5187 (eval $ac_compile) 2>conftest.er1
5189 grep -v '^ *+' conftest.er1 >conftest.err
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } &&
5194 { ac_try='test -z "$ac_c_werror_flag"
5195 || test ! -s conftest.err'
5196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); }; } &&
5201 { ac_try='test -s conftest.$ac_objext'
5202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); }; }; then
5207 ac_cv_header_sys_wait_h=yes
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5212 ac_cv_header_sys_wait_h=no
5214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5216 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5217 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5218 if test $ac_cv_header_sys_wait_h = yes; then
5220 cat >>confdefs.h <<\_ACEOF
5221 #define HAVE_SYS_WAIT_H 1
5236 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
5238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5240 echo "$as_me:$LINENO: checking for $ac_header" >&5
5241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5248 # Is the header compilable?
5249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5251 cat >conftest.$ac_ext <<_ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5257 $ac_includes_default
5258 #include <$ac_header>
5260 rm -f conftest.$ac_objext
5261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5262 (eval $ac_compile) 2>conftest.er1
5264 grep -v '^ *+' conftest.er1 >conftest.err
5266 cat conftest.err >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } &&
5269 { ac_try='test -z "$ac_c_werror_flag"
5270 || test ! -s conftest.err'
5271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }; } &&
5276 { ac_try='test -s conftest.$ac_objext'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5282 ac_header_compiler=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5287 ac_header_compiler=no
5289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5291 echo "${ECHO_T}$ac_header_compiler" >&6
5293 # Is the header present?
5294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5296 cat >conftest.$ac_ext <<_ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h. */
5302 #include <$ac_header>
5304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5307 grep -v '^ *+' conftest.er1 >conftest.err
5309 cat conftest.err >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } >/dev/null; then
5312 if test -s conftest.err; then
5313 ac_cpp_err=$ac_c_preproc_warn_flag
5314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5321 if test -z "$ac_cpp_err"; then
5322 ac_header_preproc=yes
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.$ac_ext >&5
5327 ac_header_preproc=no
5329 rm -f conftest.err conftest.$ac_ext
5330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5331 echo "${ECHO_T}$ac_header_preproc" >&6
5333 # So? What about this header?
5334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5340 ac_header_preproc=yes
5343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5357 ## ------------------------------------------ ##
5358 ## Report this to the AC_PACKAGE_NAME lists. ##
5359 ## ------------------------------------------ ##
5362 sed "s/^/$as_me: WARNING: /" >&2
5365 echo "$as_me:$LINENO: checking for $ac_header" >&5
5366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 eval "$as_ac_Header=\$ac_header_preproc"
5372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5377 cat >>confdefs.h <<_ACEOF
5378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5387 for ac_header in features.h
5389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5391 echo "$as_me:$LINENO: checking for $ac_header" >&5
5392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5399 # Is the header compilable?
5400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5402 cat >conftest.$ac_ext <<_ACEOF
5405 cat confdefs.h >>conftest.$ac_ext
5406 cat >>conftest.$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5408 $ac_includes_default
5409 #include <$ac_header>
5411 rm -f conftest.$ac_objext
5412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5413 (eval $ac_compile) 2>conftest.er1
5415 grep -v '^ *+' conftest.er1 >conftest.err
5417 cat conftest.err >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); } &&
5420 { ac_try='test -z "$ac_c_werror_flag"
5421 || test ! -s conftest.err'
5422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }; } &&
5427 { ac_try='test -s conftest.$ac_objext'
5428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; }; then
5433 ac_header_compiler=yes
5435 echo "$as_me: failed program was:" >&5
5436 sed 's/^/| /' conftest.$ac_ext >&5
5438 ac_header_compiler=no
5440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5442 echo "${ECHO_T}$ac_header_compiler" >&6
5444 # Is the header present?
5445 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5447 cat >conftest.$ac_ext <<_ACEOF
5450 cat confdefs.h >>conftest.$ac_ext
5451 cat >>conftest.$ac_ext <<_ACEOF
5452 /* end confdefs.h. */
5453 #include <$ac_header>
5455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5458 grep -v '^ *+' conftest.er1 >conftest.err
5460 cat conftest.err >&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } >/dev/null; then
5463 if test -s conftest.err; then
5464 ac_cpp_err=$ac_c_preproc_warn_flag
5465 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5472 if test -z "$ac_cpp_err"; then
5473 ac_header_preproc=yes
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.$ac_ext >&5
5478 ac_header_preproc=no
5480 rm -f conftest.err conftest.$ac_ext
5481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5482 echo "${ECHO_T}$ac_header_preproc" >&6
5484 # So? What about this header?
5485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5487 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5488 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5490 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5491 ac_header_preproc=yes
5494 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5495 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5496 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5497 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5498 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5499 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5500 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5501 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5505 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5508 ## ------------------------------------------ ##
5509 ## Report this to the AC_PACKAGE_NAME lists. ##
5510 ## ------------------------------------------ ##
5513 sed "s/^/$as_me: WARNING: /" >&2
5516 echo "$as_me:$LINENO: checking for $ac_header" >&5
5517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5521 eval "$as_ac_Header=\$ac_header_preproc"
5523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5528 cat >>confdefs.h <<_ACEOF
5529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5538 for ac_header in crypt.h
5540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo "$as_me:$LINENO: checking for $ac_header" >&5
5543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5550 # Is the header compilable?
5551 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5552 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 $ac_includes_default
5560 #include <$ac_header>
5562 rm -f conftest.$ac_objext
5563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5564 (eval $ac_compile) 2>conftest.er1
5566 grep -v '^ *+' conftest.er1 >conftest.err
5568 cat conftest.err >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); } &&
5571 { ac_try='test -z "$ac_c_werror_flag"
5572 || test ! -s conftest.err'
5573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); }; } &&
5578 { ac_try='test -s conftest.$ac_objext'
5579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); }; }; then
5584 ac_header_compiler=yes
5586 echo "$as_me: failed program was:" >&5
5587 sed 's/^/| /' conftest.$ac_ext >&5
5589 ac_header_compiler=no
5591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5593 echo "${ECHO_T}$ac_header_compiler" >&6
5595 # Is the header present?
5596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 #include <$ac_header>
5606 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5607 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5609 grep -v '^ *+' conftest.er1 >conftest.err
5611 cat conftest.err >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } >/dev/null; then
5614 if test -s conftest.err; then
5615 ac_cpp_err=$ac_c_preproc_warn_flag
5616 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5623 if test -z "$ac_cpp_err"; then
5624 ac_header_preproc=yes
5626 echo "$as_me: failed program was:" >&5
5627 sed 's/^/| /' conftest.$ac_ext >&5
5629 ac_header_preproc=no
5631 rm -f conftest.err conftest.$ac_ext
5632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5633 echo "${ECHO_T}$ac_header_preproc" >&6
5635 # So? What about this header?
5636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5641 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5642 ac_header_preproc=yes
5645 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5646 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5647 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5648 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5649 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5650 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5651 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5652 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5654 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5656 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5659 ## ------------------------------------------ ##
5660 ## Report this to the AC_PACKAGE_NAME lists. ##
5661 ## ------------------------------------------ ##
5664 sed "s/^/$as_me: WARNING: /" >&2
5667 echo "$as_me:$LINENO: checking for $ac_header" >&5
5668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5670 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 eval "$as_ac_Header=\$ac_header_preproc"
5674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5679 cat >>confdefs.h <<_ACEOF
5680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5690 for ac_header in ndbm.h db.h
5692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5694 echo "$as_me:$LINENO: checking for $ac_header" >&5
5695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5702 # Is the header compilable?
5703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5705 cat >conftest.$ac_ext <<_ACEOF
5708 cat confdefs.h >>conftest.$ac_ext
5709 cat >>conftest.$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5711 $ac_includes_default
5712 #include <$ac_header>
5714 rm -f conftest.$ac_objext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>conftest.er1
5718 grep -v '^ *+' conftest.er1 >conftest.err
5720 cat conftest.err >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); } &&
5723 { ac_try='test -z "$ac_c_werror_flag"
5724 || test ! -s conftest.err'
5725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); }; } &&
5730 { ac_try='test -s conftest.$ac_objext'
5731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); }; }; then
5736 ac_header_compiler=yes
5738 echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5
5741 ac_header_compiler=no
5743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5745 echo "${ECHO_T}$ac_header_compiler" >&6
5747 # Is the header present?
5748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5750 cat >conftest.$ac_ext <<_ACEOF
5753 cat confdefs.h >>conftest.$ac_ext
5754 cat >>conftest.$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5756 #include <$ac_header>
5758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5761 grep -v '^ *+' conftest.er1 >conftest.err
5763 cat conftest.err >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } >/dev/null; then
5766 if test -s conftest.err; then
5767 ac_cpp_err=$ac_c_preproc_warn_flag
5768 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5775 if test -z "$ac_cpp_err"; then
5776 ac_header_preproc=yes
5778 echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5781 ac_header_preproc=no
5783 rm -f conftest.err conftest.$ac_ext
5784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5785 echo "${ECHO_T}$ac_header_preproc" >&6
5787 # So? What about this header?
5788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5793 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5794 ac_header_preproc=yes
5797 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5798 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5799 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5800 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5802 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5803 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5804 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5807 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5808 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5811 ## ------------------------------------------ ##
5812 ## Report this to the AC_PACKAGE_NAME lists. ##
5813 ## ------------------------------------------ ##
5816 sed "s/^/$as_me: WARNING: /" >&2
5819 echo "$as_me:$LINENO: checking for $ac_header" >&5
5820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 eval "$as_ac_Header=\$ac_header_preproc"
5826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5827 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5831 cat >>confdefs.h <<_ACEOF
5832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5839 HAVE_NDBM_H=$ac_cv_header_ndbm_h
5845 for ac_header in lastlog.h utmp.h utmpx.h
5847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5849 echo "$as_me:$LINENO: checking for $ac_header" >&5
5850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5857 # Is the header compilable?
5858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5860 cat >conftest.$ac_ext <<_ACEOF
5863 cat confdefs.h >>conftest.$ac_ext
5864 cat >>conftest.$ac_ext <<_ACEOF
5865 /* end confdefs.h. */
5866 $ac_includes_default
5867 #include <$ac_header>
5869 rm -f conftest.$ac_objext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5871 (eval $ac_compile) 2>conftest.er1
5873 grep -v '^ *+' conftest.er1 >conftest.err
5875 cat conftest.err >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try='test -z "$ac_c_werror_flag"
5879 || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try='test -s conftest.$ac_objext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 ac_header_compiler=yes
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.$ac_ext >&5
5896 ac_header_compiler=no
5898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5900 echo "${ECHO_T}$ac_header_compiler" >&6
5902 # Is the header present?
5903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5905 cat >conftest.$ac_ext <<_ACEOF
5908 cat confdefs.h >>conftest.$ac_ext
5909 cat >>conftest.$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5911 #include <$ac_header>
5913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5916 grep -v '^ *+' conftest.er1 >conftest.err
5918 cat conftest.err >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } >/dev/null; then
5921 if test -s conftest.err; then
5922 ac_cpp_err=$ac_c_preproc_warn_flag
5923 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5930 if test -z "$ac_cpp_err"; then
5931 ac_header_preproc=yes
5933 echo "$as_me: failed program was:" >&5
5934 sed 's/^/| /' conftest.$ac_ext >&5
5936 ac_header_preproc=no
5938 rm -f conftest.err conftest.$ac_ext
5939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5940 echo "${ECHO_T}$ac_header_preproc" >&6
5942 # So? What about this header?
5943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5949 ac_header_preproc=yes
5952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5966 ## ------------------------------------------ ##
5967 ## Report this to the AC_PACKAGE_NAME lists. ##
5968 ## ------------------------------------------ ##
5971 sed "s/^/$as_me: WARNING: /" >&2
5974 echo "$as_me:$LINENO: checking for $ac_header" >&5
5975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 eval "$as_ac_Header=\$ac_header_preproc"
5981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5986 cat >>confdefs.h <<_ACEOF
5987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5996 echo "$as_me:$LINENO: checking path to cracklib dictionary" >&5
5997 echo $ECHO_N "checking path to cracklib dictionary... $ECHO_C" >&6
5998 DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
5999 /usr/local/lib /usr/local/share/lib"
6000 DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
6001 CRACKLIB_DICTPATH=""
6002 for d in $DICT_DIR_CANDIDATES ; do
6003 for f in $DICT_FILE_CANDIDATES ; do
6004 if test -r $d/$f.hwm ; then
6005 CRACKLIB_DICTPATH=$d/$f
6007 elif test -r $d/dict/$f.hwm ; then
6008 CRACKLIB_DICTPATH=$d/dict/$f
6013 if test -z "$CRACKLIB_DICTPATH" ; then
6014 { echo "$as_me:$LINENO: WARNING: none found - pam_cracklib will not be built" >&5
6015 echo "$as_me: WARNING: none found - pam_cracklib will not be built" >&2;}
6017 echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
6018 echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6
6023 GCC_WARNINGS="-Wall -Wwrite-strings \
6024 -Wpointer-arith -Wcast-qual -Wcast-align \
6025 -Wstrict-prototypes -Wmissing-prototypes \
6026 -Wnested-externs -Winline -Wshadow"
6028 if test "$GCC" = yes; then
6030 ### May need per-OS attention
6031 ### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris.
6035 LD_D="$CC -shared $LDFLAGS"
6036 WARNINGS="$GCC_WARNINGS"
6040 LD_L="$CC -shared $LDFLAGS"
6043 CC_STATIC="-Xlinker -export-dynamic"
6046 OS_CFLAGS="-ansi -pedantic"
6047 LD_D="gcc -shared -Xlinker -x"
6048 WARNINGS="$GCC_WARNINGS"
6052 LD_L="$LD -x -shared"
6055 CC_STATIC="-Xlinker -export-dynamic"
6061 LD_L=ld -bexpall -bM:SRE -bnoentry
6072 ### Non-gcc needs attention on per-OS basis
6076 # add some stuff here (see sourceforge bug 534205)
6077 # DOCDIR=/System/Documentation/Administration/Libraries/PAM
6078 # MANDIR=/usr/share/man
6081 ### Support for Solaris-C
6086 LD_D="cc -z text -G -R."
6093 OSRELEASE=`uname -r`
6094 if test "$OSRELEASE" = 6.5; then
6096 WARNINGS="-fullwarn"
6097 PIC= #PIC code is default for IRIX
6098 LD="cc -shared" # modules friendly approach
6100 LD_L="ld -G -z redlocsym"
6105 echo "IRIX prior to 6.5 not allowed for"
6109 *) echo "Native compiler on $OS is not yet supported"
6126 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6127 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6128 if test "${ac_cv_c_bigendian+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 # See if sys/param.h defines the BYTE_ORDER macro.
6132 cat >conftest.$ac_ext <<_ACEOF
6135 cat confdefs.h >>conftest.$ac_ext
6136 cat >>conftest.$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6138 #include <sys/types.h>
6139 #include <sys/param.h>
6144 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6152 rm -f conftest.$ac_objext
6153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6154 (eval $ac_compile) 2>conftest.er1
6156 grep -v '^ *+' conftest.er1 >conftest.err
6158 cat conftest.err >&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } &&
6161 { ac_try='test -z "$ac_c_werror_flag"
6162 || test ! -s conftest.err'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; } &&
6168 { ac_try='test -s conftest.$ac_objext'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 # It does; now see whether it defined to BIG_ENDIAN or not.
6175 cat >conftest.$ac_ext <<_ACEOF
6178 cat confdefs.h >>conftest.$ac_ext
6179 cat >>conftest.$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6181 #include <sys/types.h>
6182 #include <sys/param.h>
6187 #if BYTE_ORDER != BIG_ENDIAN
6195 rm -f conftest.$ac_objext
6196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6197 (eval $ac_compile) 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } &&
6204 { ac_try='test -z "$ac_c_werror_flag"
6205 || test ! -s conftest.err'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; } &&
6211 { ac_try='test -s conftest.$ac_objext'
6212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); }; }; then
6217 ac_cv_c_bigendian=yes
6219 echo "$as_me: failed program was:" >&5
6220 sed 's/^/| /' conftest.$ac_ext >&5
6222 ac_cv_c_bigendian=no
6224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 # It does not; compile a test program.
6230 if test "$cross_compiling" = yes; then
6231 # try to guess the endianness by grepping values into an object file
6232 ac_cv_c_bigendian=unknown
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6240 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6241 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6242 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6243 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6244 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6248 _ascii (); _ebcdic ();
6253 rm -f conftest.$ac_objext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6255 (eval $ac_compile) 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try='test -s conftest.$ac_objext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6276 ac_cv_c_bigendian=yes
6278 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6279 if test "$ac_cv_c_bigendian" = unknown; then
6280 ac_cv_c_bigendian=no
6282 # finding both strings is unlikely to happen, but who knows?
6283 ac_cv_c_bigendian=unknown
6287 echo "$as_me: failed program was:" >&5
6288 sed 's/^/| /' conftest.$ac_ext >&5
6291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6293 cat >conftest.$ac_ext <<_ACEOF
6296 cat confdefs.h >>conftest.$ac_ext
6297 cat >>conftest.$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6302 /* Are we little or big endian? From Harbison&Steele. */
6306 char c[sizeof (long)];
6309 exit (u.c[sizeof (long) - 1] == 1);
6312 rm -f conftest$ac_exeext
6313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6314 (eval $ac_link) 2>&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); }; }; then
6323 ac_cv_c_bigendian=no
6325 echo "$as_me: program exited with status $ac_status" >&5
6326 echo "$as_me: failed program was:" >&5
6327 sed 's/^/| /' conftest.$ac_ext >&5
6330 ac_cv_c_bigendian=yes
6332 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6337 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6338 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6339 case $ac_cv_c_bigendian in
6342 cat >>confdefs.h <<\_ACEOF
6343 #define WORDS_BIGENDIAN 1
6349 { { echo "$as_me:$LINENO: error: unknown endianness
6350 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6351 echo "$as_me: error: unknown endianness
6352 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6353 { (exit 1); exit 1; }; } ;;
6356 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6357 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6358 if test "${ac_cv_c_const+set}" = set; then
6359 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 cat >conftest.$ac_ext <<_ACEOF
6364 cat confdefs.h >>conftest.$ac_ext
6365 cat >>conftest.$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6371 /* FIXME: Include the comments suggested by Paul. */
6373 /* Ultrix mips cc rejects this. */
6374 typedef int charset[2];
6376 /* SunOS 4.1.1 cc rejects this. */
6377 char const *const *ccp;
6379 /* NEC SVR4.0.2 mips cc rejects this. */
6380 struct point {int x, y;};
6381 static struct point const zero = {0,0};
6382 /* AIX XL C 1.02.0.0 rejects this.
6383 It does not let you subtract one const X* pointer from another in
6384 an arm of an if-expression whose if-part is not a constant
6386 const char *g = "string";
6387 ccp = &g + (g ? g-g : 0);
6388 /* HPUX 7.0 cc rejects these. */
6391 ccp = (char const *const *) p;
6392 { /* SCO 3.2v4 cc rejects this. */
6394 char const *s = 0 ? (char *) 0 : (char const *) 0;
6398 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6400 const int *foo = &x[0];
6403 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6404 typedef const int *iptr;
6408 { /* AIX XL C 1.02.0.0 rejects this saying
6409 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6410 struct s { int j; const int *ap[3]; };
6411 struct s *b; b->j = 5;
6413 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6422 rm -f conftest.$ac_objext
6423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6424 (eval $ac_compile) 2>conftest.er1
6426 grep -v '^ *+' conftest.er1 >conftest.err
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try='test -z "$ac_c_werror_flag"
6432 || test ! -s conftest.err'
6433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); }; } &&
6438 { ac_try='test -s conftest.$ac_objext'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; }; then
6446 echo "$as_me: failed program was:" >&5
6447 sed 's/^/| /' conftest.$ac_ext >&5
6451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6453 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6454 echo "${ECHO_T}$ac_cv_c_const" >&6
6455 if test $ac_cv_c_const = no; then
6457 cat >>confdefs.h <<\_ACEOF
6463 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6464 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6465 if test "${ac_cv_type_uid_t+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 cat >conftest.$ac_ext <<_ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 #include <sys/types.h>
6477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6478 $EGREP "uid_t" >/dev/null 2>&1; then
6479 ac_cv_type_uid_t=yes
6486 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6487 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6488 if test $ac_cv_type_uid_t = no; then
6490 cat >>confdefs.h <<\_ACEOF
6495 cat >>confdefs.h <<\_ACEOF
6501 echo "$as_me:$LINENO: checking for off_t" >&5
6502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6503 if test "${ac_cv_type_off_t+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 cat >conftest.$ac_ext <<_ACEOF
6509 cat confdefs.h >>conftest.$ac_ext
6510 cat >>conftest.$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6512 $ac_includes_default
6524 rm -f conftest.$ac_objext
6525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6526 (eval $ac_compile) 2>conftest.er1
6528 grep -v '^ *+' conftest.er1 >conftest.err
6530 cat conftest.err >&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } &&
6533 { ac_try='test -z "$ac_c_werror_flag"
6534 || test ! -s conftest.err'
6535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6539 (exit $ac_status); }; } &&
6540 { ac_try='test -s conftest.$ac_objext'
6541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); }; }; then
6546 ac_cv_type_off_t=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6555 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6556 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6557 if test $ac_cv_type_off_t = yes; then
6561 cat >>confdefs.h <<_ACEOF
6567 echo "$as_me:$LINENO: checking for pid_t" >&5
6568 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6569 if test "${ac_cv_type_pid_t+set}" = set; then
6570 echo $ECHO_N "(cached) $ECHO_C" >&6
6572 cat >conftest.$ac_ext <<_ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6578 $ac_includes_default
6590 rm -f conftest.$ac_objext
6591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6592 (eval $ac_compile) 2>conftest.er1
6594 grep -v '^ *+' conftest.er1 >conftest.err
6596 cat conftest.err >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } &&
6599 { ac_try='test -z "$ac_c_werror_flag"
6600 || test ! -s conftest.err'
6601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); }; } &&
6606 { ac_try='test -s conftest.$ac_objext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 ac_cv_type_pid_t=yes
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.$ac_ext >&5
6619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6621 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6622 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6623 if test $ac_cv_type_pid_t = yes; then
6627 cat >>confdefs.h <<_ACEOF
6633 echo "$as_me:$LINENO: checking for size_t" >&5
6634 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6635 if test "${ac_cv_type_size_t+set}" = set; then
6636 echo $ECHO_N "(cached) $ECHO_C" >&6
6638 cat >conftest.$ac_ext <<_ACEOF
6641 cat confdefs.h >>conftest.$ac_ext
6642 cat >>conftest.$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6644 $ac_includes_default
6650 if (sizeof (size_t))
6656 rm -f conftest.$ac_objext
6657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6658 (eval $ac_compile) 2>conftest.er1
6660 grep -v '^ *+' conftest.er1 >conftest.err
6662 cat conftest.err >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); } &&
6665 { ac_try='test -z "$ac_c_werror_flag"
6666 || test ! -s conftest.err'
6667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6671 (exit $ac_status); }; } &&
6672 { ac_try='test -s conftest.$ac_objext'
6673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); }; }; then
6678 ac_cv_type_size_t=yes
6680 echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.$ac_ext >&5
6683 ac_cv_type_size_t=no
6685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6687 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6688 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6689 if test $ac_cv_type_size_t = yes; then
6693 cat >>confdefs.h <<_ACEOF
6694 #define size_t unsigned
6699 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6700 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6701 if test "${ac_cv_header_time+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 cat >conftest.$ac_ext <<_ACEOF
6707 cat confdefs.h >>conftest.$ac_ext
6708 cat >>conftest.$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6710 #include <sys/types.h>
6711 #include <sys/time.h>
6717 if ((struct tm *) 0)
6723 rm -f conftest.$ac_objext
6724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6725 (eval $ac_compile) 2>conftest.er1
6727 grep -v '^ *+' conftest.er1 >conftest.err
6729 cat conftest.err >&5
6730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6731 (exit $ac_status); } &&
6732 { ac_try='test -z "$ac_c_werror_flag"
6733 || test ! -s conftest.err'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; } &&
6739 { ac_try='test -s conftest.$ac_objext'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6745 ac_cv_header_time=yes
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6750 ac_cv_header_time=no
6752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6754 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6755 echo "${ECHO_T}$ac_cv_header_time" >&6
6756 if test $ac_cv_header_time = yes; then
6758 cat >>confdefs.h <<\_ACEOF
6759 #define TIME_WITH_SYS_TIME 1
6764 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6765 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6766 if test "${ac_cv_struct_tm+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 cat >conftest.$ac_ext <<_ACEOF
6772 cat confdefs.h >>conftest.$ac_ext
6773 cat >>conftest.$ac_ext <<_ACEOF
6774 /* end confdefs.h. */
6775 #include <sys/types.h>
6781 struct tm *tp; tp->tm_sec;
6786 rm -f conftest.$ac_objext
6787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6788 (eval $ac_compile) 2>conftest.er1
6790 grep -v '^ *+' conftest.er1 >conftest.err
6792 cat conftest.err >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } &&
6795 { ac_try='test -z "$ac_c_werror_flag"
6796 || test ! -s conftest.err'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } &&
6802 { ac_try='test -s conftest.$ac_objext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6808 ac_cv_struct_tm=time.h
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6813 ac_cv_struct_tm=sys/time.h
6815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6817 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6818 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6819 if test $ac_cv_struct_tm = sys/time.h; then
6821 cat >>confdefs.h <<\_ACEOF
6822 #define TM_IN_SYS_TIME 1
6828 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
6829 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
6830 if test "${ac_cv_type_getgroups+set}" = set; then
6831 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 if test "$cross_compiling" = yes; then
6834 ac_cv_type_getgroups=cross
6836 cat >conftest.$ac_ext <<_ACEOF
6839 cat confdefs.h >>conftest.$ac_ext
6840 cat >>conftest.$ac_ext <<_ACEOF
6841 /* end confdefs.h. */
6842 /* Thanks to Mike Rendell for this test. */
6843 #include <sys/types.h>
6846 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6853 union { gid_t gval; long lval; } val;
6856 for (i = 0; i < NGID; i++)
6857 gidset[i] = val.gval;
6858 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6860 /* Exit non-zero if getgroups seems to require an array of ints. This
6861 happens when gid_t is short but getgroups modifies an array of ints. */
6862 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
6865 rm -f conftest$ac_exeext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6867 (eval $ac_link) 2>&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); }; }; then
6876 ac_cv_type_getgroups=gid_t
6878 echo "$as_me: program exited with status $ac_status" >&5
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6883 ac_cv_type_getgroups=int
6885 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6887 if test $ac_cv_type_getgroups = cross; then
6888 cat >conftest.$ac_ext <<_ACEOF
6891 cat confdefs.h >>conftest.$ac_ext
6892 cat >>conftest.$ac_ext <<_ACEOF
6893 /* end confdefs.h. */
6897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6898 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
6899 ac_cv_type_getgroups=gid_t
6901 ac_cv_type_getgroups=int
6907 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6908 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6910 cat >>confdefs.h <<_ACEOF
6911 #define GETGROUPS_T $ac_cv_type_getgroups
6915 if test $ac_cv_c_compiler_gnu = yes; then
6916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6921 ac_pattern="Autoconf.*'x'"
6922 cat >conftest.$ac_ext <<_ACEOF
6925 cat confdefs.h >>conftest.$ac_ext
6926 cat >>conftest.$ac_ext <<_ACEOF
6927 /* end confdefs.h. */
6931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6933 ac_cv_prog_gcc_traditional=yes
6935 ac_cv_prog_gcc_traditional=no
6940 if test $ac_cv_prog_gcc_traditional = no; then
6941 cat >conftest.$ac_ext <<_ACEOF
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6952 ac_cv_prog_gcc_traditional=yes
6958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6960 if test $ac_cv_prog_gcc_traditional = yes; then
6961 CC="$CC -traditional"
6965 echo "$as_me:$LINENO: checking for working memcmp" >&5
6966 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
6967 if test "${ac_cv_func_memcmp_working+set}" = set; then
6968 echo $ECHO_N "(cached) $ECHO_C" >&6
6970 if test "$cross_compiling" = yes; then
6971 ac_cv_func_memcmp_working=no
6973 cat >conftest.$ac_ext <<_ACEOF
6976 cat confdefs.h >>conftest.$ac_ext
6977 cat >>conftest.$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 $ac_includes_default
6984 /* Some versions of memcmp are not 8-bit clean. */
6985 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6986 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6989 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6990 or more and with at least one buffer not starting on a 4-byte boundary.
6991 William Lewis provided this test program. */
6996 for (i = 0; i < 4; i++)
7000 strcpy (a, "--------01111111");
7001 strcpy (b, "--------10000000");
7002 if (memcmp (a, b, 16) >= 0)
7012 rm -f conftest$ac_exeext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7014 (eval $ac_link) 2>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7022 (exit $ac_status); }; }; then
7023 ac_cv_func_memcmp_working=yes
7025 echo "$as_me: program exited with status $ac_status" >&5
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.$ac_ext >&5
7030 ac_cv_func_memcmp_working=no
7032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7035 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7036 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
7037 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
7038 "memcmp.$ac_objext" | \
7039 *" memcmp.$ac_objext" | \
7040 "memcmp.$ac_objext "* | \
7041 *" memcmp.$ac_objext "* ) ;;
7042 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
7047 for ac_func in vprintf
7049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7050 echo "$as_me:$LINENO: checking for $ac_func" >&5
7051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7052 if eval "test \"\${$as_ac_var+set}\" = set"; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7063 #define $ac_func innocuous_$ac_func
7065 /* System header to define __stub macros and hopefully few prototypes,
7066 which can conflict with char $ac_func (); below.
7067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7068 <limits.h> exists even on freestanding compilers. */
7071 # include <limits.h>
7073 # include <assert.h>
7078 /* Override any gcc2 internal prototype to avoid an error. */
7083 /* We use char because int might match the return type of a gcc2
7084 builtin and then its argument prototype would still apply. */
7086 /* The GNU C library defines this for functions which it implements
7087 to always fail with ENOSYS. Some functions are actually named
7088 something starting with __ and the normal name is an alias. */
7089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7092 char (*f) () = $ac_func;
7101 return f != $ac_func;
7106 rm -f conftest.$ac_objext conftest$ac_exeext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7108 (eval $ac_link) 2>conftest.er1
7110 grep -v '^ *+' conftest.er1 >conftest.err
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -z "$ac_c_werror_flag"
7116 || test ! -s conftest.err'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; } &&
7122 { ac_try='test -s conftest$ac_exeext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7128 eval "$as_ac_var=yes"
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 eval "$as_ac_var=no"
7135 rm -f conftest.err conftest.$ac_objext \
7136 conftest$ac_exeext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7140 if test `eval echo '${'$as_ac_var'}'` = yes; then
7141 cat >>confdefs.h <<_ACEOF
7142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7145 echo "$as_me:$LINENO: checking for _doprnt" >&5
7146 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7147 if test "${ac_cv_func__doprnt+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 cat >conftest.$ac_ext <<_ACEOF
7153 cat confdefs.h >>conftest.$ac_ext
7154 cat >>conftest.$ac_ext <<_ACEOF
7155 /* end confdefs.h. */
7156 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7158 #define _doprnt innocuous__doprnt
7160 /* System header to define __stub macros and hopefully few prototypes,
7161 which can conflict with char _doprnt (); below.
7162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7163 <limits.h> exists even on freestanding compilers. */
7166 # include <limits.h>
7168 # include <assert.h>
7173 /* Override any gcc2 internal prototype to avoid an error. */
7178 /* We use char because int might match the return type of a gcc2
7179 builtin and then its argument prototype would still apply. */
7181 /* The GNU C library defines this for functions which it implements
7182 to always fail with ENOSYS. Some functions are actually named
7183 something starting with __ and the normal name is an alias. */
7184 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7187 char (*f) () = _doprnt;
7196 return f != _doprnt;
7201 rm -f conftest.$ac_objext conftest$ac_exeext
7202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7203 (eval $ac_link) 2>conftest.er1
7205 grep -v '^ *+' conftest.er1 >conftest.err
7207 cat conftest.err >&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } &&
7210 { ac_try='test -z "$ac_c_werror_flag"
7211 || test ! -s conftest.err'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; } &&
7217 { ac_try='test -s conftest$ac_exeext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7223 ac_cv_func__doprnt=yes
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.$ac_ext >&5
7228 ac_cv_func__doprnt=no
7230 rm -f conftest.err conftest.$ac_objext \
7231 conftest$ac_exeext conftest.$ac_ext
7233 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7234 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7235 if test $ac_cv_func__doprnt = yes; then
7237 cat >>confdefs.h <<\_ACEOF
7238 #define HAVE_DOPRNT 1
7258 for ac_func in gethostname gettimeofday mkdir select strcspn strdup strerror strspn strstr strtol uname
7260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7261 echo "$as_me:$LINENO: checking for $ac_func" >&5
7262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7263 if eval "test \"\${$as_ac_var+set}\" = set"; then
7264 echo $ECHO_N "(cached) $ECHO_C" >&6
7266 cat >conftest.$ac_ext <<_ACEOF
7269 cat confdefs.h >>conftest.$ac_ext
7270 cat >>conftest.$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7274 #define $ac_func innocuous_$ac_func
7276 /* System header to define __stub macros and hopefully few prototypes,
7277 which can conflict with char $ac_func (); below.
7278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7279 <limits.h> exists even on freestanding compilers. */
7282 # include <limits.h>
7284 # include <assert.h>
7289 /* Override any gcc2 internal prototype to avoid an error. */
7294 /* We use char because int might match the return type of a gcc2
7295 builtin and then its argument prototype would still apply. */
7297 /* The GNU C library defines this for functions which it implements
7298 to always fail with ENOSYS. Some functions are actually named
7299 something starting with __ and the normal name is an alias. */
7300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7303 char (*f) () = $ac_func;
7312 return f != $ac_func;
7317 rm -f conftest.$ac_objext conftest$ac_exeext
7318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7319 (eval $ac_link) 2>conftest.er1
7321 grep -v '^ *+' conftest.er1 >conftest.err
7323 cat conftest.err >&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } &&
7326 { ac_try='test -z "$ac_c_werror_flag"
7327 || test ! -s conftest.err'
7328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try='test -s conftest$ac_exeext'
7334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); }; }; then
7339 eval "$as_ac_var=yes"
7341 echo "$as_me: failed program was:" >&5
7342 sed 's/^/| /' conftest.$ac_ext >&5
7344 eval "$as_ac_var=no"
7346 rm -f conftest.err conftest.$ac_objext \
7347 conftest$ac_exeext conftest.$ac_ext
7349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7351 if test `eval echo '${'$as_ac_var'}'` = yes; then
7352 cat >>confdefs.h <<_ACEOF
7353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7366 for ac_func in getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r getgrouplist
7368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7369 echo "$as_me:$LINENO: checking for $ac_func" >&5
7370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7371 if eval "test \"\${$as_ac_var+set}\" = set"; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7382 #define $ac_func innocuous_$ac_func
7384 /* System header to define __stub macros and hopefully few prototypes,
7385 which can conflict with char $ac_func (); below.
7386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7387 <limits.h> exists even on freestanding compilers. */
7390 # include <limits.h>
7392 # include <assert.h>
7397 /* Override any gcc2 internal prototype to avoid an error. */
7402 /* We use char because int might match the return type of a gcc2
7403 builtin and then its argument prototype would still apply. */
7405 /* The GNU C library defines this for functions which it implements
7406 to always fail with ENOSYS. Some functions are actually named
7407 something starting with __ and the normal name is an alias. */
7408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7411 char (*f) () = $ac_func;
7420 return f != $ac_func;
7425 rm -f conftest.$ac_objext conftest$ac_exeext
7426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7427 (eval $ac_link) 2>conftest.er1
7429 grep -v '^ *+' conftest.er1 >conftest.err
7431 cat conftest.err >&5
7432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433 (exit $ac_status); } &&
7434 { ac_try='test -z "$ac_c_werror_flag"
7435 || test ! -s conftest.err'
7436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); }; } &&
7441 { ac_try='test -s conftest$ac_exeext'
7442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); }; }; then
7447 eval "$as_ac_var=yes"
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.$ac_ext >&5
7452 eval "$as_ac_var=no"
7454 rm -f conftest.err conftest.$ac_objext \
7455 conftest$ac_exeext conftest.$ac_ext
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7459 if test `eval echo '${'$as_ac_var'}'` = yes; then
7460 cat >>confdefs.h <<_ACEOF
7461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7468 # Extract the first word of "sgml2txt", so it can be a program name with args.
7469 set dummy sgml2txt; ac_word=$2
7470 echo "$as_me:$LINENO: checking for $ac_word" >&5
7471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7472 if test "${ac_cv_prog_HAVE_SGML2TXT+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 if test -n "$HAVE_SGML2TXT"; then
7476 ac_cv_prog_HAVE_SGML2TXT="$HAVE_SGML2TXT" # Let the user override the test.
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_HAVE_SGML2TXT="yes"
7486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7492 test -z "$ac_cv_prog_HAVE_SGML2TXT" && ac_cv_prog_HAVE_SGML2TXT="no"
7495 HAVE_SGML2TXT=$ac_cv_prog_HAVE_SGML2TXT
7496 if test -n "$HAVE_SGML2TXT"; then
7497 echo "$as_me:$LINENO: result: $HAVE_SGML2TXT" >&5
7498 echo "${ECHO_T}$HAVE_SGML2TXT" >&6
7500 echo "$as_me:$LINENO: result: no" >&5
7501 echo "${ECHO_T}no" >&6
7504 # Extract the first word of "sgml2html", so it can be a program name with args.
7505 set dummy sgml2html; ac_word=$2
7506 echo "$as_me:$LINENO: checking for $ac_word" >&5
7507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7508 if test "${ac_cv_prog_HAVE_SGML2HTML+set}" = set; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 if test -n "$HAVE_SGML2HTML"; then
7512 ac_cv_prog_HAVE_SGML2HTML="$HAVE_SGML2HTML" # Let the user override the test.
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7521 ac_cv_prog_HAVE_SGML2HTML="yes"
7522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 test -z "$ac_cv_prog_HAVE_SGML2HTML" && ac_cv_prog_HAVE_SGML2HTML="no"
7531 HAVE_SGML2HTML=$ac_cv_prog_HAVE_SGML2HTML
7532 if test -n "$HAVE_SGML2HTML"; then
7533 echo "$as_me:$LINENO: result: $HAVE_SGML2HTML" >&5
7534 echo "${ECHO_T}$HAVE_SGML2HTML" >&6
7536 echo "$as_me:$LINENO: result: no" >&5
7537 echo "${ECHO_T}no" >&6
7540 # Extract the first word of "sgml2latex", so it can be a program name with args.
7541 set dummy sgml2latex; ac_word=$2
7542 echo "$as_me:$LINENO: checking for $ac_word" >&5
7543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7544 if test "${ac_cv_prog_HAVE_SGML2LATEX+set}" = set; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 if test -n "$HAVE_SGML2LATEX"; then
7548 ac_cv_prog_HAVE_SGML2LATEX="$HAVE_SGML2LATEX" # Let the user override the test.
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_prog_HAVE_SGML2LATEX="yes"
7558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 test -z "$ac_cv_prog_HAVE_SGML2LATEX" && ac_cv_prog_HAVE_SGML2LATEX="no"
7567 HAVE_SGML2LATEX=$ac_cv_prog_HAVE_SGML2LATEX
7568 if test -n "$HAVE_SGML2LATEX"; then
7569 echo "$as_me:$LINENO: result: $HAVE_SGML2LATEX" >&5
7570 echo "${ECHO_T}$HAVE_SGML2LATEX" >&6
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7576 if test $HAVE_SGML2LATEX = "yes" ; then
7577 if sgml2latex -h | grep -e --paper | grep ' -p ' > /dev/null ; then
7578 PSER="sgml2latex -o ps"
7580 PSER="sgml2latex -p"
7582 # Extract the first word of "ps2pdf", so it can be a program name with args.
7583 set dummy ps2pdf; ac_word=$2
7584 echo "$as_me:$LINENO: checking for $ac_word" >&5
7585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7586 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 if test -n "$HAVE_PS2PDF"; then
7590 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_HAVE_PS2PDF="yes"
7600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
7609 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
7610 if test -n "$HAVE_PS2PDF"; then
7611 echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
7612 echo "${ECHO_T}$HAVE_PS2PDF" >&6
7614 echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6
7619 # Extract the first word of "sgml2ps", so it can be a program name with args.
7620 set dummy sgml2ps; ac_word=$2
7621 echo "$as_me:$LINENO: checking for $ac_word" >&5
7622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7623 if test "${ac_cv_prog_HAVE_SGML2PS+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 if test -n "$HAVE_SGML2PS"; then
7627 ac_cv_prog_HAVE_SGML2PS="$HAVE_SGML2PS" # Let the user override the test.
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_HAVE_SGML2PS="yes"
7637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 test -z "$ac_cv_prog_HAVE_SGML2PS" && ac_cv_prog_HAVE_SGML2PS="no"
7646 HAVE_SGML2PS=$ac_cv_prog_HAVE_SGML2PS
7647 if test -n "$HAVE_SGML2PS"; then
7648 echo "$as_me:$LINENO: result: $HAVE_SGML2PS" >&5
7649 echo "${ECHO_T}$HAVE_SGML2PS" >&6
7651 echo "$as_me:$LINENO: result: no" >&5
7652 echo "${ECHO_T}no" >&6
7655 if test $HAVE_SGML2PS = yes ; then
7662 ac_config_files="$ac_config_files Make.Rules"
7663 cat >confcache <<\_ACEOF
7664 # This file is a shell script that caches the results of configure
7665 # tests run on this system so they can be shared between configure
7666 # scripts and configure runs, see configure's option --config-cache.
7667 # It is not useful on other systems. If it contains results you don't
7668 # want to keep, you may remove or edit it.
7670 # config.status only pays attention to the cache file if you give it
7671 # the --recheck option to rerun configure.
7673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7679 # The following way of writing the cache mishandles newlines in values,
7680 # but we know of no workaround that is simple, portable, and efficient.
7681 # So, don't put newlines in cache variables' values.
7682 # Ultrix sh set writes to stderr and can't be redirected directly,
7683 # and sets the high bit in the cache file unless we assign to the vars.
7686 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7688 # `set' does not quote correctly, so add quotes (double-quote
7689 # substitution turns \\\\ into \\, and sed turns \\ into \).
7692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7695 # `set' quotes correctly as required by POSIX, so do not add quotes.
7697 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7704 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7706 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7708 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7709 if test -w $cache_file; then
7710 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7711 cat confcache >$cache_file
7713 echo "not updating unwritable cache $cache_file"
7718 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7719 # Let make expand exec_prefix.
7720 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7722 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7723 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7724 # trailing colons and then remove the whole line if VPATH becomes empty
7725 # (actually we leave an empty line to preserve line numbers).
7726 if test "x$srcdir" = x.; then
7727 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7728 s/:*\$(srcdir):*/:/;
7729 s/:*\${srcdir}:*/:/;
7731 s/^\([^=]*=[ ]*\):*/\1/;
7737 DEFS=-DHAVE_CONFIG_H
7741 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7742 # 1. Remove the extension, and $U if already installed.
7743 ac_i=`echo "$ac_i" |
7744 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7746 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7747 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7751 LTLIBOBJS=$ac_ltlibobjs
7755 : ${CONFIG_STATUS=./config.status}
7756 ac_clean_files_save=$ac_clean_files
7757 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7758 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7759 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7760 cat >$CONFIG_STATUS <<_ACEOF
7762 # Generated by $as_me.
7763 # Run this file to recreate the current configuration.
7764 # Compiler output produced by configure, useful for debugging
7765 # configure, is in config.log if it exists.
7770 SHELL=\${CONFIG_SHELL-$SHELL}
7773 cat >>$CONFIG_STATUS <<\_ACEOF
7774 ## --------------------- ##
7775 ## M4sh Initialization. ##
7776 ## --------------------- ##
7778 # Be Bourne compatible
7779 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7782 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7783 # is contrary to our usage. Disable this feature.
7784 alias -g '${1+"$@"}'='"$@"'
7785 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7788 DUALCASE=1; export DUALCASE # for MKS sh
7790 # Support unset when possible.
7791 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7798 # Work around bugs in pre-3.0 UWIN ksh.
7799 $as_unset ENV MAIL MAILPATH
7806 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7807 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7808 LC_TELEPHONE LC_TIME
7810 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7811 eval $as_var=C; export $as_var
7817 # Required to use basename.
7818 if expr a : '\(a\)' >/dev/null 2>&1; then
7824 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7825 as_basename=basename
7831 # Name of the executable.
7832 as_me=`$as_basename "$0" ||
7833 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7834 X"$0" : 'X\(//\)$' \| \
7835 X"$0" : 'X\(/\)$' \| \
7836 . : '\(.\)' 2>/dev/null ||
7838 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7839 /^X\/\(\/\/\)$/{ s//\1/; q; }
7840 /^X\/\(\/\).*/{ s//\1/; q; }
7844 # PATH needs CR, and LINENO needs CR and PATH.
7845 # Avoid depending upon Character Ranges.
7846 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7847 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7848 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7849 as_cr_digits='0123456789'
7850 as_cr_alnum=$as_cr_Letters$as_cr_digits
7852 # The user is always right.
7853 if test "${PATH_SEPARATOR+set}" != set; then
7854 echo "#! /bin/sh" >conf$$.sh
7855 echo "exit 0" >>conf$$.sh
7857 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7868 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7869 test "x$as_lineno_1" != "x$as_lineno_2" &&
7870 test "x$as_lineno_3" = "x$as_lineno_2" || {
7871 # Find who we are. Look in the path if we contain no path at all
7874 *[\\/]* ) as_myself=$0 ;;
7875 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7885 # We did not find ourselves, most probably we were run as `sh COMMAND'
7886 # in which case we are not to be found in the path.
7887 if test "x$as_myself" = x; then
7890 if test ! -f "$as_myself"; then
7891 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7892 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7893 { (exit 1); exit 1; }; }
7895 case $CONFIG_SHELL in
7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7898 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7901 test -z "$as_dir" && as_dir=.
7902 for as_base in sh bash ksh sh5; do
7905 if ("$as_dir/$as_base" -c '
7908 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7909 test "x$as_lineno_1" != "x$as_lineno_2" &&
7910 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7911 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7912 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7913 CONFIG_SHELL=$as_dir/$as_base
7915 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7923 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7924 # uniformly replaced by the line number. The first 'sed' inserts a
7925 # line-number line before each line; the second 'sed' does the real
7926 # work. The second script uses 'N' to pair each line-number line
7927 # with the numbered line, and appends trailing '-' during
7928 # substitution so that $LINENO is not a special case at line end.
7929 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7930 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7931 sed '=' <$as_myself |
7936 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7939 s,^['$as_cr_digits']*\n,,
7941 chmod +x $as_me.lineno ||
7942 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7943 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7944 { (exit 1); exit 1; }; }
7946 # Don't try to exec as it changes $[0], causing all sort of problems
7947 # (the dirname of $[0] is not the place where we might find the
7948 # original and so on. Autoconf is especially sensible to this).
7950 # Exit status is that of the last command.
7955 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7956 *c*,-n*) ECHO_N= ECHO_C='
7958 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7959 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7962 if expr a : '\(a\)' >/dev/null 2>&1; then
7968 rm -f conf$$ conf$$.exe conf$$.file
7970 if ln -s conf$$.file conf$$ 2>/dev/null; then
7971 # We could just check for DJGPP; but this test a) works b) is more generic
7972 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7973 if test -f conf$$.exe; then
7974 # Don't use ln at all; we don't have any links
7979 elif ln conf$$.file conf$$ 2>/dev/null; then
7984 rm -f conf$$ conf$$.exe conf$$.file
7986 if mkdir -p . 2>/dev/null; then
7989 test -d ./-p && rmdir ./-p
7993 as_executable_p="test -f"
7995 # Sed expression to map a string onto a valid CPP name.
7996 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7998 # Sed expression to map a string onto a valid variable name.
7999 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8003 # We need space, tab and new line, in precisely that order.
8013 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8014 # report actual input values of CONFIG_FILES etc. instead of their
8015 # values after options handling. Logging --version etc. is OK.
8019 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8020 ## Running $as_me. ##
8025 This file was extended by $as_me, which was
8026 generated by GNU Autoconf 2.59. Invocation command line was
8028 CONFIG_FILES = $CONFIG_FILES
8029 CONFIG_HEADERS = $CONFIG_HEADERS
8030 CONFIG_LINKS = $CONFIG_LINKS
8031 CONFIG_COMMANDS = $CONFIG_COMMANDS
8035 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8039 # Files that config.status was made for.
8040 if test -n "$ac_config_files"; then
8041 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8044 if test -n "$ac_config_headers"; then
8045 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8048 if test -n "$ac_config_links"; then
8049 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8052 if test -n "$ac_config_commands"; then
8053 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8056 cat >>$CONFIG_STATUS <<\_ACEOF
8059 \`$as_me' instantiates files from templates according to the
8060 current configuration.
8062 Usage: $0 [OPTIONS] [FILE]...
8064 -h, --help print this help, then exit
8065 -V, --version print version number, then exit
8066 -q, --quiet do not print progress messages
8067 -d, --debug don't remove temporary files
8068 --recheck update $as_me by reconfiguring in the same conditions
8069 --file=FILE[:TEMPLATE]
8070 instantiate the configuration file FILE
8071 --header=FILE[:TEMPLATE]
8072 instantiate the configuration header FILE
8074 Configuration files:
8077 Configuration headers:
8080 Report bugs to <bug-autoconf@gnu.org>."
8083 cat >>$CONFIG_STATUS <<_ACEOF
8086 configured by $0, generated by GNU Autoconf 2.59,
8087 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8089 Copyright (C) 2003 Free Software Foundation, Inc.
8090 This config.status script is free software; the Free Software Foundation
8091 gives unlimited permission to copy, distribute and modify it."
8096 cat >>$CONFIG_STATUS <<\_ACEOF
8097 # If no file are specified by the user, then we need to provide default
8098 # value. By we need to know if files were specified by the user.
8104 ac_option=`expr "x$1" : 'x\([^=]*\)='`
8105 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8113 *) # This is not an option, so the user has probably given explicit
8116 ac_need_defaults=false;;
8120 # Handling of the options.
8122 cat >>$CONFIG_STATUS <<\_ACEOF
8123 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8125 --version | --vers* | -V )
8126 echo "$ac_cs_version"; exit 0 ;;
8128 # Conflict between --help and --header
8129 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8130 Try \`$0 --help' for more information." >&5
8131 echo "$as_me: error: ambiguous option: $1
8132 Try \`$0 --help' for more information." >&2;}
8133 { (exit 1); exit 1; }; };;
8134 --help | --hel | -h )
8135 echo "$ac_cs_usage"; exit 0 ;;
8136 --debug | --d* | -d )
8138 --file | --fil | --fi | --f )
8140 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8141 ac_need_defaults=false;;
8142 --header | --heade | --head | --hea )
8144 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8145 ac_need_defaults=false;;
8146 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8147 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8151 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8152 Try \`$0 --help' for more information." >&5
8153 echo "$as_me: error: unrecognized option: $1
8154 Try \`$0 --help' for more information." >&2;}
8155 { (exit 1); exit 1; }; } ;;
8157 *) ac_config_targets="$ac_config_targets $1" ;;
8163 ac_configure_extra_args=
8165 if $ac_cs_silent; then
8167 ac_configure_extra_args="$ac_configure_extra_args --silent"
8171 cat >>$CONFIG_STATUS <<_ACEOF
8172 if \$ac_cs_recheck; then
8173 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8174 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8183 cat >>$CONFIG_STATUS <<\_ACEOF
8184 for ac_config_target in $ac_config_targets
8186 case "$ac_config_target" in
8187 # Handling of arguments.
8188 "Make.Rules" ) CONFIG_FILES="$CONFIG_FILES Make.Rules" ;;
8189 "_pam_aconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS _pam_aconf.h" ;;
8190 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8191 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8192 { (exit 1); exit 1; }; };;
8196 # If the user did not use the arguments to specify the items to instantiate,
8197 # then the envvar interface is used. Set only those that are not.
8198 # We use the long form for the default assignment because of an extremely
8199 # bizarre bug on SunOS 4.1.3.
8200 if $ac_need_defaults; then
8201 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8202 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8205 # Have a temporary directory for convenience. Make it in the build tree
8206 # simply because there is no reason to put it here, and in addition,
8207 # creating and moving files from /tmp can sometimes cause problems.
8208 # Create a temporary directory, and hook for its removal unless debugging.
8211 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8212 trap '{ (exit 1); exit 1; }' 1 2 13 15
8215 # Create a (secure) tmp directory for tmp files.
8218 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8219 test -n "$tmp" && test -d "$tmp"
8222 tmp=./confstat$$-$RANDOM
8223 (umask 077 && mkdir $tmp)
8226 echo "$me: cannot create a temporary directory in ." >&2
8227 { (exit 1); exit 1; }
8232 cat >>$CONFIG_STATUS <<_ACEOF
8235 # CONFIG_FILES section.
8238 # No need to generate the scripts if there are no CONFIG_FILES.
8239 # This happens for instance when ./config.status config.h
8240 if test -n "\$CONFIG_FILES"; then
8241 # Protect against being on the right side of a sed subst in config.status.
8242 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8243 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8244 s,@SHELL@,$SHELL,;t t
8245 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8246 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8247 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8248 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8249 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8250 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8251 s,@exec_prefix@,$exec_prefix,;t t
8252 s,@prefix@,$prefix,;t t
8253 s,@program_transform_name@,$program_transform_name,;t t
8254 s,@bindir@,$bindir,;t t
8255 s,@sbindir@,$sbindir,;t t
8256 s,@libexecdir@,$libexecdir,;t t
8257 s,@datadir@,$datadir,;t t
8258 s,@sysconfdir@,$sysconfdir,;t t
8259 s,@sharedstatedir@,$sharedstatedir,;t t
8260 s,@localstatedir@,$localstatedir,;t t
8261 s,@libdir@,$libdir,;t t
8262 s,@includedir@,$includedir,;t t
8263 s,@oldincludedir@,$oldincludedir,;t t
8264 s,@infodir@,$infodir,;t t
8265 s,@mandir@,$mandir,;t t
8266 s,@build_alias@,$build_alias,;t t
8267 s,@host_alias@,$host_alias,;t t
8268 s,@target_alias@,$target_alias,;t t
8270 s,@ECHO_C@,$ECHO_C,;t t
8271 s,@ECHO_N@,$ECHO_N,;t t
8272 s,@ECHO_T@,$ECHO_T,;t t
8274 s,@LIBPAM_VERSION_MAJOR@,$LIBPAM_VERSION_MAJOR,;t t
8275 s,@LIBPAM_VERSION_MINOR@,$LIBPAM_VERSION_MINOR,;t t
8276 s,@LOCALSRCDIR@,$LOCALSRCDIR,;t t
8277 s,@LOCALOBJDIR@,$LOCALOBJDIR,;t t
8279 s,@CONF_CFLAGS@,$CONF_CFLAGS,;t t
8280 s,@MKDIR@,$MKDIR,;t t
8281 s,@SHLIBMODE@,$SHLIBMODE,;t t
8282 s,@MANMODE@,$MANMODE,;t t
8283 s,@USESONAME@,$USESONAME,;t t
8284 s,@SOSWITCH@,$SOSWITCH,;t t
8285 s,@NEEDSONAME@,$NEEDSONAME,;t t
8286 s,@LDCONFIG@,$LDCONFIG,;t t
8288 s,@CFLAGS@,$CFLAGS,;t t
8289 s,@LDFLAGS@,$LDFLAGS,;t t
8290 s,@CPPFLAGS@,$CPPFLAGS,;t t
8291 s,@ac_ct_CC@,$ac_ct_CC,;t t
8292 s,@EXEEXT@,$EXEEXT,;t t
8293 s,@OBJEXT@,$OBJEXT,;t t
8296 s,@LEXLIB@,$LEXLIB,;t t
8297 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8298 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8299 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8300 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8302 s,@SET_MAKE@,$SET_MAKE,;t t
8303 s,@WITH_DEBUG@,$WITH_DEBUG,;t t
8304 s,@WITH_MEMORY_DEBUG@,$WITH_MEMORY_DEBUG,;t t
8305 s,@WITH_LIBDEBUG@,$WITH_LIBDEBUG,;t t
8306 s,@FAKEROOT@,$FAKEROOT,;t t
8307 s,@SECUREDIR@,$SECUREDIR,;t t
8308 s,@SCONFIGDIR@,$SCONFIGDIR,;t t
8309 s,@SUPLEMENTED@,$SUPLEMENTED,;t t
8310 s,@INCLUDEDIR@,$INCLUDEDIR,;t t
8311 s,@DOCDIR@,$DOCDIR,;t t
8312 s,@MANDIR@,$MANDIR,;t t
8313 s,@WITH_PAMLOCKING@,$WITH_PAMLOCKING,;t t
8314 s,@PAM_READ_BOTH_CONFS@,$PAM_READ_BOTH_CONFS,;t t
8315 s,@STATIC_LIBPAM@,$STATIC_LIBPAM,;t t
8316 s,@DYNAMIC_LIBPAM@,$DYNAMIC_LIBPAM,;t t
8317 s,@DYNAMIC@,$DYNAMIC,;t t
8318 s,@STATIC@,$STATIC,;t t
8319 s,@WITH_LCKPWDF@,$WITH_LCKPWDF,;t t
8321 s,@EGREP@,$EGREP,;t t
8322 s,@PAM_NEEDS_LIBC@,$PAM_NEEDS_LIBC,;t t
8323 s,@HAVE_LCKPWDF@,$HAVE_LCKPWDF,;t t
8324 s,@LIBDL@,$LIBDL,;t t
8325 s,@HAVE_LIBCRACK@,$HAVE_LIBCRACK,;t t
8326 s,@HAVE_LIBCRYPT@,$HAVE_LIBCRYPT,;t t
8327 s,@HAVE_LIBUTIL@,$HAVE_LIBUTIL,;t t
8328 s,@HAVE_LIBNDBM@,$HAVE_LIBNDBM,;t t
8329 s,@HAVE_LIBDB@,$HAVE_LIBDB,;t t
8330 s,@HAVE_LIBFL@,$HAVE_LIBFL,;t t
8331 s,@HAVE_LIBNSL@,$HAVE_LIBNSL,;t t
8332 s,@HAVE_LIBPWDB@,$HAVE_LIBPWDB,;t t
8333 s,@HAVE_LIBFLEX@,$HAVE_LIBFLEX,;t t
8334 s,@HAVE_LIBLEX@,$HAVE_LIBLEX,;t t
8335 s,@HAVE_NDBM_H@,$HAVE_NDBM_H,;t t
8336 s,@CRACKLIB_DICTPATH@,$CRACKLIB_DICTPATH,;t t
8337 s,@DYNTYPE@,$DYNTYPE,;t t
8338 s,@OS_CFLAGS@,$OS_CFLAGS,;t t
8339 s,@WARNINGS@,$WARNINGS,;t t
8344 s,@RANLIB@,$RANLIB,;t t
8345 s,@STRIP@,$STRIP,;t t
8346 s,@CC_STATIC@,$CC_STATIC,;t t
8347 s,@LIBOBJS@,$LIBOBJS,;t t
8348 s,@HAVE_SGML2TXT@,$HAVE_SGML2TXT,;t t
8349 s,@HAVE_SGML2HTML@,$HAVE_SGML2HTML,;t t
8350 s,@HAVE_SGML2LATEX@,$HAVE_SGML2LATEX,;t t
8351 s,@HAVE_PS2PDF@,$HAVE_PS2PDF,;t t
8352 s,@HAVE_SGML2PS@,$HAVE_SGML2PS,;t t
8354 s,@PS2PDF@,$PS2PDF,;t t
8355 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8360 cat >>$CONFIG_STATUS <<\_ACEOF
8361 # Split the substitutions into bite-sized pieces for seds with
8362 # small command number limits, like on Digital OSF/1 and HP-UX.
8364 ac_sed_frag=1 # Number of current file.
8365 ac_beg=1 # First line for current file.
8366 ac_end=$ac_max_sed_lines # Line after last line for current file.
8369 while $ac_more_lines; do
8370 if test $ac_beg -gt 1; then
8371 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8373 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8375 if test ! -s $tmp/subs.frag; then
8378 # The purpose of the label and of the branching condition is to
8379 # speed up the sed processing (if there are no `@' at all, there
8380 # is no need to browse any of the substitutions).
8381 # These are the two extra sed commands mentioned above.
8383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8384 if test -z "$ac_sed_cmds"; then
8385 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8387 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8389 ac_sed_frag=`expr $ac_sed_frag + 1`
8391 ac_end=`expr $ac_end + $ac_max_sed_lines`
8394 if test -z "$ac_sed_cmds"; then
8397 fi # test -n "$CONFIG_FILES"
8400 cat >>$CONFIG_STATUS <<\_ACEOF
8401 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8402 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8404 - | *:- | *:-:* ) # input from stdin
8406 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8407 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8408 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8409 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8410 * ) ac_file_in=$ac_file.in ;;
8413 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8414 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8416 X"$ac_file" : 'X\(//\)[^/]' \| \
8417 X"$ac_file" : 'X\(//\)$' \| \
8418 X"$ac_file" : 'X\(/\)' \| \
8419 . : '\(.\)' 2>/dev/null ||
8421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8423 /^X\(\/\/\)$/{ s//\1/; q; }
8424 /^X\(\/\).*/{ s//\1/; q; }
8426 { if $as_mkdir_p; then
8431 while test ! -d "$as_dir"; do
8432 as_dirs="$as_dir $as_dirs"
8433 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8435 X"$as_dir" : 'X\(//\)[^/]' \| \
8436 X"$as_dir" : 'X\(//\)$' \| \
8437 X"$as_dir" : 'X\(/\)' \| \
8438 . : '\(.\)' 2>/dev/null ||
8440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8442 /^X\(\/\/\)$/{ s//\1/; q; }
8443 /^X\(\/\).*/{ s//\1/; q; }
8446 test ! -n "$as_dirs" || mkdir $as_dirs
8447 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8448 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8449 { (exit 1); exit 1; }; }; }
8453 if test "$ac_dir" != .; then
8454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8455 # A "../" for each directory in $ac_dir_suffix.
8456 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8458 ac_dir_suffix= ac_top_builddir=
8462 .) # No --srcdir option. We are building in place.
8464 if test -z "$ac_top_builddir"; then
8467 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8469 [\\/]* | ?:[\\/]* ) # Absolute path.
8470 ac_srcdir=$srcdir$ac_dir_suffix;
8471 ac_top_srcdir=$srcdir ;;
8473 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8474 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8477 # Do not use `cd foo && pwd` to compute absolute paths, because
8478 # the directories may not exist.
8480 .) ac_abs_builddir="$ac_dir";;
8483 .) ac_abs_builddir=`pwd`;;
8484 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8485 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8488 case $ac_abs_builddir in
8489 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8491 case ${ac_top_builddir}. in
8492 .) ac_abs_top_builddir=$ac_abs_builddir;;
8493 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8494 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8497 case $ac_abs_builddir in
8498 .) ac_abs_srcdir=$ac_srcdir;;
8501 .) ac_abs_srcdir=$ac_abs_builddir;;
8502 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8503 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8506 case $ac_abs_builddir in
8507 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8509 case $ac_top_srcdir in
8510 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8511 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8512 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8518 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8519 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8522 if test x"$ac_file" != x-; then
8523 { echo "$as_me:$LINENO: creating $ac_file" >&5
8524 echo "$as_me: creating $ac_file" >&6;}
8527 # Let's still pretend it is `configure' which instantiates (i.e., don't
8528 # use $as_me), people would be surprised to read:
8529 # /* config.h. Generated by config.status. */
8530 if test x"$ac_file" = x-; then
8533 configure_input="$ac_file. "
8535 configure_input=$configure_input"Generated from `echo $ac_file_in |
8536 sed 's,.*/,,'` by configure."
8538 # First look for the input files in the build tree, otherwise in the
8540 ac_file_inputs=`IFS=:
8541 for f in $ac_file_in; do
8543 -) echo $tmp/stdin ;;
8545 # Absolute (can't be DOS-style, as IFS=:)
8546 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8547 echo "$as_me: error: cannot find input file: $f" >&2;}
8548 { (exit 1); exit 1; }; }
8551 if test -f "$f"; then
8554 elif test -f "$srcdir/$f"; then
8559 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8560 echo "$as_me: error: cannot find input file: $f" >&2;}
8561 { (exit 1); exit 1; }; }
8564 done` || { (exit 1); exit 1; }
8566 cat >>$CONFIG_STATUS <<_ACEOF
8570 cat >>$CONFIG_STATUS <<\_ACEOF
8572 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8573 s,@configure_input@,$configure_input,;t t
8574 s,@srcdir@,$ac_srcdir,;t t
8575 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8576 s,@top_srcdir@,$ac_top_srcdir,;t t
8577 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8578 s,@builddir@,$ac_builddir,;t t
8579 s,@abs_builddir@,$ac_abs_builddir,;t t
8580 s,@top_builddir@,$ac_top_builddir,;t t
8581 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8582 s,@INSTALL@,$ac_INSTALL,;t t
8583 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8585 if test x"$ac_file" != x-; then
8586 mv $tmp/out $ac_file
8594 cat >>$CONFIG_STATUS <<\_ACEOF
8597 # CONFIG_HEADER section.
8600 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8601 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8603 # ac_d sets the value in "#define NAME VALUE" lines.
8604 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8605 ac_dB='[ ].*$,\1#\2'
8608 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8609 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8610 ac_uB='$,\1#\2define\3'
8614 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8615 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8617 - | *:- | *:-:* ) # input from stdin
8619 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8620 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8621 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8622 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8623 * ) ac_file_in=$ac_file.in ;;
8626 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8627 echo "$as_me: creating $ac_file" >&6;}
8629 # First look for the input files in the build tree, otherwise in the
8631 ac_file_inputs=`IFS=:
8632 for f in $ac_file_in; do
8634 -) echo $tmp/stdin ;;
8636 # Absolute (can't be DOS-style, as IFS=:)
8637 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8638 echo "$as_me: error: cannot find input file: $f" >&2;}
8639 { (exit 1); exit 1; }; }
8640 # Do quote $f, to prevent DOS paths from being IFS'd.
8643 if test -f "$f"; then
8646 elif test -f "$srcdir/$f"; then
8651 { { 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; }; }
8656 done` || { (exit 1); exit 1; }
8657 # Remove the trailing spaces.
8658 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8662 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8663 # `conftest.undefs', that substitutes the proper values into
8664 # config.h.in to produce config.h. The first handles `#define'
8665 # templates, and the second `#undef' templates.
8666 # And first: Protect against being on the right side of a sed subst in
8667 # config.status. Protect against being in an unquoted here document
8669 rm -f conftest.defines conftest.undefs
8670 # Using a here document instead of a string reduces the quoting nightmare.
8671 # Putting comments in sed scripts is not portable.
8673 # `end' is used to avoid that the second main sed command (meant for
8674 # 0-ary CPP macros) applies to n-ary macro definitions.
8675 # See the Autoconf documentation for `clear'.
8676 cat >confdef2sed.sed <<\_ACEOF
8681 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8683 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8686 # If some macros were called several times there might be several times
8687 # the same #defines, which is useless. Nevertheless, we may not want to
8688 # sort them, since we want the *last* AC-DEFINE to be honored.
8689 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8690 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8691 rm -f confdef2sed.sed
8693 # This sed command replaces #undef with comments. This is necessary, for
8694 # example, in the case of _POSIX_SOURCE, which is predefined and required
8695 # on some systems where configure will not decide to define it.
8696 cat >>conftest.undefs <<\_ACEOF
8697 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8700 # Break up conftest.defines because some shells have a limit on the size
8701 # of here documents, and old seds have small limits too (100 cmds).
8702 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8703 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8704 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8705 echo ' :' >>$CONFIG_STATUS
8707 while grep . conftest.defines >/dev/null
8709 # Write a limited-size here document to $tmp/defines.sed.
8710 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8711 # Speed up: don't consider the non `#define' lines.
8712 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8713 # Work around the forget-to-reset-the-flag bug.
8714 echo 't clr' >>$CONFIG_STATUS
8715 echo ': clr' >>$CONFIG_STATUS
8716 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8718 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8722 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8723 rm -f conftest.defines
8724 mv conftest.tail conftest.defines
8726 rm -f conftest.defines
8727 echo ' fi # grep' >>$CONFIG_STATUS
8728 echo >>$CONFIG_STATUS
8730 # Break up conftest.undefs because some shells have a limit on the size
8731 # of here documents, and old seds have small limits too (100 cmds).
8732 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8734 while grep . conftest.undefs >/dev/null
8736 # Write a limited-size here document to $tmp/undefs.sed.
8737 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8738 # Speed up: don't consider the non `#undef'
8739 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8740 # Work around the forget-to-reset-the-flag bug.
8741 echo 't clr' >>$CONFIG_STATUS
8742 echo ': clr' >>$CONFIG_STATUS
8743 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8745 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8749 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8750 rm -f conftest.undefs
8751 mv conftest.tail conftest.undefs
8753 rm -f conftest.undefs
8755 cat >>$CONFIG_STATUS <<\_ACEOF
8756 # Let's still pretend it is `configure' which instantiates (i.e., don't
8757 # use $as_me), people would be surprised to read:
8758 # /* config.h. Generated by config.status. */
8759 if test x"$ac_file" = x-; then
8760 echo "/* Generated by configure. */" >$tmp/config.h
8762 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8764 cat $tmp/in >>$tmp/config.h
8766 if test x"$ac_file" != x-; then
8767 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8768 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8769 echo "$as_me: $ac_file is unchanged" >&6;}
8771 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8772 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8773 X"$ac_file" : 'X\(//\)[^/]' \| \
8774 X"$ac_file" : 'X\(//\)$' \| \
8775 X"$ac_file" : 'X\(/\)' \| \
8776 . : '\(.\)' 2>/dev/null ||
8778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8779 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8780 /^X\(\/\/\)$/{ s//\1/; q; }
8781 /^X\(\/\).*/{ s//\1/; q; }
8783 { if $as_mkdir_p; then
8788 while test ! -d "$as_dir"; do
8789 as_dirs="$as_dir $as_dirs"
8790 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8792 X"$as_dir" : 'X\(//\)[^/]' \| \
8793 X"$as_dir" : 'X\(//\)$' \| \
8794 X"$as_dir" : 'X\(/\)' \| \
8795 . : '\(.\)' 2>/dev/null ||
8797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8799 /^X\(\/\/\)$/{ s//\1/; q; }
8800 /^X\(\/\).*/{ s//\1/; q; }
8803 test ! -n "$as_dirs" || mkdir $as_dirs
8804 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8805 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8806 { (exit 1); exit 1; }; }; }
8809 mv $tmp/config.h $ac_file
8818 cat >>$CONFIG_STATUS <<\_ACEOF
8820 { (exit 0); exit 0; }
8822 chmod +x $CONFIG_STATUS
8823 ac_clean_files=$ac_clean_files_save
8826 # configure is writing to config.log, and then calls config.status.
8827 # config.status does its own redirection, appending to config.log.
8828 # Unfortunately, on DOS this fails, as config.log is still kept open
8829 # by configure, so config.status won't be able to write to it; its
8830 # output is simply discarded. So we exec the FD to /dev/null,
8831 # effectively closing config.log, so it can be properly (re)opened and
8832 # appended to by config.status. When coming back to configure, we
8833 # need to make the FD available again.
8834 if test "$no_create" != yes; then
8836 ac_config_status_args=
8837 test "$silent" = yes &&
8838 ac_config_status_args="$ac_config_status_args --quiet"
8840 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8842 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8843 # would make configure fail if this is the last instruction.
8844 $ac_cs_success || { (exit 1); exit 1; }