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-sconfigdir=<path to module conf files> default \$sysconfdir/security
850 --enable-suplementedir=<path to module helper binaries> default \$sbindir
851 --enable-includedir=<path to include location> - where to put <security>
852 --enable-docdir=<path to store documentation in - /usr/share/doc/pam>
853 --enable-mandir=<path to store manuals in - /usr/share/man>
854 --enable-pamlocking configure libpam to observe a global authentication lock
855 --enable-uglyhack configure libpam to try to honor old pam_strerror syntax
856 --enable-read-both-confs read both /etc/pam.d and /etc/pam.conf files
857 --enable-static-libpam build a libpam.a library
858 --disable-dynamic-libpam do not build a shared libpam library
859 --enable-static-modules do not make the modules dynamically loadable
860 --disable-lckpwdf do not use the lckpwdf function
863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
865 --with-mailspool path to mail spool directory
866 default _PATH_MAILDIR if defined in paths.h, otherwise /var/spool/mail
868 Some influential environment variables:
869 CC C compiler command
870 CFLAGS C compiler flags
871 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
872 nonstandard directory <lib dir>
873 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
874 headers in a nonstandard directory <include dir>
877 Use these variables to override the choices made by `configure' or to help
878 it to find libraries and programs with nonstandard names/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo && pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close' the trap.
1094 trap 'exit_status=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var in $ac_subst_vars
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var in $ac_subst_files
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h; then
1157 sed "/^$/d" confdefs.h | sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core *.core &&
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's/^/| /' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 ac_config_headers="$ac_config_headers _pam_aconf.h"
1320 LIBPAM_VERSION_MAJOR=0
1321 LIBPAM_VERSION_MINOR=78
1325 cat >>confdefs.h <<\_ACEOF
1326 #define LIBPAM_VERSION_MAJOR 1
1329 cat >>confdefs.h <<\_ACEOF
1330 #define LIBPAM_VERSION_MINOR 1
1337 LOCALSRCDIR=`/bin/pwd` ;
1338 LOCALOBJDIR=`/bin/pwd` ;
1339 OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
1350 SOSWITCH='-Xlinker -soname -Xlinker ' ;
1352 LDCONFIG=/sbin/ldconfig ;
1355 ac_cpp='$CPP $CPPFLAGS'
1356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1359 if test -n "$ac_tool_prefix"; then
1360 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1361 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1362 echo "$as_me:$LINENO: checking for $ac_word" >&5
1363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364 if test "${ac_cv_prog_CC+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 if test -n "$CC"; then
1368 ac_cv_prog_CC="$CC" # Let the user override the test.
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1387 if test -n "$CC"; then
1388 echo "$as_me:$LINENO: result: $CC" >&5
1389 echo "${ECHO_T}$CC" >&6
1391 echo "$as_me:$LINENO: result: no" >&5
1392 echo "${ECHO_T}no" >&6
1396 if test -z "$ac_cv_prog_CC"; then
1398 # Extract the first word of "gcc", so it can be a program name with args.
1399 set dummy gcc; ac_word=$2
1400 echo "$as_me:$LINENO: checking for $ac_word" >&5
1401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 if test -n "$ac_ct_CC"; then
1406 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_ac_ct_CC="gcc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1424 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1425 if test -n "$ac_ct_CC"; then
1426 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1427 echo "${ECHO_T}$ac_ct_CC" >&6
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1438 if test -z "$CC"; then
1439 if test -n "$ac_tool_prefix"; then
1440 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1441 set dummy ${ac_tool_prefix}cc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$CC"; then
1448 ac_cv_prog_CC="$CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_CC="${ac_tool_prefix}cc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467 if test -n "$CC"; then
1468 echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1476 if test -z "$ac_cv_prog_CC"; then
1478 # Extract the first word of "cc", so it can be a program name with args.
1479 set dummy cc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$ac_ct_CC"; then
1486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_ac_ct_CC="cc"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1505 if test -n "$ac_ct_CC"; then
1506 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1507 echo "${ECHO_T}$ac_ct_CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1519 if test -z "$CC"; then
1520 # Extract the first word of "cc", so it can be a program name with args.
1521 set dummy cc; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$CC"; then
1528 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1539 ac_prog_rejected=yes
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 if test $ac_prog_rejected = yes; then
1550 # We found a bogon in the path, so make sure we never use it.
1551 set dummy $ac_cv_prog_CC
1553 if test $# != 0; then
1554 # We chose a different compiler from the bogus one.
1555 # However, it has the same basename, so the bogon will be chosen
1556 # first if we set CC to just the basename; use the full file name.
1558 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1564 if test -n "$CC"; then
1565 echo "$as_me:$LINENO: result: $CC" >&5
1566 echo "${ECHO_T}$CC" >&6
1568 echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1573 if test -z "$CC"; then
1574 if test -n "$ac_tool_prefix"; then
1577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$CC"; then
1585 ac_cv_prog_CC="$CC" # Let the user override the test.
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1604 if test -n "$CC"; then
1605 echo "$as_me:$LINENO: result: $CC" >&5
1606 echo "${ECHO_T}$CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1612 test -n "$CC" && break
1615 if test -z "$CC"; then
1619 # Extract the first word of "$ac_prog", so it can be a program name with args.
1620 set dummy $ac_prog; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$ac_ct_CC"; then
1627 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_ac_ct_CC="$ac_prog"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1646 if test -n "$ac_ct_CC"; then
1647 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1648 echo "${ECHO_T}$ac_ct_CC" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1654 test -n "$ac_ct_CC" && break
1663 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1664 See \`config.log' for more details." >&5
1665 echo "$as_me: error: no acceptable C compiler found in \$PATH
1666 See \`config.log' for more details." >&2;}
1667 { (exit 1); exit 1; }; }
1669 # Provide some information about the compiler.
1670 echo "$as_me:$LINENO:" \
1671 "checking for C compiler version" >&5
1672 ac_compiler=`set X $ac_compile; echo $2`
1673 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1674 (eval $ac_compiler --version </dev/null >&5) 2>&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }
1678 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1679 (eval $ac_compiler -v </dev/null >&5) 2>&5
1681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1682 (exit $ac_status); }
1683 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1684 (eval $ac_compiler -V </dev/null >&5) 2>&5
1686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1687 (exit $ac_status); }
1689 cat >conftest.$ac_ext <<_ACEOF
1692 cat confdefs.h >>conftest.$ac_ext
1693 cat >>conftest.$ac_ext <<_ACEOF
1694 /* end confdefs.h. */
1704 ac_clean_files_save=$ac_clean_files
1705 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1706 # Try to create an executable without -o first, disregard a.out.
1707 # It will help us diagnose broken compilers, and finding out an intuition
1709 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1710 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1711 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1712 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1713 (eval $ac_link_default) 2>&5
1715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1716 (exit $ac_status); }; then
1717 # Find the output, starting from the most likely. This scheme is
1718 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1721 # Be careful to initialize this variable, since it used to be cached.
1722 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1724 # b.out is created by i960 compilers.
1725 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1727 test -f "$ac_file" || continue
1729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1732 # This is the source file.
1735 # We found the default executable, but exeext='' is most
1739 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1740 # FIXME: I believe we export ac_cv_exeext for Libtool,
1741 # but it would be cool to find out if it's true. Does anybody
1742 # maintain Libtool? --akim.
1750 echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1753 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1754 See \`config.log' for more details." >&5
1755 echo "$as_me: error: C compiler cannot create executables
1756 See \`config.log' for more details." >&2;}
1757 { (exit 77); exit 77; }; }
1760 ac_exeext=$ac_cv_exeext
1761 echo "$as_me:$LINENO: result: $ac_file" >&5
1762 echo "${ECHO_T}$ac_file" >&6
1764 # Check the compiler produces executables we can run. If not, either
1765 # the compiler is broken, or we cross compile.
1766 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1767 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1768 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1769 # If not cross compiling, check that we can run a simple program.
1770 if test "$cross_compiling" != yes; then
1771 if { ac_try='./$ac_file'
1772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776 (exit $ac_status); }; }; then
1779 if test "$cross_compiling" = maybe; then
1782 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1783 If you meant to cross compile, use \`--host'.
1784 See \`config.log' for more details." >&5
1785 echo "$as_me: error: cannot run C compiled programs.
1786 If you meant to cross compile, use \`--host'.
1787 See \`config.log' for more details." >&2;}
1788 { (exit 1); exit 1; }; }
1792 echo "$as_me:$LINENO: result: yes" >&5
1793 echo "${ECHO_T}yes" >&6
1795 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1796 ac_clean_files=$ac_clean_files_save
1797 # Check the compiler produces executables we can run. If not, either
1798 # the compiler is broken, or we cross compile.
1799 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1800 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1801 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1802 echo "${ECHO_T}$cross_compiling" >&6
1804 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1805 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1807 (eval $ac_link) 2>&5
1809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1810 (exit $ac_status); }; then
1811 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1812 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1813 # work properly (i.e., refer to `conftest.exe'), while it won't with
1815 for ac_file in conftest.exe conftest conftest.*; do
1816 test -f "$ac_file" || continue
1818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1819 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1826 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1827 See \`config.log' for more details." >&5
1828 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1829 See \`config.log' for more details." >&2;}
1830 { (exit 1); exit 1; }; }
1833 rm -f conftest$ac_cv_exeext
1834 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1835 echo "${ECHO_T}$ac_cv_exeext" >&6
1837 rm -f conftest.$ac_ext
1838 EXEEXT=$ac_cv_exeext
1840 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1841 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1842 if test "${ac_cv_objext+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 cat >conftest.$ac_ext <<_ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 rm -f conftest.o conftest.obj
1861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1862 (eval $ac_compile) 2>&5
1864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865 (exit $ac_status); }; then
1866 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1869 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1874 echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1877 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1878 See \`config.log' for more details." >&5
1879 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1880 See \`config.log' for more details." >&2;}
1881 { (exit 1); exit 1; }; }
1884 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1886 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1887 echo "${ECHO_T}$ac_cv_objext" >&6
1888 OBJEXT=$ac_cv_objext
1890 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1891 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1892 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 cat >conftest.$ac_ext <<_ACEOF
1898 cat confdefs.h >>conftest.$ac_ext
1899 cat >>conftest.$ac_ext <<_ACEOF
1900 /* end confdefs.h. */
1913 rm -f conftest.$ac_objext
1914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915 (eval $ac_compile) 2>conftest.er1
1917 grep -v '^ *+' conftest.er1 >conftest.err
1919 cat conftest.err >&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); } &&
1922 { ac_try='test -z "$ac_c_werror_flag"
1923 || test ! -s conftest.err'
1924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }; } &&
1929 { ac_try='test -s conftest.$ac_objext'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; }; then
1937 echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1946 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1947 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1948 GCC=`test $ac_compiler_gnu = yes && echo yes`
1949 ac_test_CFLAGS=${CFLAGS+set}
1950 ac_save_CFLAGS=$CFLAGS
1952 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1953 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1954 if test "${ac_cv_prog_cc_g+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 cat >conftest.$ac_ext <<_ACEOF
1960 cat confdefs.h >>conftest.$ac_ext
1961 cat >>conftest.$ac_ext <<_ACEOF
1962 /* end confdefs.h. */
1972 rm -f conftest.$ac_objext
1973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1974 (eval $ac_compile) 2>conftest.er1
1976 grep -v '^ *+' conftest.er1 >conftest.err
1978 cat conftest.err >&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); } &&
1981 { ac_try='test -z "$ac_c_werror_flag"
1982 || test ! -s conftest.err'
1983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987 (exit $ac_status); }; } &&
1988 { ac_try='test -s conftest.$ac_objext'
1989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }; }; then
1996 echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
2001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2003 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2004 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2005 if test "$ac_test_CFLAGS" = set; then
2006 CFLAGS=$ac_save_CFLAGS
2007 elif test $ac_cv_prog_cc_g = yes; then
2008 if test "$GCC" = yes; then
2014 if test "$GCC" = yes; then
2020 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2021 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2022 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 ac_cv_prog_cc_stdc=no
2027 cat >conftest.$ac_ext <<_ACEOF
2030 cat confdefs.h >>conftest.$ac_ext
2031 cat >>conftest.$ac_ext <<_ACEOF
2032 /* end confdefs.h. */
2035 #include <sys/types.h>
2036 #include <sys/stat.h>
2037 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2038 struct buf { int x; };
2039 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2040 static char *e (p, i)
2046 static char *f (char * (*g) (char **, int), char **p, ...)
2051 s = g (p, va_arg (v,int));
2056 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2057 function prototypes and stuff, but not '\xHH' hex character constants.
2058 These don't provoke an error unfortunately, instead are silently treated
2059 as 'x'. The following induces an error, until -std1 is added to get
2060 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2061 array size at least. It's necessary to write '\x00'==0 to get something
2062 that's true only with -std1. */
2063 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2065 int test (int i, double x);
2066 struct s1 {int (*f) (int a);};
2067 struct s2 {int (*f) (double a);};
2068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2079 # Don't try gcc -ansi; that turns off useful extensions and
2080 # breaks some systems' header files.
2081 # AIX -qlanglvl=ansi
2082 # Ultrix and OSF/1 -std1
2083 # HP-UX 10.20 and later -Ae
2084 # HP-UX older versions -Aa -D_HPUX_SOURCE
2085 # SVR4 -Xc -D__EXTENSIONS__
2086 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2088 CC="$ac_save_CC $ac_arg"
2089 rm -f conftest.$ac_objext
2090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2091 (eval $ac_compile) 2>conftest.er1
2093 grep -v '^ *+' conftest.er1 >conftest.err
2095 cat conftest.err >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); } &&
2098 { ac_try='test -z "$ac_c_werror_flag"
2099 || test ! -s conftest.err'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; } &&
2105 { ac_try='test -s conftest.$ac_objext'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2111 ac_cv_prog_cc_stdc=$ac_arg
2114 echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2118 rm -f conftest.err conftest.$ac_objext
2120 rm -f conftest.$ac_ext conftest.$ac_objext
2125 case "x$ac_cv_prog_cc_stdc" in
2127 echo "$as_me:$LINENO: result: none needed" >&5
2128 echo "${ECHO_T}none needed" >&6 ;;
2130 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2131 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2132 CC="$CC $ac_cv_prog_cc_stdc" ;;
2135 # Some people use a C++ compiler to compile C. Since we use `exit',
2136 # in C++ we need to declare it. In case someone uses the same compiler
2137 # for both compiling C and C++ we need to have the C++ compiler decide
2138 # the declaration of exit, since it's the most demanding environment.
2139 cat >conftest.$ac_ext <<_ACEOF
2144 rm -f conftest.$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>conftest.er1
2148 grep -v '^ *+' conftest.er1 >conftest.err
2150 cat conftest.err >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } &&
2153 { ac_try='test -z "$ac_c_werror_flag"
2154 || test ! -s conftest.err'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; } &&
2160 { ac_try='test -s conftest.$ac_objext'
2161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; }; then
2166 for ac_declaration in \
2168 'extern "C" void std::exit (int) throw (); using std::exit;' \
2169 'extern "C" void std::exit (int); using std::exit;' \
2170 'extern "C" void exit (int) throw ();' \
2171 'extern "C" void exit (int);' \
2174 cat >conftest.$ac_ext <<_ACEOF
2177 cat confdefs.h >>conftest.$ac_ext
2178 cat >>conftest.$ac_ext <<_ACEOF
2179 /* end confdefs.h. */
2190 rm -f conftest.$ac_objext
2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192 (eval $ac_compile) 2>conftest.er1
2194 grep -v '^ *+' conftest.er1 >conftest.err
2196 cat conftest.err >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); } &&
2199 { ac_try='test -z "$ac_c_werror_flag"
2200 || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.$ac_ext >&5
2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2220 cat >conftest.$ac_ext <<_ACEOF
2223 cat confdefs.h >>conftest.$ac_ext
2224 cat >>conftest.$ac_ext <<_ACEOF
2225 /* end confdefs.h. */
2235 rm -f conftest.$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237 (eval $ac_compile) 2>conftest.er1
2239 grep -v '^ *+' conftest.er1 >conftest.err
2241 cat conftest.err >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } &&
2244 { ac_try='test -z "$ac_c_werror_flag"
2245 || test ! -s conftest.err'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; } &&
2251 { ac_try='test -s conftest.$ac_objext'
2252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; }; then
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2266 if test -n "$ac_declaration"; then
2267 echo '#ifdef __cplusplus' >>confdefs.h
2268 echo $ac_declaration >>confdefs.h
2269 echo '#endif' >>confdefs.h
2273 echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2279 ac_cpp='$CPP $CPPFLAGS'
2280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 for ac_prog in 'bison -y' byacc
2286 # Extract the first word of "$ac_prog", so it can be a program name with args.
2287 set dummy $ac_prog; ac_word=$2
2288 echo "$as_me:$LINENO: checking for $ac_word" >&5
2289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2290 if test "${ac_cv_prog_YACC+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 if test -n "$YACC"; then
2294 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2303 ac_cv_prog_YACC="$ac_prog"
2304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 YACC=$ac_cv_prog_YACC
2313 if test -n "$YACC"; then
2314 echo "$as_me:$LINENO: result: $YACC" >&5
2315 echo "${ECHO_T}$YACC" >&6
2317 echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6
2321 test -n "$YACC" && break
2323 test -n "$YACC" || YACC="yacc"
2326 for ac_prog in flex lex
2328 # Extract the first word of "$ac_prog", so it can be a program name with args.
2329 set dummy $ac_prog; ac_word=$2
2330 echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2332 if test "${ac_cv_prog_LEX+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 if test -n "$LEX"; then
2336 ac_cv_prog_LEX="$LEX" # Let the user override the test.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2345 ac_cv_prog_LEX="$ac_prog"
2346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 if test -n "$LEX"; then
2356 echo "$as_me:$LINENO: result: $LEX" >&5
2357 echo "${ECHO_T}$LEX" >&6
2359 echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2363 test -n "$LEX" && break
2365 test -n "$LEX" || LEX=":"
2367 if test -z "$LEXLIB"
2369 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2370 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2371 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 ac_check_lib_save_LIBS=$LIBS
2376 cat >conftest.$ac_ext <<_ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2383 /* Override any gcc2 internal prototype to avoid an error. */
2387 /* We use char because int might match the return type of a gcc2
2388 builtin and then its argument prototype would still apply. */
2398 rm -f conftest.$ac_objext conftest$ac_exeext
2399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2400 (eval $ac_link) 2>conftest.er1
2402 grep -v '^ *+' conftest.er1 >conftest.err
2404 cat conftest.err >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); } &&
2407 { ac_try='test -z "$ac_c_werror_flag"
2408 || test ! -s conftest.err'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; } &&
2414 { ac_try='test -s conftest$ac_exeext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2420 ac_cv_lib_fl_yywrap=yes
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2425 ac_cv_lib_fl_yywrap=no
2427 rm -f conftest.err conftest.$ac_objext \
2428 conftest$ac_exeext conftest.$ac_ext
2429 LIBS=$ac_check_lib_save_LIBS
2431 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2432 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2433 if test $ac_cv_lib_fl_yywrap = yes; then
2436 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2437 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2438 if test "${ac_cv_lib_l_yywrap+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2441 ac_check_lib_save_LIBS=$LIBS
2443 cat >conftest.$ac_ext <<_ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2450 /* Override any gcc2 internal prototype to avoid an error. */
2454 /* We use char because int might match the return type of a gcc2
2455 builtin and then its argument prototype would still apply. */
2465 rm -f conftest.$ac_objext conftest$ac_exeext
2466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2467 (eval $ac_link) 2>conftest.er1
2469 grep -v '^ *+' conftest.er1 >conftest.err
2471 cat conftest.err >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); } &&
2474 { ac_try='test -z "$ac_c_werror_flag"
2475 || test ! -s conftest.err'
2476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; } &&
2481 { ac_try='test -s conftest$ac_exeext'
2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }; }; then
2487 ac_cv_lib_l_yywrap=yes
2489 echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2492 ac_cv_lib_l_yywrap=no
2494 rm -f conftest.err conftest.$ac_objext \
2495 conftest$ac_exeext conftest.$ac_ext
2496 LIBS=$ac_check_lib_save_LIBS
2498 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
2499 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
2500 if test $ac_cv_lib_l_yywrap = yes; then
2508 if test "x$LEX" != "x:"; then
2509 echo "$as_me:$LINENO: checking lex output file root" >&5
2510 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
2511 if test "${ac_cv_prog_lex_root+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 # The minimal lex program is just a single line: %%. But some broken lexes
2515 # (Solaris, I think it was) want two %% lines, so accommodate them.
2516 cat >conftest.l <<_ACEOF
2520 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2521 (eval $LEX conftest.l) 2>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }
2525 if test -f lex.yy.c; then
2526 ac_cv_prog_lex_root=lex.yy
2527 elif test -f lexyy.c; then
2528 ac_cv_prog_lex_root=lexyy
2530 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
2531 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
2532 { (exit 1); exit 1; }; }
2535 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2536 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2538 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2540 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
2541 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
2542 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 # POSIX says lex can declare yytext either as a pointer or an array; the
2546 # default is implementation-dependent. Figure out which it is, since
2547 # not all implementations provide the %pointer and %array declarations.
2548 ac_cv_prog_lex_yytext_pointer=no
2549 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2551 LIBS="$LIBS $LEXLIB"
2552 cat >conftest.$ac_ext <<_ACEOF
2553 `cat $LEX_OUTPUT_ROOT.c`
2555 rm -f conftest.$ac_objext conftest$ac_exeext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2557 (eval $ac_link) 2>conftest.er1
2559 grep -v '^ *+' conftest.er1 >conftest.err
2561 cat conftest.err >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); } &&
2564 { ac_try='test -z "$ac_c_werror_flag"
2565 || test ! -s conftest.err'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; } &&
2571 { ac_try='test -s conftest$ac_exeext'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; }; then
2577 ac_cv_prog_lex_yytext_pointer=yes
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2583 rm -f conftest.err conftest.$ac_objext \
2584 conftest$ac_exeext conftest.$ac_ext
2586 rm -f "${LEX_OUTPUT_ROOT}.c"
2589 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
2590 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
2591 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2593 cat >>confdefs.h <<\_ACEOF
2594 #define YYTEXT_POINTER 1
2601 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2602 if test -f $ac_dir/install-sh; then
2604 ac_install_sh="$ac_aux_dir/install-sh -c"
2606 elif test -f $ac_dir/install.sh; then
2608 ac_install_sh="$ac_aux_dir/install.sh -c"
2610 elif test -f $ac_dir/shtool; then
2612 ac_install_sh="$ac_aux_dir/shtool install -c"
2616 if test -z "$ac_aux_dir"; then
2617 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2618 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2619 { (exit 1); exit 1; }; }
2621 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2622 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2623 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2625 # Find a good install program. We prefer a C program (faster),
2626 # so one script is as good as another. But avoid the broken or
2627 # incompatible versions:
2628 # SysV /etc/install, /usr/sbin/install
2629 # SunOS /usr/etc/install
2630 # IRIX /sbin/install
2632 # AmigaOS /C/install, which installs bootblocks on floppy discs
2633 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2634 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2635 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2636 # OS/2's system install, which has a completely different semantic
2637 # ./install, which can be erroneously created by make from ./install.sh.
2638 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2639 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2640 if test -z "$INSTALL"; then
2641 if test "${ac_cv_path_install+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir=.
2649 # Account for people who put trailing slashes in PATH elements.
2651 ./ | .// | /cC/* | \
2652 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2653 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2656 # OSF1 and SCO ODT 3.0 have their own names for install.
2657 # Don't use installbsd from OSF since it installs stuff as root
2659 for ac_prog in ginstall scoinst install; do
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2662 if test $ac_prog = install &&
2663 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2664 # AIX install. It has an incompatible calling convention.
2666 elif test $ac_prog = install &&
2667 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2668 # program-specific install script used by HP pwplus--don't use.
2671 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2683 if test "${ac_cv_path_install+set}" = set; then
2684 INSTALL=$ac_cv_path_install
2686 # As a last resort, use the slow shell script. We don't cache a
2687 # path for INSTALL within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the path is relative.
2690 INSTALL=$ac_install_sh
2693 echo "$as_me:$LINENO: result: $INSTALL" >&5
2694 echo "${ECHO_T}$INSTALL" >&6
2696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2697 # It thinks the first close brace ends the variable substitution.
2698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2704 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2705 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2707 if test "$LN_S" = "ln -s"; then
2708 echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2711 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2712 echo "${ECHO_T}no, using $LN_S" >&6
2715 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2716 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2717 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2718 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.make <<\_ACEOF
2723 @echo 'ac_maketemp="$(MAKE)"'
2725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2726 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2727 if test -n "$ac_maketemp"; then
2728 eval ac_cv_prog_make_${ac_make}_set=yes
2730 eval ac_cv_prog_make_${ac_make}_set=no
2734 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2735 echo "$as_me:$LINENO: result: yes" >&5
2736 echo "${ECHO_T}yes" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741 SET_MAKE="MAKE=${MAKE-make}"
2746 # Check whether --enable-debug or --disable-debug was given.
2747 if test "${enable_debug+set}" = set; then
2748 enableval="$enable_debug"
2749 WITH_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2758 # Check whether --enable-memory-debug or --disable-memory-debug was given.
2759 if test "${enable_memory_debug+set}" = set; then
2760 enableval="$enable_memory_debug"
2761 WITH_MEMORY_DEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2762 #define MEMORY_DEBUG 1
2766 WITH_MEMORY_DEBUG=no
2770 # Check whether --enable-libdebug or --disable-libdebug was given.
2771 if test "${enable_libdebug+set}" = set; then
2772 enableval="$enable_libdebug"
2773 WITH_LIBDEBUG=yes ; cat >>confdefs.h <<\_ACEOF
2774 #define WITH_LIBDEBUG 1
2782 # Check whether --enable-fakeroot or --disable-fakeroot was given.
2783 if test "${enable_fakeroot+set}" = set; then
2784 enableval="$enable_fakeroot"
2789 # Check whether --enable-securedir or --disable-securedir was given.
2790 if test "${enable_securedir+set}" = set; then
2791 enableval="$enable_securedir"
2792 SECUREDIR=$enableval
2794 SECUREDIR=$libdir/security
2798 # Check whether --enable-sconfigdir or --disable-sconfigdir was given.
2799 if test "${enable_sconfigdir+set}" = set; then
2800 enableval="$enable_sconfigdir"
2801 SCONFIGDIR=$enableval
2803 SCONFIGDIR=$sysconfdir/security
2807 # Check whether --enable-suplementedir or --disable-suplementedir was given.
2808 if test "${enable_suplementedir+set}" = set; then
2809 enableval="$enable_suplementedir"
2810 SUPLEMENTED=$enableval
2812 SUPLEMENTED=$sbindir
2816 # Check whether --enable-includedir or --disable-includedir was given.
2817 if test "${enable_includedir+set}" = set; then
2818 enableval="$enable_includedir"
2819 INCLUDEDIR=$enableval
2821 INCLUDEDIR=/usr/include
2825 # Check whether --enable-docdir or --disable-docdir was given.
2826 if test "${enable_docdir+set}" = set; then
2827 enableval="$enable_docdir"
2830 DOCDIR=/usr/share/doc/pam
2834 # Check whether --enable-mandir or --disable-mandir was given.
2835 if test "${enable_mandir+set}" = set; then
2836 enableval="$enable_mandir"
2839 MANDIR=/usr/share/man
2843 # Check whether --enable-pamlocking or --disable-pamlocking was given.
2844 if test "${enable_pamlocking+set}" = set; then
2845 enableval="$enable_pamlocking"
2846 WITH_PAMLOCKING=yes ; cat >>confdefs.h <<\_ACEOF
2847 #define PAM_LOCKING 1
2855 # Check whether --enable-uglyhack or --disable-uglyhack was given.
2856 if test "${enable_uglyhack+set}" = set; then
2857 enableval="$enable_uglyhack"
2858 cat >>confdefs.h <<\_ACEOF
2859 #define UGLY_HACK_FOR_PRIOR_BEHAVIOR_SUPPORT 1
2864 # Check whether --enable-read-both-confs or --disable-read-both-confs was given.
2865 if test "${enable_read_both_confs+set}" = set; then
2866 enableval="$enable_read_both_confs"
2867 cat >>confdefs.h <<\_ACEOF
2868 #define PAM_READ_BOTH_CONFS 1
2874 # Check whether --enable-static-libpam or --disable-static-libpam was given.
2875 if test "${enable_static_libpam+set}" = set; then
2876 enableval="$enable_static_libpam"
2883 # Check whether --enable-dynamic-libpam or --disable-dynamic-libpam was given.
2884 if test "${enable_dynamic_libpam+set}" = set; then
2885 enableval="$enable_dynamic_libpam"
2892 DYNAMIC=-DPAM_DYNAMIC
2895 # Check whether --enable-static-modules or --disable-static-modules was given.
2896 if test "${enable_static_modules+set}" = set; then
2897 enableval="$enable_static_modules"
2902 # Check whether --enable-lckpwdf or --disable-lckpwdf was given.
2903 if test "${enable_lckpwdf+set}" = set; then
2904 enableval="$enable_lckpwdf"
2912 ac_cpp='$CPP $CPPFLAGS'
2913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2916 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2917 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2918 # On Suns, sometimes $CPP names a directory.
2919 if test -n "$CPP" && test -d "$CPP"; then
2922 if test -z "$CPP"; then
2923 if test "${ac_cv_prog_CPP+set}" = set; then
2924 echo $ECHO_N "(cached) $ECHO_C" >&6
2926 # Double quotes because CPP needs to be expanded
2927 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2930 for ac_c_preproc_warn_flag in '' yes
2932 # Use a header file that comes with gcc, so configuring glibc
2933 # with a fresh cross-compiler works.
2934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2935 # <limits.h> exists even on freestanding compilers.
2936 # On the NeXT, cc -E runs the code through the compiler's parser,
2937 # not just through cpp. "Syntax error" is here to catch this case.
2938 cat >conftest.$ac_ext <<_ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2945 # include <limits.h>
2947 # include <assert.h>
2951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2954 grep -v '^ *+' conftest.er1 >conftest.err
2956 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } >/dev/null; then
2959 if test -s conftest.err; then
2960 ac_cpp_err=$ac_c_preproc_warn_flag
2961 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2968 if test -z "$ac_cpp_err"; then
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2974 # Broken: fails on valid input.
2977 rm -f conftest.err conftest.$ac_ext
2979 # OK, works on sane cases. Now check whether non-existent headers
2980 # can be detected and how.
2981 cat >conftest.$ac_ext <<_ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2987 #include <ac_nonexistent.h>
2989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2992 grep -v '^ *+' conftest.er1 >conftest.err
2994 cat conftest.err >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } >/dev/null; then
2997 if test -s conftest.err; then
2998 ac_cpp_err=$ac_c_preproc_warn_flag
2999 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3006 if test -z "$ac_cpp_err"; then
3007 # Broken: success on invalid input.
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 # Passes both tests.
3017 rm -f conftest.err conftest.$ac_ext
3020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3021 rm -f conftest.err conftest.$ac_ext
3022 if $ac_preproc_ok; then
3034 echo "$as_me:$LINENO: result: $CPP" >&5
3035 echo "${ECHO_T}$CPP" >&6
3037 for ac_c_preproc_warn_flag in '' yes
3039 # Use a header file that comes with gcc, so configuring glibc
3040 # with a fresh cross-compiler works.
3041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3042 # <limits.h> exists even on freestanding compilers.
3043 # On the NeXT, cc -E runs the code through the compiler's parser,
3044 # not just through cpp. "Syntax error" is here to catch this case.
3045 cat >conftest.$ac_ext <<_ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3052 # include <limits.h>
3054 # include <assert.h>
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev/null; then
3066 if test -s conftest.err; then
3067 ac_cpp_err=$ac_c_preproc_warn_flag
3068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3075 if test -z "$ac_cpp_err"; then
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 # Broken: fails on valid input.
3084 rm -f conftest.err conftest.$ac_ext
3086 # OK, works on sane cases. Now check whether non-existent headers
3087 # can be detected and how.
3088 cat >conftest.$ac_ext <<_ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 #include <ac_nonexistent.h>
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null; then
3104 if test -s conftest.err; then
3105 ac_cpp_err=$ac_c_preproc_warn_flag
3106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3113 if test -z "$ac_cpp_err"; then
3114 # Broken: success on invalid input.
3117 echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 # Passes both tests.
3124 rm -f conftest.err conftest.$ac_ext
3127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3128 rm -f conftest.err conftest.$ac_ext
3129 if $ac_preproc_ok; then
3132 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3133 See \`config.log' for more details." >&5
3134 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3135 See \`config.log' for more details." >&2;}
3136 { (exit 1); exit 1; }; }
3140 ac_cpp='$CPP $CPPFLAGS'
3141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 echo "$as_me:$LINENO: checking for egrep" >&5
3147 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3148 if test "${ac_cv_prog_egrep+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3152 then ac_cv_prog_egrep='grep -E'
3153 else ac_cv_prog_egrep='egrep'
3156 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3157 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3158 EGREP=$ac_cv_prog_egrep
3161 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3162 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3163 if test "${ac_cv_header_stdc+set}" = set; then
3164 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3185 rm -f conftest.$ac_objext
3186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3187 (eval $ac_compile) 2>conftest.er1
3189 grep -v '^ *+' conftest.er1 >conftest.err
3191 cat conftest.err >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try='test -z "$ac_c_werror_flag"
3195 || test ! -s conftest.err'
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }; } &&
3201 { ac_try='test -s conftest.$ac_objext'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; }; then
3207 ac_cv_header_stdc=yes
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 ac_cv_header_stdc=no
3214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3216 if test $ac_cv_header_stdc = yes; then
3217 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3228 $EGREP "memchr" >/dev/null 2>&1; then
3231 ac_cv_header_stdc=no
3237 if test $ac_cv_header_stdc = yes; then
3238 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3239 cat >conftest.$ac_ext <<_ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3249 $EGREP "free" >/dev/null 2>&1; then
3252 ac_cv_header_stdc=no
3258 if test $ac_cv_header_stdc = yes; then
3259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3260 if test "$cross_compiling" = yes; then
3263 cat >conftest.$ac_ext <<_ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3270 #if ((' ' & 0x0FF) == 0x020)
3271 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3272 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3274 # define ISLOWER(c) \
3275 (('a' <= (c) && (c) <= 'i') \
3276 || ('j' <= (c) && (c) <= 'r') \
3277 || ('s' <= (c) && (c) <= 'z'))
3278 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3281 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3286 for (i = 0; i < 256; i++)
3287 if (XOR (islower (i), ISLOWER (i))
3288 || toupper (i) != TOUPPER (i))
3293 rm -f conftest$ac_exeext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3295 (eval $ac_link) 2>&5
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); }; }; then
3306 echo "$as_me: program exited with status $ac_status" >&5
3307 echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3311 ac_cv_header_stdc=no
3313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3317 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3318 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3319 if test $ac_cv_header_stdc = yes; then
3321 cat >>confdefs.h <<\_ACEOF
3322 #define STDC_HEADERS 1
3327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3337 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3338 inttypes.h stdint.h unistd.h
3340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3341 echo "$as_me:$LINENO: checking for $ac_header" >&5
3342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3344 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 cat >conftest.$ac_ext <<_ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3352 $ac_includes_default
3354 #include <$ac_header>
3356 rm -f conftest.$ac_objext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3358 (eval $ac_compile) 2>conftest.er1
3360 grep -v '^ *+' conftest.er1 >conftest.err
3362 cat conftest.err >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } &&
3365 { ac_try='test -z "$ac_c_werror_flag"
3366 || test ! -s conftest.err'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; } &&
3372 { ac_try='test -s conftest.$ac_objext'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3378 eval "$as_ac_Header=yes"
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 eval "$as_ac_Header=no"
3385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3390 cat >>confdefs.h <<_ACEOF
3391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3400 for ac_header in paths.h
3402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3404 echo "$as_me:$LINENO: checking for $ac_header" >&5
3405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3412 # Is the header compilable?
3413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 $ac_includes_default
3422 #include <$ac_header>
3424 rm -f conftest.$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 ac_header_compiler=yes
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3451 ac_header_compiler=no
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3455 echo "${ECHO_T}$ac_header_compiler" >&6
3457 # Is the header present?
3458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3460 cat >conftest.$ac_ext <<_ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3466 #include <$ac_header>
3468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3471 grep -v '^ *+' conftest.er1 >conftest.err
3473 cat conftest.err >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); } >/dev/null; then
3476 if test -s conftest.err; then
3477 ac_cpp_err=$ac_c_preproc_warn_flag
3478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3485 if test -z "$ac_cpp_err"; then
3486 ac_header_preproc=yes
3488 echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 ac_header_preproc=no
3493 rm -f conftest.err conftest.$ac_ext
3494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3495 echo "${ECHO_T}$ac_header_preproc" >&6
3497 # So? What about this header?
3498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3504 ac_header_preproc=yes
3507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3521 ## ------------------------------------------ ##
3522 ## Report this to the AC_PACKAGE_NAME lists. ##
3523 ## ------------------------------------------ ##
3526 sed "s/^/$as_me: WARNING: /" >&2
3529 echo "$as_me:$LINENO: checking for $ac_header" >&5
3530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 eval "$as_ac_Header=\$ac_header_preproc"
3536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3541 cat >>confdefs.h <<_ACEOF
3542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3550 # Check whether --with-mailspool or --without-mailspool was given.
3551 if test "${with_mailspool+set}" = set; then
3552 withval="$with_mailspool"
3553 with_mailspool=${withval}
3555 if test x$with_mailspool != x ; then
3556 pam_mail_spool="\"$with_mailspool\""
3558 if test "$cross_compiling" = yes; then
3559 pam_mail_spool="\"/var/spool/mail\""
3561 cat >conftest.$ac_ext <<_ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3570 #ifdef _PATH_MAILDIR
3577 rm -f conftest$ac_exeext
3578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3579 (eval $ac_link) 2>&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; }; then
3588 pam_mail_spool="_PATH_MAILDIR"
3590 echo "$as_me: program exited with status $ac_status" >&5
3591 echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.$ac_ext >&5
3595 pam_mail_spool="\"/var/spool/mail\""
3597 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3600 cat >>confdefs.h <<_ACEOF
3601 #define PAM_PATH_MAILDIR $pam_mail_spool
3605 echo "$as_me:$LINENO: checking for __libc_sched_setscheduler in -lc" >&5
3606 echo $ECHO_N "checking for __libc_sched_setscheduler in -lc... $ECHO_C" >&6
3607 if test "${ac_cv_lib_c___libc_sched_setscheduler+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 ac_check_lib_save_LIBS=$LIBS
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3619 /* Override any gcc2 internal prototype to avoid an error. */
3623 /* We use char because int might match the return type of a gcc2
3624 builtin and then its argument prototype would still apply. */
3625 char __libc_sched_setscheduler ();
3629 __libc_sched_setscheduler ();
3634 rm -f conftest.$ac_objext conftest$ac_exeext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3636 (eval $ac_link) 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -z "$ac_c_werror_flag"
3644 || test ! -s conftest.err'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; } &&
3650 { ac_try='test -s conftest$ac_exeext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 ac_cv_lib_c___libc_sched_setscheduler=yes
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 ac_cv_lib_c___libc_sched_setscheduler=no
3663 rm -f conftest.err conftest.$ac_objext \
3664 conftest$ac_exeext conftest.$ac_ext
3665 LIBS=$ac_check_lib_save_LIBS
3667 echo "$as_me:$LINENO: result: $ac_cv_lib_c___libc_sched_setscheduler" >&5
3668 echo "${ECHO_T}$ac_cv_lib_c___libc_sched_setscheduler" >&6
3669 if test $ac_cv_lib_c___libc_sched_setscheduler = yes; then
3677 echo "$as_me:$LINENO: checking for lckpwdf in -lc" >&5
3678 echo $ECHO_N "checking for lckpwdf in -lc... $ECHO_C" >&6
3679 if test "${ac_cv_lib_c_lckpwdf+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 ac_check_lib_save_LIBS=$LIBS
3684 cat >conftest.$ac_ext <<_ACEOF
3687 cat confdefs.h >>conftest.$ac_ext
3688 cat >>conftest.$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3691 /* Override any gcc2 internal prototype to avoid an error. */
3695 /* We use char because int might match the return type of a gcc2
3696 builtin and then its argument prototype would still apply. */
3706 rm -f conftest.$ac_objext conftest$ac_exeext
3707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3708 (eval $ac_link) 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } &&
3715 { ac_try='test -z "$ac_c_werror_flag"
3716 || test ! -s conftest.err'
3717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }; } &&
3722 { ac_try='test -s conftest$ac_exeext'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
3728 ac_cv_lib_c_lckpwdf=yes
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3733 ac_cv_lib_c_lckpwdf=no
3735 rm -f conftest.err conftest.$ac_objext \
3736 conftest$ac_exeext conftest.$ac_ext
3737 LIBS=$ac_check_lib_save_LIBS
3739 echo "$as_me:$LINENO: result: $ac_cv_lib_c_lckpwdf" >&5
3740 echo "${ECHO_T}$ac_cv_lib_c_lckpwdf" >&6
3741 if test $ac_cv_lib_c_lckpwdf = yes; then
3749 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
3750 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
3751 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 ac_check_lib_save_LIBS=$LIBS
3756 cat >conftest.$ac_ext <<_ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h. */
3763 /* Override any gcc2 internal prototype to avoid an error. */
3767 /* We use char because int might match the return type of a gcc2
3768 builtin and then its argument prototype would still apply. */
3778 rm -f conftest.$ac_objext conftest$ac_exeext
3779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3780 (eval $ac_link) 2>conftest.er1
3782 grep -v '^ *+' conftest.er1 >conftest.err
3784 cat conftest.err >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } &&
3787 { ac_try='test -z "$ac_c_werror_flag"
3788 || test ! -s conftest.err'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; } &&
3794 { ac_try='test -s conftest$ac_exeext'
3795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then
3800 ac_cv_lib_dl_dlopen=yes
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3805 ac_cv_lib_dl_dlopen=no
3807 rm -f conftest.err conftest.$ac_objext \
3808 conftest$ac_exeext conftest.$ac_ext
3809 LIBS=$ac_check_lib_save_LIBS
3811 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
3812 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
3813 if test $ac_cv_lib_dl_dlopen = yes; then
3819 echo "$as_me:$LINENO: checking for FascistCheck in -lcrack" >&5
3820 echo $ECHO_N "checking for FascistCheck in -lcrack... $ECHO_C" >&6
3821 if test "${ac_cv_lib_crack_FascistCheck+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 ac_check_lib_save_LIBS=$LIBS
3825 LIBS="-lcrack $LIBS"
3826 cat >conftest.$ac_ext <<_ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3833 /* Override any gcc2 internal prototype to avoid an error. */
3837 /* We use char because int might match the return type of a gcc2
3838 builtin and then its argument prototype would still apply. */
3839 char FascistCheck ();
3848 rm -f conftest.$ac_objext conftest$ac_exeext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3850 (eval $ac_link) 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try='test -z "$ac_c_werror_flag"
3858 || test ! -s conftest.err'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; } &&
3864 { ac_try='test -s conftest$ac_exeext'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; }; then
3870 ac_cv_lib_crack_FascistCheck=yes
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 ac_cv_lib_crack_FascistCheck=no
3877 rm -f conftest.err conftest.$ac_objext \
3878 conftest$ac_exeext conftest.$ac_ext
3879 LIBS=$ac_check_lib_save_LIBS
3881 echo "$as_me:$LINENO: result: $ac_cv_lib_crack_FascistCheck" >&5
3882 echo "${ECHO_T}$ac_cv_lib_crack_FascistCheck" >&6
3883 if test $ac_cv_lib_crack_FascistCheck = yes; then
3884 HAVE_LIBCRACK=yes ; cat >>confdefs.h <<\_ACEOF
3885 #define HAVE_LIBCRACK 1
3894 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
3895 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
3896 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_check_lib_save_LIBS=$LIBS
3900 LIBS="-lcrypt $LIBS"
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3923 rm -f conftest.$ac_objext conftest$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try='test -z "$ac_c_werror_flag"
3933 || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try='test -s conftest$ac_exeext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3945 ac_cv_lib_crypt_crypt=yes
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3950 ac_cv_lib_crypt_crypt=no
3952 rm -f conftest.err conftest.$ac_objext \
3953 conftest$ac_exeext conftest.$ac_ext
3954 LIBS=$ac_check_lib_save_LIBS
3956 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
3957 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
3958 if test $ac_cv_lib_crypt_crypt = yes; then
3959 HAVE_LIBCRYPT=yes ; cat >>confdefs.h <<\_ACEOF
3960 #define HAVE_LIBCRYPT 1
3968 echo "$as_me:$LINENO: checking for logwtmp in -lutil" >&5
3969 echo $ECHO_N "checking for logwtmp in -lutil... $ECHO_C" >&6
3970 if test "${ac_cv_lib_util_logwtmp+set}" = set; then
3971 echo $ECHO_N "(cached) $ECHO_C" >&6
3973 ac_check_lib_save_LIBS=$LIBS
3975 cat >conftest.$ac_ext <<_ACEOF
3978 cat confdefs.h >>conftest.$ac_ext
3979 cat >>conftest.$ac_ext <<_ACEOF
3980 /* end confdefs.h. */
3982 /* Override any gcc2 internal prototype to avoid an error. */
3986 /* We use char because int might match the return type of a gcc2
3987 builtin and then its argument prototype would still apply. */
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3999 (eval $ac_link) 2>conftest.er1
4001 grep -v '^ *+' conftest.er1 >conftest.err
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } &&
4006 { ac_try='test -z "$ac_c_werror_flag"
4007 || test ! -s conftest.err'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; } &&
4013 { ac_try='test -s conftest$ac_exeext'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; }; then
4019 ac_cv_lib_util_logwtmp=yes
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4024 ac_cv_lib_util_logwtmp=no
4026 rm -f conftest.err conftest.$ac_objext \
4027 conftest$ac_exeext conftest.$ac_ext
4028 LIBS=$ac_check_lib_save_LIBS
4030 echo "$as_me:$LINENO: result: $ac_cv_lib_util_logwtmp" >&5
4031 echo "${ECHO_T}$ac_cv_lib_util_logwtmp" >&6
4032 if test $ac_cv_lib_util_logwtmp = yes; then
4033 HAVE_LIBUTIL=yes ; cat >>confdefs.h <<\_ACEOF
4034 #define HAVE_LIBUTIL 1
4042 echo "$as_me:$LINENO: checking for dbm_store in -lndbm" >&5
4043 echo $ECHO_N "checking for dbm_store in -lndbm... $ECHO_C" >&6
4044 if test "${ac_cv_lib_ndbm_dbm_store+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_check_lib_save_LIBS=$LIBS
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4056 /* Override any gcc2 internal prototype to avoid an error. */
4060 /* We use char because int might match the return type of a gcc2
4061 builtin and then its argument prototype would still apply. */
4071 rm -f conftest.$ac_objext conftest$ac_exeext
4072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4073 (eval $ac_link) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1 >conftest.err
4077 cat conftest.err >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } &&
4080 { ac_try='test -z "$ac_c_werror_flag"
4081 || test ! -s conftest.err'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; } &&
4087 { ac_try='test -s conftest$ac_exeext'
4088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092 (exit $ac_status); }; }; then
4093 ac_cv_lib_ndbm_dbm_store=yes
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 ac_cv_lib_ndbm_dbm_store=no
4100 rm -f conftest.err conftest.$ac_objext \
4101 conftest$ac_exeext conftest.$ac_ext
4102 LIBS=$ac_check_lib_save_LIBS
4104 echo "$as_me:$LINENO: result: $ac_cv_lib_ndbm_dbm_store" >&5
4105 echo "${ECHO_T}$ac_cv_lib_ndbm_dbm_store" >&6
4106 if test $ac_cv_lib_ndbm_dbm_store = yes; then
4107 HAVE_LIBNDBM=yes ; cat >>confdefs.h <<\_ACEOF
4108 #define HAVE_LIBNDBM 1
4116 echo "$as_me:$LINENO: checking for dbm_store in -ldb" >&5
4117 echo $ECHO_N "checking for dbm_store in -ldb... $ECHO_C" >&6
4118 if test "${ac_cv_lib_db_dbm_store+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 ac_check_lib_save_LIBS=$LIBS
4123 cat >conftest.$ac_ext <<_ACEOF
4126 cat confdefs.h >>conftest.$ac_ext
4127 cat >>conftest.$ac_ext <<_ACEOF
4128 /* end confdefs.h. */
4130 /* Override any gcc2 internal prototype to avoid an error. */
4134 /* We use char because int might match the return type of a gcc2
4135 builtin and then its argument prototype would still apply. */
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4147 (eval $ac_link) 2>conftest.er1
4149 grep -v '^ *+' conftest.er1 >conftest.err
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } &&
4154 { ac_try='test -z "$ac_c_werror_flag"
4155 || test ! -s conftest.err'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; } &&
4161 { ac_try='test -s conftest$ac_exeext'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; }; then
4167 ac_cv_lib_db_dbm_store=yes
4169 echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4172 ac_cv_lib_db_dbm_store=no
4174 rm -f conftest.err conftest.$ac_objext \
4175 conftest$ac_exeext conftest.$ac_ext
4176 LIBS=$ac_check_lib_save_LIBS
4178 echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbm_store" >&5
4179 echo "${ECHO_T}$ac_cv_lib_db_dbm_store" >&6
4180 if test $ac_cv_lib_db_dbm_store = yes; then
4181 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4182 #define HAVE_LIBDB 1
4189 if test x$HAVE_LIBDB != xyes ; then
4190 echo "$as_me:$LINENO: checking for db_create in -ldb" >&5
4191 echo $ECHO_N "checking for db_create in -ldb... $ECHO_C" >&6
4192 if test "${ac_cv_lib_db_db_create+set}" = set; then
4193 echo $ECHO_N "(cached) $ECHO_C" >&6
4195 ac_check_lib_save_LIBS=$LIBS
4197 cat >conftest.$ac_ext <<_ACEOF
4200 cat confdefs.h >>conftest.$ac_ext
4201 cat >>conftest.$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4204 /* Override any gcc2 internal prototype to avoid an error. */
4208 /* We use char because int might match the return type of a gcc2
4209 builtin and then its argument prototype would still apply. */
4219 rm -f conftest.$ac_objext conftest$ac_exeext
4220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4221 (eval $ac_link) 2>conftest.er1
4223 grep -v '^ *+' conftest.er1 >conftest.err
4225 cat conftest.err >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } &&
4228 { ac_try='test -z "$ac_c_werror_flag"
4229 || test ! -s conftest.err'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; } &&
4235 { ac_try='test -s conftest$ac_exeext'
4236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); }; }; then
4241 ac_cv_lib_db_db_create=yes
4243 echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.$ac_ext >&5
4246 ac_cv_lib_db_db_create=no
4248 rm -f conftest.err conftest.$ac_objext \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS=$ac_check_lib_save_LIBS
4252 echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_create" >&5
4253 echo "${ECHO_T}$ac_cv_lib_db_db_create" >&6
4254 if test $ac_cv_lib_db_db_create = yes; then
4255 HAVE_LIBDB=yes ; cat >>confdefs.h <<\_ACEOF
4256 #define HAVE_LIBDB 1
4265 echo "$as_me:$LINENO: checking for yylex in -lfl" >&5
4266 echo $ECHO_N "checking for yylex in -lfl... $ECHO_C" >&6
4267 if test "${ac_cv_lib_fl_yylex+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 ac_check_lib_save_LIBS=$LIBS
4271 LIBS="-lfl HAVE_LIBFL=no $LIBS"
4272 cat >conftest.$ac_ext <<_ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4279 /* Override any gcc2 internal prototype to avoid an error. */
4283 /* We use char because int might match the return type of a gcc2
4284 builtin and then its argument prototype would still apply. */
4294 rm -f conftest.$ac_objext conftest$ac_exeext
4295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4296 (eval $ac_link) 2>conftest.er1
4298 grep -v '^ *+' conftest.er1 >conftest.err
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } &&
4303 { ac_try='test -z "$ac_c_werror_flag"
4304 || test ! -s conftest.err'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; } &&
4310 { ac_try='test -s conftest$ac_exeext'
4311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; }; then
4316 ac_cv_lib_fl_yylex=yes
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 ac_cv_lib_fl_yylex=no
4323 rm -f conftest.err conftest.$ac_objext \
4324 conftest$ac_exeext conftest.$ac_ext
4325 LIBS=$ac_check_lib_save_LIBS
4327 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yylex" >&5
4328 echo "${ECHO_T}$ac_cv_lib_fl_yylex" >&6
4329 if test $ac_cv_lib_fl_yylex = yes; then
4332 HAVE_LIBFL=yes ; cat >>confdefs.h <<\_ACEOF
4333 #define HAVE_LIBFL 1
4339 echo "$as_me:$LINENO: checking for yp_maplist in -lnsl" >&5
4340 echo $ECHO_N "checking for yp_maplist in -lnsl... $ECHO_C" >&6
4341 if test "${ac_cv_lib_nsl_yp_maplist+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 ac_check_lib_save_LIBS=$LIBS
4346 cat >conftest.$ac_ext <<_ACEOF
4349 cat confdefs.h >>conftest.$ac_ext
4350 cat >>conftest.$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4353 /* Override any gcc2 internal prototype to avoid an error. */
4357 /* We use char because int might match the return type of a gcc2
4358 builtin and then its argument prototype would still apply. */
4368 rm -f conftest.$ac_objext conftest$ac_exeext
4369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4370 (eval $ac_link) 2>conftest.er1
4372 grep -v '^ *+' conftest.er1 >conftest.err
4374 cat conftest.err >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } &&
4377 { ac_try='test -z "$ac_c_werror_flag"
4378 || test ! -s conftest.err'
4379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; } &&
4384 { ac_try='test -s conftest$ac_exeext'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; }; then
4390 ac_cv_lib_nsl_yp_maplist=yes
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 ac_cv_lib_nsl_yp_maplist=no
4397 rm -f conftest.err conftest.$ac_objext \
4398 conftest$ac_exeext conftest.$ac_ext
4399 LIBS=$ac_check_lib_save_LIBS
4401 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_maplist" >&5
4402 echo "${ECHO_T}$ac_cv_lib_nsl_yp_maplist" >&6
4403 if test $ac_cv_lib_nsl_yp_maplist = yes; then
4404 HAVE_LIBNSL=yes ; cat >>confdefs.h <<\_ACEOF
4405 #define HAVE_LIBNSL 1
4413 echo "$as_me:$LINENO: checking for pwdb_db_name in -lpwdb" >&5
4414 echo $ECHO_N "checking for pwdb_db_name in -lpwdb... $ECHO_C" >&6
4415 if test "${ac_cv_lib_pwdb_pwdb_db_name+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 ac_check_lib_save_LIBS=$LIBS
4420 cat >conftest.$ac_ext <<_ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4427 /* Override any gcc2 internal prototype to avoid an error. */
4431 /* We use char because int might match the return type of a gcc2
4432 builtin and then its argument prototype would still apply. */
4433 char pwdb_db_name ();
4442 rm -f conftest.$ac_objext conftest$ac_exeext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4444 (eval $ac_link) 2>conftest.er1
4446 grep -v '^ *+' conftest.er1 >conftest.err
4448 cat conftest.err >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } &&
4451 { ac_try='test -z "$ac_c_werror_flag"
4452 || test ! -s conftest.err'
4453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); }; } &&
4458 { ac_try='test -s conftest$ac_exeext'
4459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; }; then
4464 ac_cv_lib_pwdb_pwdb_db_name=yes
4466 echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.$ac_ext >&5
4469 ac_cv_lib_pwdb_pwdb_db_name=no
4471 rm -f conftest.err conftest.$ac_objext \
4472 conftest$ac_exeext conftest.$ac_ext
4473 LIBS=$ac_check_lib_save_LIBS
4475 echo "$as_me:$LINENO: result: $ac_cv_lib_pwdb_pwdb_db_name" >&5
4476 echo "${ECHO_T}$ac_cv_lib_pwdb_pwdb_db_name" >&6
4477 if test $ac_cv_lib_pwdb_pwdb_db_name = yes; then
4478 HAVE_LIBPWDB=yes ; cat >>confdefs.h <<\_ACEOF
4479 #define HAVE_LIBPWDB 1
4487 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4488 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4489 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4492 ac_check_lib_save_LIBS=$LIBS
4494 cat >conftest.$ac_ext <<_ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4501 /* Override any gcc2 internal prototype to avoid an error. */
4505 /* We use char because int might match the return type of a gcc2
4506 builtin and then its argument prototype would still apply. */
4516 rm -f conftest.$ac_objext conftest$ac_exeext
4517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4518 (eval $ac_link) 2>conftest.er1
4520 grep -v '^ *+' conftest.er1 >conftest.err
4522 cat conftest.err >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); } &&
4525 { ac_try='test -z "$ac_c_werror_flag"
4526 || test ! -s conftest.err'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; } &&
4532 { ac_try='test -s conftest$ac_exeext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 ac_cv_lib_fl_yywrap=yes
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.$ac_ext >&5
4543 ac_cv_lib_fl_yywrap=no
4545 rm -f conftest.err conftest.$ac_objext \
4546 conftest$ac_exeext conftest.$ac_ext
4547 LIBS=$ac_check_lib_save_LIBS
4549 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4550 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4551 if test $ac_cv_lib_fl_yywrap = yes; then
4552 HAVE_LIBFLEX=yes ; cat >>confdefs.h <<\_ACEOF
4553 #define HAVE_LIBFLEX 1
4561 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4562 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4563 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 ac_check_lib_save_LIBS=$LIBS
4568 cat >conftest.$ac_ext <<_ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4575 /* Override any gcc2 internal prototype to avoid an error. */
4579 /* We use char because int might match the return type of a gcc2
4580 builtin and then its argument prototype would still apply. */
4590 rm -f conftest.$ac_objext conftest$ac_exeext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4592 (eval $ac_link) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1 >conftest.err
4596 cat conftest.err >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try='test -z "$ac_c_werror_flag"
4600 || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try='test -s conftest$ac_exeext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4612 ac_cv_lib_l_yywrap=yes
4614 echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4617 ac_cv_lib_l_yywrap=no
4619 rm -f conftest.err conftest.$ac_objext \
4620 conftest$ac_exeext conftest.$ac_ext
4621 LIBS=$ac_check_lib_save_LIBS
4623 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4624 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4625 if test $ac_cv_lib_l_yywrap = yes; then
4626 HAVE_LIBLEX=yes ; cat >>confdefs.h <<\_ACEOF
4627 #define HAVE_LIBLEX 1
4642 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4643 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4644 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4645 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 cat >conftest.$ac_ext <<_ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4655 #include <sys/types.h>
4667 rm -f conftest.$ac_objext
4668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4669 (eval $ac_compile) 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } &&
4676 { ac_try='test -z "$ac_c_werror_flag"
4677 || test ! -s conftest.err'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; } &&
4683 { ac_try='test -s conftest.$ac_objext'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; }; then
4689 eval "$as_ac_Header=yes"
4691 echo "$as_me: failed program was:" >&5
4692 sed 's/^/| /' conftest.$ac_ext >&5
4694 eval "$as_ac_Header=no"
4696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4701 cat >>confdefs.h <<_ACEOF
4702 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4705 ac_header_dirent=$ac_hdr; break
4709 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4710 if test $ac_header_dirent = dirent.h; then
4711 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4712 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4713 if test "${ac_cv_search_opendir+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 ac_func_search_save_LIBS=$LIBS
4717 ac_cv_search_opendir=no
4718 cat >conftest.$ac_ext <<_ACEOF
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4725 /* Override any gcc2 internal prototype to avoid an error. */
4729 /* We use char because int might match the return type of a gcc2
4730 builtin and then its argument prototype would still apply. */
4740 rm -f conftest.$ac_objext conftest$ac_exeext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4742 (eval $ac_link) 2>conftest.er1
4744 grep -v '^ *+' conftest.er1 >conftest.err
4746 cat conftest.err >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } &&
4749 { ac_try='test -z "$ac_c_werror_flag"
4750 || test ! -s conftest.err'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; } &&
4756 { ac_try='test -s conftest$ac_exeext'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; }; then
4762 ac_cv_search_opendir="none required"
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4768 rm -f conftest.err conftest.$ac_objext \
4769 conftest$ac_exeext conftest.$ac_ext
4770 if test "$ac_cv_search_opendir" = no; then
4771 for ac_lib in dir; do
4772 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4780 /* Override any gcc2 internal prototype to avoid an error. */
4784 /* We use char because int might match the return type of a gcc2
4785 builtin and then its argument prototype would still apply. */
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797 (eval $ac_link) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -z "$ac_c_werror_flag"
4805 || test ! -s conftest.err'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; } &&
4811 { ac_try='test -s conftest$ac_exeext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 ac_cv_search_opendir="-l$ac_lib"
4820 echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.$ac_ext >&5
4824 rm -f conftest.err conftest.$ac_objext \
4825 conftest$ac_exeext conftest.$ac_ext
4828 LIBS=$ac_func_search_save_LIBS
4830 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4831 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4832 if test "$ac_cv_search_opendir" != no; then
4833 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4838 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4839 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4840 if test "${ac_cv_search_opendir+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 ac_func_search_save_LIBS=$LIBS
4844 ac_cv_search_opendir=no
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4852 /* Override any gcc2 internal prototype to avoid an error. */
4856 /* We use char because int might match the return type of a gcc2
4857 builtin and then its argument prototype would still apply. */
4867 rm -f conftest.$ac_objext conftest$ac_exeext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4869 (eval $ac_link) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1 >conftest.err
4873 cat conftest.err >&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try='test -z "$ac_c_werror_flag"
4877 || test ! -s conftest.err'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; } &&
4883 { ac_try='test -s conftest$ac_exeext'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; }; then
4889 ac_cv_search_opendir="none required"
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4895 rm -f conftest.err conftest.$ac_objext \
4896 conftest$ac_exeext conftest.$ac_ext
4897 if test "$ac_cv_search_opendir" = no; then
4899 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4900 cat >conftest.$ac_ext <<_ACEOF
4903 cat confdefs.h >>conftest.$ac_ext
4904 cat >>conftest.$ac_ext <<_ACEOF
4905 /* end confdefs.h. */
4907 /* Override any gcc2 internal prototype to avoid an error. */
4911 /* We use char because int might match the return type of a gcc2
4912 builtin and then its argument prototype would still apply. */
4922 rm -f conftest.$ac_objext conftest$ac_exeext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4924 (eval $ac_link) 2>conftest.er1
4926 grep -v '^ *+' conftest.er1 >conftest.err
4928 cat conftest.err >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } &&
4931 { ac_try='test -z "$ac_c_werror_flag"
4932 || test ! -s conftest.err'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; } &&
4938 { ac_try='test -s conftest$ac_exeext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 ac_cv_search_opendir="-l$ac_lib"
4947 echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.$ac_ext >&5
4951 rm -f conftest.err conftest.$ac_objext \
4952 conftest$ac_exeext conftest.$ac_ext
4955 LIBS=$ac_func_search_save_LIBS
4957 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4958 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4959 if test "$ac_cv_search_opendir" != no; then
4960 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4966 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4967 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4968 if test "${ac_cv_header_stdc+set}" = set; then
4969 echo $ECHO_N "(cached) $ECHO_C" >&6
4971 cat >conftest.$ac_ext <<_ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h. */
4990 rm -f conftest.$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>conftest.er1
4994 grep -v '^ *+' conftest.er1 >conftest.err
4996 cat conftest.err >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try='test -z "$ac_c_werror_flag"
5000 || test ! -s conftest.err'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 ac_cv_header_stdc=yes
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5017 ac_cv_header_stdc=no
5019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5021 if test $ac_cv_header_stdc = yes; then
5022 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5023 cat >conftest.$ac_ext <<_ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h. */
5032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5033 $EGREP "memchr" >/dev/null 2>&1; then
5036 ac_cv_header_stdc=no
5042 if test $ac_cv_header_stdc = yes; then
5043 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5054 $EGREP "free" >/dev/null 2>&1; then
5057 ac_cv_header_stdc=no
5063 if test $ac_cv_header_stdc = yes; then
5064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5065 if test "$cross_compiling" = yes; then
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 #if ((' ' & 0x0FF) == 0x020)
5076 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5077 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5079 # define ISLOWER(c) \
5080 (('a' <= (c) && (c) <= 'i') \
5081 || ('j' <= (c) && (c) <= 'r') \
5082 || ('s' <= (c) && (c) <= 'z'))
5083 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5086 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5091 for (i = 0; i < 256; i++)
5092 if (XOR (islower (i), ISLOWER (i))
5093 || toupper (i) != TOUPPER (i))
5098 rm -f conftest$ac_exeext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5100 (eval $ac_link) 2>&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; }; then
5111 echo "$as_me: program exited with status $ac_status" >&5
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.$ac_ext >&5
5116 ac_cv_header_stdc=no
5118 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5122 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5123 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5124 if test $ac_cv_header_stdc = yes; then
5126 cat >>confdefs.h <<\_ACEOF
5127 #define STDC_HEADERS 1
5132 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5133 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5134 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 cat >conftest.$ac_ext <<_ACEOF
5140 cat confdefs.h >>conftest.$ac_ext
5141 cat >>conftest.$ac_ext <<_ACEOF
5142 /* end confdefs.h. */
5143 #include <sys/types.h>
5144 #include <sys/wait.h>
5146 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5149 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5157 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5162 rm -f conftest.$ac_objext
5163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5164 (eval $ac_compile) 2>conftest.er1
5166 grep -v '^ *+' conftest.er1 >conftest.err
5168 cat conftest.err >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); } &&
5171 { ac_try='test -z "$ac_c_werror_flag"
5172 || test ! -s conftest.err'
5173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); }; } &&
5178 { ac_try='test -s conftest.$ac_objext'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; }; then
5184 ac_cv_header_sys_wait_h=yes
5186 echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5189 ac_cv_header_sys_wait_h=no
5191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5193 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5194 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5195 if test $ac_cv_header_sys_wait_h = yes; then
5197 cat >>confdefs.h <<\_ACEOF
5198 #define HAVE_SYS_WAIT_H 1
5213 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
5215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5217 echo "$as_me:$LINENO: checking for $ac_header" >&5
5218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5225 # Is the header compilable?
5226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5228 cat >conftest.$ac_ext <<_ACEOF
5231 cat confdefs.h >>conftest.$ac_ext
5232 cat >>conftest.$ac_ext <<_ACEOF
5233 /* end confdefs.h. */
5234 $ac_includes_default
5235 #include <$ac_header>
5237 rm -f conftest.$ac_objext
5238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5239 (eval $ac_compile) 2>conftest.er1
5241 grep -v '^ *+' conftest.er1 >conftest.err
5243 cat conftest.err >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); } &&
5246 { ac_try='test -z "$ac_c_werror_flag"
5247 || test ! -s conftest.err'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; } &&
5253 { ac_try='test -s conftest.$ac_objext'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5259 ac_header_compiler=yes
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5264 ac_header_compiler=no
5266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5268 echo "${ECHO_T}$ac_header_compiler" >&6
5270 # Is the header present?
5271 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5272 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5273 cat >conftest.$ac_ext <<_ACEOF
5276 cat confdefs.h >>conftest.$ac_ext
5277 cat >>conftest.$ac_ext <<_ACEOF
5278 /* end confdefs.h. */
5279 #include <$ac_header>
5281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5284 grep -v '^ *+' conftest.er1 >conftest.err
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } >/dev/null; then
5289 if test -s conftest.err; then
5290 ac_cpp_err=$ac_c_preproc_warn_flag
5291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298 if test -z "$ac_cpp_err"; then
5299 ac_header_preproc=yes
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 ac_header_preproc=no
5306 rm -f conftest.err conftest.$ac_ext
5307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5308 echo "${ECHO_T}$ac_header_preproc" >&6
5310 # So? What about this header?
5311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5313 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5314 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5315 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5316 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5317 ac_header_preproc=yes
5320 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5321 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5322 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5323 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5324 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5325 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5326 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5327 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5330 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5331 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5334 ## ------------------------------------------ ##
5335 ## Report this to the AC_PACKAGE_NAME lists. ##
5336 ## ------------------------------------------ ##
5339 sed "s/^/$as_me: WARNING: /" >&2
5342 echo "$as_me:$LINENO: checking for $ac_header" >&5
5343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 eval "$as_ac_Header=\$ac_header_preproc"
5349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5354 cat >>confdefs.h <<_ACEOF
5355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5364 for ac_header in features.h
5366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5368 echo "$as_me:$LINENO: checking for $ac_header" >&5
5369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5376 # Is the header compilable?
5377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5379 cat >conftest.$ac_ext <<_ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5385 $ac_includes_default
5386 #include <$ac_header>
5388 rm -f conftest.$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390 (eval $ac_compile) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_c_werror_flag"
5398 || test ! -s conftest.err'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; } &&
5404 { ac_try='test -s conftest.$ac_objext'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 ac_header_compiler=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 ac_header_compiler=no
5417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5419 echo "${ECHO_T}$ac_header_compiler" >&6
5421 # Is the header present?
5422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5424 cat >conftest.$ac_ext <<_ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #include <$ac_header>
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1 >conftest.err
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } >/dev/null; then
5440 if test -s conftest.err; then
5441 ac_cpp_err=$ac_c_preproc_warn_flag
5442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5449 if test -z "$ac_cpp_err"; then
5450 ac_header_preproc=yes
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5455 ac_header_preproc=no
5457 rm -f conftest.err conftest.$ac_ext
5458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5459 echo "${ECHO_T}$ac_header_preproc" >&6
5461 # So? What about this header?
5462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5468 ac_header_preproc=yes
5471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5485 ## ------------------------------------------ ##
5486 ## Report this to the AC_PACKAGE_NAME lists. ##
5487 ## ------------------------------------------ ##
5490 sed "s/^/$as_me: WARNING: /" >&2
5493 echo "$as_me:$LINENO: checking for $ac_header" >&5
5494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 eval "$as_ac_Header=\$ac_header_preproc"
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5505 cat >>confdefs.h <<_ACEOF
5506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5515 for ac_header in crypt.h
5517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5519 echo "$as_me:$LINENO: checking for $ac_header" >&5
5520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5522 echo $ECHO_N "(cached) $ECHO_C" >&6
5524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5527 # Is the header compilable?
5528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5530 cat >conftest.$ac_ext <<_ACEOF
5533 cat confdefs.h >>conftest.$ac_ext
5534 cat >>conftest.$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5536 $ac_includes_default
5537 #include <$ac_header>
5539 rm -f conftest.$ac_objext
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>conftest.er1
5543 grep -v '^ *+' conftest.er1 >conftest.err
5545 cat conftest.err >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); } &&
5548 { ac_try='test -z "$ac_c_werror_flag"
5549 || test ! -s conftest.err'
5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try='test -s conftest.$ac_objext'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; }; then
5561 ac_header_compiler=yes
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.$ac_ext >&5
5566 ac_header_compiler=no
5568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5570 echo "${ECHO_T}$ac_header_compiler" >&6
5572 # Is the header present?
5573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5575 cat >conftest.$ac_ext <<_ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5581 #include <$ac_header>
5583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5586 grep -v '^ *+' conftest.er1 >conftest.err
5588 cat conftest.err >&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } >/dev/null; then
5591 if test -s conftest.err; then
5592 ac_cpp_err=$ac_c_preproc_warn_flag
5593 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5600 if test -z "$ac_cpp_err"; then
5601 ac_header_preproc=yes
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5606 ac_header_preproc=no
5608 rm -f conftest.err conftest.$ac_ext
5609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5610 echo "${ECHO_T}$ac_header_preproc" >&6
5612 # So? What about this header?
5613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5619 ac_header_preproc=yes
5622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5636 ## ------------------------------------------ ##
5637 ## Report this to the AC_PACKAGE_NAME lists. ##
5638 ## ------------------------------------------ ##
5641 sed "s/^/$as_me: WARNING: /" >&2
5644 echo "$as_me:$LINENO: checking for $ac_header" >&5
5645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 eval "$as_ac_Header=\$ac_header_preproc"
5651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5656 cat >>confdefs.h <<_ACEOF
5657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 for ac_header in ndbm.h db.h
5669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5671 echo "$as_me:$LINENO: checking for $ac_header" >&5
5672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5674 echo $ECHO_N "(cached) $ECHO_C" >&6
5676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5679 # Is the header compilable?
5680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5682 cat >conftest.$ac_ext <<_ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5689 #include <$ac_header>
5691 rm -f conftest.$ac_objext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>conftest.er1
5695 grep -v '^ *+' conftest.er1 >conftest.err
5697 cat conftest.err >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } &&
5700 { ac_try='test -z "$ac_c_werror_flag"
5701 || test ! -s conftest.err'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; } &&
5707 { ac_try='test -s conftest.$ac_objext'
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; }; then
5713 ac_header_compiler=yes
5715 echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.$ac_ext >&5
5718 ac_header_compiler=no
5720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5722 echo "${ECHO_T}$ac_header_compiler" >&6
5724 # Is the header present?
5725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5727 cat >conftest.$ac_ext <<_ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5733 #include <$ac_header>
5735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5738 grep -v '^ *+' conftest.er1 >conftest.err
5740 cat conftest.err >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); } >/dev/null; then
5743 if test -s conftest.err; then
5744 ac_cpp_err=$ac_c_preproc_warn_flag
5745 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5752 if test -z "$ac_cpp_err"; then
5753 ac_header_preproc=yes
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5758 ac_header_preproc=no
5760 rm -f conftest.err conftest.$ac_ext
5761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5762 echo "${ECHO_T}$ac_header_preproc" >&6
5764 # So? What about this header?
5765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5771 ac_header_preproc=yes
5774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5788 ## ------------------------------------------ ##
5789 ## Report this to the AC_PACKAGE_NAME lists. ##
5790 ## ------------------------------------------ ##
5793 sed "s/^/$as_me: WARNING: /" >&2
5796 echo "$as_me:$LINENO: checking for $ac_header" >&5
5797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 eval "$as_ac_Header=\$ac_header_preproc"
5803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5808 cat >>confdefs.h <<_ACEOF
5809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5816 HAVE_NDBM_H=$ac_cv_header_ndbm_h
5822 for ac_header in lastlog.h utmp.h utmpx.h
5824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5826 echo "$as_me:$LINENO: checking for $ac_header" >&5
5827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5829 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5834 # Is the header compilable?
5835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5837 cat >conftest.$ac_ext <<_ACEOF
5840 cat confdefs.h >>conftest.$ac_ext
5841 cat >>conftest.$ac_ext <<_ACEOF
5842 /* end confdefs.h. */
5843 $ac_includes_default
5844 #include <$ac_header>
5846 rm -f conftest.$ac_objext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5848 (eval $ac_compile) 2>conftest.er1
5850 grep -v '^ *+' conftest.er1 >conftest.err
5852 cat conftest.err >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } &&
5855 { ac_try='test -z "$ac_c_werror_flag"
5856 || test ! -s conftest.err'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; } &&
5862 { ac_try='test -s conftest.$ac_objext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 ac_header_compiler=yes
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 ac_header_compiler=no
5875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5877 echo "${ECHO_T}$ac_header_compiler" >&6
5879 # Is the header present?
5880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5882 cat >conftest.$ac_ext <<_ACEOF
5885 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h. */
5888 #include <$ac_header>
5890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5893 grep -v '^ *+' conftest.er1 >conftest.err
5895 cat conftest.err >&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } >/dev/null; then
5898 if test -s conftest.err; then
5899 ac_cpp_err=$ac_c_preproc_warn_flag
5900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5907 if test -z "$ac_cpp_err"; then
5908 ac_header_preproc=yes
5910 echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5913 ac_header_preproc=no
5915 rm -f conftest.err conftest.$ac_ext
5916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5917 echo "${ECHO_T}$ac_header_preproc" >&6
5919 # So? What about this header?
5920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5926 ac_header_preproc=yes
5929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5943 ## ------------------------------------------ ##
5944 ## Report this to the AC_PACKAGE_NAME lists. ##
5945 ## ------------------------------------------ ##
5948 sed "s/^/$as_me: WARNING: /" >&2
5951 echo "$as_me:$LINENO: checking for $ac_header" >&5
5952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 eval "$as_ac_Header=\$ac_header_preproc"
5958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5963 cat >>confdefs.h <<_ACEOF
5964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5973 echo "$as_me:$LINENO: checking path to cracklib dictionary" >&5
5974 echo $ECHO_N "checking path to cracklib dictionary... $ECHO_C" >&6
5975 DICT_DIR_CANDIDATES="/usr/lib /usr/share/dict /usr/share/lib \
5976 /usr/local/lib /usr/local/share/lib"
5977 DICT_FILE_CANDIDATES="pw_dict cracklib_dict"
5978 CRACKLIB_DICTPATH=""
5979 for d in $DICT_DIR_CANDIDATES ; do
5980 for f in $DICT_FILE_CANDIDATES ; do
5981 if test -r $d/$f.hwm ; then
5982 CRACKLIB_DICTPATH=$d/$f
5984 elif test -r $d/dict/$f.hwm ; then
5985 CRACKLIB_DICTPATH=$d/dict/$f
5990 if test -z "$CRACKLIB_DICTPATH" ; then
5991 { { echo "$as_me:$LINENO: error: none found" >&5
5992 echo "$as_me: error: none found" >&2;}
5993 { (exit 1); exit 1; }; }
5995 echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
5996 echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6
6001 GCC_WARNINGS="-Wall -Wwrite-strings \
6002 -Wpointer-arith -Wcast-qual -Wcast-align \
6003 -Wstrict-prototypes -Wmissing-prototypes \
6004 -Wnested-externs -Winline -Wshadow"
6006 if test "$GCC" = yes; then
6008 ### May need per-OS attention
6009 ### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris.
6012 OS_CFLAGS="-ansi -D_POSIX_SOURCE -pedantic"
6013 LD_D="gcc -shared -Xlinker -x"
6014 WARNINGS="$GCC_WARNINGS"
6018 LD_L="$LD -Xlinker -x -shared"
6021 CC_STATIC="-Xlinker -export-dynamic"
6024 OS_CFLAGS="-ansi -pedantic"
6025 LD_D="gcc -shared -Xlinker -x"
6026 WARNINGS="$GCC_WARNINGS"
6030 LD_L="$LD -x -shared"
6033 CC_STATIC="-Xlinker -export-dynamic"
6039 LD_L=ld -bexpall -bM:SRE -bnoentry
6050 ### Non-gcc needs attention on per-OS basis
6054 # add some stuff here (see sourceforge bug 534205)
6055 # DOCDIR=/System/Documentation/Administration/Libraries/PAM
6056 # MANDIR=/usr/share/man
6059 ### Support for Solaris-C
6064 LD_D="cc -z text -G -R."
6071 OSRELEASE=`uname -r`
6072 if test "$OSRELEASE" = 6.5; then
6074 WARNINGS="-fullwarn"
6075 PIC= #PIC code is default for IRIX
6076 LD="cc -shared" # modules friendly approach
6078 LD_L="ld -G -z redlocsym"
6083 echo "IRIX prior to 6.5 not allowed for"
6087 *) echo "Native compiler on $OS is not yet supported"
6104 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6105 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6106 if test "${ac_cv_c_bigendian+set}" = set; then
6107 echo $ECHO_N "(cached) $ECHO_C" >&6
6109 # See if sys/param.h defines the BYTE_ORDER macro.
6110 cat >conftest.$ac_ext <<_ACEOF
6113 cat confdefs.h >>conftest.$ac_ext
6114 cat >>conftest.$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6116 #include <sys/types.h>
6117 #include <sys/param.h>
6122 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6130 rm -f conftest.$ac_objext
6131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6132 (eval $ac_compile) 2>conftest.er1
6134 grep -v '^ *+' conftest.er1 >conftest.err
6136 cat conftest.err >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } &&
6139 { ac_try='test -z "$ac_c_werror_flag"
6140 || test ! -s conftest.err'
6141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); }; } &&
6146 { ac_try='test -s conftest.$ac_objext'
6147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); }; }; then
6152 # It does; now see whether it defined to BIG_ENDIAN or not.
6153 cat >conftest.$ac_ext <<_ACEOF
6156 cat confdefs.h >>conftest.$ac_ext
6157 cat >>conftest.$ac_ext <<_ACEOF
6158 /* end confdefs.h. */
6159 #include <sys/types.h>
6160 #include <sys/param.h>
6165 #if BYTE_ORDER != BIG_ENDIAN
6173 rm -f conftest.$ac_objext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 (eval $ac_compile) 2>conftest.er1
6177 grep -v '^ *+' conftest.er1 >conftest.err
6179 cat conftest.err >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); } &&
6182 { ac_try='test -z "$ac_c_werror_flag"
6183 || test ! -s conftest.err'
6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; } &&
6189 { ac_try='test -s conftest.$ac_objext'
6190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); }; }; then
6195 ac_cv_c_bigendian=yes
6197 echo "$as_me: failed program was:" >&5
6198 sed 's/^/| /' conftest.$ac_ext >&5
6200 ac_cv_c_bigendian=no
6202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6204 echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6207 # It does not; compile a test program.
6208 if test "$cross_compiling" = yes; then
6209 # try to guess the endianness by grepping values into an object file
6210 ac_cv_c_bigendian=unknown
6211 cat >conftest.$ac_ext <<_ACEOF
6214 cat confdefs.h >>conftest.$ac_ext
6215 cat >>conftest.$ac_ext <<_ACEOF
6216 /* end confdefs.h. */
6217 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6218 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6219 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6220 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6221 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6222 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6226 _ascii (); _ebcdic ();
6231 rm -f conftest.$ac_objext
6232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233 (eval $ac_compile) 2>conftest.er1
6235 grep -v '^ *+' conftest.er1 >conftest.err
6237 cat conftest.err >&5
6238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6239 (exit $ac_status); } &&
6240 { ac_try='test -z "$ac_c_werror_flag"
6241 || test ! -s conftest.err'
6242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }; } &&
6247 { ac_try='test -s conftest.$ac_objext'
6248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); }; }; then
6253 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6254 ac_cv_c_bigendian=yes
6256 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6257 if test "$ac_cv_c_bigendian" = unknown; then
6258 ac_cv_c_bigendian=no
6260 # finding both strings is unlikely to happen, but who knows?
6261 ac_cv_c_bigendian=unknown
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6271 cat >conftest.$ac_ext <<_ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6280 /* Are we little or big endian? From Harbison&Steele. */
6284 char c[sizeof (long)];
6287 exit (u.c[sizeof (long) - 1] == 1);
6290 rm -f conftest$ac_exeext
6291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6292 (eval $ac_link) 2>&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); }; }; then
6301 ac_cv_c_bigendian=no
6303 echo "$as_me: program exited with status $ac_status" >&5
6304 echo "$as_me: failed program was:" >&5
6305 sed 's/^/| /' conftest.$ac_ext >&5
6308 ac_cv_c_bigendian=yes
6310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6315 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6316 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6317 case $ac_cv_c_bigendian in
6320 cat >>confdefs.h <<\_ACEOF
6321 #define WORDS_BIGENDIAN 1
6327 { { echo "$as_me:$LINENO: error: unknown endianness
6328 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6329 echo "$as_me: error: unknown endianness
6330 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6331 { (exit 1); exit 1; }; } ;;
6334 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6335 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6336 if test "${ac_cv_c_const+set}" = set; then
6337 echo $ECHO_N "(cached) $ECHO_C" >&6
6339 cat >conftest.$ac_ext <<_ACEOF
6342 cat confdefs.h >>conftest.$ac_ext
6343 cat >>conftest.$ac_ext <<_ACEOF
6344 /* end confdefs.h. */
6349 /* FIXME: Include the comments suggested by Paul. */
6351 /* Ultrix mips cc rejects this. */
6352 typedef int charset[2];
6354 /* SunOS 4.1.1 cc rejects this. */
6355 char const *const *ccp;
6357 /* NEC SVR4.0.2 mips cc rejects this. */
6358 struct point {int x, y;};
6359 static struct point const zero = {0,0};
6360 /* AIX XL C 1.02.0.0 rejects this.
6361 It does not let you subtract one const X* pointer from another in
6362 an arm of an if-expression whose if-part is not a constant
6364 const char *g = "string";
6365 ccp = &g + (g ? g-g : 0);
6366 /* HPUX 7.0 cc rejects these. */
6369 ccp = (char const *const *) p;
6370 { /* SCO 3.2v4 cc rejects this. */
6372 char const *s = 0 ? (char *) 0 : (char const *) 0;
6376 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6378 const int *foo = &x[0];
6381 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6382 typedef const int *iptr;
6386 { /* AIX XL C 1.02.0.0 rejects this saying
6387 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6388 struct s { int j; const int *ap[3]; };
6389 struct s *b; b->j = 5;
6391 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6400 rm -f conftest.$ac_objext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402 (eval $ac_compile) 2>conftest.er1
6404 grep -v '^ *+' conftest.er1 >conftest.err
6406 cat conftest.err >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); } &&
6409 { ac_try='test -z "$ac_c_werror_flag"
6410 || test ! -s conftest.err'
6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); }; } &&
6416 { ac_try='test -s conftest.$ac_objext'
6417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; }; then
6424 echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6431 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6432 echo "${ECHO_T}$ac_cv_c_const" >&6
6433 if test $ac_cv_c_const = no; then
6435 cat >>confdefs.h <<\_ACEOF
6441 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6442 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6443 if test "${ac_cv_type_uid_t+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 cat >conftest.$ac_ext <<_ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6452 #include <sys/types.h>
6455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6456 $EGREP "uid_t" >/dev/null 2>&1; then
6457 ac_cv_type_uid_t=yes
6464 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6465 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6466 if test $ac_cv_type_uid_t = no; then
6468 cat >>confdefs.h <<\_ACEOF
6473 cat >>confdefs.h <<\_ACEOF
6479 echo "$as_me:$LINENO: checking for off_t" >&5
6480 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6481 if test "${ac_cv_type_off_t+set}" = set; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 cat >conftest.$ac_ext <<_ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 $ac_includes_default
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 (eval $ac_compile) 2>conftest.er1
6506 grep -v '^ *+' conftest.er1 >conftest.err
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } &&
6511 { ac_try='test -z "$ac_c_werror_flag"
6512 || test ! -s conftest.err'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; } &&
6518 { ac_try='test -s conftest.$ac_objext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 ac_cv_type_off_t=yes
6526 echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6533 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6534 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6535 if test $ac_cv_type_off_t = yes; then
6539 cat >>confdefs.h <<_ACEOF
6545 echo "$as_me:$LINENO: checking for pid_t" >&5
6546 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
6547 if test "${ac_cv_type_pid_t+set}" = set; then
6548 echo $ECHO_N "(cached) $ECHO_C" >&6
6550 cat >conftest.$ac_ext <<_ACEOF
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h. */
6556 $ac_includes_default
6568 rm -f conftest.$ac_objext
6569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6570 (eval $ac_compile) 2>conftest.er1
6572 grep -v '^ *+' conftest.er1 >conftest.err
6574 cat conftest.err >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } &&
6577 { ac_try='test -z "$ac_c_werror_flag"
6578 || test ! -s conftest.err'
6579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); }; } &&
6584 { ac_try='test -s conftest.$ac_objext'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; }; then
6590 ac_cv_type_pid_t=yes
6592 echo "$as_me: failed program was:" >&5
6593 sed 's/^/| /' conftest.$ac_ext >&5
6597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6599 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6600 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6601 if test $ac_cv_type_pid_t = yes; then
6605 cat >>confdefs.h <<_ACEOF
6611 echo "$as_me:$LINENO: checking for size_t" >&5
6612 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6613 if test "${ac_cv_type_size_t+set}" = set; then
6614 echo $ECHO_N "(cached) $ECHO_C" >&6
6616 cat >conftest.$ac_ext <<_ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h. */
6622 $ac_includes_default
6628 if (sizeof (size_t))
6634 rm -f conftest.$ac_objext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6636 (eval $ac_compile) 2>conftest.er1
6638 grep -v '^ *+' conftest.er1 >conftest.err
6640 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } &&
6643 { ac_try='test -z "$ac_c_werror_flag"
6644 || test ! -s conftest.err'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; } &&
6650 { ac_try='test -s conftest.$ac_objext'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; }; then
6656 ac_cv_type_size_t=yes
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6661 ac_cv_type_size_t=no
6663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6665 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6666 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6667 if test $ac_cv_type_size_t = yes; then
6671 cat >>confdefs.h <<_ACEOF
6672 #define size_t unsigned
6677 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6678 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6679 if test "${ac_cv_header_time+set}" = set; then
6680 echo $ECHO_N "(cached) $ECHO_C" >&6
6682 cat >conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 #include <sys/time.h>
6695 if ((struct tm *) 0)
6701 rm -f conftest.$ac_objext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6703 (eval $ac_compile) 2>conftest.er1
6705 grep -v '^ *+' conftest.er1 >conftest.err
6707 cat conftest.err >&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); } &&
6710 { ac_try='test -z "$ac_c_werror_flag"
6711 || test ! -s conftest.err'
6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; } &&
6717 { ac_try='test -s conftest.$ac_objext'
6718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); }; }; then
6723 ac_cv_header_time=yes
6725 echo "$as_me: failed program was:" >&5
6726 sed 's/^/| /' conftest.$ac_ext >&5
6728 ac_cv_header_time=no
6730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6732 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6733 echo "${ECHO_T}$ac_cv_header_time" >&6
6734 if test $ac_cv_header_time = yes; then
6736 cat >>confdefs.h <<\_ACEOF
6737 #define TIME_WITH_SYS_TIME 1
6742 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6743 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6744 if test "${ac_cv_struct_tm+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <sys/types.h>
6759 struct tm *tp; tp->tm_sec;
6764 rm -f conftest.$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try='test -z "$ac_c_werror_flag"
6774 || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 ac_cv_struct_tm=time.h
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6791 ac_cv_struct_tm=sys/time.h
6793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6796 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6797 if test $ac_cv_struct_tm = sys/time.h; then
6799 cat >>confdefs.h <<\_ACEOF
6800 #define TM_IN_SYS_TIME 1
6806 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
6807 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
6808 if test "${ac_cv_type_getgroups+set}" = set; then
6809 echo $ECHO_N "(cached) $ECHO_C" >&6
6811 if test "$cross_compiling" = yes; then
6812 ac_cv_type_getgroups=cross
6814 cat >conftest.$ac_ext <<_ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 /* Thanks to Mike Rendell for this test. */
6821 #include <sys/types.h>
6824 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6831 union { gid_t gval; long lval; } val;
6834 for (i = 0; i < NGID; i++)
6835 gidset[i] = val.gval;
6836 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6838 /* Exit non-zero if getgroups seems to require an array of ints. This
6839 happens when gid_t is short but getgroups modifies an array of ints. */
6840 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
6843 rm -f conftest$ac_exeext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845 (eval $ac_link) 2>&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; }; then
6854 ac_cv_type_getgroups=gid_t
6856 echo "$as_me: program exited with status $ac_status" >&5
6857 echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.$ac_ext >&5
6861 ac_cv_type_getgroups=int
6863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6865 if test $ac_cv_type_getgroups = cross; then
6866 cat >conftest.$ac_ext <<_ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h. */
6875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6876 $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
6877 ac_cv_type_getgroups=gid_t
6879 ac_cv_type_getgroups=int
6885 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6886 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6888 cat >>confdefs.h <<_ACEOF
6889 #define GETGROUPS_T $ac_cv_type_getgroups
6893 if test $ac_cv_c_compiler_gnu = yes; then
6894 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6895 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6896 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6897 echo $ECHO_N "(cached) $ECHO_C" >&6
6899 ac_pattern="Autoconf.*'x'"
6900 cat >conftest.$ac_ext <<_ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6910 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6911 ac_cv_prog_gcc_traditional=yes
6913 ac_cv_prog_gcc_traditional=no
6918 if test $ac_cv_prog_gcc_traditional = no; then
6919 cat >conftest.$ac_ext <<_ACEOF
6922 cat confdefs.h >>conftest.$ac_ext
6923 cat >>conftest.$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6929 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6930 ac_cv_prog_gcc_traditional=yes
6936 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6937 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6938 if test $ac_cv_prog_gcc_traditional = yes; then
6939 CC="$CC -traditional"
6943 echo "$as_me:$LINENO: checking for working memcmp" >&5
6944 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
6945 if test "${ac_cv_func_memcmp_working+set}" = set; then
6946 echo $ECHO_N "(cached) $ECHO_C" >&6
6948 if test "$cross_compiling" = yes; then
6949 ac_cv_func_memcmp_working=no
6951 cat >conftest.$ac_ext <<_ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6962 /* Some versions of memcmp are not 8-bit clean. */
6963 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
6964 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
6967 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
6968 or more and with at least one buffer not starting on a 4-byte boundary.
6969 William Lewis provided this test program. */
6974 for (i = 0; i < 4; i++)
6978 strcpy (a, "--------01111111");
6979 strcpy (b, "--------10000000");
6980 if (memcmp (a, b, 16) >= 0)
6990 rm -f conftest$ac_exeext
6991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6992 (eval $ac_link) 2>&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); }; }; then
7001 ac_cv_func_memcmp_working=yes
7003 echo "$as_me: program exited with status $ac_status" >&5
7004 echo "$as_me: failed program was:" >&5
7005 sed 's/^/| /' conftest.$ac_ext >&5
7008 ac_cv_func_memcmp_working=no
7010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7013 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7014 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
7015 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
7016 "memcmp.$ac_objext" | \
7017 *" memcmp.$ac_objext" | \
7018 "memcmp.$ac_objext "* | \
7019 *" memcmp.$ac_objext "* ) ;;
7020 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
7025 for ac_func in vprintf
7027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7028 echo "$as_me:$LINENO: checking for $ac_func" >&5
7029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7030 if eval "test \"\${$as_ac_var+set}\" = set"; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 cat >conftest.$ac_ext <<_ACEOF
7036 cat confdefs.h >>conftest.$ac_ext
7037 cat >>conftest.$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7041 #define $ac_func innocuous_$ac_func
7043 /* System header to define __stub macros and hopefully few prototypes,
7044 which can conflict with char $ac_func (); below.
7045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7046 <limits.h> exists even on freestanding compilers. */
7049 # include <limits.h>
7051 # include <assert.h>
7056 /* Override any gcc2 internal prototype to avoid an error. */
7061 /* We use char because int might match the return type of a gcc2
7062 builtin and then its argument prototype would still apply. */
7064 /* The GNU C library defines this for functions which it implements
7065 to always fail with ENOSYS. Some functions are actually named
7066 something starting with __ and the normal name is an alias. */
7067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7070 char (*f) () = $ac_func;
7079 return f != $ac_func;
7084 rm -f conftest.$ac_objext conftest$ac_exeext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7086 (eval $ac_link) 2>conftest.er1
7088 grep -v '^ *+' conftest.er1 >conftest.err
7090 cat conftest.err >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try='test -z "$ac_c_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try='test -s conftest$ac_exeext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7106 eval "$as_ac_var=yes"
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7111 eval "$as_ac_var=no"
7113 rm -f conftest.err conftest.$ac_objext \
7114 conftest$ac_exeext conftest.$ac_ext
7116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7118 if test `eval echo '${'$as_ac_var'}'` = yes; then
7119 cat >>confdefs.h <<_ACEOF
7120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7123 echo "$as_me:$LINENO: checking for _doprnt" >&5
7124 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7125 if test "${ac_cv_func__doprnt+set}" = set; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 cat >conftest.$ac_ext <<_ACEOF
7131 cat confdefs.h >>conftest.$ac_ext
7132 cat >>conftest.$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7134 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7136 #define _doprnt innocuous__doprnt
7138 /* System header to define __stub macros and hopefully few prototypes,
7139 which can conflict with char _doprnt (); below.
7140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7141 <limits.h> exists even on freestanding compilers. */
7144 # include <limits.h>
7146 # include <assert.h>
7151 /* Override any gcc2 internal prototype to avoid an error. */
7156 /* We use char because int might match the return type of a gcc2
7157 builtin and then its argument prototype would still apply. */
7159 /* The GNU C library defines this for functions which it implements
7160 to always fail with ENOSYS. Some functions are actually named
7161 something starting with __ and the normal name is an alias. */
7162 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7165 char (*f) () = _doprnt;
7174 return f != _doprnt;
7179 rm -f conftest.$ac_objext conftest$ac_exeext
7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7181 (eval $ac_link) 2>conftest.er1
7183 grep -v '^ *+' conftest.er1 >conftest.err
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } &&
7188 { ac_try='test -z "$ac_c_werror_flag"
7189 || test ! -s conftest.err'
7190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); }; } &&
7195 { ac_try='test -s conftest$ac_exeext'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; }; then
7201 ac_cv_func__doprnt=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.$ac_ext >&5
7206 ac_cv_func__doprnt=no
7208 rm -f conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7211 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7212 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7213 if test $ac_cv_func__doprnt = yes; then
7215 cat >>confdefs.h <<\_ACEOF
7216 #define HAVE_DOPRNT 1
7236 for ac_func in gethostname gettimeofday mkdir select strcspn strdup strerror strspn strstr strtol uname
7238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7239 echo "$as_me:$LINENO: checking for $ac_func" >&5
7240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7241 if eval "test \"\${$as_ac_var+set}\" = set"; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 cat >conftest.$ac_ext <<_ACEOF
7247 cat confdefs.h >>conftest.$ac_ext
7248 cat >>conftest.$ac_ext <<_ACEOF
7249 /* end confdefs.h. */
7250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7252 #define $ac_func innocuous_$ac_func
7254 /* System header to define __stub macros and hopefully few prototypes,
7255 which can conflict with char $ac_func (); below.
7256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7257 <limits.h> exists even on freestanding compilers. */
7260 # include <limits.h>
7262 # include <assert.h>
7267 /* Override any gcc2 internal prototype to avoid an error. */
7272 /* We use char because int might match the return type of a gcc2
7273 builtin and then its argument prototype would still apply. */
7275 /* The GNU C library defines this for functions which it implements
7276 to always fail with ENOSYS. Some functions are actually named
7277 something starting with __ and the normal name is an alias. */
7278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7281 char (*f) () = $ac_func;
7290 return f != $ac_func;
7295 rm -f conftest.$ac_objext conftest$ac_exeext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7297 (eval $ac_link) 2>conftest.er1
7299 grep -v '^ *+' conftest.er1 >conftest.err
7301 cat conftest.err >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); } &&
7304 { ac_try='test -z "$ac_c_werror_flag"
7305 || test ! -s conftest.err'
7306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); }; } &&
7311 { ac_try='test -s conftest$ac_exeext'
7312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); }; }; then
7317 eval "$as_ac_var=yes"
7319 echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.$ac_ext >&5
7322 eval "$as_ac_var=no"
7324 rm -f conftest.err conftest.$ac_objext \
7325 conftest$ac_exeext conftest.$ac_ext
7327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7329 if test `eval echo '${'$as_ac_var'}'` = yes; then
7330 cat >>confdefs.h <<_ACEOF
7331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7340 for ac_func in getpwnam_r getgrnam_r
7342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7343 echo "$as_me:$LINENO: checking for $ac_func" >&5
7344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7345 if eval "test \"\${$as_ac_var+set}\" = set"; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7348 cat >conftest.$ac_ext <<_ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7356 #define $ac_func innocuous_$ac_func
7358 /* System header to define __stub macros and hopefully few prototypes,
7359 which can conflict with char $ac_func (); below.
7360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7361 <limits.h> exists even on freestanding compilers. */
7364 # include <limits.h>
7366 # include <assert.h>
7371 /* Override any gcc2 internal prototype to avoid an error. */
7376 /* We use char because int might match the return type of a gcc2
7377 builtin and then its argument prototype would still apply. */
7379 /* The GNU C library defines this for functions which it implements
7380 to always fail with ENOSYS. Some functions are actually named
7381 something starting with __ and the normal name is an alias. */
7382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7385 char (*f) () = $ac_func;
7394 return f != $ac_func;
7399 rm -f conftest.$ac_objext conftest$ac_exeext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7401 (eval $ac_link) 2>conftest.er1
7403 grep -v '^ *+' conftest.er1 >conftest.err
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_c_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try='test -s conftest$ac_exeext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7421 eval "$as_ac_var=yes"
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 eval "$as_ac_var=no"
7428 rm -f conftest.err conftest.$ac_objext \
7429 conftest$ac_exeext conftest.$ac_ext
7431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7433 if test `eval echo '${'$as_ac_var'}'` = yes; then
7434 cat >>confdefs.h <<_ACEOF
7435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7442 # Extract the first word of "sgml2txt", so it can be a program name with args.
7443 set dummy sgml2txt; ac_word=$2
7444 echo "$as_me:$LINENO: checking for $ac_word" >&5
7445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7446 if test "${ac_cv_prog_HAVE_SGML2TXT+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7449 if test -n "$HAVE_SGML2TXT"; then
7450 ac_cv_prog_HAVE_SGML2TXT="$HAVE_SGML2TXT" # Let the user override the test.
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_HAVE_SGML2TXT="yes"
7460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 test -z "$ac_cv_prog_HAVE_SGML2TXT" && ac_cv_prog_HAVE_SGML2TXT="no"
7469 HAVE_SGML2TXT=$ac_cv_prog_HAVE_SGML2TXT
7470 if test -n "$HAVE_SGML2TXT"; then
7471 echo "$as_me:$LINENO: result: $HAVE_SGML2TXT" >&5
7472 echo "${ECHO_T}$HAVE_SGML2TXT" >&6
7474 echo "$as_me:$LINENO: result: no" >&5
7475 echo "${ECHO_T}no" >&6
7478 # Extract the first word of "sgml2html", so it can be a program name with args.
7479 set dummy sgml2html; ac_word=$2
7480 echo "$as_me:$LINENO: checking for $ac_word" >&5
7481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7482 if test "${ac_cv_prog_HAVE_SGML2HTML+set}" = set; then
7483 echo $ECHO_N "(cached) $ECHO_C" >&6
7485 if test -n "$HAVE_SGML2HTML"; then
7486 ac_cv_prog_HAVE_SGML2HTML="$HAVE_SGML2HTML" # Let the user override the test.
7488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7492 test -z "$as_dir" && as_dir=.
7493 for ac_exec_ext in '' $ac_executable_extensions; do
7494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_prog_HAVE_SGML2HTML="yes"
7496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 test -z "$ac_cv_prog_HAVE_SGML2HTML" && ac_cv_prog_HAVE_SGML2HTML="no"
7505 HAVE_SGML2HTML=$ac_cv_prog_HAVE_SGML2HTML
7506 if test -n "$HAVE_SGML2HTML"; then
7507 echo "$as_me:$LINENO: result: $HAVE_SGML2HTML" >&5
7508 echo "${ECHO_T}$HAVE_SGML2HTML" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7514 # Extract the first word of "sgml2latex", so it can be a program name with args.
7515 set dummy sgml2latex; ac_word=$2
7516 echo "$as_me:$LINENO: checking for $ac_word" >&5
7517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7518 if test "${ac_cv_prog_HAVE_SGML2LATEX+set}" = set; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 if test -n "$HAVE_SGML2LATEX"; then
7522 ac_cv_prog_HAVE_SGML2LATEX="$HAVE_SGML2LATEX" # Let the user override the test.
7524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir=.
7529 for ac_exec_ext in '' $ac_executable_extensions; do
7530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_HAVE_SGML2LATEX="yes"
7532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 test -z "$ac_cv_prog_HAVE_SGML2LATEX" && ac_cv_prog_HAVE_SGML2LATEX="no"
7541 HAVE_SGML2LATEX=$ac_cv_prog_HAVE_SGML2LATEX
7542 if test -n "$HAVE_SGML2LATEX"; then
7543 echo "$as_me:$LINENO: result: $HAVE_SGML2LATEX" >&5
7544 echo "${ECHO_T}$HAVE_SGML2LATEX" >&6
7546 echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6
7550 if test $HAVE_SGML2LATEX = "yes" ; then
7551 if sgml2latex -h | grep -e --paper | grep ' -p ' > /dev/null ; then
7552 PSER="sgml2latex -o ps"
7554 PSER="sgml2latex -p"
7556 # Extract the first word of "ps2pdf", so it can be a program name with args.
7557 set dummy ps2pdf; ac_word=$2
7558 echo "$as_me:$LINENO: checking for $ac_word" >&5
7559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7560 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 if test -n "$HAVE_PS2PDF"; then
7564 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7573 ac_cv_prog_HAVE_PS2PDF="yes"
7574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7580 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
7583 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
7584 if test -n "$HAVE_PS2PDF"; then
7585 echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
7586 echo "${ECHO_T}$HAVE_PS2PDF" >&6
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7593 # Extract the first word of "sgml2ps", so it can be a program name with args.
7594 set dummy sgml2ps; ac_word=$2
7595 echo "$as_me:$LINENO: checking for $ac_word" >&5
7596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7597 if test "${ac_cv_prog_HAVE_SGML2PS+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 if test -n "$HAVE_SGML2PS"; then
7601 ac_cv_prog_HAVE_SGML2PS="$HAVE_SGML2PS" # Let the user override the test.
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 test -z "$as_dir" && as_dir=.
7608 for ac_exec_ext in '' $ac_executable_extensions; do
7609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7610 ac_cv_prog_HAVE_SGML2PS="yes"
7611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 test -z "$ac_cv_prog_HAVE_SGML2PS" && ac_cv_prog_HAVE_SGML2PS="no"
7620 HAVE_SGML2PS=$ac_cv_prog_HAVE_SGML2PS
7621 if test -n "$HAVE_SGML2PS"; then
7622 echo "$as_me:$LINENO: result: $HAVE_SGML2PS" >&5
7623 echo "${ECHO_T}$HAVE_SGML2PS" >&6
7625 echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6
7629 if test $HAVE_SGML2PS = yes ; then
7636 ac_config_files="$ac_config_files Make.Rules"
7637 cat >confcache <<\_ACEOF
7638 # This file is a shell script that caches the results of configure
7639 # tests run on this system so they can be shared between configure
7640 # scripts and configure runs, see configure's option --config-cache.
7641 # It is not useful on other systems. If it contains results you don't
7642 # want to keep, you may remove or edit it.
7644 # config.status only pays attention to the cache file if you give it
7645 # the --recheck option to rerun configure.
7647 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7648 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7653 # The following way of writing the cache mishandles newlines in values,
7654 # but we know of no workaround that is simple, portable, and efficient.
7655 # So, don't put newlines in cache variables' values.
7656 # Ultrix sh set writes to stderr and can't be redirected directly,
7657 # and sets the high bit in the cache file unless we assign to the vars.
7660 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7662 # `set' does not quote correctly, so add quotes (double-quote
7663 # substitution turns \\\\ into \\, and sed turns \\ into \).
7666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7669 # `set' quotes correctly as required by POSIX, so do not add quotes.
7671 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7680 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7682 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7683 if test -w $cache_file; then
7684 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7685 cat confcache >$cache_file
7687 echo "not updating unwritable cache $cache_file"
7692 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7693 # Let make expand exec_prefix.
7694 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7696 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7697 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7698 # trailing colons and then remove the whole line if VPATH becomes empty
7699 # (actually we leave an empty line to preserve line numbers).
7700 if test "x$srcdir" = x.; then
7701 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7702 s/:*\$(srcdir):*/:/;
7703 s/:*\${srcdir}:*/:/;
7705 s/^\([^=]*=[ ]*\):*/\1/;
7711 DEFS=-DHAVE_CONFIG_H
7715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7716 # 1. Remove the extension, and $U if already installed.
7717 ac_i=`echo "$ac_i" |
7718 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7720 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7721 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7725 LTLIBOBJS=$ac_ltlibobjs
7729 : ${CONFIG_STATUS=./config.status}
7730 ac_clean_files_save=$ac_clean_files
7731 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7732 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7733 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7734 cat >$CONFIG_STATUS <<_ACEOF
7736 # Generated by $as_me.
7737 # Run this file to recreate the current configuration.
7738 # Compiler output produced by configure, useful for debugging
7739 # configure, is in config.log if it exists.
7744 SHELL=\${CONFIG_SHELL-$SHELL}
7747 cat >>$CONFIG_STATUS <<\_ACEOF
7748 ## --------------------- ##
7749 ## M4sh Initialization. ##
7750 ## --------------------- ##
7752 # Be Bourne compatible
7753 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7756 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7757 # is contrary to our usage. Disable this feature.
7758 alias -g '${1+"$@"}'='"$@"'
7759 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7762 DUALCASE=1; export DUALCASE # for MKS sh
7764 # Support unset when possible.
7765 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7772 # Work around bugs in pre-3.0 UWIN ksh.
7773 $as_unset ENV MAIL MAILPATH
7780 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7781 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7782 LC_TELEPHONE LC_TIME
7784 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7785 eval $as_var=C; export $as_var
7791 # Required to use basename.
7792 if expr a : '\(a\)' >/dev/null 2>&1; then
7798 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7799 as_basename=basename
7805 # Name of the executable.
7806 as_me=`$as_basename "$0" ||
7807 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7808 X"$0" : 'X\(//\)$' \| \
7809 X"$0" : 'X\(/\)$' \| \
7810 . : '\(.\)' 2>/dev/null ||
7812 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7813 /^X\/\(\/\/\)$/{ s//\1/; q; }
7814 /^X\/\(\/\).*/{ s//\1/; q; }
7818 # PATH needs CR, and LINENO needs CR and PATH.
7819 # Avoid depending upon Character Ranges.
7820 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7821 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7822 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7823 as_cr_digits='0123456789'
7824 as_cr_alnum=$as_cr_Letters$as_cr_digits
7826 # The user is always right.
7827 if test "${PATH_SEPARATOR+set}" != set; then
7828 echo "#! /bin/sh" >conf$$.sh
7829 echo "exit 0" >>conf$$.sh
7831 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7842 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7843 test "x$as_lineno_1" != "x$as_lineno_2" &&
7844 test "x$as_lineno_3" = "x$as_lineno_2" || {
7845 # Find who we are. Look in the path if we contain no path at all
7848 *[\\/]* ) as_myself=$0 ;;
7849 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7859 # We did not find ourselves, most probably we were run as `sh COMMAND'
7860 # in which case we are not to be found in the path.
7861 if test "x$as_myself" = x; then
7864 if test ! -f "$as_myself"; then
7865 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7866 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7867 { (exit 1); exit 1; }; }
7869 case $CONFIG_SHELL in
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7875 test -z "$as_dir" && as_dir=.
7876 for as_base in sh bash ksh sh5; do
7879 if ("$as_dir/$as_base" -c '
7882 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7883 test "x$as_lineno_1" != "x$as_lineno_2" &&
7884 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7885 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7886 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7887 CONFIG_SHELL=$as_dir/$as_base
7889 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7897 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7898 # uniformly replaced by the line number. The first 'sed' inserts a
7899 # line-number line before each line; the second 'sed' does the real
7900 # work. The second script uses 'N' to pair each line-number line
7901 # with the numbered line, and appends trailing '-' during
7902 # substitution so that $LINENO is not a special case at line end.
7903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7904 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7905 sed '=' <$as_myself |
7910 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7913 s,^['$as_cr_digits']*\n,,
7915 chmod +x $as_me.lineno ||
7916 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7917 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7918 { (exit 1); exit 1; }; }
7920 # Don't try to exec as it changes $[0], causing all sort of problems
7921 # (the dirname of $[0] is not the place where we might find the
7922 # original and so on. Autoconf is especially sensible to this).
7924 # Exit status is that of the last command.
7929 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7930 *c*,-n*) ECHO_N= ECHO_C='
7932 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7933 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7936 if expr a : '\(a\)' >/dev/null 2>&1; then
7942 rm -f conf$$ conf$$.exe conf$$.file
7944 if ln -s conf$$.file conf$$ 2>/dev/null; then
7945 # We could just check for DJGPP; but this test a) works b) is more generic
7946 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7947 if test -f conf$$.exe; then
7948 # Don't use ln at all; we don't have any links
7953 elif ln conf$$.file conf$$ 2>/dev/null; then
7958 rm -f conf$$ conf$$.exe conf$$.file
7960 if mkdir -p . 2>/dev/null; then
7963 test -d ./-p && rmdir ./-p
7967 as_executable_p="test -f"
7969 # Sed expression to map a string onto a valid CPP name.
7970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7972 # Sed expression to map a string onto a valid variable name.
7973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7977 # We need space, tab and new line, in precisely that order.
7987 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7988 # report actual input values of CONFIG_FILES etc. instead of their
7989 # values after options handling. Logging --version etc. is OK.
7993 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7994 ## Running $as_me. ##
7999 This file was extended by $as_me, which was
8000 generated by GNU Autoconf 2.59. Invocation command line was
8002 CONFIG_FILES = $CONFIG_FILES
8003 CONFIG_HEADERS = $CONFIG_HEADERS
8004 CONFIG_LINKS = $CONFIG_LINKS
8005 CONFIG_COMMANDS = $CONFIG_COMMANDS
8009 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8013 # Files that config.status was made for.
8014 if test -n "$ac_config_files"; then
8015 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8018 if test -n "$ac_config_headers"; then
8019 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8022 if test -n "$ac_config_links"; then
8023 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8026 if test -n "$ac_config_commands"; then
8027 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8030 cat >>$CONFIG_STATUS <<\_ACEOF
8033 \`$as_me' instantiates files from templates according to the
8034 current configuration.
8036 Usage: $0 [OPTIONS] [FILE]...
8038 -h, --help print this help, then exit
8039 -V, --version print version number, then exit
8040 -q, --quiet do not print progress messages
8041 -d, --debug don't remove temporary files
8042 --recheck update $as_me by reconfiguring in the same conditions
8043 --file=FILE[:TEMPLATE]
8044 instantiate the configuration file FILE
8045 --header=FILE[:TEMPLATE]
8046 instantiate the configuration header FILE
8048 Configuration files:
8051 Configuration headers:
8054 Report bugs to <bug-autoconf@gnu.org>."
8057 cat >>$CONFIG_STATUS <<_ACEOF
8060 configured by $0, generated by GNU Autoconf 2.59,
8061 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8063 Copyright (C) 2003 Free Software Foundation, Inc.
8064 This config.status script is free software; the Free Software Foundation
8065 gives unlimited permission to copy, distribute and modify it."
8070 cat >>$CONFIG_STATUS <<\_ACEOF
8071 # If no file are specified by the user, then we need to provide default
8072 # value. By we need to know if files were specified by the user.
8078 ac_option=`expr "x$1" : 'x\([^=]*\)='`
8079 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8087 *) # This is not an option, so the user has probably given explicit
8090 ac_need_defaults=false;;
8094 # Handling of the options.
8096 cat >>$CONFIG_STATUS <<\_ACEOF
8097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8099 --version | --vers* | -V )
8100 echo "$ac_cs_version"; exit 0 ;;
8102 # Conflict between --help and --header
8103 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8104 Try \`$0 --help' for more information." >&5
8105 echo "$as_me: error: ambiguous option: $1
8106 Try \`$0 --help' for more information." >&2;}
8107 { (exit 1); exit 1; }; };;
8108 --help | --hel | -h )
8109 echo "$ac_cs_usage"; exit 0 ;;
8110 --debug | --d* | -d )
8112 --file | --fil | --fi | --f )
8114 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8115 ac_need_defaults=false;;
8116 --header | --heade | --head | --hea )
8118 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8119 ac_need_defaults=false;;
8120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8121 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8125 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8126 Try \`$0 --help' for more information." >&5
8127 echo "$as_me: error: unrecognized option: $1
8128 Try \`$0 --help' for more information." >&2;}
8129 { (exit 1); exit 1; }; } ;;
8131 *) ac_config_targets="$ac_config_targets $1" ;;
8137 ac_configure_extra_args=
8139 if $ac_cs_silent; then
8141 ac_configure_extra_args="$ac_configure_extra_args --silent"
8145 cat >>$CONFIG_STATUS <<_ACEOF
8146 if \$ac_cs_recheck; then
8147 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8148 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8157 cat >>$CONFIG_STATUS <<\_ACEOF
8158 for ac_config_target in $ac_config_targets
8160 case "$ac_config_target" in
8161 # Handling of arguments.
8162 "Make.Rules" ) CONFIG_FILES="$CONFIG_FILES Make.Rules" ;;
8163 "_pam_aconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS _pam_aconf.h" ;;
8164 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8165 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8166 { (exit 1); exit 1; }; };;
8170 # If the user did not use the arguments to specify the items to instantiate,
8171 # then the envvar interface is used. Set only those that are not.
8172 # We use the long form for the default assignment because of an extremely
8173 # bizarre bug on SunOS 4.1.3.
8174 if $ac_need_defaults; then
8175 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8176 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8179 # Have a temporary directory for convenience. Make it in the build tree
8180 # simply because there is no reason to put it here, and in addition,
8181 # creating and moving files from /tmp can sometimes cause problems.
8182 # Create a temporary directory, and hook for its removal unless debugging.
8185 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8186 trap '{ (exit 1); exit 1; }' 1 2 13 15
8189 # Create a (secure) tmp directory for tmp files.
8192 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8193 test -n "$tmp" && test -d "$tmp"
8196 tmp=./confstat$$-$RANDOM
8197 (umask 077 && mkdir $tmp)
8200 echo "$me: cannot create a temporary directory in ." >&2
8201 { (exit 1); exit 1; }
8206 cat >>$CONFIG_STATUS <<_ACEOF
8209 # CONFIG_FILES section.
8212 # No need to generate the scripts if there are no CONFIG_FILES.
8213 # This happens for instance when ./config.status config.h
8214 if test -n "\$CONFIG_FILES"; then
8215 # Protect against being on the right side of a sed subst in config.status.
8216 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8217 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8218 s,@SHELL@,$SHELL,;t t
8219 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8220 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8221 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8222 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8223 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8224 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8225 s,@exec_prefix@,$exec_prefix,;t t
8226 s,@prefix@,$prefix,;t t
8227 s,@program_transform_name@,$program_transform_name,;t t
8228 s,@bindir@,$bindir,;t t
8229 s,@sbindir@,$sbindir,;t t
8230 s,@libexecdir@,$libexecdir,;t t
8231 s,@datadir@,$datadir,;t t
8232 s,@sysconfdir@,$sysconfdir,;t t
8233 s,@sharedstatedir@,$sharedstatedir,;t t
8234 s,@localstatedir@,$localstatedir,;t t
8235 s,@libdir@,$libdir,;t t
8236 s,@includedir@,$includedir,;t t
8237 s,@oldincludedir@,$oldincludedir,;t t
8238 s,@infodir@,$infodir,;t t
8239 s,@mandir@,$mandir,;t t
8240 s,@build_alias@,$build_alias,;t t
8241 s,@host_alias@,$host_alias,;t t
8242 s,@target_alias@,$target_alias,;t t
8244 s,@ECHO_C@,$ECHO_C,;t t
8245 s,@ECHO_N@,$ECHO_N,;t t
8246 s,@ECHO_T@,$ECHO_T,;t t
8248 s,@LIBPAM_VERSION_MAJOR@,$LIBPAM_VERSION_MAJOR,;t t
8249 s,@LIBPAM_VERSION_MINOR@,$LIBPAM_VERSION_MINOR,;t t
8250 s,@LOCALSRCDIR@,$LOCALSRCDIR,;t t
8251 s,@LOCALOBJDIR@,$LOCALOBJDIR,;t t
8253 s,@CONF_CFLAGS@,$CONF_CFLAGS,;t t
8254 s,@MKDIR@,$MKDIR,;t t
8255 s,@SHLIBMODE@,$SHLIBMODE,;t t
8256 s,@MANMODE@,$MANMODE,;t t
8257 s,@USESONAME@,$USESONAME,;t t
8258 s,@SOSWITCH@,$SOSWITCH,;t t
8259 s,@NEEDSONAME@,$NEEDSONAME,;t t
8260 s,@LDCONFIG@,$LDCONFIG,;t t
8262 s,@CFLAGS@,$CFLAGS,;t t
8263 s,@LDFLAGS@,$LDFLAGS,;t t
8264 s,@CPPFLAGS@,$CPPFLAGS,;t t
8265 s,@ac_ct_CC@,$ac_ct_CC,;t t
8266 s,@EXEEXT@,$EXEEXT,;t t
8267 s,@OBJEXT@,$OBJEXT,;t t
8270 s,@LEXLIB@,$LEXLIB,;t t
8271 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8272 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8273 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8274 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8276 s,@SET_MAKE@,$SET_MAKE,;t t
8277 s,@WITH_DEBUG@,$WITH_DEBUG,;t t
8278 s,@WITH_MEMORY_DEBUG@,$WITH_MEMORY_DEBUG,;t t
8279 s,@WITH_LIBDEBUG@,$WITH_LIBDEBUG,;t t
8280 s,@FAKEROOT@,$FAKEROOT,;t t
8281 s,@SECUREDIR@,$SECUREDIR,;t t
8282 s,@SCONFIGDIR@,$SCONFIGDIR,;t t
8283 s,@SUPLEMENTED@,$SUPLEMENTED,;t t
8284 s,@INCLUDEDIR@,$INCLUDEDIR,;t t
8285 s,@DOCDIR@,$DOCDIR,;t t
8286 s,@MANDIR@,$MANDIR,;t t
8287 s,@WITH_PAMLOCKING@,$WITH_PAMLOCKING,;t t
8288 s,@PAM_READ_BOTH_CONFS@,$PAM_READ_BOTH_CONFS,;t t
8289 s,@STATIC_LIBPAM@,$STATIC_LIBPAM,;t t
8290 s,@DYNAMIC_LIBPAM@,$DYNAMIC_LIBPAM,;t t
8291 s,@DYNAMIC@,$DYNAMIC,;t t
8292 s,@STATIC@,$STATIC,;t t
8293 s,@WITH_LCKPWDF@,$WITH_LCKPWDF,;t t
8295 s,@EGREP@,$EGREP,;t t
8296 s,@PAM_NEEDS_LIBC@,$PAM_NEEDS_LIBC,;t t
8297 s,@HAVE_LCKPWDF@,$HAVE_LCKPWDF,;t t
8298 s,@LIBDL@,$LIBDL,;t t
8299 s,@HAVE_LIBCRACK@,$HAVE_LIBCRACK,;t t
8300 s,@HAVE_LIBCRYPT@,$HAVE_LIBCRYPT,;t t
8301 s,@HAVE_LIBUTIL@,$HAVE_LIBUTIL,;t t
8302 s,@HAVE_LIBNDBM@,$HAVE_LIBNDBM,;t t
8303 s,@HAVE_LIBDB@,$HAVE_LIBDB,;t t
8304 s,@HAVE_LIBFL@,$HAVE_LIBFL,;t t
8305 s,@HAVE_LIBNSL@,$HAVE_LIBNSL,;t t
8306 s,@HAVE_LIBPWDB@,$HAVE_LIBPWDB,;t t
8307 s,@HAVE_LIBFLEX@,$HAVE_LIBFLEX,;t t
8308 s,@HAVE_LIBLEX@,$HAVE_LIBLEX,;t t
8309 s,@HAVE_NDBM_H@,$HAVE_NDBM_H,;t t
8310 s,@CRACKLIB_DICTPATH@,$CRACKLIB_DICTPATH,;t t
8311 s,@DYNTYPE@,$DYNTYPE,;t t
8312 s,@OS_CFLAGS@,$OS_CFLAGS,;t t
8313 s,@WARNINGS@,$WARNINGS,;t t
8318 s,@RANLIB@,$RANLIB,;t t
8319 s,@STRIP@,$STRIP,;t t
8320 s,@CC_STATIC@,$CC_STATIC,;t t
8321 s,@LIBOBJS@,$LIBOBJS,;t t
8322 s,@HAVE_SGML2TXT@,$HAVE_SGML2TXT,;t t
8323 s,@HAVE_SGML2HTML@,$HAVE_SGML2HTML,;t t
8324 s,@HAVE_SGML2LATEX@,$HAVE_SGML2LATEX,;t t
8325 s,@HAVE_PS2PDF@,$HAVE_PS2PDF,;t t
8326 s,@HAVE_SGML2PS@,$HAVE_SGML2PS,;t t
8328 s,@PS2PDF@,$PS2PDF,;t t
8329 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8334 cat >>$CONFIG_STATUS <<\_ACEOF
8335 # Split the substitutions into bite-sized pieces for seds with
8336 # small command number limits, like on Digital OSF/1 and HP-UX.
8338 ac_sed_frag=1 # Number of current file.
8339 ac_beg=1 # First line for current file.
8340 ac_end=$ac_max_sed_lines # Line after last line for current file.
8343 while $ac_more_lines; do
8344 if test $ac_beg -gt 1; then
8345 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8347 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8349 if test ! -s $tmp/subs.frag; then
8352 # The purpose of the label and of the branching condition is to
8353 # speed up the sed processing (if there are no `@' at all, there
8354 # is no need to browse any of the substitutions).
8355 # These are the two extra sed commands mentioned above.
8357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8358 if test -z "$ac_sed_cmds"; then
8359 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8361 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8363 ac_sed_frag=`expr $ac_sed_frag + 1`
8365 ac_end=`expr $ac_end + $ac_max_sed_lines`
8368 if test -z "$ac_sed_cmds"; then
8371 fi # test -n "$CONFIG_FILES"
8374 cat >>$CONFIG_STATUS <<\_ACEOF
8375 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8376 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8378 - | *:- | *:-:* ) # input from stdin
8380 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8381 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8382 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8383 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8384 * ) ac_file_in=$ac_file.in ;;
8387 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8388 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8390 X"$ac_file" : 'X\(//\)[^/]' \| \
8391 X"$ac_file" : 'X\(//\)$' \| \
8392 X"$ac_file" : 'X\(/\)' \| \
8393 . : '\(.\)' 2>/dev/null ||
8395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8396 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8397 /^X\(\/\/\)$/{ s//\1/; q; }
8398 /^X\(\/\).*/{ s//\1/; q; }
8400 { if $as_mkdir_p; then
8405 while test ! -d "$as_dir"; do
8406 as_dirs="$as_dir $as_dirs"
8407 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8408 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8409 X"$as_dir" : 'X\(//\)[^/]' \| \
8410 X"$as_dir" : 'X\(//\)$' \| \
8411 X"$as_dir" : 'X\(/\)' \| \
8412 . : '\(.\)' 2>/dev/null ||
8414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8416 /^X\(\/\/\)$/{ s//\1/; q; }
8417 /^X\(\/\).*/{ s//\1/; q; }
8420 test ! -n "$as_dirs" || mkdir $as_dirs
8421 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8422 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8423 { (exit 1); exit 1; }; }; }
8427 if test "$ac_dir" != .; then
8428 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8429 # A "../" for each directory in $ac_dir_suffix.
8430 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8432 ac_dir_suffix= ac_top_builddir=
8436 .) # No --srcdir option. We are building in place.
8438 if test -z "$ac_top_builddir"; then
8441 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8443 [\\/]* | ?:[\\/]* ) # Absolute path.
8444 ac_srcdir=$srcdir$ac_dir_suffix;
8445 ac_top_srcdir=$srcdir ;;
8447 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8448 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8451 # Do not use `cd foo && pwd` to compute absolute paths, because
8452 # the directories may not exist.
8454 .) ac_abs_builddir="$ac_dir";;
8457 .) ac_abs_builddir=`pwd`;;
8458 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8459 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8462 case $ac_abs_builddir in
8463 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8465 case ${ac_top_builddir}. in
8466 .) ac_abs_top_builddir=$ac_abs_builddir;;
8467 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8468 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8471 case $ac_abs_builddir in
8472 .) ac_abs_srcdir=$ac_srcdir;;
8475 .) ac_abs_srcdir=$ac_abs_builddir;;
8476 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8477 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8480 case $ac_abs_builddir in
8481 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8483 case $ac_top_srcdir in
8484 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8485 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8486 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8492 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8493 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8496 if test x"$ac_file" != x-; then
8497 { echo "$as_me:$LINENO: creating $ac_file" >&5
8498 echo "$as_me: creating $ac_file" >&6;}
8501 # Let's still pretend it is `configure' which instantiates (i.e., don't
8502 # use $as_me), people would be surprised to read:
8503 # /* config.h. Generated by config.status. */
8504 if test x"$ac_file" = x-; then
8507 configure_input="$ac_file. "
8509 configure_input=$configure_input"Generated from `echo $ac_file_in |
8510 sed 's,.*/,,'` by configure."
8512 # First look for the input files in the build tree, otherwise in the
8514 ac_file_inputs=`IFS=:
8515 for f in $ac_file_in; do
8517 -) echo $tmp/stdin ;;
8519 # Absolute (can't be DOS-style, as IFS=:)
8520 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8521 echo "$as_me: error: cannot find input file: $f" >&2;}
8522 { (exit 1); exit 1; }; }
8525 if test -f "$f"; then
8528 elif test -f "$srcdir/$f"; then
8533 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8534 echo "$as_me: error: cannot find input file: $f" >&2;}
8535 { (exit 1); exit 1; }; }
8538 done` || { (exit 1); exit 1; }
8540 cat >>$CONFIG_STATUS <<_ACEOF
8544 cat >>$CONFIG_STATUS <<\_ACEOF
8546 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8547 s,@configure_input@,$configure_input,;t t
8548 s,@srcdir@,$ac_srcdir,;t t
8549 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8550 s,@top_srcdir@,$ac_top_srcdir,;t t
8551 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8552 s,@builddir@,$ac_builddir,;t t
8553 s,@abs_builddir@,$ac_abs_builddir,;t t
8554 s,@top_builddir@,$ac_top_builddir,;t t
8555 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8556 s,@INSTALL@,$ac_INSTALL,;t t
8557 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8559 if test x"$ac_file" != x-; then
8560 mv $tmp/out $ac_file
8568 cat >>$CONFIG_STATUS <<\_ACEOF
8571 # CONFIG_HEADER section.
8574 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8575 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8577 # ac_d sets the value in "#define NAME VALUE" lines.
8578 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8579 ac_dB='[ ].*$,\1#\2'
8582 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8583 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8584 ac_uB='$,\1#\2define\3'
8588 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8589 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8591 - | *:- | *:-:* ) # input from stdin
8593 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8594 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8595 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8596 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8597 * ) ac_file_in=$ac_file.in ;;
8600 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8601 echo "$as_me: creating $ac_file" >&6;}
8603 # First look for the input files in the build tree, otherwise in the
8605 ac_file_inputs=`IFS=:
8606 for f in $ac_file_in; do
8608 -) echo $tmp/stdin ;;
8610 # Absolute (can't be DOS-style, as IFS=:)
8611 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8612 echo "$as_me: error: cannot find input file: $f" >&2;}
8613 { (exit 1); exit 1; }; }
8614 # Do quote $f, to prevent DOS paths from being IFS'd.
8617 if test -f "$f"; then
8620 elif test -f "$srcdir/$f"; then
8625 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8626 echo "$as_me: error: cannot find input file: $f" >&2;}
8627 { (exit 1); exit 1; }; }
8630 done` || { (exit 1); exit 1; }
8631 # Remove the trailing spaces.
8632 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8636 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8637 # `conftest.undefs', that substitutes the proper values into
8638 # config.h.in to produce config.h. The first handles `#define'
8639 # templates, and the second `#undef' templates.
8640 # And first: Protect against being on the right side of a sed subst in
8641 # config.status. Protect against being in an unquoted here document
8643 rm -f conftest.defines conftest.undefs
8644 # Using a here document instead of a string reduces the quoting nightmare.
8645 # Putting comments in sed scripts is not portable.
8647 # `end' is used to avoid that the second main sed command (meant for
8648 # 0-ary CPP macros) applies to n-ary macro definitions.
8649 # See the Autoconf documentation for `clear'.
8650 cat >confdef2sed.sed <<\_ACEOF
8655 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8657 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8660 # If some macros were called several times there might be several times
8661 # the same #defines, which is useless. Nevertheless, we may not want to
8662 # sort them, since we want the *last* AC-DEFINE to be honored.
8663 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8664 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8665 rm -f confdef2sed.sed
8667 # This sed command replaces #undef with comments. This is necessary, for
8668 # example, in the case of _POSIX_SOURCE, which is predefined and required
8669 # on some systems where configure will not decide to define it.
8670 cat >>conftest.undefs <<\_ACEOF
8671 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8674 # Break up conftest.defines because some shells have a limit on the size
8675 # of here documents, and old seds have small limits too (100 cmds).
8676 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8677 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8678 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8679 echo ' :' >>$CONFIG_STATUS
8681 while grep . conftest.defines >/dev/null
8683 # Write a limited-size here document to $tmp/defines.sed.
8684 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8685 # Speed up: don't consider the non `#define' lines.
8686 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8687 # Work around the forget-to-reset-the-flag bug.
8688 echo 't clr' >>$CONFIG_STATUS
8689 echo ': clr' >>$CONFIG_STATUS
8690 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8692 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8696 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8697 rm -f conftest.defines
8698 mv conftest.tail conftest.defines
8700 rm -f conftest.defines
8701 echo ' fi # grep' >>$CONFIG_STATUS
8702 echo >>$CONFIG_STATUS
8704 # Break up conftest.undefs because some shells have a limit on the size
8705 # of here documents, and old seds have small limits too (100 cmds).
8706 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8708 while grep . conftest.undefs >/dev/null
8710 # Write a limited-size here document to $tmp/undefs.sed.
8711 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8712 # Speed up: don't consider the non `#undef'
8713 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8714 # Work around the forget-to-reset-the-flag bug.
8715 echo 't clr' >>$CONFIG_STATUS
8716 echo ': clr' >>$CONFIG_STATUS
8717 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8719 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8723 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8724 rm -f conftest.undefs
8725 mv conftest.tail conftest.undefs
8727 rm -f conftest.undefs
8729 cat >>$CONFIG_STATUS <<\_ACEOF
8730 # Let's still pretend it is `configure' which instantiates (i.e., don't
8731 # use $as_me), people would be surprised to read:
8732 # /* config.h. Generated by config.status. */
8733 if test x"$ac_file" = x-; then
8734 echo "/* Generated by configure. */" >$tmp/config.h
8736 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8738 cat $tmp/in >>$tmp/config.h
8740 if test x"$ac_file" != x-; then
8741 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8742 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8743 echo "$as_me: $ac_file is unchanged" >&6;}
8745 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8747 X"$ac_file" : 'X\(//\)[^/]' \| \
8748 X"$ac_file" : 'X\(//\)$' \| \
8749 X"$ac_file" : 'X\(/\)' \| \
8750 . : '\(.\)' 2>/dev/null ||
8752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8753 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8754 /^X\(\/\/\)$/{ s//\1/; q; }
8755 /^X\(\/\).*/{ s//\1/; q; }
8757 { if $as_mkdir_p; then
8762 while test ! -d "$as_dir"; do
8763 as_dirs="$as_dir $as_dirs"
8764 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8765 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8766 X"$as_dir" : 'X\(//\)[^/]' \| \
8767 X"$as_dir" : 'X\(//\)$' \| \
8768 X"$as_dir" : 'X\(/\)' \| \
8769 . : '\(.\)' 2>/dev/null ||
8771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8772 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8773 /^X\(\/\/\)$/{ s//\1/; q; }
8774 /^X\(\/\).*/{ s//\1/; q; }
8777 test ! -n "$as_dirs" || mkdir $as_dirs
8778 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8779 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8780 { (exit 1); exit 1; }; }; }
8783 mv $tmp/config.h $ac_file
8792 cat >>$CONFIG_STATUS <<\_ACEOF
8794 { (exit 0); exit 0; }
8796 chmod +x $CONFIG_STATUS
8797 ac_clean_files=$ac_clean_files_save
8800 # configure is writing to config.log, and then calls config.status.
8801 # config.status does its own redirection, appending to config.log.
8802 # Unfortunately, on DOS this fails, as config.log is still kept open
8803 # by configure, so config.status won't be able to write to it; its
8804 # output is simply discarded. So we exec the FD to /dev/null,
8805 # effectively closing config.log, so it can be properly (re)opened and
8806 # appended to by config.status. When coming back to configure, we
8807 # need to make the FD available again.
8808 if test "$no_create" != yes; then
8810 ac_config_status_args=
8811 test "$silent" = yes &&
8812 ac_config_status_args="$ac_config_status_args --quiet"
8814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8817 # would make configure fail if this is the last instruction.
8818 $ac_cs_success || { (exit 1); exit 1; }