]> granicus.if.org Git - linux-pam/blob - configure
Relevant BUGIDs:
[linux-pam] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="conf/pam_conv1/pam_conv.y"
275 ac_default_prefix=
276 # Factoring default headers for most tests.
277 ac_includes_default="\
278 #include <stdio.h>
279 #if HAVE_SYS_TYPES_H
280 # include <sys/types.h>
281 #endif
282 #if HAVE_SYS_STAT_H
283 # include <sys/stat.h>
284 #endif
285 #if STDC_HEADERS
286 # include <stdlib.h>
287 # include <stddef.h>
288 #else
289 # if HAVE_STDLIB_H
290 #  include <stdlib.h>
291 # endif
292 #endif
293 #if HAVE_STRING_H
294 # if !STDC_HEADERS && HAVE_MEMORY_H
295 #  include <memory.h>
296 # endif
297 # include <string.h>
298 #endif
299 #if HAVE_STRINGS_H
300 # include <strings.h>
301 #endif
302 #if HAVE_INTTYPES_H
303 # include <inttypes.h>
304 #else
305 # if HAVE_STDINT_H
306 #  include <stdint.h>
307 # endif
308 #endif
309 #if HAVE_UNISTD_H
310 # include <unistd.h>
311 #endif"
312
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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'
314 ac_subst_files=''
315
316 # Initialize some variables set by options.
317 ac_init_help=
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
321 cache_file=/dev/null
322 exec_prefix=NONE
323 no_create=
324 no_recursion=
325 prefix=NONE
326 program_prefix=NONE
327 program_suffix=NONE
328 program_transform_name=s,x,x,
329 silent=
330 site=
331 srcdir=
332 verbose=
333 x_includes=NONE
334 x_libraries=NONE
335
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
353
354 ac_prev=
355 for ac_option
356 do
357   # If the previous option needs an argument, assign it.
358   if test -n "$ac_prev"; then
359     eval "$ac_prev=\$ac_option"
360     ac_prev=
361     continue
362   fi
363
364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
366   # Accept the important Cygnus configure options, so we can diagnose typos.
367
368   case $ac_option in
369
370   -bindir | --bindir | --bindi | --bind | --bin | --bi)
371     ac_prev=bindir ;;
372   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373     bindir=$ac_optarg ;;
374
375   -build | --build | --buil | --bui | --bu)
376     ac_prev=build_alias ;;
377   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378     build_alias=$ac_optarg ;;
379
380   -cache-file | --cache-file | --cache-fil | --cache-fi \
381   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382     ac_prev=cache_file ;;
383   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385     cache_file=$ac_optarg ;;
386
387   --config-cache | -C)
388     cache_file=config.cache ;;
389
390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391     ac_prev=datadir ;;
392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393   | --da=*)
394     datadir=$ac_optarg ;;
395
396   -disable-* | --disable-*)
397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398     # Reject names that are not valid shell variable names.
399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401    { (exit 1); exit 1; }; }
402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403     eval "enable_$ac_feature=no" ;;
404
405   -enable-* | --enable-*)
406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407     # Reject names that are not valid shell variable names.
408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410    { (exit 1); exit 1; }; }
411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412     case $ac_option in
413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414       *) ac_optarg=yes ;;
415     esac
416     eval "enable_$ac_feature='$ac_optarg'" ;;
417
418   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420   | --exec | --exe | --ex)
421     ac_prev=exec_prefix ;;
422   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424   | --exec=* | --exe=* | --ex=*)
425     exec_prefix=$ac_optarg ;;
426
427   -gas | --gas | --ga | --g)
428     # Obsolete; use --with-gas.
429     with_gas=yes ;;
430
431   -help | --help | --hel | --he | -h)
432     ac_init_help=long ;;
433   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434     ac_init_help=recursive ;;
435   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436     ac_init_help=short ;;
437
438   -host | --host | --hos | --ho)
439     ac_prev=host_alias ;;
440   -host=* | --host=* | --hos=* | --ho=*)
441     host_alias=$ac_optarg ;;
442
443   -includedir | --includedir | --includedi | --included | --include \
444   | --includ | --inclu | --incl | --inc)
445     ac_prev=includedir ;;
446   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447   | --includ=* | --inclu=* | --incl=* | --inc=*)
448     includedir=$ac_optarg ;;
449
450   -infodir | --infodir | --infodi | --infod | --info | --inf)
451     ac_prev=infodir ;;
452   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453     infodir=$ac_optarg ;;
454
455   -libdir | --libdir | --libdi | --libd)
456     ac_prev=libdir ;;
457   -libdir=* | --libdir=* | --libdi=* | --libd=*)
458     libdir=$ac_optarg ;;
459
460   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461   | --libexe | --libex | --libe)
462     ac_prev=libexecdir ;;
463   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464   | --libexe=* | --libex=* | --libe=*)
465     libexecdir=$ac_optarg ;;
466
467   -localstatedir | --localstatedir | --localstatedi | --localstated \
468   | --localstate | --localstat | --localsta | --localst \
469   | --locals | --local | --loca | --loc | --lo)
470     ac_prev=localstatedir ;;
471   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474     localstatedir=$ac_optarg ;;
475
476   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477     ac_prev=mandir ;;
478   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479     mandir=$ac_optarg ;;
480
481   -nfp | --nfp | --nf)
482     # Obsolete; use --without-fp.
483     with_fp=no ;;
484
485   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486   | --no-cr | --no-c | -n)
487     no_create=yes ;;
488
489   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491     no_recursion=yes ;;
492
493   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495   | --oldin | --oldi | --old | --ol | --o)
496     ac_prev=oldincludedir ;;
497   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500     oldincludedir=$ac_optarg ;;
501
502   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503     ac_prev=prefix ;;
504   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505     prefix=$ac_optarg ;;
506
507   -program-prefix | --program-prefix | --program-prefi | --program-pref \
508   | --program-pre | --program-pr | --program-p)
509     ac_prev=program_prefix ;;
510   -program-prefix=* | --program-prefix=* | --program-prefi=* \
511   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512     program_prefix=$ac_optarg ;;
513
514   -program-suffix | --program-suffix | --program-suffi | --program-suff \
515   | --program-suf | --program-su | --program-s)
516     ac_prev=program_suffix ;;
517   -program-suffix=* | --program-suffix=* | --program-suffi=* \
518   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519     program_suffix=$ac_optarg ;;
520
521   -program-transform-name | --program-transform-name \
522   | --program-transform-nam | --program-transform-na \
523   | --program-transform-n | --program-transform- \
524   | --program-transform | --program-transfor \
525   | --program-transfo | --program-transf \
526   | --program-trans | --program-tran \
527   | --progr-tra | --program-tr | --program-t)
528     ac_prev=program_transform_name ;;
529   -program-transform-name=* | --program-transform-name=* \
530   | --program-transform-nam=* | --program-transform-na=* \
531   | --program-transform-n=* | --program-transform-=* \
532   | --program-transform=* | --program-transfor=* \
533   | --program-transfo=* | --program-transf=* \
534   | --program-trans=* | --program-tran=* \
535   | --progr-tra=* | --program-tr=* | --program-t=*)
536     program_transform_name=$ac_optarg ;;
537
538   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539   | -silent | --silent | --silen | --sile | --sil)
540     silent=yes ;;
541
542   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543     ac_prev=sbindir ;;
544   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545   | --sbi=* | --sb=*)
546     sbindir=$ac_optarg ;;
547
548   -sharedstatedir | --sharedstatedir | --sharedstatedi \
549   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550   | --sharedst | --shareds | --shared | --share | --shar \
551   | --sha | --sh)
552     ac_prev=sharedstatedir ;;
553   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556   | --sha=* | --sh=*)
557     sharedstatedir=$ac_optarg ;;
558
559   -site | --site | --sit)
560     ac_prev=site ;;
561   -site=* | --site=* | --sit=*)
562     site=$ac_optarg ;;
563
564   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565     ac_prev=srcdir ;;
566   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567     srcdir=$ac_optarg ;;
568
569   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570   | --syscon | --sysco | --sysc | --sys | --sy)
571     ac_prev=sysconfdir ;;
572   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574     sysconfdir=$ac_optarg ;;
575
576   -target | --target | --targe | --targ | --tar | --ta | --t)
577     ac_prev=target_alias ;;
578   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579     target_alias=$ac_optarg ;;
580
581   -v | -verbose | --verbose | --verbos | --verbo | --verb)
582     verbose=yes ;;
583
584   -version | --version | --versio | --versi | --vers | -V)
585     ac_init_version=: ;;
586
587   -with-* | --with-*)
588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589     # Reject names that are not valid shell variable names.
590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591       { echo "$as_me: error: invalid package name: $ac_package" >&2
592    { (exit 1); exit 1; }; }
593     ac_package=`echo $ac_package| sed 's/-/_/g'`
594     case $ac_option in
595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596       *) ac_optarg=yes ;;
597     esac
598     eval "with_$ac_package='$ac_optarg'" ;;
599
600   -without-* | --without-*)
601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602     # Reject names that are not valid shell variable names.
603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604       { echo "$as_me: error: invalid package name: $ac_package" >&2
605    { (exit 1); exit 1; }; }
606     ac_package=`echo $ac_package | sed 's/-/_/g'`
607     eval "with_$ac_package=no" ;;
608
609   --x)
610     # Obsolete; use --with-x.
611     with_x=yes ;;
612
613   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614   | --x-incl | --x-inc | --x-in | --x-i)
615     ac_prev=x_includes ;;
616   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618     x_includes=$ac_optarg ;;
619
620   -x-libraries | --x-libraries | --x-librarie | --x-librari \
621   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622     ac_prev=x_libraries ;;
623   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625     x_libraries=$ac_optarg ;;
626
627   -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629    { (exit 1); exit 1; }; }
630     ;;
631
632   *=*)
633     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634     # Reject names that are not valid shell variable names.
635     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637    { (exit 1); exit 1; }; }
638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639     eval "$ac_envvar='$ac_optarg'"
640     export $ac_envvar ;;
641
642   *)
643     # FIXME: should be removed in autoconf 3.0.
644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648     ;;
649
650   esac
651 done
652
653 if test -n "$ac_prev"; then
654   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655   { echo "$as_me: error: missing argument to $ac_option" >&2
656    { (exit 1); exit 1; }; }
657 fi
658
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
661 do
662   eval ac_val=$`echo $ac_var`
663   case $ac_val in
664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666    { (exit 1); exit 1; }; };;
667   esac
668 done
669
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672               localstatedir libdir includedir oldincludedir infodir mandir
673 do
674   eval ac_val=$`echo $ac_var`
675   case $ac_val in
676     [\\/$]* | ?:[\\/]* ) ;;
677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678    { (exit 1); exit 1; }; };;
679   esac
680 done
681
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
685 build=$build_alias
686 host=$host_alias
687 target=$target_alias
688
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691   if test "x$build_alias" = x; then
692     cross_compiling=maybe
693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694     If a cross compiler is detected then cross compile mode will be used." >&2
695   elif test "x$build_alias" != "x$host_alias"; then
696     cross_compiling=yes
697   fi
698 fi
699
700 ac_tool_prefix=
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
703 test "$silent" = yes && exec 6>/dev/null
704
705
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708   ac_srcdir_defaulted=yes
709   # Try the directory containing this script, then its parent.
710   ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712          X"$0" : 'X\(//\)[^/]' \| \
713          X"$0" : 'X\(//\)$' \| \
714          X"$0" : 'X\(/\)' \| \
715          .     : '\(.\)' 2>/dev/null ||
716 echo X"$0" |
717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719           /^X\(\/\/\)$/{ s//\1/; q; }
720           /^X\(\/\).*/{ s//\1/; q; }
721           s/.*/./; q'`
722   srcdir=$ac_confdir
723   if test ! -r $srcdir/$ac_unique_file; then
724     srcdir=..
725   fi
726 else
727   ac_srcdir_defaulted=no
728 fi
729 if test ! -r $srcdir/$ac_unique_file; then
730   if test "$ac_srcdir_defaulted" = yes; then
731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732    { (exit 1); exit 1; }; }
733   else
734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735    { (exit 1); exit 1; }; }
736   fi
737 fi
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740    { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
755 ac_env_CC_value=$CC
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
774
775 #
776 # Report the --help message.
777 #
778 if test "$ac_init_help" = "long"; then
779   # Omit some internal or obsolete options to make the list less imposing.
780   # This message is too long to be a string in the A/UX 3.1 sh.
781   cat <<_ACEOF
782 \`configure' configures this package to adapt to many kinds of systems.
783
784 Usage: $0 [OPTION]... [VAR=VALUE]...
785
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE.  See below for descriptions of some of the useful variables.
788
789 Defaults for the options are specified in brackets.
790
791 Configuration:
792   -h, --help              display this help and exit
793       --help=short        display options specific to this package
794       --help=recursive    display the short help of all the included packages
795   -V, --version           display version information and exit
796   -q, --quiet, --silent   do not print \`checking...' messages
797       --cache-file=FILE   cache test results in FILE [disabled]
798   -C, --config-cache      alias for \`--cache-file=config.cache'
799   -n, --no-create         do not create output files
800       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
801
802 _ACEOF
803
804   cat <<_ACEOF
805 Installation directories:
806   --prefix=PREFIX         install architecture-independent files in PREFIX
807                           [$ac_default_prefix]
808   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809                           [PREFIX]
810
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
815
816 For better control, use the options below.
817
818 Fine tuning of the installation directories:
819   --bindir=DIR           user executables [EPREFIX/bin]
820   --sbindir=DIR          system admin executables [EPREFIX/sbin]
821   --libexecdir=DIR       program executables [EPREFIX/libexec]
822   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
823   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
824   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
825   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
826   --libdir=DIR           object code libraries [EPREFIX/lib]
827   --includedir=DIR       C header files [PREFIX/include]
828   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
829   --infodir=DIR          info documentation [PREFIX/info]
830   --mandir=DIR           man documentation [PREFIX/man]
831 _ACEOF
832
833   cat <<\_ACEOF
834 _ACEOF
835 fi
836
837 if test -n "$ac_init_help"; then
838
839   cat <<\_ACEOF
840
841 Optional Features:
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
861
862 Optional Packages:
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
867
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>
875   CPP         C preprocessor
876
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.
879
880 _ACEOF
881 fi
882
883 if test "$ac_init_help" = "recursive"; then
884   # If there are subdirs, report their specific --help.
885   ac_popdir=`pwd`
886   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887     test -d $ac_dir || continue
888     ac_builddir=.
889
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'`
894 else
895   ac_dir_suffix= ac_top_builddir=
896 fi
897
898 case $srcdir in
899   .)  # No --srcdir option.  We are building in place.
900     ac_srcdir=.
901     if test -z "$ac_top_builddir"; then
902        ac_top_srcdir=.
903     else
904        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905     fi ;;
906   [\\/]* | ?:[\\/]* )  # Absolute path.
907     ac_srcdir=$srcdir$ac_dir_suffix;
908     ac_top_srcdir=$srcdir ;;
909   *) # Relative path.
910     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911     ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 esac
913
914 # Do not use `cd foo && pwd` to compute absolute paths, because
915 # the directories may not exist.
916 case `pwd` in
917 .) ac_abs_builddir="$ac_dir";;
918 *)
919   case "$ac_dir" in
920   .) ac_abs_builddir=`pwd`;;
921   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922   *) ac_abs_builddir=`pwd`/"$ac_dir";;
923   esac;;
924 esac
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 *)
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}.;;
932   esac;;
933 esac
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
936 *)
937   case $ac_srcdir in
938   .) ac_abs_srcdir=$ac_abs_builddir;;
939   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941   esac;;
942 esac
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 *)
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;;
950   esac;;
951 esac
952
953     cd $ac_dir
954     # Check for guested configure; otherwise get Cygnus style configure.
955     if test -f $ac_srcdir/configure.gnu; then
956       echo
957       $SHELL $ac_srcdir/configure.gnu  --help=recursive
958     elif test -f $ac_srcdir/configure; then
959       echo
960       $SHELL $ac_srcdir/configure  --help=recursive
961     elif test -f $ac_srcdir/configure.ac ||
962            test -f $ac_srcdir/configure.in; then
963       echo
964       $ac_configure --help
965     else
966       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
967     fi
968     cd $ac_popdir
969   done
970 fi
971
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
974   cat <<\_ACEOF
975
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.
979 _ACEOF
980   exit 0
981 fi
982 exec 5>config.log
983 cat >&5 <<_ACEOF
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
986
987 It was created by $as_me, which was
988 generated by GNU Autoconf 2.59.  Invocation command line was
989
990   $ $0 $@
991
992 _ACEOF
993 {
994 cat <<_ASUNAME
995 ## --------- ##
996 ## Platform. ##
997 ## --------- ##
998
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`
1004
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`
1007
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`
1015
1016 _ASUNAME
1017
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1019 for as_dir in $PATH
1020 do
1021   IFS=$as_save_IFS
1022   test -z "$as_dir" && as_dir=.
1023   echo "PATH: $as_dir"
1024 done
1025
1026 } >&5
1027
1028 cat >&5 <<_ACEOF
1029
1030
1031 ## ----------- ##
1032 ## Core tests. ##
1033 ## ----------- ##
1034
1035 _ACEOF
1036
1037
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.
1043 ac_configure_args=
1044 ac_configure_args0=
1045 ac_configure_args1=
1046 ac_sep=
1047 ac_must_keep_next=false
1048 for ac_pass in 1 2
1049 do
1050   for ac_arg
1051   do
1052     case $ac_arg in
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)
1056       continue ;;
1057     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059     esac
1060     case $ac_pass in
1061     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062     2)
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.
1066       else
1067         case $ac_arg in
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 ;;
1074             esac
1075             ;;
1076           -* ) ac_must_keep_next=true ;;
1077         esac
1078       fi
1079       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080       # Get rid of the leading space.
1081       ac_sep=" "
1082       ;;
1083     esac
1084   done
1085 done
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; }
1088
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.
1096   {
1097     echo
1098
1099     cat <<\_ASBOX
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1103 _ASBOX
1104     echo
1105     # The following way of writing the cache mishandles newlines in values,
1106 {
1107   (set) 2>&1 |
1108     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109     *ac_space=\ *)
1110       sed -n \
1111         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1113       ;;
1114     *)
1115       sed -n \
1116         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117       ;;
1118     esac;
1119 }
1120     echo
1121
1122     cat <<\_ASBOX
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1126 _ASBOX
1127     echo
1128     for ac_var in $ac_subst_vars
1129     do
1130       eval ac_val=$`echo $ac_var`
1131       echo "$ac_var='"'"'$ac_val'"'"'"
1132     done | sort
1133     echo
1134
1135     if test -n "$ac_subst_files"; then
1136       cat <<\_ASBOX
1137 ## ------------- ##
1138 ## Output files. ##
1139 ## ------------- ##
1140 _ASBOX
1141       echo
1142       for ac_var in $ac_subst_files
1143       do
1144         eval ac_val=$`echo $ac_var`
1145         echo "$ac_var='"'"'$ac_val'"'"'"
1146       done | sort
1147       echo
1148     fi
1149
1150     if test -s confdefs.h; then
1151       cat <<\_ASBOX
1152 ## ----------- ##
1153 ## confdefs.h. ##
1154 ## ----------- ##
1155 _ASBOX
1156       echo
1157       sed "/^$/d" confdefs.h | sort
1158       echo
1159     fi
1160     test "$ac_signal" != 0 &&
1161       echo "$as_me: caught signal $ac_signal"
1162     echo "$as_me: exit $exit_status"
1163   } >&5
1164   rm -f core *.core &&
1165   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1166     exit $exit_status
1167      ' 0
1168 for ac_signal in 1 2 13 15; do
1169   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1170 done
1171 ac_signal=0
1172
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.
1176 echo >confdefs.h
1177
1178 # Predefined preprocessor variables.
1179
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1182 _ACEOF
1183
1184
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1187 _ACEOF
1188
1189
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1192 _ACEOF
1193
1194
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1197 _ACEOF
1198
1199
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1202 _ACEOF
1203
1204
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"
1210   else
1211     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212   fi
1213 fi
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
1219     . "$ac_site_file"
1220   fi
1221 done
1222
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;}
1229     case $cache_file in
1230       [\\/]* | ?:[\\/]* ) . $cache_file;;
1231       *)                      . ./$cache_file;;
1232     esac
1233   fi
1234 else
1235   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1237   >$cache_file
1238 fi
1239
1240 # Check that the precious variables saved in the cache have kept the same
1241 # value.
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
1250     set,)
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=: ;;
1254     ,set)
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=: ;;
1258     ,);;
1259     *)
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=:
1268       fi;;
1269   esac
1270   # Pass precious variables to config.status.
1271   if test "$ac_new_set" = set; then
1272     case $ac_new_val in
1273     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275     *) ac_arg=$ac_var=$ac_new_val ;;
1276     esac
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'" ;;
1280     esac
1281   fi
1282 done
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; }; }
1289 fi
1290
1291 ac_ext=c
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
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316           ac_config_headers="$ac_config_headers _pam_aconf.h"
1317
1318
1319
1320 LIBPAM_VERSION_MAJOR=0
1321 LIBPAM_VERSION_MINOR=78
1322
1323
1324
1325 cat >>confdefs.h <<\_ACEOF
1326 #define LIBPAM_VERSION_MAJOR 1
1327 _ACEOF
1328
1329 cat >>confdefs.h <<\_ACEOF
1330 #define LIBPAM_VERSION_MINOR 1
1331 _ACEOF
1332
1333
1334
1335
1336
1337 LOCALSRCDIR=`/bin/pwd`         ;
1338 LOCALOBJDIR=`/bin/pwd`         ;
1339 OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
1340
1341
1342
1343 CONF_CFLAGS=                    ;
1344 MKDIR="mkdir -p"                ;
1345
1346 SHLIBMODE=755                   ;
1347 MANMODE=644                     ;
1348
1349 USESONAME=yes                   ;
1350 SOSWITCH='-Xlinker -soname      -Xlinker '      ;
1351 NEEDSONAME=no                   ;
1352 LDCONFIG=/sbin/ldconfig         ;
1353
1354 ac_ext=c
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
1366 else
1367   if test -n "$CC"; then
1368   ac_cv_prog_CC="$CC" # Let the user override the test.
1369 else
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 for as_dir in $PATH
1372 do
1373   IFS=$as_save_IFS
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
1379     break 2
1380   fi
1381 done
1382 done
1383
1384 fi
1385 fi
1386 CC=$ac_cv_prog_CC
1387 if test -n "$CC"; then
1388   echo "$as_me:$LINENO: result: $CC" >&5
1389 echo "${ECHO_T}$CC" >&6
1390 else
1391   echo "$as_me:$LINENO: result: no" >&5
1392 echo "${ECHO_T}no" >&6
1393 fi
1394
1395 fi
1396 if test -z "$ac_cv_prog_CC"; then
1397   ac_ct_CC=$CC
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
1404 else
1405   if test -n "$ac_ct_CC"; then
1406   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1407 else
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 for as_dir in $PATH
1410 do
1411   IFS=$as_save_IFS
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
1417     break 2
1418   fi
1419 done
1420 done
1421
1422 fi
1423 fi
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
1428 else
1429   echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1431 fi
1432
1433   CC=$ac_ct_CC
1434 else
1435   CC="$ac_cv_prog_CC"
1436 fi
1437
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
1446 else
1447   if test -n "$CC"; then
1448   ac_cv_prog_CC="$CC" # Let the user override the test.
1449 else
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 for as_dir in $PATH
1452 do
1453   IFS=$as_save_IFS
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
1459     break 2
1460   fi
1461 done
1462 done
1463
1464 fi
1465 fi
1466 CC=$ac_cv_prog_CC
1467 if test -n "$CC"; then
1468   echo "$as_me:$LINENO: result: $CC" >&5
1469 echo "${ECHO_T}$CC" >&6
1470 else
1471   echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1473 fi
1474
1475 fi
1476 if test -z "$ac_cv_prog_CC"; then
1477   ac_ct_CC=$CC
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
1484 else
1485   if test -n "$ac_ct_CC"; then
1486   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1487 else
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 for as_dir in $PATH
1490 do
1491   IFS=$as_save_IFS
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
1497     break 2
1498   fi
1499 done
1500 done
1501
1502 fi
1503 fi
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
1508 else
1509   echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1511 fi
1512
1513   CC=$ac_ct_CC
1514 else
1515   CC="$ac_cv_prog_CC"
1516 fi
1517
1518 fi
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
1526 else
1527   if test -n "$CC"; then
1528   ac_cv_prog_CC="$CC" # Let the user override the test.
1529 else
1530   ac_prog_rejected=no
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 for as_dir in $PATH
1533 do
1534   IFS=$as_save_IFS
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
1540        continue
1541      fi
1542     ac_cv_prog_CC="cc"
1543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1544     break 2
1545   fi
1546 done
1547 done
1548
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
1552   shift
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.
1557     shift
1558     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1559   fi
1560 fi
1561 fi
1562 fi
1563 CC=$ac_cv_prog_CC
1564 if test -n "$CC"; then
1565   echo "$as_me:$LINENO: result: $CC" >&5
1566 echo "${ECHO_T}$CC" >&6
1567 else
1568   echo "$as_me:$LINENO: result: no" >&5
1569 echo "${ECHO_T}no" >&6
1570 fi
1571
1572 fi
1573 if test -z "$CC"; then
1574   if test -n "$ac_tool_prefix"; then
1575   for ac_prog in cl
1576   do
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
1583 else
1584   if test -n "$CC"; then
1585   ac_cv_prog_CC="$CC" # Let the user override the test.
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1589 do
1590   IFS=$as_save_IFS
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
1596     break 2
1597   fi
1598 done
1599 done
1600
1601 fi
1602 fi
1603 CC=$ac_cv_prog_CC
1604 if test -n "$CC"; then
1605   echo "$as_me:$LINENO: result: $CC" >&5
1606 echo "${ECHO_T}$CC" >&6
1607 else
1608   echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1610 fi
1611
1612     test -n "$CC" && break
1613   done
1614 fi
1615 if test -z "$CC"; then
1616   ac_ct_CC=$CC
1617   for ac_prog in cl
1618 do
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
1625 else
1626   if test -n "$ac_ct_CC"; then
1627   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1628 else
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 for as_dir in $PATH
1631 do
1632   IFS=$as_save_IFS
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
1638     break 2
1639   fi
1640 done
1641 done
1642
1643 fi
1644 fi
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
1649 else
1650   echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1652 fi
1653
1654   test -n "$ac_ct_CC" && break
1655 done
1656
1657   CC=$ac_ct_CC
1658 fi
1659
1660 fi
1661
1662
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; }; }
1668
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
1675   ac_status=$?
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
1680   ac_status=$?
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
1685   ac_status=$?
1686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1687   (exit $ac_status); }
1688
1689 cat >conftest.$ac_ext <<_ACEOF
1690 /* confdefs.h.  */
1691 _ACEOF
1692 cat confdefs.h >>conftest.$ac_ext
1693 cat >>conftest.$ac_ext <<_ACEOF
1694 /* end confdefs.h.  */
1695
1696 int
1697 main ()
1698 {
1699
1700   ;
1701   return 0;
1702 }
1703 _ACEOF
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
1708 # of exeext.
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
1714   ac_status=$?
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
1719 # resort.
1720
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.
1723 ac_cv_exeext=
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
1726 do
1727   test -f "$ac_file" || continue
1728   case $ac_file in
1729     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1730         ;;
1731     conftest.$ac_ext )
1732         # This is the source file.
1733         ;;
1734     [ab].out )
1735         # We found the default executable, but exeext='' is most
1736         # certainly right.
1737         break;;
1738     *.* )
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.
1743         export ac_cv_exeext
1744         break;;
1745     * )
1746         break;;
1747   esac
1748 done
1749 else
1750   echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
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; }; }
1758 fi
1759
1760 ac_exeext=$ac_cv_exeext
1761 echo "$as_me:$LINENO: result: $ac_file" >&5
1762 echo "${ECHO_T}$ac_file" >&6
1763
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
1773   (eval $ac_try) 2>&5
1774   ac_status=$?
1775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776   (exit $ac_status); }; }; then
1777     cross_compiling=no
1778   else
1779     if test "$cross_compiling" = maybe; then
1780         cross_compiling=yes
1781     else
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; }; }
1789     fi
1790   fi
1791 fi
1792 echo "$as_me:$LINENO: result: yes" >&5
1793 echo "${ECHO_T}yes" >&6
1794
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
1803
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
1808   ac_status=$?
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
1814 # `rm'.
1815 for ac_file in conftest.exe conftest conftest.*; do
1816   test -f "$ac_file" || continue
1817   case $ac_file in
1818     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1819     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1820           export ac_cv_exeext
1821           break;;
1822     * ) break;;
1823   esac
1824 done
1825 else
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; }; }
1831 fi
1832
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
1836
1837 rm -f conftest.$ac_ext
1838 EXEEXT=$ac_cv_exeext
1839 ac_exeext=$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
1844 else
1845   cat >conftest.$ac_ext <<_ACEOF
1846 /* confdefs.h.  */
1847 _ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h.  */
1851
1852 int
1853 main ()
1854 {
1855
1856   ;
1857   return 0;
1858 }
1859 _ACEOF
1860 rm -f conftest.o conftest.obj
1861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1862   (eval $ac_compile) 2>&5
1863   ac_status=$?
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
1867   case $ac_file in
1868     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1869     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1870        break;;
1871   esac
1872 done
1873 else
1874   echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1876
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; }; }
1882 fi
1883
1884 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1885 fi
1886 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1887 echo "${ECHO_T}$ac_cv_objext" >&6
1888 OBJEXT=$ac_cv_objext
1889 ac_objext=$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
1894 else
1895   cat >conftest.$ac_ext <<_ACEOF
1896 /* confdefs.h.  */
1897 _ACEOF
1898 cat confdefs.h >>conftest.$ac_ext
1899 cat >>conftest.$ac_ext <<_ACEOF
1900 /* end confdefs.h.  */
1901
1902 int
1903 main ()
1904 {
1905 #ifndef __GNUC__
1906        choke me
1907 #endif
1908
1909   ;
1910   return 0;
1911 }
1912 _ACEOF
1913 rm -f conftest.$ac_objext
1914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915   (eval $ac_compile) 2>conftest.er1
1916   ac_status=$?
1917   grep -v '^ *+' conftest.er1 >conftest.err
1918   rm -f conftest.er1
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
1925   (eval $ac_try) 2>&5
1926   ac_status=$?
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
1931   (eval $ac_try) 2>&5
1932   ac_status=$?
1933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934   (exit $ac_status); }; }; then
1935   ac_compiler_gnu=yes
1936 else
1937   echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1939
1940 ac_compiler_gnu=no
1941 fi
1942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1944
1945 fi
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
1951 CFLAGS="-g"
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
1956 else
1957   cat >conftest.$ac_ext <<_ACEOF
1958 /* confdefs.h.  */
1959 _ACEOF
1960 cat confdefs.h >>conftest.$ac_ext
1961 cat >>conftest.$ac_ext <<_ACEOF
1962 /* end confdefs.h.  */
1963
1964 int
1965 main ()
1966 {
1967
1968   ;
1969   return 0;
1970 }
1971 _ACEOF
1972 rm -f conftest.$ac_objext
1973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1974   (eval $ac_compile) 2>conftest.er1
1975   ac_status=$?
1976   grep -v '^ *+' conftest.er1 >conftest.err
1977   rm -f conftest.er1
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
1984   (eval $ac_try) 2>&5
1985   ac_status=$?
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
1990   (eval $ac_try) 2>&5
1991   ac_status=$?
1992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993   (exit $ac_status); }; }; then
1994   ac_cv_prog_cc_g=yes
1995 else
1996   echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1998
1999 ac_cv_prog_cc_g=no
2000 fi
2001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2002 fi
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
2009     CFLAGS="-g -O2"
2010   else
2011     CFLAGS="-g"
2012   fi
2013 else
2014   if test "$GCC" = yes; then
2015     CFLAGS="-O2"
2016   else
2017     CFLAGS=
2018   fi
2019 fi
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
2024 else
2025   ac_cv_prog_cc_stdc=no
2026 ac_save_CC=$CC
2027 cat >conftest.$ac_ext <<_ACEOF
2028 /* confdefs.h.  */
2029 _ACEOF
2030 cat confdefs.h >>conftest.$ac_ext
2031 cat >>conftest.$ac_ext <<_ACEOF
2032 /* end confdefs.h.  */
2033 #include <stdarg.h>
2034 #include <stdio.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)
2041      char **p;
2042      int i;
2043 {
2044   return p[i];
2045 }
2046 static char *f (char * (*g) (char **, int), char **p, ...)
2047 {
2048   char *s;
2049   va_list v;
2050   va_start (v,p);
2051   s = g (p, va_arg (v,int));
2052   va_end (v);
2053   return s;
2054 }
2055
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];
2064
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);
2069 int argc;
2070 char **argv;
2071 int
2072 main ()
2073 {
2074 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2075   ;
2076   return 0;
2077 }
2078 _ACEOF
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__"
2087 do
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
2092   ac_status=$?
2093   grep -v '^ *+' conftest.er1 >conftest.err
2094   rm -f conftest.er1
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
2101   (eval $ac_try) 2>&5
2102   ac_status=$?
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
2107   (eval $ac_try) 2>&5
2108   ac_status=$?
2109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110   (exit $ac_status); }; }; then
2111   ac_cv_prog_cc_stdc=$ac_arg
2112 break
2113 else
2114   echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2116
2117 fi
2118 rm -f conftest.err conftest.$ac_objext
2119 done
2120 rm -f conftest.$ac_ext conftest.$ac_objext
2121 CC=$ac_save_CC
2122
2123 fi
2124
2125 case "x$ac_cv_prog_cc_stdc" in
2126   x|xno)
2127     echo "$as_me:$LINENO: result: none needed" >&5
2128 echo "${ECHO_T}none needed" >&6 ;;
2129   *)
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" ;;
2133 esac
2134
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
2140 #ifndef __cplusplus
2141   choke me
2142 #endif
2143 _ACEOF
2144 rm -f conftest.$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146   (eval $ac_compile) 2>conftest.er1
2147   ac_status=$?
2148   grep -v '^ *+' conftest.er1 >conftest.err
2149   rm -f conftest.er1
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
2156   (eval $ac_try) 2>&5
2157   ac_status=$?
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
2162   (eval $ac_try) 2>&5
2163   ac_status=$?
2164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165   (exit $ac_status); }; }; then
2166   for ac_declaration in \
2167    '' \
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);' \
2172    'void exit (int);'
2173 do
2174   cat >conftest.$ac_ext <<_ACEOF
2175 /* confdefs.h.  */
2176 _ACEOF
2177 cat confdefs.h >>conftest.$ac_ext
2178 cat >>conftest.$ac_ext <<_ACEOF
2179 /* end confdefs.h.  */
2180 $ac_declaration
2181 #include <stdlib.h>
2182 int
2183 main ()
2184 {
2185 exit (42);
2186   ;
2187   return 0;
2188 }
2189 _ACEOF
2190 rm -f conftest.$ac_objext
2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192   (eval $ac_compile) 2>conftest.er1
2193   ac_status=$?
2194   grep -v '^ *+' conftest.er1 >conftest.err
2195   rm -f conftest.er1
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
2202   (eval $ac_try) 2>&5
2203   ac_status=$?
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
2208   (eval $ac_try) 2>&5
2209   ac_status=$?
2210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211   (exit $ac_status); }; }; then
2212   :
2213 else
2214   echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.$ac_ext >&5
2216
2217 continue
2218 fi
2219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2220   cat >conftest.$ac_ext <<_ACEOF
2221 /* confdefs.h.  */
2222 _ACEOF
2223 cat confdefs.h >>conftest.$ac_ext
2224 cat >>conftest.$ac_ext <<_ACEOF
2225 /* end confdefs.h.  */
2226 $ac_declaration
2227 int
2228 main ()
2229 {
2230 exit (42);
2231   ;
2232   return 0;
2233 }
2234 _ACEOF
2235 rm -f conftest.$ac_objext
2236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2237   (eval $ac_compile) 2>conftest.er1
2238   ac_status=$?
2239   grep -v '^ *+' conftest.er1 >conftest.err
2240   rm -f conftest.er1
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
2247   (eval $ac_try) 2>&5
2248   ac_status=$?
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
2253   (eval $ac_try) 2>&5
2254   ac_status=$?
2255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256   (exit $ac_status); }; }; then
2257   break
2258 else
2259   echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2261
2262 fi
2263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2264 done
2265 rm -f conftest*
2266 if test -n "$ac_declaration"; then
2267   echo '#ifdef __cplusplus' >>confdefs.h
2268   echo $ac_declaration      >>confdefs.h
2269   echo '#endif'             >>confdefs.h
2270 fi
2271
2272 else
2273   echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.$ac_ext >&5
2275
2276 fi
2277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2278 ac_ext=c
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
2283
2284 for ac_prog in 'bison -y' byacc
2285 do
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
2292 else
2293   if test -n "$YACC"; then
2294   ac_cv_prog_YACC="$YACC" # Let the user override the test.
2295 else
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 for as_dir in $PATH
2298 do
2299   IFS=$as_save_IFS
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
2305     break 2
2306   fi
2307 done
2308 done
2309
2310 fi
2311 fi
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
2316 else
2317   echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6
2319 fi
2320
2321   test -n "$YACC" && break
2322 done
2323 test -n "$YACC" || YACC="yacc"
2324
2325
2326 for ac_prog in flex lex
2327 do
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
2334 else
2335   if test -n "$LEX"; then
2336   ac_cv_prog_LEX="$LEX" # Let the user override the test.
2337 else
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 for as_dir in $PATH
2340 do
2341   IFS=$as_save_IFS
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
2347     break 2
2348   fi
2349 done
2350 done
2351
2352 fi
2353 fi
2354 LEX=$ac_cv_prog_LEX
2355 if test -n "$LEX"; then
2356   echo "$as_me:$LINENO: result: $LEX" >&5
2357 echo "${ECHO_T}$LEX" >&6
2358 else
2359   echo "$as_me:$LINENO: result: no" >&5
2360 echo "${ECHO_T}no" >&6
2361 fi
2362
2363   test -n "$LEX" && break
2364 done
2365 test -n "$LEX" || LEX=":"
2366
2367 if test -z "$LEXLIB"
2368 then
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
2373 else
2374   ac_check_lib_save_LIBS=$LIBS
2375 LIBS="-lfl  $LIBS"
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h.  */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h.  */
2382
2383 /* Override any gcc2 internal prototype to avoid an error.  */
2384 #ifdef __cplusplus
2385 extern "C"
2386 #endif
2387 /* We use char because int might match the return type of a gcc2
2388    builtin and then its argument prototype would still apply.  */
2389 char yywrap ();
2390 int
2391 main ()
2392 {
2393 yywrap ();
2394   ;
2395   return 0;
2396 }
2397 _ACEOF
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
2401   ac_status=$?
2402   grep -v '^ *+' conftest.er1 >conftest.err
2403   rm -f conftest.er1
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
2410   (eval $ac_try) 2>&5
2411   ac_status=$?
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
2416   (eval $ac_try) 2>&5
2417   ac_status=$?
2418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419   (exit $ac_status); }; }; then
2420   ac_cv_lib_fl_yywrap=yes
2421 else
2422   echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2424
2425 ac_cv_lib_fl_yywrap=no
2426 fi
2427 rm -f conftest.err conftest.$ac_objext \
2428       conftest$ac_exeext conftest.$ac_ext
2429 LIBS=$ac_check_lib_save_LIBS
2430 fi
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
2434   LEXLIB="-lfl"
2435 else
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
2440 else
2441   ac_check_lib_save_LIBS=$LIBS
2442 LIBS="-ll  $LIBS"
2443 cat >conftest.$ac_ext <<_ACEOF
2444 /* confdefs.h.  */
2445 _ACEOF
2446 cat confdefs.h >>conftest.$ac_ext
2447 cat >>conftest.$ac_ext <<_ACEOF
2448 /* end confdefs.h.  */
2449
2450 /* Override any gcc2 internal prototype to avoid an error.  */
2451 #ifdef __cplusplus
2452 extern "C"
2453 #endif
2454 /* We use char because int might match the return type of a gcc2
2455    builtin and then its argument prototype would still apply.  */
2456 char yywrap ();
2457 int
2458 main ()
2459 {
2460 yywrap ();
2461   ;
2462   return 0;
2463 }
2464 _ACEOF
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
2468   ac_status=$?
2469   grep -v '^ *+' conftest.er1 >conftest.err
2470   rm -f conftest.er1
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
2477   (eval $ac_try) 2>&5
2478   ac_status=$?
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
2483   (eval $ac_try) 2>&5
2484   ac_status=$?
2485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486   (exit $ac_status); }; }; then
2487   ac_cv_lib_l_yywrap=yes
2488 else
2489   echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.$ac_ext >&5
2491
2492 ac_cv_lib_l_yywrap=no
2493 fi
2494 rm -f conftest.err conftest.$ac_objext \
2495       conftest$ac_exeext conftest.$ac_ext
2496 LIBS=$ac_check_lib_save_LIBS
2497 fi
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
2501   LEXLIB="-ll"
2502 fi
2503
2504 fi
2505
2506 fi
2507
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
2513 else
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
2517 %%
2518 %%
2519 _ACEOF
2520 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
2521   (eval $LEX conftest.l) 2>&5
2522   ac_status=$?
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
2529 else
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; }; }
2533 fi
2534 fi
2535 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
2536 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
2537 rm -f conftest.l
2538 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2539
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
2544 else
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
2550 ac_save_LIBS=$LIBS
2551 LIBS="$LIBS $LEXLIB"
2552 cat >conftest.$ac_ext <<_ACEOF
2553 `cat $LEX_OUTPUT_ROOT.c`
2554 _ACEOF
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
2558   ac_status=$?
2559   grep -v '^ *+' conftest.er1 >conftest.err
2560   rm -f conftest.er1
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
2567   (eval $ac_try) 2>&5
2568   ac_status=$?
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
2573   (eval $ac_try) 2>&5
2574   ac_status=$?
2575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576   (exit $ac_status); }; }; then
2577   ac_cv_prog_lex_yytext_pointer=yes
2578 else
2579   echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2581
2582 fi
2583 rm -f conftest.err conftest.$ac_objext \
2584       conftest$ac_exeext conftest.$ac_ext
2585 LIBS=$ac_save_LIBS
2586 rm -f "${LEX_OUTPUT_ROOT}.c"
2587
2588 fi
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
2592
2593 cat >>confdefs.h <<\_ACEOF
2594 #define YYTEXT_POINTER 1
2595 _ACEOF
2596
2597 fi
2598
2599 fi
2600 ac_aux_dir=
2601 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2602   if test -f $ac_dir/install-sh; then
2603     ac_aux_dir=$ac_dir
2604     ac_install_sh="$ac_aux_dir/install-sh -c"
2605     break
2606   elif test -f $ac_dir/install.sh; then
2607     ac_aux_dir=$ac_dir
2608     ac_install_sh="$ac_aux_dir/install.sh -c"
2609     break
2610   elif test -f $ac_dir/shtool; then
2611     ac_aux_dir=$ac_dir
2612     ac_install_sh="$ac_aux_dir/shtool install -c"
2613     break
2614   fi
2615 done
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; }; }
2620 fi
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.
2624
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
2631 # AIX /bin/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
2643 else
2644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645 for as_dir in $PATH
2646 do
2647   IFS=$as_save_IFS
2648   test -z "$as_dir" && as_dir=.
2649   # Account for people who put trailing slashes in PATH elements.
2650 case $as_dir/ in
2651   ./ | .// | /cC/* | \
2652   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2653   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2654   /usr/ucb/* ) ;;
2655   *)
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
2658     # by default.
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.
2665             :
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.
2669             :
2670           else
2671             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2672             break 3
2673           fi
2674         fi
2675       done
2676     done
2677     ;;
2678 esac
2679 done
2680
2681
2682 fi
2683   if test "${ac_cv_path_install+set}" = set; then
2684     INSTALL=$ac_cv_path_install
2685   else
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
2691   fi
2692 fi
2693 echo "$as_me:$LINENO: result: $INSTALL" >&5
2694 echo "${ECHO_T}$INSTALL" >&6
2695
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}'
2699
2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2701
2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2703
2704 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2705 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2706 LN_S=$as_ln_s
2707 if test "$LN_S" = "ln -s"; then
2708   echo "$as_me:$LINENO: result: yes" >&5
2709 echo "${ECHO_T}yes" >&6
2710 else
2711   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2712 echo "${ECHO_T}no, using $LN_S" >&6
2713 fi
2714
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
2720 else
2721   cat >conftest.make <<\_ACEOF
2722 all:
2723         @echo 'ac_maketemp="$(MAKE)"'
2724 _ACEOF
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
2729 else
2730   eval ac_cv_prog_make_${ac_make}_set=no
2731 fi
2732 rm -f conftest.make
2733 fi
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
2737   SET_MAKE=
2738 else
2739   echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741   SET_MAKE="MAKE=${MAKE-make}"
2742 fi
2743
2744
2745
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
2750 #define DEBUG 1
2751 _ACEOF
2752
2753 else
2754   WITH_DEBUG=no
2755 fi;
2756
2757
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
2763 _ACEOF
2764
2765 else
2766   WITH_MEMORY_DEBUG=no
2767 fi;
2768
2769
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
2775 _ACEOF
2776
2777 else
2778   WITH_LIBDEBUG=no
2779 fi;
2780
2781
2782 # Check whether --enable-fakeroot or --disable-fakeroot was given.
2783 if test "${enable_fakeroot+set}" = set; then
2784   enableval="$enable_fakeroot"
2785   FAKEROOT=$enableval
2786 fi;
2787
2788
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
2793 else
2794   SECUREDIR=$libdir/security
2795 fi;
2796
2797
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
2802 else
2803   SCONFIGDIR=$sysconfdir/security
2804 fi;
2805
2806
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
2811 else
2812   SUPLEMENTED=$sbindir
2813 fi;
2814
2815
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
2820 else
2821   INCLUDEDIR=/usr/include
2822 fi;
2823
2824
2825 # Check whether --enable-docdir or --disable-docdir was given.
2826 if test "${enable_docdir+set}" = set; then
2827   enableval="$enable_docdir"
2828   DOCDIR=$enableval
2829 else
2830   DOCDIR=/usr/share/doc/pam
2831 fi;
2832
2833
2834 # Check whether --enable-mandir or --disable-mandir was given.
2835 if test "${enable_mandir+set}" = set; then
2836   enableval="$enable_mandir"
2837   MANDIR=$enableval
2838 else
2839   MANDIR=/usr/share/man
2840 fi;
2841
2842
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
2848 _ACEOF
2849
2850 else
2851   WITH_PAMLOCKING=no
2852 fi;
2853
2854
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
2860 _ACEOF
2861
2862 fi;
2863
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
2869 _ACEOF
2870
2871 fi;
2872
2873
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"
2877   STATIC_LIBPAM=yes
2878 else
2879   STATIC_LIBPAM=no
2880 fi;
2881
2882
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"
2886   DYNAMIC_LIBPAM=no
2887 else
2888   DYNAMIC_LIBPAM=yes
2889 fi;
2890
2891
2892 DYNAMIC=-DPAM_DYNAMIC
2893
2894
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"
2898   STATIC=-DPAM_STATIC
2899 fi;
2900
2901
2902 # Check whether --enable-lckpwdf or --disable-lckpwdf was given.
2903 if test "${enable_lckpwdf+set}" = set; then
2904   enableval="$enable_lckpwdf"
2905   WITH_LCKPWDF=no
2906 else
2907   WITH_LCKPWDF=yes
2908 fi;
2909
2910
2911 ac_ext=c
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
2920   CPP=
2921 fi
2922 if test -z "$CPP"; then
2923   if test "${ac_cv_prog_CPP+set}" = set; then
2924   echo $ECHO_N "(cached) $ECHO_C" >&6
2925 else
2926       # Double quotes because CPP needs to be expanded
2927     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2928     do
2929       ac_preproc_ok=false
2930 for ac_c_preproc_warn_flag in '' yes
2931 do
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
2939 /* confdefs.h.  */
2940 _ACEOF
2941 cat confdefs.h >>conftest.$ac_ext
2942 cat >>conftest.$ac_ext <<_ACEOF
2943 /* end confdefs.h.  */
2944 #ifdef __STDC__
2945 # include <limits.h>
2946 #else
2947 # include <assert.h>
2948 #endif
2949                      Syntax error
2950 _ACEOF
2951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2952   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2953   ac_status=$?
2954   grep -v '^ *+' conftest.er1 >conftest.err
2955   rm -f conftest.er1
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
2962   else
2963     ac_cpp_err=
2964   fi
2965 else
2966   ac_cpp_err=yes
2967 fi
2968 if test -z "$ac_cpp_err"; then
2969   :
2970 else
2971   echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2973
2974   # Broken: fails on valid input.
2975 continue
2976 fi
2977 rm -f conftest.err conftest.$ac_ext
2978
2979   # OK, works on sane cases.  Now check whether non-existent headers
2980   # can be detected and how.
2981   cat >conftest.$ac_ext <<_ACEOF
2982 /* confdefs.h.  */
2983 _ACEOF
2984 cat confdefs.h >>conftest.$ac_ext
2985 cat >>conftest.$ac_ext <<_ACEOF
2986 /* end confdefs.h.  */
2987 #include <ac_nonexistent.h>
2988 _ACEOF
2989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2990   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2991   ac_status=$?
2992   grep -v '^ *+' conftest.er1 >conftest.err
2993   rm -f conftest.er1
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
3000   else
3001     ac_cpp_err=
3002   fi
3003 else
3004   ac_cpp_err=yes
3005 fi
3006 if test -z "$ac_cpp_err"; then
3007   # Broken: success on invalid input.
3008 continue
3009 else
3010   echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3012
3013   # Passes both tests.
3014 ac_preproc_ok=:
3015 break
3016 fi
3017 rm -f conftest.err conftest.$ac_ext
3018
3019 done
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
3023   break
3024 fi
3025
3026     done
3027     ac_cv_prog_CPP=$CPP
3028
3029 fi
3030   CPP=$ac_cv_prog_CPP
3031 else
3032   ac_cv_prog_CPP=$CPP
3033 fi
3034 echo "$as_me:$LINENO: result: $CPP" >&5
3035 echo "${ECHO_T}$CPP" >&6
3036 ac_preproc_ok=false
3037 for ac_c_preproc_warn_flag in '' yes
3038 do
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
3046 /* confdefs.h.  */
3047 _ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h.  */
3051 #ifdef __STDC__
3052 # include <limits.h>
3053 #else
3054 # include <assert.h>
3055 #endif
3056                      Syntax error
3057 _ACEOF
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3060   ac_status=$?
3061   grep -v '^ *+' conftest.er1 >conftest.err
3062   rm -f conftest.er1
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
3069   else
3070     ac_cpp_err=
3071   fi
3072 else
3073   ac_cpp_err=yes
3074 fi
3075 if test -z "$ac_cpp_err"; then
3076   :
3077 else
3078   echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081   # Broken: fails on valid input.
3082 continue
3083 fi
3084 rm -f conftest.err conftest.$ac_ext
3085
3086   # OK, works on sane cases.  Now check whether non-existent headers
3087   # can be detected and how.
3088   cat >conftest.$ac_ext <<_ACEOF
3089 /* confdefs.h.  */
3090 _ACEOF
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h.  */
3094 #include <ac_nonexistent.h>
3095 _ACEOF
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3098   ac_status=$?
3099   grep -v '^ *+' conftest.er1 >conftest.err
3100   rm -f conftest.er1
3101   cat conftest.err >&5
3102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103   (exit $ac_status); } >/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
3107   else
3108     ac_cpp_err=
3109   fi
3110 else
3111   ac_cpp_err=yes
3112 fi
3113 if test -z "$ac_cpp_err"; then
3114   # Broken: success on invalid input.
3115 continue
3116 else
3117   echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3119
3120   # Passes both tests.
3121 ac_preproc_ok=:
3122 break
3123 fi
3124 rm -f conftest.err conftest.$ac_ext
3125
3126 done
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
3130   :
3131 else
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; }; }
3137 fi
3138
3139 ac_ext=c
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
3144
3145
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
3150 else
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'
3154     fi
3155 fi
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
3159
3160
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
3165 else
3166   cat >conftest.$ac_ext <<_ACEOF
3167 /* confdefs.h.  */
3168 _ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h.  */
3172 #include <stdlib.h>
3173 #include <stdarg.h>
3174 #include <string.h>
3175 #include <float.h>
3176
3177 int
3178 main ()
3179 {
3180
3181   ;
3182   return 0;
3183 }
3184 _ACEOF
3185 rm -f conftest.$ac_objext
3186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3187   (eval $ac_compile) 2>conftest.er1
3188   ac_status=$?
3189   grep -v '^ *+' conftest.er1 >conftest.err
3190   rm -f conftest.er1
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
3197   (eval $ac_try) 2>&5
3198   ac_status=$?
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
3203   (eval $ac_try) 2>&5
3204   ac_status=$?
3205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206   (exit $ac_status); }; }; then
3207   ac_cv_header_stdc=yes
3208 else
3209   echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3211
3212 ac_cv_header_stdc=no
3213 fi
3214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3215
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
3219 /* confdefs.h.  */
3220 _ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h.  */
3224 #include <string.h>
3225
3226 _ACEOF
3227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3228   $EGREP "memchr" >/dev/null 2>&1; then
3229   :
3230 else
3231   ac_cv_header_stdc=no
3232 fi
3233 rm -f conftest*
3234
3235 fi
3236
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
3240 /* confdefs.h.  */
3241 _ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h.  */
3245 #include <stdlib.h>
3246
3247 _ACEOF
3248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3249   $EGREP "free" >/dev/null 2>&1; then
3250   :
3251 else
3252   ac_cv_header_stdc=no
3253 fi
3254 rm -f conftest*
3255
3256 fi
3257
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
3261   :
3262 else
3263   cat >conftest.$ac_ext <<_ACEOF
3264 /* confdefs.h.  */
3265 _ACEOF
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h.  */
3269 #include <ctype.h>
3270 #if ((' ' & 0x0FF) == 0x020)
3271 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3272 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3273 #else
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))
3279 #endif
3280
3281 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3282 int
3283 main ()
3284 {
3285   int i;
3286   for (i = 0; i < 256; i++)
3287     if (XOR (islower (i), ISLOWER (i))
3288         || toupper (i) != TOUPPER (i))
3289       exit(2);
3290   exit (0);
3291 }
3292 _ACEOF
3293 rm -f conftest$ac_exeext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3295   (eval $ac_link) 2>&5
3296   ac_status=$?
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
3300   (eval $ac_try) 2>&5
3301   ac_status=$?
3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303   (exit $ac_status); }; }; then
3304   :
3305 else
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
3309
3310 ( exit $ac_status )
3311 ac_cv_header_stdc=no
3312 fi
3313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3314 fi
3315 fi
3316 fi
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
3320
3321 cat >>confdefs.h <<\_ACEOF
3322 #define STDC_HEADERS 1
3323 _ACEOF
3324
3325 fi
3326
3327 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3328
3329
3330
3331
3332
3333
3334
3335
3336
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
3339 do
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
3345 else
3346   cat >conftest.$ac_ext <<_ACEOF
3347 /* confdefs.h.  */
3348 _ACEOF
3349 cat confdefs.h >>conftest.$ac_ext
3350 cat >>conftest.$ac_ext <<_ACEOF
3351 /* end confdefs.h.  */
3352 $ac_includes_default
3353
3354 #include <$ac_header>
3355 _ACEOF
3356 rm -f conftest.$ac_objext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3358   (eval $ac_compile) 2>conftest.er1
3359   ac_status=$?
3360   grep -v '^ *+' conftest.er1 >conftest.err
3361   rm -f conftest.er1
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
3368   (eval $ac_try) 2>&5
3369   ac_status=$?
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
3374   (eval $ac_try) 2>&5
3375   ac_status=$?
3376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377   (exit $ac_status); }; }; then
3378   eval "$as_ac_Header=yes"
3379 else
3380   echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3382
3383 eval "$as_ac_Header=no"
3384 fi
3385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3386 fi
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
3392 _ACEOF
3393
3394 fi
3395
3396 done
3397
3398
3399
3400 for ac_header in paths.h
3401 do
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
3408 fi
3409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3411 else
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
3416 /* confdefs.h.  */
3417 _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>
3423 _ACEOF
3424 rm -f conftest.$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426   (eval $ac_compile) 2>conftest.er1
3427   ac_status=$?
3428   grep -v '^ *+' conftest.er1 >conftest.err
3429   rm -f conftest.er1
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
3436   (eval $ac_try) 2>&5
3437   ac_status=$?
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
3442   (eval $ac_try) 2>&5
3443   ac_status=$?
3444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445   (exit $ac_status); }; }; then
3446   ac_header_compiler=yes
3447 else
3448   echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3450
3451 ac_header_compiler=no
3452 fi
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
3456
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
3461 /* confdefs.h.  */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h.  */
3466 #include <$ac_header>
3467 _ACEOF
3468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3469   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3470   ac_status=$?
3471   grep -v '^ *+' conftest.er1 >conftest.err
3472   rm -f conftest.er1
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
3479   else
3480     ac_cpp_err=
3481   fi
3482 else
3483   ac_cpp_err=yes
3484 fi
3485 if test -z "$ac_cpp_err"; then
3486   ac_header_preproc=yes
3487 else
3488   echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3490
3491   ac_header_preproc=no
3492 fi
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
3496
3497 # So?  What about this header?
3498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3499   yes:no: )
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
3505     ;;
3506   no: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;}
3519     (
3520       cat <<\_ASBOX
3521 ## ------------------------------------------ ##
3522 ## Report this to the AC_PACKAGE_NAME lists.  ##
3523 ## ------------------------------------------ ##
3524 _ASBOX
3525     ) |
3526       sed "s/^/$as_me: WARNING:     /" >&2
3527     ;;
3528 esac
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
3533 else
3534   eval "$as_ac_Header=\$ac_header_preproc"
3535 fi
3536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3538
3539 fi
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
3543 _ACEOF
3544
3545 fi
3546
3547 done
3548
3549
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}
3554 fi;
3555 if test x$with_mailspool != x ; then
3556         pam_mail_spool="\"$with_mailspool\""
3557 else
3558         if test "$cross_compiling" = yes; then
3559   pam_mail_spool="\"/var/spool/mail\""
3560 else
3561   cat >conftest.$ac_ext <<_ACEOF
3562 /* confdefs.h.  */
3563 _ACEOF
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h.  */
3567
3568 #include <paths.h>
3569 int main() {
3570 #ifdef _PATH_MAILDIR
3571 exit(0);
3572 #else
3573 exit(1);
3574 #endif
3575 }
3576 _ACEOF
3577 rm -f conftest$ac_exeext
3578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3579   (eval $ac_link) 2>&5
3580   ac_status=$?
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
3584   (eval $ac_try) 2>&5
3585   ac_status=$?
3586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587   (exit $ac_status); }; }; then
3588   pam_mail_spool="_PATH_MAILDIR"
3589 else
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
3593
3594 ( exit $ac_status )
3595 pam_mail_spool="\"/var/spool/mail\""
3596 fi
3597 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3598 fi
3599 fi
3600 cat >>confdefs.h <<_ACEOF
3601 #define PAM_PATH_MAILDIR $pam_mail_spool
3602 _ACEOF
3603
3604
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
3609 else
3610   ac_check_lib_save_LIBS=$LIBS
3611 LIBS="-lc  $LIBS"
3612 cat >conftest.$ac_ext <<_ACEOF
3613 /* confdefs.h.  */
3614 _ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h.  */
3618
3619 /* Override any gcc2 internal prototype to avoid an error.  */
3620 #ifdef __cplusplus
3621 extern "C"
3622 #endif
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 ();
3626 int
3627 main ()
3628 {
3629 __libc_sched_setscheduler ();
3630   ;
3631   return 0;
3632 }
3633 _ACEOF
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
3637   ac_status=$?
3638   grep -v '^ *+' conftest.er1 >conftest.err
3639   rm -f conftest.er1
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
3646   (eval $ac_try) 2>&5
3647   ac_status=$?
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
3652   (eval $ac_try) 2>&5
3653   ac_status=$?
3654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655   (exit $ac_status); }; }; then
3656   ac_cv_lib_c___libc_sched_setscheduler=yes
3657 else
3658   echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3660
3661 ac_cv_lib_c___libc_sched_setscheduler=no
3662 fi
3663 rm -f conftest.err conftest.$ac_objext \
3664       conftest$ac_exeext conftest.$ac_ext
3665 LIBS=$ac_check_lib_save_LIBS
3666 fi
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
3670   PAM_NEEDS_LIBC=
3671 else
3672   PAM_NEEDS_LIBC=-lc
3673 fi
3674
3675
3676
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
3681 else
3682   ac_check_lib_save_LIBS=$LIBS
3683 LIBS="-lc  $LIBS"
3684 cat >conftest.$ac_ext <<_ACEOF
3685 /* confdefs.h.  */
3686 _ACEOF
3687 cat confdefs.h >>conftest.$ac_ext
3688 cat >>conftest.$ac_ext <<_ACEOF
3689 /* end confdefs.h.  */
3690
3691 /* Override any gcc2 internal prototype to avoid an error.  */
3692 #ifdef __cplusplus
3693 extern "C"
3694 #endif
3695 /* We use char because int might match the return type of a gcc2
3696    builtin and then its argument prototype would still apply.  */
3697 char lckpwdf ();
3698 int
3699 main ()
3700 {
3701 lckpwdf ();
3702   ;
3703   return 0;
3704 }
3705 _ACEOF
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
3709   ac_status=$?
3710   grep -v '^ *+' conftest.er1 >conftest.err
3711   rm -f conftest.er1
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
3718   (eval $ac_try) 2>&5
3719   ac_status=$?
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
3724   (eval $ac_try) 2>&5
3725   ac_status=$?
3726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727   (exit $ac_status); }; }; then
3728   ac_cv_lib_c_lckpwdf=yes
3729 else
3730   echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3732
3733 ac_cv_lib_c_lckpwdf=no
3734 fi
3735 rm -f conftest.err conftest.$ac_objext \
3736       conftest$ac_exeext conftest.$ac_ext
3737 LIBS=$ac_check_lib_save_LIBS
3738 fi
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
3742   HAVE_LCKPWDF=yes
3743 else
3744   HAVE_LCKPWDF=no
3745 fi
3746
3747
3748
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
3753 else
3754   ac_check_lib_save_LIBS=$LIBS
3755 LIBS="-ldl  $LIBS"
3756 cat >conftest.$ac_ext <<_ACEOF
3757 /* confdefs.h.  */
3758 _ACEOF
3759 cat confdefs.h >>conftest.$ac_ext
3760 cat >>conftest.$ac_ext <<_ACEOF
3761 /* end confdefs.h.  */
3762
3763 /* Override any gcc2 internal prototype to avoid an error.  */
3764 #ifdef __cplusplus
3765 extern "C"
3766 #endif
3767 /* We use char because int might match the return type of a gcc2
3768    builtin and then its argument prototype would still apply.  */
3769 char dlopen ();
3770 int
3771 main ()
3772 {
3773 dlopen ();
3774   ;
3775   return 0;
3776 }
3777 _ACEOF
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
3781   ac_status=$?
3782   grep -v '^ *+' conftest.er1 >conftest.err
3783   rm -f conftest.er1
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
3790   (eval $ac_try) 2>&5
3791   ac_status=$?
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
3796   (eval $ac_try) 2>&5
3797   ac_status=$?
3798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799   (exit $ac_status); }; }; then
3800   ac_cv_lib_dl_dlopen=yes
3801 else
3802   echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3804
3805 ac_cv_lib_dl_dlopen=no
3806 fi
3807 rm -f conftest.err conftest.$ac_objext \
3808       conftest$ac_exeext conftest.$ac_ext
3809 LIBS=$ac_check_lib_save_LIBS
3810 fi
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
3814   LIBDL=-ldl
3815 fi
3816
3817
3818
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
3823 else
3824   ac_check_lib_save_LIBS=$LIBS
3825 LIBS="-lcrack  $LIBS"
3826 cat >conftest.$ac_ext <<_ACEOF
3827 /* confdefs.h.  */
3828 _ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h.  */
3832
3833 /* Override any gcc2 internal prototype to avoid an error.  */
3834 #ifdef __cplusplus
3835 extern "C"
3836 #endif
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 ();
3840 int
3841 main ()
3842 {
3843 FascistCheck ();
3844   ;
3845   return 0;
3846 }
3847 _ACEOF
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
3851   ac_status=$?
3852   grep -v '^ *+' conftest.er1 >conftest.err
3853   rm -f conftest.er1
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
3860   (eval $ac_try) 2>&5
3861   ac_status=$?
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
3866   (eval $ac_try) 2>&5
3867   ac_status=$?
3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869   (exit $ac_status); }; }; then
3870   ac_cv_lib_crack_FascistCheck=yes
3871 else
3872   echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3874
3875 ac_cv_lib_crack_FascistCheck=no
3876 fi
3877 rm -f conftest.err conftest.$ac_objext \
3878       conftest$ac_exeext conftest.$ac_ext
3879 LIBS=$ac_check_lib_save_LIBS
3880 fi
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
3886 _ACEOF
3887
3888 else
3889   HAVE_LIBCRACK=no
3890 fi
3891
3892
3893
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
3898 else
3899   ac_check_lib_save_LIBS=$LIBS
3900 LIBS="-lcrypt  $LIBS"
3901 cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h.  */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h.  */
3907
3908 /* Override any gcc2 internal prototype to avoid an error.  */
3909 #ifdef __cplusplus
3910 extern "C"
3911 #endif
3912 /* We use char because int might match the return type of a gcc2
3913    builtin and then its argument prototype would still apply.  */
3914 char crypt ();
3915 int
3916 main ()
3917 {
3918 crypt ();
3919   ;
3920   return 0;
3921 }
3922 _ACEOF
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
3926   ac_status=$?
3927   grep -v '^ *+' conftest.er1 >conftest.err
3928   rm -f conftest.er1
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
3935   (eval $ac_try) 2>&5
3936   ac_status=$?
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
3941   (eval $ac_try) 2>&5
3942   ac_status=$?
3943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944   (exit $ac_status); }; }; then
3945   ac_cv_lib_crypt_crypt=yes
3946 else
3947   echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.$ac_ext >&5
3949
3950 ac_cv_lib_crypt_crypt=no
3951 fi
3952 rm -f conftest.err conftest.$ac_objext \
3953       conftest$ac_exeext conftest.$ac_ext
3954 LIBS=$ac_check_lib_save_LIBS
3955 fi
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
3961 _ACEOF
3962
3963 else
3964   HAVE_LIBCRYPT=no
3965 fi
3966
3967
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
3972 else
3973   ac_check_lib_save_LIBS=$LIBS
3974 LIBS="-lutil  $LIBS"
3975 cat >conftest.$ac_ext <<_ACEOF
3976 /* confdefs.h.  */
3977 _ACEOF
3978 cat confdefs.h >>conftest.$ac_ext
3979 cat >>conftest.$ac_ext <<_ACEOF
3980 /* end confdefs.h.  */
3981
3982 /* Override any gcc2 internal prototype to avoid an error.  */
3983 #ifdef __cplusplus
3984 extern "C"
3985 #endif
3986 /* We use char because int might match the return type of a gcc2
3987    builtin and then its argument prototype would still apply.  */
3988 char logwtmp ();
3989 int
3990 main ()
3991 {
3992 logwtmp ();
3993   ;
3994   return 0;
3995 }
3996 _ACEOF
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
4000   ac_status=$?
4001   grep -v '^ *+' conftest.er1 >conftest.err
4002   rm -f conftest.er1
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
4009   (eval $ac_try) 2>&5
4010   ac_status=$?
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
4015   (eval $ac_try) 2>&5
4016   ac_status=$?
4017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018   (exit $ac_status); }; }; then
4019   ac_cv_lib_util_logwtmp=yes
4020 else
4021   echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.$ac_ext >&5
4023
4024 ac_cv_lib_util_logwtmp=no
4025 fi
4026 rm -f conftest.err conftest.$ac_objext \
4027       conftest$ac_exeext conftest.$ac_ext
4028 LIBS=$ac_check_lib_save_LIBS
4029 fi
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
4035 _ACEOF
4036
4037 else
4038   HAVE_LIBUTIL=no
4039 fi
4040
4041
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
4046 else
4047   ac_check_lib_save_LIBS=$LIBS
4048 LIBS="-lndbm  $LIBS"
4049 cat >conftest.$ac_ext <<_ACEOF
4050 /* confdefs.h.  */
4051 _ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h.  */
4055
4056 /* Override any gcc2 internal prototype to avoid an error.  */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 /* We use char because int might match the return type of a gcc2
4061    builtin and then its argument prototype would still apply.  */
4062 char dbm_store ();
4063 int
4064 main ()
4065 {
4066 dbm_store ();
4067   ;
4068   return 0;
4069 }
4070 _ACEOF
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
4074   ac_status=$?
4075   grep -v '^ *+' conftest.er1 >conftest.err
4076   rm -f conftest.er1
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
4083   (eval $ac_try) 2>&5
4084   ac_status=$?
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
4089   (eval $ac_try) 2>&5
4090   ac_status=$?
4091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4092   (exit $ac_status); }; }; then
4093   ac_cv_lib_ndbm_dbm_store=yes
4094 else
4095   echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4097
4098 ac_cv_lib_ndbm_dbm_store=no
4099 fi
4100 rm -f conftest.err conftest.$ac_objext \
4101       conftest$ac_exeext conftest.$ac_ext
4102 LIBS=$ac_check_lib_save_LIBS
4103 fi
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
4109 _ACEOF
4110
4111 else
4112   HAVE_LIBNDBM=no
4113 fi
4114
4115
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
4120 else
4121   ac_check_lib_save_LIBS=$LIBS
4122 LIBS="-ldb  $LIBS"
4123 cat >conftest.$ac_ext <<_ACEOF
4124 /* confdefs.h.  */
4125 _ACEOF
4126 cat confdefs.h >>conftest.$ac_ext
4127 cat >>conftest.$ac_ext <<_ACEOF
4128 /* end confdefs.h.  */
4129
4130 /* Override any gcc2 internal prototype to avoid an error.  */
4131 #ifdef __cplusplus
4132 extern "C"
4133 #endif
4134 /* We use char because int might match the return type of a gcc2
4135    builtin and then its argument prototype would still apply.  */
4136 char dbm_store ();
4137 int
4138 main ()
4139 {
4140 dbm_store ();
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
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
4148   ac_status=$?
4149   grep -v '^ *+' conftest.er1 >conftest.err
4150   rm -f conftest.er1
4151   cat conftest.err >&5
4152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153   (exit $ac_status); } &&
4154          { ac_try='test -z "$ac_c_werror_flag"
4155                          || test ! -s conftest.err'
4156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157   (eval $ac_try) 2>&5
4158   ac_status=$?
4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160   (exit $ac_status); }; } &&
4161          { ac_try='test -s conftest$ac_exeext'
4162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163   (eval $ac_try) 2>&5
4164   ac_status=$?
4165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166   (exit $ac_status); }; }; then
4167   ac_cv_lib_db_dbm_store=yes
4168 else
4169   echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4171
4172 ac_cv_lib_db_dbm_store=no
4173 fi
4174 rm -f conftest.err conftest.$ac_objext \
4175       conftest$ac_exeext conftest.$ac_ext
4176 LIBS=$ac_check_lib_save_LIBS
4177 fi
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
4183 _ACEOF
4184
4185 else
4186   HAVE_LIBDB=no
4187 fi
4188
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
4194 else
4195   ac_check_lib_save_LIBS=$LIBS
4196 LIBS="-ldb  $LIBS"
4197 cat >conftest.$ac_ext <<_ACEOF
4198 /* confdefs.h.  */
4199 _ACEOF
4200 cat confdefs.h >>conftest.$ac_ext
4201 cat >>conftest.$ac_ext <<_ACEOF
4202 /* end confdefs.h.  */
4203
4204 /* Override any gcc2 internal prototype to avoid an error.  */
4205 #ifdef __cplusplus
4206 extern "C"
4207 #endif
4208 /* We use char because int might match the return type of a gcc2
4209    builtin and then its argument prototype would still apply.  */
4210 char db_create ();
4211 int
4212 main ()
4213 {
4214 db_create ();
4215   ;
4216   return 0;
4217 }
4218 _ACEOF
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
4222   ac_status=$?
4223   grep -v '^ *+' conftest.er1 >conftest.err
4224   rm -f conftest.er1
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
4231   (eval $ac_try) 2>&5
4232   ac_status=$?
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
4237   (eval $ac_try) 2>&5
4238   ac_status=$?
4239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240   (exit $ac_status); }; }; then
4241   ac_cv_lib_db_db_create=yes
4242 else
4243   echo "$as_me: failed program was:" >&5
4244 sed 's/^/| /' conftest.$ac_ext >&5
4245
4246 ac_cv_lib_db_db_create=no
4247 fi
4248 rm -f conftest.err conftest.$ac_objext \
4249       conftest$ac_exeext conftest.$ac_ext
4250 LIBS=$ac_check_lib_save_LIBS
4251 fi
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
4257 _ACEOF
4258
4259 else
4260   HAVE_LIBDB=no
4261 fi
4262
4263 fi
4264
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
4269 else
4270   ac_check_lib_save_LIBS=$LIBS
4271 LIBS="-lfl HAVE_LIBFL=no $LIBS"
4272 cat >conftest.$ac_ext <<_ACEOF
4273 /* confdefs.h.  */
4274 _ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h.  */
4278
4279 /* Override any gcc2 internal prototype to avoid an error.  */
4280 #ifdef __cplusplus
4281 extern "C"
4282 #endif
4283 /* We use char because int might match the return type of a gcc2
4284    builtin and then its argument prototype would still apply.  */
4285 char yylex ();
4286 int
4287 main ()
4288 {
4289 yylex ();
4290   ;
4291   return 0;
4292 }
4293 _ACEOF
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
4297   ac_status=$?
4298   grep -v '^ *+' conftest.er1 >conftest.err
4299   rm -f conftest.er1
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
4306   (eval $ac_try) 2>&5
4307   ac_status=$?
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
4312   (eval $ac_try) 2>&5
4313   ac_status=$?
4314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315   (exit $ac_status); }; }; then
4316   ac_cv_lib_fl_yylex=yes
4317 else
4318   echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4320
4321 ac_cv_lib_fl_yylex=no
4322 fi
4323 rm -f conftest.err conftest.$ac_objext \
4324       conftest$ac_exeext conftest.$ac_ext
4325 LIBS=$ac_check_lib_save_LIBS
4326 fi
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
4330   yyterminate
4331 else
4332   HAVE_LIBFL=yes ; cat >>confdefs.h <<\_ACEOF
4333 #define HAVE_LIBFL 1
4334 _ACEOF
4335
4336 fi
4337
4338
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
4343 else
4344   ac_check_lib_save_LIBS=$LIBS
4345 LIBS="-lnsl  $LIBS"
4346 cat >conftest.$ac_ext <<_ACEOF
4347 /* confdefs.h.  */
4348 _ACEOF
4349 cat confdefs.h >>conftest.$ac_ext
4350 cat >>conftest.$ac_ext <<_ACEOF
4351 /* end confdefs.h.  */
4352
4353 /* Override any gcc2 internal prototype to avoid an error.  */
4354 #ifdef __cplusplus
4355 extern "C"
4356 #endif
4357 /* We use char because int might match the return type of a gcc2
4358    builtin and then its argument prototype would still apply.  */
4359 char yp_maplist ();
4360 int
4361 main ()
4362 {
4363 yp_maplist ();
4364   ;
4365   return 0;
4366 }
4367 _ACEOF
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
4371   ac_status=$?
4372   grep -v '^ *+' conftest.er1 >conftest.err
4373   rm -f conftest.er1
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
4380   (eval $ac_try) 2>&5
4381   ac_status=$?
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
4386   (eval $ac_try) 2>&5
4387   ac_status=$?
4388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389   (exit $ac_status); }; }; then
4390   ac_cv_lib_nsl_yp_maplist=yes
4391 else
4392   echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4394
4395 ac_cv_lib_nsl_yp_maplist=no
4396 fi
4397 rm -f conftest.err conftest.$ac_objext \
4398       conftest$ac_exeext conftest.$ac_ext
4399 LIBS=$ac_check_lib_save_LIBS
4400 fi
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
4406 _ACEOF
4407
4408 else
4409   HAVE_LIBNSL=no
4410 fi
4411
4412
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
4417 else
4418   ac_check_lib_save_LIBS=$LIBS
4419 LIBS="-lpwdb  $LIBS"
4420 cat >conftest.$ac_ext <<_ACEOF
4421 /* confdefs.h.  */
4422 _ACEOF
4423 cat confdefs.h >>conftest.$ac_ext
4424 cat >>conftest.$ac_ext <<_ACEOF
4425 /* end confdefs.h.  */
4426
4427 /* Override any gcc2 internal prototype to avoid an error.  */
4428 #ifdef __cplusplus
4429 extern "C"
4430 #endif
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 ();
4434 int
4435 main ()
4436 {
4437 pwdb_db_name ();
4438   ;
4439   return 0;
4440 }
4441 _ACEOF
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
4445   ac_status=$?
4446   grep -v '^ *+' conftest.er1 >conftest.err
4447   rm -f conftest.er1
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
4454   (eval $ac_try) 2>&5
4455   ac_status=$?
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
4460   (eval $ac_try) 2>&5
4461   ac_status=$?
4462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463   (exit $ac_status); }; }; then
4464   ac_cv_lib_pwdb_pwdb_db_name=yes
4465 else
4466   echo "$as_me: failed program was:" >&5
4467 sed 's/^/| /' conftest.$ac_ext >&5
4468
4469 ac_cv_lib_pwdb_pwdb_db_name=no
4470 fi
4471 rm -f conftest.err conftest.$ac_objext \
4472       conftest$ac_exeext conftest.$ac_ext
4473 LIBS=$ac_check_lib_save_LIBS
4474 fi
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
4480 _ACEOF
4481
4482 else
4483   HAVE_LIBPWDB=no
4484 fi
4485
4486
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
4491 else
4492   ac_check_lib_save_LIBS=$LIBS
4493 LIBS="-lfl  $LIBS"
4494 cat >conftest.$ac_ext <<_ACEOF
4495 /* confdefs.h.  */
4496 _ACEOF
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h.  */
4500
4501 /* Override any gcc2 internal prototype to avoid an error.  */
4502 #ifdef __cplusplus
4503 extern "C"
4504 #endif
4505 /* We use char because int might match the return type of a gcc2
4506    builtin and then its argument prototype would still apply.  */
4507 char yywrap ();
4508 int
4509 main ()
4510 {
4511 yywrap ();
4512   ;
4513   return 0;
4514 }
4515 _ACEOF
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
4519   ac_status=$?
4520   grep -v '^ *+' conftest.er1 >conftest.err
4521   rm -f conftest.er1
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
4528   (eval $ac_try) 2>&5
4529   ac_status=$?
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
4534   (eval $ac_try) 2>&5
4535   ac_status=$?
4536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537   (exit $ac_status); }; }; then
4538   ac_cv_lib_fl_yywrap=yes
4539 else
4540   echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.$ac_ext >&5
4542
4543 ac_cv_lib_fl_yywrap=no
4544 fi
4545 rm -f conftest.err conftest.$ac_objext \
4546       conftest$ac_exeext conftest.$ac_ext
4547 LIBS=$ac_check_lib_save_LIBS
4548 fi
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
4554 _ACEOF
4555
4556 else
4557   HAVE_LIBFLEX=no
4558 fi
4559
4560
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
4565 else
4566   ac_check_lib_save_LIBS=$LIBS
4567 LIBS="-ll  $LIBS"
4568 cat >conftest.$ac_ext <<_ACEOF
4569 /* confdefs.h.  */
4570 _ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h.  */
4574
4575 /* Override any gcc2 internal prototype to avoid an error.  */
4576 #ifdef __cplusplus
4577 extern "C"
4578 #endif
4579 /* We use char because int might match the return type of a gcc2
4580    builtin and then its argument prototype would still apply.  */
4581 char yywrap ();
4582 int
4583 main ()
4584 {
4585 yywrap ();
4586   ;
4587   return 0;
4588 }
4589 _ACEOF
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
4593   ac_status=$?
4594   grep -v '^ *+' conftest.er1 >conftest.err
4595   rm -f conftest.er1
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
4602   (eval $ac_try) 2>&5
4603   ac_status=$?
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
4608   (eval $ac_try) 2>&5
4609   ac_status=$?
4610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611   (exit $ac_status); }; }; then
4612   ac_cv_lib_l_yywrap=yes
4613 else
4614   echo "$as_me: failed program was:" >&5
4615 sed 's/^/| /' conftest.$ac_ext >&5
4616
4617 ac_cv_lib_l_yywrap=no
4618 fi
4619 rm -f conftest.err conftest.$ac_objext \
4620       conftest$ac_exeext conftest.$ac_ext
4621 LIBS=$ac_check_lib_save_LIBS
4622 fi
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
4628 _ACEOF
4629
4630 else
4631   HAVE_LIBLEX=no
4632 fi
4633
4634
4635
4636
4637
4638
4639
4640
4641 ac_header_dirent=no
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
4648 else
4649   cat >conftest.$ac_ext <<_ACEOF
4650 /* confdefs.h.  */
4651 _ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h.  */
4655 #include <sys/types.h>
4656 #include <$ac_hdr>
4657
4658 int
4659 main ()
4660 {
4661 if ((DIR *) 0)
4662 return 0;
4663   ;
4664   return 0;
4665 }
4666 _ACEOF
4667 rm -f conftest.$ac_objext
4668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4669   (eval $ac_compile) 2>conftest.er1
4670   ac_status=$?
4671   grep -v '^ *+' conftest.er1 >conftest.err
4672   rm -f conftest.er1
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
4679   (eval $ac_try) 2>&5
4680   ac_status=$?
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
4685   (eval $ac_try) 2>&5
4686   ac_status=$?
4687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688   (exit $ac_status); }; }; then
4689   eval "$as_ac_Header=yes"
4690 else
4691   echo "$as_me: failed program was:" >&5
4692 sed 's/^/| /' conftest.$ac_ext >&5
4693
4694 eval "$as_ac_Header=no"
4695 fi
4696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4697 fi
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
4703 _ACEOF
4704
4705 ac_header_dirent=$ac_hdr; break
4706 fi
4707
4708 done
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
4715 else
4716   ac_func_search_save_LIBS=$LIBS
4717 ac_cv_search_opendir=no
4718 cat >conftest.$ac_ext <<_ACEOF
4719 /* confdefs.h.  */
4720 _ACEOF
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h.  */
4724
4725 /* Override any gcc2 internal prototype to avoid an error.  */
4726 #ifdef __cplusplus
4727 extern "C"
4728 #endif
4729 /* We use char because int might match the return type of a gcc2
4730    builtin and then its argument prototype would still apply.  */
4731 char opendir ();
4732 int
4733 main ()
4734 {
4735 opendir ();
4736   ;
4737   return 0;
4738 }
4739 _ACEOF
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
4743   ac_status=$?
4744   grep -v '^ *+' conftest.er1 >conftest.err
4745   rm -f conftest.er1
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
4752   (eval $ac_try) 2>&5
4753   ac_status=$?
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
4758   (eval $ac_try) 2>&5
4759   ac_status=$?
4760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761   (exit $ac_status); }; }; then
4762   ac_cv_search_opendir="none required"
4763 else
4764   echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.$ac_ext >&5
4766
4767 fi
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
4774 /* confdefs.h.  */
4775 _ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h.  */
4779
4780 /* Override any gcc2 internal prototype to avoid an error.  */
4781 #ifdef __cplusplus
4782 extern "C"
4783 #endif
4784 /* We use char because int might match the return type of a gcc2
4785    builtin and then its argument prototype would still apply.  */
4786 char opendir ();
4787 int
4788 main ()
4789 {
4790 opendir ();
4791   ;
4792   return 0;
4793 }
4794 _ACEOF
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
4798   ac_status=$?
4799   grep -v '^ *+' conftest.er1 >conftest.err
4800   rm -f conftest.er1
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
4807   (eval $ac_try) 2>&5
4808   ac_status=$?
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
4813   (eval $ac_try) 2>&5
4814   ac_status=$?
4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816   (exit $ac_status); }; }; then
4817   ac_cv_search_opendir="-l$ac_lib"
4818 break
4819 else
4820   echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.$ac_ext >&5
4822
4823 fi
4824 rm -f conftest.err conftest.$ac_objext \
4825       conftest$ac_exeext conftest.$ac_ext
4826   done
4827 fi
4828 LIBS=$ac_func_search_save_LIBS
4829 fi
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"
4834
4835 fi
4836
4837 else
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
4842 else
4843   ac_func_search_save_LIBS=$LIBS
4844 ac_cv_search_opendir=no
4845 cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h.  */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h.  */
4851
4852 /* Override any gcc2 internal prototype to avoid an error.  */
4853 #ifdef __cplusplus
4854 extern "C"
4855 #endif
4856 /* We use char because int might match the return type of a gcc2
4857    builtin and then its argument prototype would still apply.  */
4858 char opendir ();
4859 int
4860 main ()
4861 {
4862 opendir ();
4863   ;
4864   return 0;
4865 }
4866 _ACEOF
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
4870   ac_status=$?
4871   grep -v '^ *+' conftest.er1 >conftest.err
4872   rm -f conftest.er1
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
4879   (eval $ac_try) 2>&5
4880   ac_status=$?
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
4885   (eval $ac_try) 2>&5
4886   ac_status=$?
4887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888   (exit $ac_status); }; }; then
4889   ac_cv_search_opendir="none required"
4890 else
4891   echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4893
4894 fi
4895 rm -f conftest.err conftest.$ac_objext \
4896       conftest$ac_exeext conftest.$ac_ext
4897 if test "$ac_cv_search_opendir" = no; then
4898   for ac_lib in x; do
4899     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4900     cat >conftest.$ac_ext <<_ACEOF
4901 /* confdefs.h.  */
4902 _ACEOF
4903 cat confdefs.h >>conftest.$ac_ext
4904 cat >>conftest.$ac_ext <<_ACEOF
4905 /* end confdefs.h.  */
4906
4907 /* Override any gcc2 internal prototype to avoid an error.  */
4908 #ifdef __cplusplus
4909 extern "C"
4910 #endif
4911 /* We use char because int might match the return type of a gcc2
4912    builtin and then its argument prototype would still apply.  */
4913 char opendir ();
4914 int
4915 main ()
4916 {
4917 opendir ();
4918   ;
4919   return 0;
4920 }
4921 _ACEOF
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
4925   ac_status=$?
4926   grep -v '^ *+' conftest.er1 >conftest.err
4927   rm -f conftest.er1
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
4934   (eval $ac_try) 2>&5
4935   ac_status=$?
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
4940   (eval $ac_try) 2>&5
4941   ac_status=$?
4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943   (exit $ac_status); }; }; then
4944   ac_cv_search_opendir="-l$ac_lib"
4945 break
4946 else
4947   echo "$as_me: failed program was:" >&5
4948 sed 's/^/| /' conftest.$ac_ext >&5
4949
4950 fi
4951 rm -f conftest.err conftest.$ac_objext \
4952       conftest$ac_exeext conftest.$ac_ext
4953   done
4954 fi
4955 LIBS=$ac_func_search_save_LIBS
4956 fi
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"
4961
4962 fi
4963
4964 fi
4965
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
4970 else
4971   cat >conftest.$ac_ext <<_ACEOF
4972 /* confdefs.h.  */
4973 _ACEOF
4974 cat confdefs.h >>conftest.$ac_ext
4975 cat >>conftest.$ac_ext <<_ACEOF
4976 /* end confdefs.h.  */
4977 #include <stdlib.h>
4978 #include <stdarg.h>
4979 #include <string.h>
4980 #include <float.h>
4981
4982 int
4983 main ()
4984 {
4985
4986   ;
4987   return 0;
4988 }
4989 _ACEOF
4990 rm -f conftest.$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992   (eval $ac_compile) 2>conftest.er1
4993   ac_status=$?
4994   grep -v '^ *+' conftest.er1 >conftest.err
4995   rm -f conftest.er1
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
5002   (eval $ac_try) 2>&5
5003   ac_status=$?
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
5008   (eval $ac_try) 2>&5
5009   ac_status=$?
5010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011   (exit $ac_status); }; }; then
5012   ac_cv_header_stdc=yes
5013 else
5014   echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.$ac_ext >&5
5016
5017 ac_cv_header_stdc=no
5018 fi
5019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5020
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
5024 /* confdefs.h.  */
5025 _ACEOF
5026 cat confdefs.h >>conftest.$ac_ext
5027 cat >>conftest.$ac_ext <<_ACEOF
5028 /* end confdefs.h.  */
5029 #include <string.h>
5030
5031 _ACEOF
5032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5033   $EGREP "memchr" >/dev/null 2>&1; then
5034   :
5035 else
5036   ac_cv_header_stdc=no
5037 fi
5038 rm -f conftest*
5039
5040 fi
5041
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
5045 /* confdefs.h.  */
5046 _ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h.  */
5050 #include <stdlib.h>
5051
5052 _ACEOF
5053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5054   $EGREP "free" >/dev/null 2>&1; then
5055   :
5056 else
5057   ac_cv_header_stdc=no
5058 fi
5059 rm -f conftest*
5060
5061 fi
5062
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
5066   :
5067 else
5068   cat >conftest.$ac_ext <<_ACEOF
5069 /* confdefs.h.  */
5070 _ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h.  */
5074 #include <ctype.h>
5075 #if ((' ' & 0x0FF) == 0x020)
5076 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5077 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5078 #else
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))
5084 #endif
5085
5086 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5087 int
5088 main ()
5089 {
5090   int i;
5091   for (i = 0; i < 256; i++)
5092     if (XOR (islower (i), ISLOWER (i))
5093         || toupper (i) != TOUPPER (i))
5094       exit(2);
5095   exit (0);
5096 }
5097 _ACEOF
5098 rm -f conftest$ac_exeext
5099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5100   (eval $ac_link) 2>&5
5101   ac_status=$?
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
5105   (eval $ac_try) 2>&5
5106   ac_status=$?
5107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108   (exit $ac_status); }; }; then
5109   :
5110 else
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
5114
5115 ( exit $ac_status )
5116 ac_cv_header_stdc=no
5117 fi
5118 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5119 fi
5120 fi
5121 fi
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
5125
5126 cat >>confdefs.h <<\_ACEOF
5127 #define STDC_HEADERS 1
5128 _ACEOF
5129
5130 fi
5131
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
5136 else
5137   cat >conftest.$ac_ext <<_ACEOF
5138 /* confdefs.h.  */
5139 _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>
5145 #ifndef WEXITSTATUS
5146 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5147 #endif
5148 #ifndef WIFEXITED
5149 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5150 #endif
5151
5152 int
5153 main ()
5154 {
5155   int s;
5156   wait (&s);
5157   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5158   ;
5159   return 0;
5160 }
5161 _ACEOF
5162 rm -f conftest.$ac_objext
5163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5164   (eval $ac_compile) 2>conftest.er1
5165   ac_status=$?
5166   grep -v '^ *+' conftest.er1 >conftest.err
5167   rm -f conftest.er1
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
5174   (eval $ac_try) 2>&5
5175   ac_status=$?
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
5180   (eval $ac_try) 2>&5
5181   ac_status=$?
5182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183   (exit $ac_status); }; }; then
5184   ac_cv_header_sys_wait_h=yes
5185 else
5186   echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.$ac_ext >&5
5188
5189 ac_cv_header_sys_wait_h=no
5190 fi
5191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5192 fi
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
5196
5197 cat >>confdefs.h <<\_ACEOF
5198 #define HAVE_SYS_WAIT_H 1
5199 _ACEOF
5200
5201 fi
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
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
5214 do
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
5221 fi
5222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5224 else
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
5229 /* confdefs.h.  */
5230 _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>
5236 _ACEOF
5237 rm -f conftest.$ac_objext
5238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5239   (eval $ac_compile) 2>conftest.er1
5240   ac_status=$?
5241   grep -v '^ *+' conftest.er1 >conftest.err
5242   rm -f conftest.er1
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
5249   (eval $ac_try) 2>&5
5250   ac_status=$?
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
5255   (eval $ac_try) 2>&5
5256   ac_status=$?
5257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258   (exit $ac_status); }; }; then
5259   ac_header_compiler=yes
5260 else
5261   echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5263
5264 ac_header_compiler=no
5265 fi
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
5269
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
5274 /* confdefs.h.  */
5275 _ACEOF
5276 cat confdefs.h >>conftest.$ac_ext
5277 cat >>conftest.$ac_ext <<_ACEOF
5278 /* end confdefs.h.  */
5279 #include <$ac_header>
5280 _ACEOF
5281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5282   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5283   ac_status=$?
5284   grep -v '^ *+' conftest.er1 >conftest.err
5285   rm -f conftest.er1
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
5292   else
5293     ac_cpp_err=
5294   fi
5295 else
5296   ac_cpp_err=yes
5297 fi
5298 if test -z "$ac_cpp_err"; then
5299   ac_header_preproc=yes
5300 else
5301   echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5303
5304   ac_header_preproc=no
5305 fi
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
5309
5310 # So?  What about this header?
5311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5312   yes:no: )
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
5318     ;;
5319   no: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;}
5332     (
5333       cat <<\_ASBOX
5334 ## ------------------------------------------ ##
5335 ## Report this to the AC_PACKAGE_NAME lists.  ##
5336 ## ------------------------------------------ ##
5337 _ASBOX
5338     ) |
5339       sed "s/^/$as_me: WARNING:     /" >&2
5340     ;;
5341 esac
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
5346 else
5347   eval "$as_ac_Header=\$ac_header_preproc"
5348 fi
5349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5351
5352 fi
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
5356 _ACEOF
5357
5358 fi
5359
5360 done
5361
5362
5363
5364 for ac_header in features.h
5365 do
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
5372 fi
5373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5375 else
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
5380 /* confdefs.h.  */
5381 _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>
5387 _ACEOF
5388 rm -f conftest.$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390   (eval $ac_compile) 2>conftest.er1
5391   ac_status=$?
5392   grep -v '^ *+' conftest.er1 >conftest.err
5393   rm -f conftest.er1
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
5400   (eval $ac_try) 2>&5
5401   ac_status=$?
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
5406   (eval $ac_try) 2>&5
5407   ac_status=$?
5408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409   (exit $ac_status); }; }; then
5410   ac_header_compiler=yes
5411 else
5412   echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5414
5415 ac_header_compiler=no
5416 fi
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
5420
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
5425 /* confdefs.h.  */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h.  */
5430 #include <$ac_header>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434   ac_status=$?
5435   grep -v '^ *+' conftest.er1 >conftest.err
5436   rm -f conftest.er1
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
5443   else
5444     ac_cpp_err=
5445   fi
5446 else
5447   ac_cpp_err=yes
5448 fi
5449 if test -z "$ac_cpp_err"; then
5450   ac_header_preproc=yes
5451 else
5452   echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.$ac_ext >&5
5454
5455   ac_header_preproc=no
5456 fi
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
5460
5461 # So?  What about this header?
5462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5463   yes:no: )
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
5469     ;;
5470   no: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;}
5483     (
5484       cat <<\_ASBOX
5485 ## ------------------------------------------ ##
5486 ## Report this to the AC_PACKAGE_NAME lists.  ##
5487 ## ------------------------------------------ ##
5488 _ASBOX
5489     ) |
5490       sed "s/^/$as_me: WARNING:     /" >&2
5491     ;;
5492 esac
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
5497 else
5498   eval "$as_ac_Header=\$ac_header_preproc"
5499 fi
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5502
5503 fi
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
5507 _ACEOF
5508
5509 fi
5510
5511 done
5512
5513
5514
5515 for ac_header in crypt.h
5516 do
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
5523 fi
5524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5526 else
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
5531 /* confdefs.h.  */
5532 _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>
5538 _ACEOF
5539 rm -f conftest.$ac_objext
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541   (eval $ac_compile) 2>conftest.er1
5542   ac_status=$?
5543   grep -v '^ *+' conftest.er1 >conftest.err
5544   rm -f conftest.er1
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
5551   (eval $ac_try) 2>&5
5552   ac_status=$?
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
5557   (eval $ac_try) 2>&5
5558   ac_status=$?
5559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560   (exit $ac_status); }; }; then
5561   ac_header_compiler=yes
5562 else
5563   echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.$ac_ext >&5
5565
5566 ac_header_compiler=no
5567 fi
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
5571
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
5576 /* confdefs.h.  */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h.  */
5581 #include <$ac_header>
5582 _ACEOF
5583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5584   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5585   ac_status=$?
5586   grep -v '^ *+' conftest.er1 >conftest.err
5587   rm -f conftest.er1
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
5594   else
5595     ac_cpp_err=
5596   fi
5597 else
5598   ac_cpp_err=yes
5599 fi
5600 if test -z "$ac_cpp_err"; then
5601   ac_header_preproc=yes
5602 else
5603   echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5605
5606   ac_header_preproc=no
5607 fi
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
5611
5612 # So?  What about this header?
5613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5614   yes:no: )
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
5620     ;;
5621   no: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;}
5634     (
5635       cat <<\_ASBOX
5636 ## ------------------------------------------ ##
5637 ## Report this to the AC_PACKAGE_NAME lists.  ##
5638 ## ------------------------------------------ ##
5639 _ASBOX
5640     ) |
5641       sed "s/^/$as_me: WARNING:     /" >&2
5642     ;;
5643 esac
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
5648 else
5649   eval "$as_ac_Header=\$ac_header_preproc"
5650 fi
5651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5653
5654 fi
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
5658 _ACEOF
5659
5660 fi
5661
5662 done
5663
5664
5665
5666
5667 for ac_header in ndbm.h db.h
5668 do
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
5675 fi
5676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5678 else
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
5683 /* confdefs.h.  */
5684 _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>
5690 _ACEOF
5691 rm -f conftest.$ac_objext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693   (eval $ac_compile) 2>conftest.er1
5694   ac_status=$?
5695   grep -v '^ *+' conftest.er1 >conftest.err
5696   rm -f conftest.er1
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
5703   (eval $ac_try) 2>&5
5704   ac_status=$?
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
5709   (eval $ac_try) 2>&5
5710   ac_status=$?
5711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712   (exit $ac_status); }; }; then
5713   ac_header_compiler=yes
5714 else
5715   echo "$as_me: failed program was:" >&5
5716 sed 's/^/| /' conftest.$ac_ext >&5
5717
5718 ac_header_compiler=no
5719 fi
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
5723
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
5728 /* confdefs.h.  */
5729 _ACEOF
5730 cat confdefs.h >>conftest.$ac_ext
5731 cat >>conftest.$ac_ext <<_ACEOF
5732 /* end confdefs.h.  */
5733 #include <$ac_header>
5734 _ACEOF
5735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5736   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5737   ac_status=$?
5738   grep -v '^ *+' conftest.er1 >conftest.err
5739   rm -f conftest.er1
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
5746   else
5747     ac_cpp_err=
5748   fi
5749 else
5750   ac_cpp_err=yes
5751 fi
5752 if test -z "$ac_cpp_err"; then
5753   ac_header_preproc=yes
5754 else
5755   echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5757
5758   ac_header_preproc=no
5759 fi
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
5763
5764 # So?  What about this header?
5765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5766   yes:no: )
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
5772     ;;
5773   no: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;}
5786     (
5787       cat <<\_ASBOX
5788 ## ------------------------------------------ ##
5789 ## Report this to the AC_PACKAGE_NAME lists.  ##
5790 ## ------------------------------------------ ##
5791 _ASBOX
5792     ) |
5793       sed "s/^/$as_me: WARNING:     /" >&2
5794     ;;
5795 esac
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
5800 else
5801   eval "$as_ac_Header=\$ac_header_preproc"
5802 fi
5803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5805
5806 fi
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
5810 _ACEOF
5811
5812 fi
5813
5814 done
5815
5816 HAVE_NDBM_H=$ac_cv_header_ndbm_h
5817
5818
5819
5820
5821
5822 for ac_header in lastlog.h utmp.h utmpx.h
5823 do
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
5830 fi
5831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5833 else
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
5838 /* confdefs.h.  */
5839 _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>
5845 _ACEOF
5846 rm -f conftest.$ac_objext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5848   (eval $ac_compile) 2>conftest.er1
5849   ac_status=$?
5850   grep -v '^ *+' conftest.er1 >conftest.err
5851   rm -f conftest.er1
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
5858   (eval $ac_try) 2>&5
5859   ac_status=$?
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
5864   (eval $ac_try) 2>&5
5865   ac_status=$?
5866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867   (exit $ac_status); }; }; then
5868   ac_header_compiler=yes
5869 else
5870   echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5872
5873 ac_header_compiler=no
5874 fi
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
5878
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
5883 /* confdefs.h.  */
5884 _ACEOF
5885 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h.  */
5888 #include <$ac_header>
5889 _ACEOF
5890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5891   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5892   ac_status=$?
5893   grep -v '^ *+' conftest.er1 >conftest.err
5894   rm -f conftest.er1
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
5901   else
5902     ac_cpp_err=
5903   fi
5904 else
5905   ac_cpp_err=yes
5906 fi
5907 if test -z "$ac_cpp_err"; then
5908   ac_header_preproc=yes
5909 else
5910   echo "$as_me: failed program was:" >&5
5911 sed 's/^/| /' conftest.$ac_ext >&5
5912
5913   ac_header_preproc=no
5914 fi
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
5918
5919 # So?  What about this header?
5920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5921   yes:no: )
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
5927     ;;
5928   no: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;}
5941     (
5942       cat <<\_ASBOX
5943 ## ------------------------------------------ ##
5944 ## Report this to the AC_PACKAGE_NAME lists.  ##
5945 ## ------------------------------------------ ##
5946 _ASBOX
5947     ) |
5948       sed "s/^/$as_me: WARNING:     /" >&2
5949     ;;
5950 esac
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
5955 else
5956   eval "$as_ac_Header=\$ac_header_preproc"
5957 fi
5958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5960
5961 fi
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
5965 _ACEOF
5966
5967 fi
5968
5969 done
5970
5971
5972
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
5983                       break 2
5984               elif test -r $d/dict/$f.hwm ; then
5985                       CRACKLIB_DICTPATH=$d/dict/$f
5986                       break 2
5987               fi
5988       done
5989 done
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; }; }
5994 else
5995       echo "$as_me:$LINENO: result: $CRACKLIB_DICTPATH" >&5
5996 echo "${ECHO_T}$CRACKLIB_DICTPATH" >&6
5997 fi
5998
5999
6000
6001 GCC_WARNINGS="-Wall -Wwrite-strings \
6002         -Wpointer-arith -Wcast-qual -Wcast-align \
6003         -Wstrict-prototypes -Wmissing-prototypes \
6004         -Wnested-externs -Winline -Wshadow"
6005
6006 if test "$GCC" = yes; then
6007         CC=gcc                          ;
6008 ### May need per-OS attention
6009 ### Example: -D_POSIX_SOURCE: needed on Linux but harms Solaris.
6010         case $OS in
6011         linux)
6012                 OS_CFLAGS="-ansi -D_POSIX_SOURCE -pedantic"
6013                 LD_D="gcc -shared -Xlinker -x"
6014                 WARNINGS="$GCC_WARNINGS"
6015                 PIC="-fPIC"
6016                 DYNTYPE=so
6017                 LD=gcc
6018                 LD_L="$LD -Xlinker -x -shared"
6019                 RANLIB=ranlib
6020                 STRIP=strip
6021                 CC_STATIC="-Xlinker -export-dynamic"
6022                 ;;
6023         sunos)
6024                 OS_CFLAGS="-ansi -pedantic"
6025                 LD_D="gcc -shared -Xlinker -x"
6026                 WARNINGS="$GCC_WARNINGS"
6027                 PIC="-fPIC"
6028                 DYNTYPE=so
6029                 LD=ld
6030                 LD_L="$LD -x -shared"
6031                 RANLIB=ranlib
6032                 STRIP=strip
6033                 CC_STATIC="-Xlinker -export-dynamic"
6034                 ;;
6035         aix)
6036                 OS_CFLAGS=""
6037                 DYNTYPE=lo
6038                 LD=ld
6039                 LD_L=ld -bexpall -bM:SRE -bnoentry
6040                 LD_D="$LD_L"
6041                 RANLIB=ranlib
6042                 STRIP=strip
6043                 ;;
6044         *)
6045                 OS_CFLAGS=""
6046                 ;;
6047         esac
6048 else
6049 ###
6050 ### Non-gcc needs attention on per-OS basis
6051 ###
6052         case "$OS" in
6053         darwin)
6054 # add some stuff here (see sourceforge bug 534205)
6055 # DOCDIR=/System/Documentation/Administration/Libraries/PAM
6056 # MANDIR=/usr/share/man
6057                 ;;
6058         solaris)
6059             ### Support for Solaris-C
6060             OS_CFLAGS=""
6061             WARNINGS=""
6062             PIC="-K pic"
6063             LD=ld
6064             LD_D="cc -z text -G -R."
6065             LD_L="$LD_D"
6066             RANLIB=ranlib
6067             STRIP=strip
6068             CC_STATIC=
6069             ;;
6070         irix*)
6071             OSRELEASE=`uname -r`
6072             if test "$OSRELEASE" = 6.5; then
6073                 OS_CFLAGS=""
6074                 WARNINGS="-fullwarn"
6075                 PIC=                    #PIC code is default for IRIX
6076                 LD="cc -shared"         # modules friendly approach
6077                 LD_D="cc -shared"
6078                 LD_L="ld -G -z redlocsym"
6079                 RANLIB=echo
6080                 STRIP=strip
6081                 CC_STATIC=
6082             else
6083                 echo "IRIX prior to 6.5 not allowed for"
6084                 exit
6085             fi
6086             ;;
6087        *) echo "Native compiler on $OS is not yet supported"
6088                exit
6089             ;;
6090        esac
6091 fi
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
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
6108 else
6109   # See if sys/param.h defines the BYTE_ORDER macro.
6110 cat >conftest.$ac_ext <<_ACEOF
6111 /* confdefs.h.  */
6112 _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>
6118
6119 int
6120 main ()
6121 {
6122 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6123  bogus endian macros
6124 #endif
6125
6126   ;
6127   return 0;
6128 }
6129 _ACEOF
6130 rm -f conftest.$ac_objext
6131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6132   (eval $ac_compile) 2>conftest.er1
6133   ac_status=$?
6134   grep -v '^ *+' conftest.er1 >conftest.err
6135   rm -f conftest.er1
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
6142   (eval $ac_try) 2>&5
6143   ac_status=$?
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
6148   (eval $ac_try) 2>&5
6149   ac_status=$?
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
6154 /* confdefs.h.  */
6155 _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>
6161
6162 int
6163 main ()
6164 {
6165 #if BYTE_ORDER != BIG_ENDIAN
6166  not big endian
6167 #endif
6168
6169   ;
6170   return 0;
6171 }
6172 _ACEOF
6173 rm -f conftest.$ac_objext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175   (eval $ac_compile) 2>conftest.er1
6176   ac_status=$?
6177   grep -v '^ *+' conftest.er1 >conftest.err
6178   rm -f conftest.er1
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
6185   (eval $ac_try) 2>&5
6186   ac_status=$?
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
6191   (eval $ac_try) 2>&5
6192   ac_status=$?
6193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194   (exit $ac_status); }; }; then
6195   ac_cv_c_bigendian=yes
6196 else
6197   echo "$as_me: failed program was:" >&5
6198 sed 's/^/| /' conftest.$ac_ext >&5
6199
6200 ac_cv_c_bigendian=no
6201 fi
6202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6203 else
6204   echo "$as_me: failed program was:" >&5
6205 sed 's/^/| /' conftest.$ac_ext >&5
6206
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
6212 /* confdefs.h.  */
6213 _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; }
6223 int
6224 main ()
6225 {
6226  _ascii (); _ebcdic ();
6227   ;
6228   return 0;
6229 }
6230 _ACEOF
6231 rm -f conftest.$ac_objext
6232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6233   (eval $ac_compile) 2>conftest.er1
6234   ac_status=$?
6235   grep -v '^ *+' conftest.er1 >conftest.err
6236   rm -f conftest.er1
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
6243   (eval $ac_try) 2>&5
6244   ac_status=$?
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
6249   (eval $ac_try) 2>&5
6250   ac_status=$?
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
6255 fi
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
6259   else
6260     # finding both strings is unlikely to happen, but who knows?
6261     ac_cv_c_bigendian=unknown
6262   fi
6263 fi
6264 else
6265   echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6267
6268 fi
6269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6270 else
6271   cat >conftest.$ac_ext <<_ACEOF
6272 /* confdefs.h.  */
6273 _ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h.  */
6277 int
6278 main ()
6279 {
6280   /* Are we little or big endian?  From Harbison&Steele.  */
6281   union
6282   {
6283     long l;
6284     char c[sizeof (long)];
6285   } u;
6286   u.l = 1;
6287   exit (u.c[sizeof (long) - 1] == 1);
6288 }
6289 _ACEOF
6290 rm -f conftest$ac_exeext
6291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6292   (eval $ac_link) 2>&5
6293   ac_status=$?
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
6297   (eval $ac_try) 2>&5
6298   ac_status=$?
6299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300   (exit $ac_status); }; }; then
6301   ac_cv_c_bigendian=no
6302 else
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
6306
6307 ( exit $ac_status )
6308 ac_cv_c_bigendian=yes
6309 fi
6310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6311 fi
6312 fi
6313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6314 fi
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
6318   yes)
6319
6320 cat >>confdefs.h <<\_ACEOF
6321 #define WORDS_BIGENDIAN 1
6322 _ACEOF
6323  ;;
6324   no)
6325      ;;
6326   *)
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; }; } ;;
6332 esac
6333
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
6338 else
6339   cat >conftest.$ac_ext <<_ACEOF
6340 /* confdefs.h.  */
6341 _ACEOF
6342 cat confdefs.h >>conftest.$ac_ext
6343 cat >>conftest.$ac_ext <<_ACEOF
6344 /* end confdefs.h.  */
6345
6346 int
6347 main ()
6348 {
6349 /* FIXME: Include the comments suggested by Paul. */
6350 #ifndef __cplusplus
6351   /* Ultrix mips cc rejects this.  */
6352   typedef int charset[2];
6353   const charset x;
6354   /* SunOS 4.1.1 cc rejects this.  */
6355   char const *const *ccp;
6356   char **p;
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
6363      expression */
6364   const char *g = "string";
6365   ccp = &g + (g ? g-g : 0);
6366   /* HPUX 7.0 cc rejects these. */
6367   ++ccp;
6368   p = (char**) ccp;
6369   ccp = (char const *const *) p;
6370   { /* SCO 3.2v4 cc rejects this.  */
6371     char *t;
6372     char const *s = 0 ? (char *) 0 : (char const *) 0;
6373
6374     *t++ = 0;
6375   }
6376   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6377     int x[] = {25, 17};
6378     const int *foo = &x[0];
6379     ++foo;
6380   }
6381   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6382     typedef const int *iptr;
6383     iptr p = 0;
6384     ++p;
6385   }
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;
6390   }
6391   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6392     const int foo = 10;
6393   }
6394 #endif
6395
6396   ;
6397   return 0;
6398 }
6399 _ACEOF
6400 rm -f conftest.$ac_objext
6401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6402   (eval $ac_compile) 2>conftest.er1
6403   ac_status=$?
6404   grep -v '^ *+' conftest.er1 >conftest.err
6405   rm -f conftest.er1
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
6412   (eval $ac_try) 2>&5
6413   ac_status=$?
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
6418   (eval $ac_try) 2>&5
6419   ac_status=$?
6420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421   (exit $ac_status); }; }; then
6422   ac_cv_c_const=yes
6423 else
6424   echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6426
6427 ac_cv_c_const=no
6428 fi
6429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6430 fi
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
6434
6435 cat >>confdefs.h <<\_ACEOF
6436 #define const
6437 _ACEOF
6438
6439 fi
6440
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
6445 else
6446   cat >conftest.$ac_ext <<_ACEOF
6447 /* confdefs.h.  */
6448 _ACEOF
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h.  */
6452 #include <sys/types.h>
6453
6454 _ACEOF
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
6458 else
6459   ac_cv_type_uid_t=no
6460 fi
6461 rm -f conftest*
6462
6463 fi
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
6467
6468 cat >>confdefs.h <<\_ACEOF
6469 #define uid_t int
6470 _ACEOF
6471
6472
6473 cat >>confdefs.h <<\_ACEOF
6474 #define gid_t int
6475 _ACEOF
6476
6477 fi
6478
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
6483 else
6484   cat >conftest.$ac_ext <<_ACEOF
6485 /* confdefs.h.  */
6486 _ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h.  */
6490 $ac_includes_default
6491 int
6492 main ()
6493 {
6494 if ((off_t *) 0)
6495   return 0;
6496 if (sizeof (off_t))
6497   return 0;
6498   ;
6499   return 0;
6500 }
6501 _ACEOF
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504   (eval $ac_compile) 2>conftest.er1
6505   ac_status=$?
6506   grep -v '^ *+' conftest.er1 >conftest.err
6507   rm -f conftest.er1
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
6514   (eval $ac_try) 2>&5
6515   ac_status=$?
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
6520   (eval $ac_try) 2>&5
6521   ac_status=$?
6522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523   (exit $ac_status); }; }; then
6524   ac_cv_type_off_t=yes
6525 else
6526   echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6528
6529 ac_cv_type_off_t=no
6530 fi
6531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6532 fi
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
6536   :
6537 else
6538
6539 cat >>confdefs.h <<_ACEOF
6540 #define off_t long
6541 _ACEOF
6542
6543 fi
6544
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
6549 else
6550   cat >conftest.$ac_ext <<_ACEOF
6551 /* confdefs.h.  */
6552 _ACEOF
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h.  */
6556 $ac_includes_default
6557 int
6558 main ()
6559 {
6560 if ((pid_t *) 0)
6561   return 0;
6562 if (sizeof (pid_t))
6563   return 0;
6564   ;
6565   return 0;
6566 }
6567 _ACEOF
6568 rm -f conftest.$ac_objext
6569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6570   (eval $ac_compile) 2>conftest.er1
6571   ac_status=$?
6572   grep -v '^ *+' conftest.er1 >conftest.err
6573   rm -f conftest.er1
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
6580   (eval $ac_try) 2>&5
6581   ac_status=$?
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
6586   (eval $ac_try) 2>&5
6587   ac_status=$?
6588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589   (exit $ac_status); }; }; then
6590   ac_cv_type_pid_t=yes
6591 else
6592   echo "$as_me: failed program was:" >&5
6593 sed 's/^/| /' conftest.$ac_ext >&5
6594
6595 ac_cv_type_pid_t=no
6596 fi
6597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6598 fi
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
6602   :
6603 else
6604
6605 cat >>confdefs.h <<_ACEOF
6606 #define pid_t int
6607 _ACEOF
6608
6609 fi
6610
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
6615 else
6616   cat >conftest.$ac_ext <<_ACEOF
6617 /* confdefs.h.  */
6618 _ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h.  */
6622 $ac_includes_default
6623 int
6624 main ()
6625 {
6626 if ((size_t *) 0)
6627   return 0;
6628 if (sizeof (size_t))
6629   return 0;
6630   ;
6631   return 0;
6632 }
6633 _ACEOF
6634 rm -f conftest.$ac_objext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6636   (eval $ac_compile) 2>conftest.er1
6637   ac_status=$?
6638   grep -v '^ *+' conftest.er1 >conftest.err
6639   rm -f conftest.er1
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
6646   (eval $ac_try) 2>&5
6647   ac_status=$?
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
6652   (eval $ac_try) 2>&5
6653   ac_status=$?
6654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655   (exit $ac_status); }; }; then
6656   ac_cv_type_size_t=yes
6657 else
6658   echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6660
6661 ac_cv_type_size_t=no
6662 fi
6663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6664 fi
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
6668   :
6669 else
6670
6671 cat >>confdefs.h <<_ACEOF
6672 #define size_t unsigned
6673 _ACEOF
6674
6675 fi
6676
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
6681 else
6682   cat >conftest.$ac_ext <<_ACEOF
6683 /* confdefs.h.  */
6684 _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>
6690 #include <time.h>
6691
6692 int
6693 main ()
6694 {
6695 if ((struct tm *) 0)
6696 return 0;
6697   ;
6698   return 0;
6699 }
6700 _ACEOF
6701 rm -f conftest.$ac_objext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6703   (eval $ac_compile) 2>conftest.er1
6704   ac_status=$?
6705   grep -v '^ *+' conftest.er1 >conftest.err
6706   rm -f conftest.er1
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
6713   (eval $ac_try) 2>&5
6714   ac_status=$?
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
6719   (eval $ac_try) 2>&5
6720   ac_status=$?
6721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722   (exit $ac_status); }; }; then
6723   ac_cv_header_time=yes
6724 else
6725   echo "$as_me: failed program was:" >&5
6726 sed 's/^/| /' conftest.$ac_ext >&5
6727
6728 ac_cv_header_time=no
6729 fi
6730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6731 fi
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
6735
6736 cat >>confdefs.h <<\_ACEOF
6737 #define TIME_WITH_SYS_TIME 1
6738 _ACEOF
6739
6740 fi
6741
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
6746 else
6747   cat >conftest.$ac_ext <<_ACEOF
6748 /* confdefs.h.  */
6749 _ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h.  */
6753 #include <sys/types.h>
6754 #include <time.h>
6755
6756 int
6757 main ()
6758 {
6759 struct tm *tp; tp->tm_sec;
6760   ;
6761   return 0;
6762 }
6763 _ACEOF
6764 rm -f conftest.$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766   (eval $ac_compile) 2>conftest.er1
6767   ac_status=$?
6768   grep -v '^ *+' conftest.er1 >conftest.err
6769   rm -f conftest.er1
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
6776   (eval $ac_try) 2>&5
6777   ac_status=$?
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
6782   (eval $ac_try) 2>&5
6783   ac_status=$?
6784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785   (exit $ac_status); }; }; then
6786   ac_cv_struct_tm=time.h
6787 else
6788   echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6790
6791 ac_cv_struct_tm=sys/time.h
6792 fi
6793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6794 fi
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
6798
6799 cat >>confdefs.h <<\_ACEOF
6800 #define TM_IN_SYS_TIME 1
6801 _ACEOF
6802
6803 fi
6804
6805
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
6810 else
6811   if test "$cross_compiling" = yes; then
6812   ac_cv_type_getgroups=cross
6813 else
6814   cat >conftest.$ac_ext <<_ACEOF
6815 /* confdefs.h.  */
6816 _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>
6822 #define NGID 256
6823 #undef MAX
6824 #define MAX(x, y) ((x) > (y) ? (x) : (y))
6825
6826 int
6827 main ()
6828 {
6829   gid_t gidset[NGID];
6830   int i, n;
6831   union { gid_t gval; long lval; }  val;
6832
6833   val.lval = -1;
6834   for (i = 0; i < NGID; i++)
6835     gidset[i] = val.gval;
6836   n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
6837                  gidset);
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);
6841 }
6842 _ACEOF
6843 rm -f conftest$ac_exeext
6844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6845   (eval $ac_link) 2>&5
6846   ac_status=$?
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
6850   (eval $ac_try) 2>&5
6851   ac_status=$?
6852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853   (exit $ac_status); }; }; then
6854   ac_cv_type_getgroups=gid_t
6855 else
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
6859
6860 ( exit $ac_status )
6861 ac_cv_type_getgroups=int
6862 fi
6863 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6864 fi
6865 if test $ac_cv_type_getgroups = cross; then
6866         cat >conftest.$ac_ext <<_ACEOF
6867 /* confdefs.h.  */
6868 _ACEOF
6869 cat confdefs.h >>conftest.$ac_ext
6870 cat >>conftest.$ac_ext <<_ACEOF
6871 /* end confdefs.h.  */
6872 #include <unistd.h>
6873
6874 _ACEOF
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
6878 else
6879   ac_cv_type_getgroups=int
6880 fi
6881 rm -f conftest*
6882
6883 fi
6884 fi
6885 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
6886 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
6887
6888 cat >>confdefs.h <<_ACEOF
6889 #define GETGROUPS_T $ac_cv_type_getgroups
6890 _ACEOF
6891
6892
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
6898 else
6899     ac_pattern="Autoconf.*'x'"
6900   cat >conftest.$ac_ext <<_ACEOF
6901 /* confdefs.h.  */
6902 _ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h.  */
6906 #include <sgtty.h>
6907 Autoconf TIOCGETP
6908 _ACEOF
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
6912 else
6913   ac_cv_prog_gcc_traditional=no
6914 fi
6915 rm -f conftest*
6916
6917
6918   if test $ac_cv_prog_gcc_traditional = no; then
6919     cat >conftest.$ac_ext <<_ACEOF
6920 /* confdefs.h.  */
6921 _ACEOF
6922 cat confdefs.h >>conftest.$ac_ext
6923 cat >>conftest.$ac_ext <<_ACEOF
6924 /* end confdefs.h.  */
6925 #include <termio.h>
6926 Autoconf TCGETA
6927 _ACEOF
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
6931 fi
6932 rm -f conftest*
6933
6934   fi
6935 fi
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"
6940   fi
6941 fi
6942
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
6947 else
6948   if test "$cross_compiling" = yes; then
6949   ac_cv_func_memcmp_working=no
6950 else
6951   cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h.  */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h.  */
6957 $ac_includes_default
6958 int
6959 main ()
6960 {
6961
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)
6965     exit (1);
6966
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.   */
6970   {
6971     char foo[21];
6972     char bar[21];
6973     int i;
6974     for (i = 0; i < 4; i++)
6975       {
6976         char *a = foo + i;
6977         char *b = bar + i;
6978         strcpy (a, "--------01111111");
6979         strcpy (b, "--------10000000");
6980         if (memcmp (a, b, 16) >= 0)
6981           exit (1);
6982       }
6983     exit (0);
6984   }
6985
6986   ;
6987   return 0;
6988 }
6989 _ACEOF
6990 rm -f conftest$ac_exeext
6991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6992   (eval $ac_link) 2>&5
6993   ac_status=$?
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
6997   (eval $ac_try) 2>&5
6998   ac_status=$?
6999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000   (exit $ac_status); }; }; then
7001   ac_cv_func_memcmp_working=yes
7002 else
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
7006
7007 ( exit $ac_status )
7008 ac_cv_func_memcmp_working=no
7009 fi
7010 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7011 fi
7012 fi
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" ;;
7021 esac
7022
7023
7024
7025 for ac_func in vprintf
7026 do
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
7032 else
7033   cat >conftest.$ac_ext <<_ACEOF
7034 /* confdefs.h.  */
7035 _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
7042
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.  */
7047
7048 #ifdef __STDC__
7049 # include <limits.h>
7050 #else
7051 # include <assert.h>
7052 #endif
7053
7054 #undef $ac_func
7055
7056 /* Override any gcc2 internal prototype to avoid an error.  */
7057 #ifdef __cplusplus
7058 extern "C"
7059 {
7060 #endif
7061 /* We use char because int might match the return type of a gcc2
7062    builtin and then its argument prototype would still apply.  */
7063 char $ac_func ();
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)
7068 choke me
7069 #else
7070 char (*f) () = $ac_func;
7071 #endif
7072 #ifdef __cplusplus
7073 }
7074 #endif
7075
7076 int
7077 main ()
7078 {
7079 return f != $ac_func;
7080   ;
7081   return 0;
7082 }
7083 _ACEOF
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
7087   ac_status=$?
7088   grep -v '^ *+' conftest.er1 >conftest.err
7089   rm -f conftest.er1
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
7096   (eval $ac_try) 2>&5
7097   ac_status=$?
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
7102   (eval $ac_try) 2>&5
7103   ac_status=$?
7104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105   (exit $ac_status); }; }; then
7106   eval "$as_ac_var=yes"
7107 else
7108   echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.$ac_ext >&5
7110
7111 eval "$as_ac_var=no"
7112 fi
7113 rm -f conftest.err conftest.$ac_objext \
7114       conftest$ac_exeext conftest.$ac_ext
7115 fi
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
7121 _ACEOF
7122
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
7127 else
7128   cat >conftest.$ac_ext <<_ACEOF
7129 /* confdefs.h.  */
7130 _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
7137
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.  */
7142
7143 #ifdef __STDC__
7144 # include <limits.h>
7145 #else
7146 # include <assert.h>
7147 #endif
7148
7149 #undef _doprnt
7150
7151 /* Override any gcc2 internal prototype to avoid an error.  */
7152 #ifdef __cplusplus
7153 extern "C"
7154 {
7155 #endif
7156 /* We use char because int might match the return type of a gcc2
7157    builtin and then its argument prototype would still apply.  */
7158 char _doprnt ();
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)
7163 choke me
7164 #else
7165 char (*f) () = _doprnt;
7166 #endif
7167 #ifdef __cplusplus
7168 }
7169 #endif
7170
7171 int
7172 main ()
7173 {
7174 return f != _doprnt;
7175   ;
7176   return 0;
7177 }
7178 _ACEOF
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
7182   ac_status=$?
7183   grep -v '^ *+' conftest.er1 >conftest.err
7184   rm -f conftest.er1
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
7191   (eval $ac_try) 2>&5
7192   ac_status=$?
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
7197   (eval $ac_try) 2>&5
7198   ac_status=$?
7199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200   (exit $ac_status); }; }; then
7201   ac_cv_func__doprnt=yes
7202 else
7203   echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.$ac_ext >&5
7205
7206 ac_cv_func__doprnt=no
7207 fi
7208 rm -f conftest.err conftest.$ac_objext \
7209       conftest$ac_exeext conftest.$ac_ext
7210 fi
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
7214
7215 cat >>confdefs.h <<\_ACEOF
7216 #define HAVE_DOPRNT 1
7217 _ACEOF
7218
7219 fi
7220
7221 fi
7222 done
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236 for ac_func in gethostname gettimeofday mkdir select strcspn strdup strerror strspn strstr strtol uname
7237 do
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
7243 else
7244   cat >conftest.$ac_ext <<_ACEOF
7245 /* confdefs.h.  */
7246 _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
7253
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.  */
7258
7259 #ifdef __STDC__
7260 # include <limits.h>
7261 #else
7262 # include <assert.h>
7263 #endif
7264
7265 #undef $ac_func
7266
7267 /* Override any gcc2 internal prototype to avoid an error.  */
7268 #ifdef __cplusplus
7269 extern "C"
7270 {
7271 #endif
7272 /* We use char because int might match the return type of a gcc2
7273    builtin and then its argument prototype would still apply.  */
7274 char $ac_func ();
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)
7279 choke me
7280 #else
7281 char (*f) () = $ac_func;
7282 #endif
7283 #ifdef __cplusplus
7284 }
7285 #endif
7286
7287 int
7288 main ()
7289 {
7290 return f != $ac_func;
7291   ;
7292   return 0;
7293 }
7294 _ACEOF
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
7298   ac_status=$?
7299   grep -v '^ *+' conftest.er1 >conftest.err
7300   rm -f conftest.er1
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
7307   (eval $ac_try) 2>&5
7308   ac_status=$?
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
7313   (eval $ac_try) 2>&5
7314   ac_status=$?
7315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316   (exit $ac_status); }; }; then
7317   eval "$as_ac_var=yes"
7318 else
7319   echo "$as_me: failed program was:" >&5
7320 sed 's/^/| /' conftest.$ac_ext >&5
7321
7322 eval "$as_ac_var=no"
7323 fi
7324 rm -f conftest.err conftest.$ac_objext \
7325       conftest$ac_exeext conftest.$ac_ext
7326 fi
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
7332 _ACEOF
7333
7334 fi
7335 done
7336
7337
7338
7339
7340
7341
7342
7343
7344 for ac_func in getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r getgrouplist
7345 do
7346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7347 echo "$as_me:$LINENO: checking for $ac_func" >&5
7348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7349 if eval "test \"\${$as_ac_var+set}\" = set"; then
7350   echo $ECHO_N "(cached) $ECHO_C" >&6
7351 else
7352   cat >conftest.$ac_ext <<_ACEOF
7353 /* confdefs.h.  */
7354 _ACEOF
7355 cat confdefs.h >>conftest.$ac_ext
7356 cat >>conftest.$ac_ext <<_ACEOF
7357 /* end confdefs.h.  */
7358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7360 #define $ac_func innocuous_$ac_func
7361
7362 /* System header to define __stub macros and hopefully few prototypes,
7363     which can conflict with char $ac_func (); below.
7364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7365     <limits.h> exists even on freestanding compilers.  */
7366
7367 #ifdef __STDC__
7368 # include <limits.h>
7369 #else
7370 # include <assert.h>
7371 #endif
7372
7373 #undef $ac_func
7374
7375 /* Override any gcc2 internal prototype to avoid an error.  */
7376 #ifdef __cplusplus
7377 extern "C"
7378 {
7379 #endif
7380 /* We use char because int might match the return type of a gcc2
7381    builtin and then its argument prototype would still apply.  */
7382 char $ac_func ();
7383 /* The GNU C library defines this for functions which it implements
7384     to always fail with ENOSYS.  Some functions are actually named
7385     something starting with __ and the normal name is an alias.  */
7386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7387 choke me
7388 #else
7389 char (*f) () = $ac_func;
7390 #endif
7391 #ifdef __cplusplus
7392 }
7393 #endif
7394
7395 int
7396 main ()
7397 {
7398 return f != $ac_func;
7399   ;
7400   return 0;
7401 }
7402 _ACEOF
7403 rm -f conftest.$ac_objext conftest$ac_exeext
7404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7405   (eval $ac_link) 2>conftest.er1
7406   ac_status=$?
7407   grep -v '^ *+' conftest.er1 >conftest.err
7408   rm -f conftest.er1
7409   cat conftest.err >&5
7410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411   (exit $ac_status); } &&
7412          { ac_try='test -z "$ac_c_werror_flag"
7413                          || test ! -s conftest.err'
7414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415   (eval $ac_try) 2>&5
7416   ac_status=$?
7417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418   (exit $ac_status); }; } &&
7419          { ac_try='test -s conftest$ac_exeext'
7420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421   (eval $ac_try) 2>&5
7422   ac_status=$?
7423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424   (exit $ac_status); }; }; then
7425   eval "$as_ac_var=yes"
7426 else
7427   echo "$as_me: failed program was:" >&5
7428 sed 's/^/| /' conftest.$ac_ext >&5
7429
7430 eval "$as_ac_var=no"
7431 fi
7432 rm -f conftest.err conftest.$ac_objext \
7433       conftest$ac_exeext conftest.$ac_ext
7434 fi
7435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7437 if test `eval echo '${'$as_ac_var'}'` = yes; then
7438   cat >>confdefs.h <<_ACEOF
7439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7440 _ACEOF
7441
7442 fi
7443 done
7444
7445
7446 # Extract the first word of "sgml2txt", so it can be a program name with args.
7447 set dummy sgml2txt; ac_word=$2
7448 echo "$as_me:$LINENO: checking for $ac_word" >&5
7449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7450 if test "${ac_cv_prog_HAVE_SGML2TXT+set}" = set; then
7451   echo $ECHO_N "(cached) $ECHO_C" >&6
7452 else
7453   if test -n "$HAVE_SGML2TXT"; then
7454   ac_cv_prog_HAVE_SGML2TXT="$HAVE_SGML2TXT" # Let the user override the test.
7455 else
7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7457 for as_dir in $PATH
7458 do
7459   IFS=$as_save_IFS
7460   test -z "$as_dir" && as_dir=.
7461   for ac_exec_ext in '' $ac_executable_extensions; do
7462   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7463     ac_cv_prog_HAVE_SGML2TXT="yes"
7464     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7465     break 2
7466   fi
7467 done
7468 done
7469
7470   test -z "$ac_cv_prog_HAVE_SGML2TXT" && ac_cv_prog_HAVE_SGML2TXT="no"
7471 fi
7472 fi
7473 HAVE_SGML2TXT=$ac_cv_prog_HAVE_SGML2TXT
7474 if test -n "$HAVE_SGML2TXT"; then
7475   echo "$as_me:$LINENO: result: $HAVE_SGML2TXT" >&5
7476 echo "${ECHO_T}$HAVE_SGML2TXT" >&6
7477 else
7478   echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482 # Extract the first word of "sgml2html", so it can be a program name with args.
7483 set dummy sgml2html; ac_word=$2
7484 echo "$as_me:$LINENO: checking for $ac_word" >&5
7485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7486 if test "${ac_cv_prog_HAVE_SGML2HTML+set}" = set; then
7487   echo $ECHO_N "(cached) $ECHO_C" >&6
7488 else
7489   if test -n "$HAVE_SGML2HTML"; then
7490   ac_cv_prog_HAVE_SGML2HTML="$HAVE_SGML2HTML" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7494 do
7495   IFS=$as_save_IFS
7496   test -z "$as_dir" && as_dir=.
7497   for ac_exec_ext in '' $ac_executable_extensions; do
7498   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499     ac_cv_prog_HAVE_SGML2HTML="yes"
7500     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7501     break 2
7502   fi
7503 done
7504 done
7505
7506   test -z "$ac_cv_prog_HAVE_SGML2HTML" && ac_cv_prog_HAVE_SGML2HTML="no"
7507 fi
7508 fi
7509 HAVE_SGML2HTML=$ac_cv_prog_HAVE_SGML2HTML
7510 if test -n "$HAVE_SGML2HTML"; then
7511   echo "$as_me:$LINENO: result: $HAVE_SGML2HTML" >&5
7512 echo "${ECHO_T}$HAVE_SGML2HTML" >&6
7513 else
7514   echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7516 fi
7517
7518 # Extract the first word of "sgml2latex", so it can be a program name with args.
7519 set dummy sgml2latex; ac_word=$2
7520 echo "$as_me:$LINENO: checking for $ac_word" >&5
7521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7522 if test "${ac_cv_prog_HAVE_SGML2LATEX+set}" = set; then
7523   echo $ECHO_N "(cached) $ECHO_C" >&6
7524 else
7525   if test -n "$HAVE_SGML2LATEX"; then
7526   ac_cv_prog_HAVE_SGML2LATEX="$HAVE_SGML2LATEX" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7530 do
7531   IFS=$as_save_IFS
7532   test -z "$as_dir" && as_dir=.
7533   for ac_exec_ext in '' $ac_executable_extensions; do
7534   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7535     ac_cv_prog_HAVE_SGML2LATEX="yes"
7536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7537     break 2
7538   fi
7539 done
7540 done
7541
7542   test -z "$ac_cv_prog_HAVE_SGML2LATEX" && ac_cv_prog_HAVE_SGML2LATEX="no"
7543 fi
7544 fi
7545 HAVE_SGML2LATEX=$ac_cv_prog_HAVE_SGML2LATEX
7546 if test -n "$HAVE_SGML2LATEX"; then
7547   echo "$as_me:$LINENO: result: $HAVE_SGML2LATEX" >&5
7548 echo "${ECHO_T}$HAVE_SGML2LATEX" >&6
7549 else
7550   echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7552 fi
7553
7554 if test $HAVE_SGML2LATEX = "yes" ; then
7555   if sgml2latex -h | grep -e --paper | grep  ' -p ' > /dev/null ; then
7556     PSER="sgml2latex -o ps"
7557   else
7558     PSER="sgml2latex -p"
7559   fi
7560   # Extract the first word of "ps2pdf", so it can be a program name with args.
7561 set dummy ps2pdf; ac_word=$2
7562 echo "$as_me:$LINENO: checking for $ac_word" >&5
7563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7564 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then
7565   echo $ECHO_N "(cached) $ECHO_C" >&6
7566 else
7567   if test -n "$HAVE_PS2PDF"; then
7568   ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573   IFS=$as_save_IFS
7574   test -z "$as_dir" && as_dir=.
7575   for ac_exec_ext in '' $ac_executable_extensions; do
7576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7577     ac_cv_prog_HAVE_PS2PDF="yes"
7578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7579     break 2
7580   fi
7581 done
7582 done
7583
7584   test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
7585 fi
7586 fi
7587 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
7588 if test -n "$HAVE_PS2PDF"; then
7589   echo "$as_me:$LINENO: result: $HAVE_PS2PDF" >&5
7590 echo "${ECHO_T}$HAVE_PS2PDF" >&6
7591 else
7592   echo "$as_me:$LINENO: result: no" >&5
7593 echo "${ECHO_T}no" >&6
7594 fi
7595
7596 else
7597   # Extract the first word of "sgml2ps", so it can be a program name with args.
7598 set dummy sgml2ps; ac_word=$2
7599 echo "$as_me:$LINENO: checking for $ac_word" >&5
7600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7601 if test "${ac_cv_prog_HAVE_SGML2PS+set}" = set; then
7602   echo $ECHO_N "(cached) $ECHO_C" >&6
7603 else
7604   if test -n "$HAVE_SGML2PS"; then
7605   ac_cv_prog_HAVE_SGML2PS="$HAVE_SGML2PS" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7609 do
7610   IFS=$as_save_IFS
7611   test -z "$as_dir" && as_dir=.
7612   for ac_exec_ext in '' $ac_executable_extensions; do
7613   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614     ac_cv_prog_HAVE_SGML2PS="yes"
7615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7616     break 2
7617   fi
7618 done
7619 done
7620
7621   test -z "$ac_cv_prog_HAVE_SGML2PS" && ac_cv_prog_HAVE_SGML2PS="no"
7622 fi
7623 fi
7624 HAVE_SGML2PS=$ac_cv_prog_HAVE_SGML2PS
7625 if test -n "$HAVE_SGML2PS"; then
7626   echo "$as_me:$LINENO: result: $HAVE_SGML2PS" >&5
7627 echo "${ECHO_T}$HAVE_SGML2PS" >&6
7628 else
7629   echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7631 fi
7632
7633   if test $HAVE_SGML2PS = yes ; then
7634     PSER="sgml2ps"
7635   fi
7636 fi
7637
7638
7639
7640           ac_config_files="$ac_config_files Make.Rules"
7641 cat >confcache <<\_ACEOF
7642 # This file is a shell script that caches the results of configure
7643 # tests run on this system so they can be shared between configure
7644 # scripts and configure runs, see configure's option --config-cache.
7645 # It is not useful on other systems.  If it contains results you don't
7646 # want to keep, you may remove or edit it.
7647 #
7648 # config.status only pays attention to the cache file if you give it
7649 # the --recheck option to rerun configure.
7650 #
7651 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7652 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7653 # following values.
7654
7655 _ACEOF
7656
7657 # The following way of writing the cache mishandles newlines in values,
7658 # but we know of no workaround that is simple, portable, and efficient.
7659 # So, don't put newlines in cache variables' values.
7660 # Ultrix sh set writes to stderr and can't be redirected directly,
7661 # and sets the high bit in the cache file unless we assign to the vars.
7662 {
7663   (set) 2>&1 |
7664     case `(ac_space=' '; set | grep ac_space) 2>&1` in
7665     *ac_space=\ *)
7666       # `set' does not quote correctly, so add quotes (double-quote
7667       # substitution turns \\\\ into \\, and sed turns \\ into \).
7668       sed -n \
7669         "s/'/'\\\\''/g;
7670           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7671       ;;
7672     *)
7673       # `set' quotes correctly as required by POSIX, so do not add quotes.
7674       sed -n \
7675         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7676       ;;
7677     esac;
7678 } |
7679   sed '
7680      t clear
7681      : clear
7682      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7683      t end
7684      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7685      : end' >>confcache
7686 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7687   if test -w $cache_file; then
7688     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7689     cat confcache >$cache_file
7690   else
7691     echo "not updating unwritable cache $cache_file"
7692   fi
7693 fi
7694 rm -f confcache
7695
7696 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7697 # Let make expand exec_prefix.
7698 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7699
7700 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7701 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7702 # trailing colons and then remove the whole line if VPATH becomes empty
7703 # (actually we leave an empty line to preserve line numbers).
7704 if test "x$srcdir" = x.; then
7705   ac_vpsub='/^[  ]*VPATH[        ]*=/{
7706 s/:*\$(srcdir):*/:/;
7707 s/:*\${srcdir}:*/:/;
7708 s/:*@srcdir@:*/:/;
7709 s/^\([^=]*=[     ]*\):*/\1/;
7710 s/:*$//;
7711 s/^[^=]*=[       ]*$//;
7712 }'
7713 fi
7714
7715 DEFS=-DHAVE_CONFIG_H
7716
7717 ac_libobjs=
7718 ac_ltlibobjs=
7719 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7720   # 1. Remove the extension, and $U if already installed.
7721   ac_i=`echo "$ac_i" |
7722          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7723   # 2. Add them.
7724   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7725   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7726 done
7727 LIBOBJS=$ac_libobjs
7728
7729 LTLIBOBJS=$ac_ltlibobjs
7730
7731
7732
7733 : ${CONFIG_STATUS=./config.status}
7734 ac_clean_files_save=$ac_clean_files
7735 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7736 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7737 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7738 cat >$CONFIG_STATUS <<_ACEOF
7739 #! $SHELL
7740 # Generated by $as_me.
7741 # Run this file to recreate the current configuration.
7742 # Compiler output produced by configure, useful for debugging
7743 # configure, is in config.log if it exists.
7744
7745 debug=false
7746 ac_cs_recheck=false
7747 ac_cs_silent=false
7748 SHELL=\${CONFIG_SHELL-$SHELL}
7749 _ACEOF
7750
7751 cat >>$CONFIG_STATUS <<\_ACEOF
7752 ## --------------------- ##
7753 ## M4sh Initialization.  ##
7754 ## --------------------- ##
7755
7756 # Be Bourne compatible
7757 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7758   emulate sh
7759   NULLCMD=:
7760   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7761   # is contrary to our usage.  Disable this feature.
7762   alias -g '${1+"$@"}'='"$@"'
7763 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7764   set -o posix
7765 fi
7766 DUALCASE=1; export DUALCASE # for MKS sh
7767
7768 # Support unset when possible.
7769 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7770   as_unset=unset
7771 else
7772   as_unset=false
7773 fi
7774
7775
7776 # Work around bugs in pre-3.0 UWIN ksh.
7777 $as_unset ENV MAIL MAILPATH
7778 PS1='$ '
7779 PS2='> '
7780 PS4='+ '
7781
7782 # NLS nuisances.
7783 for as_var in \
7784   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7785   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7786   LC_TELEPHONE LC_TIME
7787 do
7788   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7789     eval $as_var=C; export $as_var
7790   else
7791     $as_unset $as_var
7792   fi
7793 done
7794
7795 # Required to use basename.
7796 if expr a : '\(a\)' >/dev/null 2>&1; then
7797   as_expr=expr
7798 else
7799   as_expr=false
7800 fi
7801
7802 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7803   as_basename=basename
7804 else
7805   as_basename=false
7806 fi
7807
7808
7809 # Name of the executable.
7810 as_me=`$as_basename "$0" ||
7811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7812          X"$0" : 'X\(//\)$' \| \
7813          X"$0" : 'X\(/\)$' \| \
7814          .     : '\(.\)' 2>/dev/null ||
7815 echo X/"$0" |
7816     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7817           /^X\/\(\/\/\)$/{ s//\1/; q; }
7818           /^X\/\(\/\).*/{ s//\1/; q; }
7819           s/.*/./; q'`
7820
7821
7822 # PATH needs CR, and LINENO needs CR and PATH.
7823 # Avoid depending upon Character Ranges.
7824 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7825 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7826 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7827 as_cr_digits='0123456789'
7828 as_cr_alnum=$as_cr_Letters$as_cr_digits
7829
7830 # The user is always right.
7831 if test "${PATH_SEPARATOR+set}" != set; then
7832   echo "#! /bin/sh" >conf$$.sh
7833   echo  "exit 0"   >>conf$$.sh
7834   chmod +x conf$$.sh
7835   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7836     PATH_SEPARATOR=';'
7837   else
7838     PATH_SEPARATOR=:
7839   fi
7840   rm -f conf$$.sh
7841 fi
7842
7843
7844   as_lineno_1=$LINENO
7845   as_lineno_2=$LINENO
7846   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7847   test "x$as_lineno_1" != "x$as_lineno_2" &&
7848   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7849   # Find who we are.  Look in the path if we contain no path at all
7850   # relative or not.
7851   case $0 in
7852     *[\\/]* ) as_myself=$0 ;;
7853     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 for as_dir in $PATH
7855 do
7856   IFS=$as_save_IFS
7857   test -z "$as_dir" && as_dir=.
7858   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7859 done
7860
7861        ;;
7862   esac
7863   # We did not find ourselves, most probably we were run as `sh COMMAND'
7864   # in which case we are not to be found in the path.
7865   if test "x$as_myself" = x; then
7866     as_myself=$0
7867   fi
7868   if test ! -f "$as_myself"; then
7869     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7870 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7871    { (exit 1); exit 1; }; }
7872   fi
7873   case $CONFIG_SHELL in
7874   '')
7875     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7876 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7877 do
7878   IFS=$as_save_IFS
7879   test -z "$as_dir" && as_dir=.
7880   for as_base in sh bash ksh sh5; do
7881          case $as_dir in
7882          /*)
7883            if ("$as_dir/$as_base" -c '
7884   as_lineno_1=$LINENO
7885   as_lineno_2=$LINENO
7886   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7887   test "x$as_lineno_1" != "x$as_lineno_2" &&
7888   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7889              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7890              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7891              CONFIG_SHELL=$as_dir/$as_base
7892              export CONFIG_SHELL
7893              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7894            fi;;
7895          esac
7896        done
7897 done
7898 ;;
7899   esac
7900
7901   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7902   # uniformly replaced by the line number.  The first 'sed' inserts a
7903   # line-number line before each line; the second 'sed' does the real
7904   # work.  The second script uses 'N' to pair each line-number line
7905   # with the numbered line, and appends trailing '-' during
7906   # substitution so that $LINENO is not a special case at line end.
7907   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7908   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7909   sed '=' <$as_myself |
7910     sed '
7911       N
7912       s,$,-,
7913       : loop
7914       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7915       t loop
7916       s,-$,,
7917       s,^['$as_cr_digits']*\n,,
7918     ' >$as_me.lineno &&
7919   chmod +x $as_me.lineno ||
7920     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7921 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7922    { (exit 1); exit 1; }; }
7923
7924   # Don't try to exec as it changes $[0], causing all sort of problems
7925   # (the dirname of $[0] is not the place where we might find the
7926   # original and so on.  Autoconf is especially sensible to this).
7927   . ./$as_me.lineno
7928   # Exit status is that of the last command.
7929   exit
7930 }
7931
7932
7933 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7934   *c*,-n*) ECHO_N= ECHO_C='
7935 ' ECHO_T='      ' ;;
7936   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7937   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7938 esac
7939
7940 if expr a : '\(a\)' >/dev/null 2>&1; then
7941   as_expr=expr
7942 else
7943   as_expr=false
7944 fi
7945
7946 rm -f conf$$ conf$$.exe conf$$.file
7947 echo >conf$$.file
7948 if ln -s conf$$.file conf$$ 2>/dev/null; then
7949   # We could just check for DJGPP; but this test a) works b) is more generic
7950   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7951   if test -f conf$$.exe; then
7952     # Don't use ln at all; we don't have any links
7953     as_ln_s='cp -p'
7954   else
7955     as_ln_s='ln -s'
7956   fi
7957 elif ln conf$$.file conf$$ 2>/dev/null; then
7958   as_ln_s=ln
7959 else
7960   as_ln_s='cp -p'
7961 fi
7962 rm -f conf$$ conf$$.exe conf$$.file
7963
7964 if mkdir -p . 2>/dev/null; then
7965   as_mkdir_p=:
7966 else
7967   test -d ./-p && rmdir ./-p
7968   as_mkdir_p=false
7969 fi
7970
7971 as_executable_p="test -f"
7972
7973 # Sed expression to map a string onto a valid CPP name.
7974 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7975
7976 # Sed expression to map a string onto a valid variable name.
7977 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7978
7979
7980 # IFS
7981 # We need space, tab and new line, in precisely that order.
7982 as_nl='
7983 '
7984 IFS="   $as_nl"
7985
7986 # CDPATH.
7987 $as_unset CDPATH
7988
7989 exec 6>&1
7990
7991 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7992 # report actual input values of CONFIG_FILES etc. instead of their
7993 # values after options handling.  Logging --version etc. is OK.
7994 exec 5>>config.log
7995 {
7996   echo
7997   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7998 ## Running $as_me. ##
7999 _ASBOX
8000 } >&5
8001 cat >&5 <<_CSEOF
8002
8003 This file was extended by $as_me, which was
8004 generated by GNU Autoconf 2.59.  Invocation command line was
8005
8006   CONFIG_FILES    = $CONFIG_FILES
8007   CONFIG_HEADERS  = $CONFIG_HEADERS
8008   CONFIG_LINKS    = $CONFIG_LINKS
8009   CONFIG_COMMANDS = $CONFIG_COMMANDS
8010   $ $0 $@
8011
8012 _CSEOF
8013 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8014 echo >&5
8015 _ACEOF
8016
8017 # Files that config.status was made for.
8018 if test -n "$ac_config_files"; then
8019   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8020 fi
8021
8022 if test -n "$ac_config_headers"; then
8023   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8024 fi
8025
8026 if test -n "$ac_config_links"; then
8027   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8028 fi
8029
8030 if test -n "$ac_config_commands"; then
8031   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8032 fi
8033
8034 cat >>$CONFIG_STATUS <<\_ACEOF
8035
8036 ac_cs_usage="\
8037 \`$as_me' instantiates files from templates according to the
8038 current configuration.
8039
8040 Usage: $0 [OPTIONS] [FILE]...
8041
8042   -h, --help       print this help, then exit
8043   -V, --version    print version number, then exit
8044   -q, --quiet      do not print progress messages
8045   -d, --debug      don't remove temporary files
8046       --recheck    update $as_me by reconfiguring in the same conditions
8047   --file=FILE[:TEMPLATE]
8048                    instantiate the configuration file FILE
8049   --header=FILE[:TEMPLATE]
8050                    instantiate the configuration header FILE
8051
8052 Configuration files:
8053 $config_files
8054
8055 Configuration headers:
8056 $config_headers
8057
8058 Report bugs to <bug-autoconf@gnu.org>."
8059 _ACEOF
8060
8061 cat >>$CONFIG_STATUS <<_ACEOF
8062 ac_cs_version="\\
8063 config.status
8064 configured by $0, generated by GNU Autoconf 2.59,
8065   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8066
8067 Copyright (C) 2003 Free Software Foundation, Inc.
8068 This config.status script is free software; the Free Software Foundation
8069 gives unlimited permission to copy, distribute and modify it."
8070 srcdir=$srcdir
8071 INSTALL="$INSTALL"
8072 _ACEOF
8073
8074 cat >>$CONFIG_STATUS <<\_ACEOF
8075 # If no file are specified by the user, then we need to provide default
8076 # value.  By we need to know if files were specified by the user.
8077 ac_need_defaults=:
8078 while test $# != 0
8079 do
8080   case $1 in
8081   --*=*)
8082     ac_option=`expr "x$1" : 'x\([^=]*\)='`
8083     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8084     ac_shift=:
8085     ;;
8086   -*)
8087     ac_option=$1
8088     ac_optarg=$2
8089     ac_shift=shift
8090     ;;
8091   *) # This is not an option, so the user has probably given explicit
8092      # arguments.
8093      ac_option=$1
8094      ac_need_defaults=false;;
8095   esac
8096
8097   case $ac_option in
8098   # Handling of the options.
8099 _ACEOF
8100 cat >>$CONFIG_STATUS <<\_ACEOF
8101   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8102     ac_cs_recheck=: ;;
8103   --version | --vers* | -V )
8104     echo "$ac_cs_version"; exit 0 ;;
8105   --he | --h)
8106     # Conflict between --help and --header
8107     { { echo "$as_me:$LINENO: error: ambiguous option: $1
8108 Try \`$0 --help' for more information." >&5
8109 echo "$as_me: error: ambiguous option: $1
8110 Try \`$0 --help' for more information." >&2;}
8111    { (exit 1); exit 1; }; };;
8112   --help | --hel | -h )
8113     echo "$ac_cs_usage"; exit 0 ;;
8114   --debug | --d* | -d )
8115     debug=: ;;
8116   --file | --fil | --fi | --f )
8117     $ac_shift
8118     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8119     ac_need_defaults=false;;
8120   --header | --heade | --head | --hea )
8121     $ac_shift
8122     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8123     ac_need_defaults=false;;
8124   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8125   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8126     ac_cs_silent=: ;;
8127
8128   # This is an error.
8129   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8130 Try \`$0 --help' for more information." >&5
8131 echo "$as_me: error: unrecognized option: $1
8132 Try \`$0 --help' for more information." >&2;}
8133    { (exit 1); exit 1; }; } ;;
8134
8135   *) ac_config_targets="$ac_config_targets $1" ;;
8136
8137   esac
8138   shift
8139 done
8140
8141 ac_configure_extra_args=
8142
8143 if $ac_cs_silent; then
8144   exec 6>/dev/null
8145   ac_configure_extra_args="$ac_configure_extra_args --silent"
8146 fi
8147
8148 _ACEOF
8149 cat >>$CONFIG_STATUS <<_ACEOF
8150 if \$ac_cs_recheck; then
8151   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8152   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8153 fi
8154
8155 _ACEOF
8156
8157
8158
8159
8160
8161 cat >>$CONFIG_STATUS <<\_ACEOF
8162 for ac_config_target in $ac_config_targets
8163 do
8164   case "$ac_config_target" in
8165   # Handling of arguments.
8166   "Make.Rules" ) CONFIG_FILES="$CONFIG_FILES Make.Rules" ;;
8167   "_pam_aconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS _pam_aconf.h" ;;
8168   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8169 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8170    { (exit 1); exit 1; }; };;
8171   esac
8172 done
8173
8174 # If the user did not use the arguments to specify the items to instantiate,
8175 # then the envvar interface is used.  Set only those that are not.
8176 # We use the long form for the default assignment because of an extremely
8177 # bizarre bug on SunOS 4.1.3.
8178 if $ac_need_defaults; then
8179   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8180   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8181 fi
8182
8183 # Have a temporary directory for convenience.  Make it in the build tree
8184 # simply because there is no reason to put it here, and in addition,
8185 # creating and moving files from /tmp can sometimes cause problems.
8186 # Create a temporary directory, and hook for its removal unless debugging.
8187 $debug ||
8188 {
8189   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8190   trap '{ (exit 1); exit 1; }' 1 2 13 15
8191 }
8192
8193 # Create a (secure) tmp directory for tmp files.
8194
8195 {
8196   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8197   test -n "$tmp" && test -d "$tmp"
8198 }  ||
8199 {
8200   tmp=./confstat$$-$RANDOM
8201   (umask 077 && mkdir $tmp)
8202 } ||
8203 {
8204    echo "$me: cannot create a temporary directory in ." >&2
8205    { (exit 1); exit 1; }
8206 }
8207
8208 _ACEOF
8209
8210 cat >>$CONFIG_STATUS <<_ACEOF
8211
8212 #
8213 # CONFIG_FILES section.
8214 #
8215
8216 # No need to generate the scripts if there are no CONFIG_FILES.
8217 # This happens for instance when ./config.status config.h
8218 if test -n "\$CONFIG_FILES"; then
8219   # Protect against being on the right side of a sed subst in config.status.
8220   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8221    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8222 s,@SHELL@,$SHELL,;t t
8223 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8224 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8225 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8226 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8227 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8228 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8229 s,@exec_prefix@,$exec_prefix,;t t
8230 s,@prefix@,$prefix,;t t
8231 s,@program_transform_name@,$program_transform_name,;t t
8232 s,@bindir@,$bindir,;t t
8233 s,@sbindir@,$sbindir,;t t
8234 s,@libexecdir@,$libexecdir,;t t
8235 s,@datadir@,$datadir,;t t
8236 s,@sysconfdir@,$sysconfdir,;t t
8237 s,@sharedstatedir@,$sharedstatedir,;t t
8238 s,@localstatedir@,$localstatedir,;t t
8239 s,@libdir@,$libdir,;t t
8240 s,@includedir@,$includedir,;t t
8241 s,@oldincludedir@,$oldincludedir,;t t
8242 s,@infodir@,$infodir,;t t
8243 s,@mandir@,$mandir,;t t
8244 s,@build_alias@,$build_alias,;t t
8245 s,@host_alias@,$host_alias,;t t
8246 s,@target_alias@,$target_alias,;t t
8247 s,@DEFS@,$DEFS,;t t
8248 s,@ECHO_C@,$ECHO_C,;t t
8249 s,@ECHO_N@,$ECHO_N,;t t
8250 s,@ECHO_T@,$ECHO_T,;t t
8251 s,@LIBS@,$LIBS,;t t
8252 s,@LIBPAM_VERSION_MAJOR@,$LIBPAM_VERSION_MAJOR,;t t
8253 s,@LIBPAM_VERSION_MINOR@,$LIBPAM_VERSION_MINOR,;t t
8254 s,@LOCALSRCDIR@,$LOCALSRCDIR,;t t
8255 s,@LOCALOBJDIR@,$LOCALOBJDIR,;t t
8256 s,@OS@,$OS,;t t
8257 s,@CONF_CFLAGS@,$CONF_CFLAGS,;t t
8258 s,@MKDIR@,$MKDIR,;t t
8259 s,@SHLIBMODE@,$SHLIBMODE,;t t
8260 s,@MANMODE@,$MANMODE,;t t
8261 s,@USESONAME@,$USESONAME,;t t
8262 s,@SOSWITCH@,$SOSWITCH,;t t
8263 s,@NEEDSONAME@,$NEEDSONAME,;t t
8264 s,@LDCONFIG@,$LDCONFIG,;t t
8265 s,@CC@,$CC,;t t
8266 s,@CFLAGS@,$CFLAGS,;t t
8267 s,@LDFLAGS@,$LDFLAGS,;t t
8268 s,@CPPFLAGS@,$CPPFLAGS,;t t
8269 s,@ac_ct_CC@,$ac_ct_CC,;t t
8270 s,@EXEEXT@,$EXEEXT,;t t
8271 s,@OBJEXT@,$OBJEXT,;t t
8272 s,@YACC@,$YACC,;t t
8273 s,@LEX@,$LEX,;t t
8274 s,@LEXLIB@,$LEXLIB,;t t
8275 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
8276 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8277 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8278 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8279 s,@LN_S@,$LN_S,;t t
8280 s,@SET_MAKE@,$SET_MAKE,;t t
8281 s,@WITH_DEBUG@,$WITH_DEBUG,;t t
8282 s,@WITH_MEMORY_DEBUG@,$WITH_MEMORY_DEBUG,;t t
8283 s,@WITH_LIBDEBUG@,$WITH_LIBDEBUG,;t t
8284 s,@FAKEROOT@,$FAKEROOT,;t t
8285 s,@SECUREDIR@,$SECUREDIR,;t t
8286 s,@SCONFIGDIR@,$SCONFIGDIR,;t t
8287 s,@SUPLEMENTED@,$SUPLEMENTED,;t t
8288 s,@INCLUDEDIR@,$INCLUDEDIR,;t t
8289 s,@DOCDIR@,$DOCDIR,;t t
8290 s,@MANDIR@,$MANDIR,;t t
8291 s,@WITH_PAMLOCKING@,$WITH_PAMLOCKING,;t t
8292 s,@PAM_READ_BOTH_CONFS@,$PAM_READ_BOTH_CONFS,;t t
8293 s,@STATIC_LIBPAM@,$STATIC_LIBPAM,;t t
8294 s,@DYNAMIC_LIBPAM@,$DYNAMIC_LIBPAM,;t t
8295 s,@DYNAMIC@,$DYNAMIC,;t t
8296 s,@STATIC@,$STATIC,;t t
8297 s,@WITH_LCKPWDF@,$WITH_LCKPWDF,;t t
8298 s,@CPP@,$CPP,;t t
8299 s,@EGREP@,$EGREP,;t t
8300 s,@PAM_NEEDS_LIBC@,$PAM_NEEDS_LIBC,;t t
8301 s,@HAVE_LCKPWDF@,$HAVE_LCKPWDF,;t t
8302 s,@LIBDL@,$LIBDL,;t t
8303 s,@HAVE_LIBCRACK@,$HAVE_LIBCRACK,;t t
8304 s,@HAVE_LIBCRYPT@,$HAVE_LIBCRYPT,;t t
8305 s,@HAVE_LIBUTIL@,$HAVE_LIBUTIL,;t t
8306 s,@HAVE_LIBNDBM@,$HAVE_LIBNDBM,;t t
8307 s,@HAVE_LIBDB@,$HAVE_LIBDB,;t t
8308 s,@HAVE_LIBFL@,$HAVE_LIBFL,;t t
8309 s,@HAVE_LIBNSL@,$HAVE_LIBNSL,;t t
8310 s,@HAVE_LIBPWDB@,$HAVE_LIBPWDB,;t t
8311 s,@HAVE_LIBFLEX@,$HAVE_LIBFLEX,;t t
8312 s,@HAVE_LIBLEX@,$HAVE_LIBLEX,;t t
8313 s,@HAVE_NDBM_H@,$HAVE_NDBM_H,;t t
8314 s,@CRACKLIB_DICTPATH@,$CRACKLIB_DICTPATH,;t t
8315 s,@DYNTYPE@,$DYNTYPE,;t t
8316 s,@OS_CFLAGS@,$OS_CFLAGS,;t t
8317 s,@WARNINGS@,$WARNINGS,;t t
8318 s,@PIC@,$PIC,;t t
8319 s,@LD@,$LD,;t t
8320 s,@LD_D@,$LD_D,;t t
8321 s,@LD_L@,$LD_L,;t t
8322 s,@RANLIB@,$RANLIB,;t t
8323 s,@STRIP@,$STRIP,;t t
8324 s,@CC_STATIC@,$CC_STATIC,;t t
8325 s,@LIBOBJS@,$LIBOBJS,;t t
8326 s,@HAVE_SGML2TXT@,$HAVE_SGML2TXT,;t t
8327 s,@HAVE_SGML2HTML@,$HAVE_SGML2HTML,;t t
8328 s,@HAVE_SGML2LATEX@,$HAVE_SGML2LATEX,;t t
8329 s,@HAVE_PS2PDF@,$HAVE_PS2PDF,;t t
8330 s,@HAVE_SGML2PS@,$HAVE_SGML2PS,;t t
8331 s,@PSER@,$PSER,;t t
8332 s,@PS2PDF@,$PS2PDF,;t t
8333 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8334 CEOF
8335
8336 _ACEOF
8337
8338   cat >>$CONFIG_STATUS <<\_ACEOF
8339   # Split the substitutions into bite-sized pieces for seds with
8340   # small command number limits, like on Digital OSF/1 and HP-UX.
8341   ac_max_sed_lines=48
8342   ac_sed_frag=1 # Number of current file.
8343   ac_beg=1 # First line for current file.
8344   ac_end=$ac_max_sed_lines # Line after last line for current file.
8345   ac_more_lines=:
8346   ac_sed_cmds=
8347   while $ac_more_lines; do
8348     if test $ac_beg -gt 1; then
8349       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8350     else
8351       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8352     fi
8353     if test ! -s $tmp/subs.frag; then
8354       ac_more_lines=false
8355     else
8356       # The purpose of the label and of the branching condition is to
8357       # speed up the sed processing (if there are no `@' at all, there
8358       # is no need to browse any of the substitutions).
8359       # These are the two extra sed commands mentioned above.
8360       (echo ':t
8361   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8362       if test -z "$ac_sed_cmds"; then
8363         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8364       else
8365         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8366       fi
8367       ac_sed_frag=`expr $ac_sed_frag + 1`
8368       ac_beg=$ac_end
8369       ac_end=`expr $ac_end + $ac_max_sed_lines`
8370     fi
8371   done
8372   if test -z "$ac_sed_cmds"; then
8373     ac_sed_cmds=cat
8374   fi
8375 fi # test -n "$CONFIG_FILES"
8376
8377 _ACEOF
8378 cat >>$CONFIG_STATUS <<\_ACEOF
8379 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8380   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8381   case $ac_file in
8382   - | *:- | *:-:* ) # input from stdin
8383         cat >$tmp/stdin
8384         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8385         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8386   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8387         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8388   * )   ac_file_in=$ac_file.in ;;
8389   esac
8390
8391   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8392   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8394          X"$ac_file" : 'X\(//\)[^/]' \| \
8395          X"$ac_file" : 'X\(//\)$' \| \
8396          X"$ac_file" : 'X\(/\)' \| \
8397          .     : '\(.\)' 2>/dev/null ||
8398 echo X"$ac_file" |
8399     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8400           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8401           /^X\(\/\/\)$/{ s//\1/; q; }
8402           /^X\(\/\).*/{ s//\1/; q; }
8403           s/.*/./; q'`
8404   { if $as_mkdir_p; then
8405     mkdir -p "$ac_dir"
8406   else
8407     as_dir="$ac_dir"
8408     as_dirs=
8409     while test ! -d "$as_dir"; do
8410       as_dirs="$as_dir $as_dirs"
8411       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8413          X"$as_dir" : 'X\(//\)[^/]' \| \
8414          X"$as_dir" : 'X\(//\)$' \| \
8415          X"$as_dir" : 'X\(/\)' \| \
8416          .     : '\(.\)' 2>/dev/null ||
8417 echo X"$as_dir" |
8418     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8419           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8420           /^X\(\/\/\)$/{ s//\1/; q; }
8421           /^X\(\/\).*/{ s//\1/; q; }
8422           s/.*/./; q'`
8423     done
8424     test ! -n "$as_dirs" || mkdir $as_dirs
8425   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8426 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8427    { (exit 1); exit 1; }; }; }
8428
8429   ac_builddir=.
8430
8431 if test "$ac_dir" != .; then
8432   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8433   # A "../" for each directory in $ac_dir_suffix.
8434   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8435 else
8436   ac_dir_suffix= ac_top_builddir=
8437 fi
8438
8439 case $srcdir in
8440   .)  # No --srcdir option.  We are building in place.
8441     ac_srcdir=.
8442     if test -z "$ac_top_builddir"; then
8443        ac_top_srcdir=.
8444     else
8445        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8446     fi ;;
8447   [\\/]* | ?:[\\/]* )  # Absolute path.
8448     ac_srcdir=$srcdir$ac_dir_suffix;
8449     ac_top_srcdir=$srcdir ;;
8450   *) # Relative path.
8451     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8452     ac_top_srcdir=$ac_top_builddir$srcdir ;;
8453 esac
8454
8455 # Do not use `cd foo && pwd` to compute absolute paths, because
8456 # the directories may not exist.
8457 case `pwd` in
8458 .) ac_abs_builddir="$ac_dir";;
8459 *)
8460   case "$ac_dir" in
8461   .) ac_abs_builddir=`pwd`;;
8462   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8463   *) ac_abs_builddir=`pwd`/"$ac_dir";;
8464   esac;;
8465 esac
8466 case $ac_abs_builddir in
8467 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8468 *)
8469   case ${ac_top_builddir}. in
8470   .) ac_abs_top_builddir=$ac_abs_builddir;;
8471   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8472   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8473   esac;;
8474 esac
8475 case $ac_abs_builddir in
8476 .) ac_abs_srcdir=$ac_srcdir;;
8477 *)
8478   case $ac_srcdir in
8479   .) ac_abs_srcdir=$ac_abs_builddir;;
8480   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8481   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8482   esac;;
8483 esac
8484 case $ac_abs_builddir in
8485 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8486 *)
8487   case $ac_top_srcdir in
8488   .) ac_abs_top_srcdir=$ac_abs_builddir;;
8489   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8490   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8491   esac;;
8492 esac
8493
8494
8495   case $INSTALL in
8496   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8497   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8498   esac
8499
8500   if test x"$ac_file" != x-; then
8501     { echo "$as_me:$LINENO: creating $ac_file" >&5
8502 echo "$as_me: creating $ac_file" >&6;}
8503     rm -f "$ac_file"
8504   fi
8505   # Let's still pretend it is `configure' which instantiates (i.e., don't
8506   # use $as_me), people would be surprised to read:
8507   #    /* config.h.  Generated by config.status.  */
8508   if test x"$ac_file" = x-; then
8509     configure_input=
8510   else
8511     configure_input="$ac_file.  "
8512   fi
8513   configure_input=$configure_input"Generated from `echo $ac_file_in |
8514                                      sed 's,.*/,,'` by configure."
8515
8516   # First look for the input files in the build tree, otherwise in the
8517   # src tree.
8518   ac_file_inputs=`IFS=:
8519     for f in $ac_file_in; do
8520       case $f in
8521       -) echo $tmp/stdin ;;
8522       [\\/$]*)
8523          # Absolute (can't be DOS-style, as IFS=:)
8524          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8525 echo "$as_me: error: cannot find input file: $f" >&2;}
8526    { (exit 1); exit 1; }; }
8527          echo "$f";;
8528       *) # Relative
8529          if test -f "$f"; then
8530            # Build tree
8531            echo "$f"
8532          elif test -f "$srcdir/$f"; then
8533            # Source tree
8534            echo "$srcdir/$f"
8535          else
8536            # /dev/null tree
8537            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8538 echo "$as_me: error: cannot find input file: $f" >&2;}
8539    { (exit 1); exit 1; }; }
8540          fi;;
8541       esac
8542     done` || { (exit 1); exit 1; }
8543 _ACEOF
8544 cat >>$CONFIG_STATUS <<_ACEOF
8545   sed "$ac_vpsub
8546 $extrasub
8547 _ACEOF
8548 cat >>$CONFIG_STATUS <<\_ACEOF
8549 :t
8550 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8551 s,@configure_input@,$configure_input,;t t
8552 s,@srcdir@,$ac_srcdir,;t t
8553 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8554 s,@top_srcdir@,$ac_top_srcdir,;t t
8555 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8556 s,@builddir@,$ac_builddir,;t t
8557 s,@abs_builddir@,$ac_abs_builddir,;t t
8558 s,@top_builddir@,$ac_top_builddir,;t t
8559 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8560 s,@INSTALL@,$ac_INSTALL,;t t
8561 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8562   rm -f $tmp/stdin
8563   if test x"$ac_file" != x-; then
8564     mv $tmp/out $ac_file
8565   else
8566     cat $tmp/out
8567     rm -f $tmp/out
8568   fi
8569
8570 done
8571 _ACEOF
8572 cat >>$CONFIG_STATUS <<\_ACEOF
8573
8574 #
8575 # CONFIG_HEADER section.
8576 #
8577
8578 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8579 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8580 #
8581 # ac_d sets the value in "#define NAME VALUE" lines.
8582 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
8583 ac_dB='[         ].*$,\1#\2'
8584 ac_dC=' '
8585 ac_dD=',;t'
8586 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8587 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8588 ac_uB='$,\1#\2define\3'
8589 ac_uC=' '
8590 ac_uD=',;t'
8591
8592 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8593   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8594   case $ac_file in
8595   - | *:- | *:-:* ) # input from stdin
8596         cat >$tmp/stdin
8597         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8598         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8599   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8600         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8601   * )   ac_file_in=$ac_file.in ;;
8602   esac
8603
8604   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8605 echo "$as_me: creating $ac_file" >&6;}
8606
8607   # First look for the input files in the build tree, otherwise in the
8608   # src tree.
8609   ac_file_inputs=`IFS=:
8610     for f in $ac_file_in; do
8611       case $f in
8612       -) echo $tmp/stdin ;;
8613       [\\/$]*)
8614          # Absolute (can't be DOS-style, as IFS=:)
8615          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8616 echo "$as_me: error: cannot find input file: $f" >&2;}
8617    { (exit 1); exit 1; }; }
8618          # Do quote $f, to prevent DOS paths from being IFS'd.
8619          echo "$f";;
8620       *) # Relative
8621          if test -f "$f"; then
8622            # Build tree
8623            echo "$f"
8624          elif test -f "$srcdir/$f"; then
8625            # Source tree
8626            echo "$srcdir/$f"
8627          else
8628            # /dev/null tree
8629            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8630 echo "$as_me: error: cannot find input file: $f" >&2;}
8631    { (exit 1); exit 1; }; }
8632          fi;;
8633       esac
8634     done` || { (exit 1); exit 1; }
8635   # Remove the trailing spaces.
8636   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
8637
8638 _ACEOF
8639
8640 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8641 # `conftest.undefs', that substitutes the proper values into
8642 # config.h.in to produce config.h.  The first handles `#define'
8643 # templates, and the second `#undef' templates.
8644 # And first: Protect against being on the right side of a sed subst in
8645 # config.status.  Protect against being in an unquoted here document
8646 # in config.status.
8647 rm -f conftest.defines conftest.undefs
8648 # Using a here document instead of a string reduces the quoting nightmare.
8649 # Putting comments in sed scripts is not portable.
8650 #
8651 # `end' is used to avoid that the second main sed command (meant for
8652 # 0-ary CPP macros) applies to n-ary macro definitions.
8653 # See the Autoconf documentation for `clear'.
8654 cat >confdef2sed.sed <<\_ACEOF
8655 s/[\\&,]/\\&/g
8656 s,[\\$`],\\&,g
8657 t clear
8658 : clear
8659 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8660 t end
8661 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8662 : end
8663 _ACEOF
8664 # If some macros were called several times there might be several times
8665 # the same #defines, which is useless.  Nevertheless, we may not want to
8666 # sort them, since we want the *last* AC-DEFINE to be honored.
8667 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8668 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8669 rm -f confdef2sed.sed
8670
8671 # This sed command replaces #undef with comments.  This is necessary, for
8672 # example, in the case of _POSIX_SOURCE, which is predefined and required
8673 # on some systems where configure will not decide to define it.
8674 cat >>conftest.undefs <<\_ACEOF
8675 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8676 _ACEOF
8677
8678 # Break up conftest.defines because some shells have a limit on the size
8679 # of here documents, and old seds have small limits too (100 cmds).
8680 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8681 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8682 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8683 echo '  :' >>$CONFIG_STATUS
8684 rm -f conftest.tail
8685 while grep . conftest.defines >/dev/null
8686 do
8687   # Write a limited-size here document to $tmp/defines.sed.
8688   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8689   # Speed up: don't consider the non `#define' lines.
8690   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
8691   # Work around the forget-to-reset-the-flag bug.
8692   echo 't clr' >>$CONFIG_STATUS
8693   echo ': clr' >>$CONFIG_STATUS
8694   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8695   echo 'CEOF
8696   sed -f $tmp/defines.sed $tmp/in >$tmp/out
8697   rm -f $tmp/in
8698   mv $tmp/out $tmp/in
8699 ' >>$CONFIG_STATUS
8700   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8701   rm -f conftest.defines
8702   mv conftest.tail conftest.defines
8703 done
8704 rm -f conftest.defines
8705 echo '  fi # grep' >>$CONFIG_STATUS
8706 echo >>$CONFIG_STATUS
8707
8708 # Break up conftest.undefs because some shells have a limit on the size
8709 # of here documents, and old seds have small limits too (100 cmds).
8710 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
8711 rm -f conftest.tail
8712 while grep . conftest.undefs >/dev/null
8713 do
8714   # Write a limited-size here document to $tmp/undefs.sed.
8715   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8716   # Speed up: don't consider the non `#undef'
8717   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
8718   # Work around the forget-to-reset-the-flag bug.
8719   echo 't clr' >>$CONFIG_STATUS
8720   echo ': clr' >>$CONFIG_STATUS
8721   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8722   echo 'CEOF
8723   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8724   rm -f $tmp/in
8725   mv $tmp/out $tmp/in
8726 ' >>$CONFIG_STATUS
8727   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8728   rm -f conftest.undefs
8729   mv conftest.tail conftest.undefs
8730 done
8731 rm -f conftest.undefs
8732
8733 cat >>$CONFIG_STATUS <<\_ACEOF
8734   # Let's still pretend it is `configure' which instantiates (i.e., don't
8735   # use $as_me), people would be surprised to read:
8736   #    /* config.h.  Generated by config.status.  */
8737   if test x"$ac_file" = x-; then
8738     echo "/* Generated by configure.  */" >$tmp/config.h
8739   else
8740     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
8741   fi
8742   cat $tmp/in >>$tmp/config.h
8743   rm -f $tmp/in
8744   if test x"$ac_file" != x-; then
8745     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8746       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8747 echo "$as_me: $ac_file is unchanged" >&6;}
8748     else
8749       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8750 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8751          X"$ac_file" : 'X\(//\)[^/]' \| \
8752          X"$ac_file" : 'X\(//\)$' \| \
8753          X"$ac_file" : 'X\(/\)' \| \
8754          .     : '\(.\)' 2>/dev/null ||
8755 echo X"$ac_file" |
8756     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8757           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8758           /^X\(\/\/\)$/{ s//\1/; q; }
8759           /^X\(\/\).*/{ s//\1/; q; }
8760           s/.*/./; q'`
8761       { if $as_mkdir_p; then
8762     mkdir -p "$ac_dir"
8763   else
8764     as_dir="$ac_dir"
8765     as_dirs=
8766     while test ! -d "$as_dir"; do
8767       as_dirs="$as_dir $as_dirs"
8768       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8769 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8770          X"$as_dir" : 'X\(//\)[^/]' \| \
8771          X"$as_dir" : 'X\(//\)$' \| \
8772          X"$as_dir" : 'X\(/\)' \| \
8773          .     : '\(.\)' 2>/dev/null ||
8774 echo X"$as_dir" |
8775     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8776           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8777           /^X\(\/\/\)$/{ s//\1/; q; }
8778           /^X\(\/\).*/{ s//\1/; q; }
8779           s/.*/./; q'`
8780     done
8781     test ! -n "$as_dirs" || mkdir $as_dirs
8782   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8783 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8784    { (exit 1); exit 1; }; }; }
8785
8786       rm -f $ac_file
8787       mv $tmp/config.h $ac_file
8788     fi
8789   else
8790     cat $tmp/config.h
8791     rm -f $tmp/config.h
8792   fi
8793 done
8794 _ACEOF
8795
8796 cat >>$CONFIG_STATUS <<\_ACEOF
8797
8798 { (exit 0); exit 0; }
8799 _ACEOF
8800 chmod +x $CONFIG_STATUS
8801 ac_clean_files=$ac_clean_files_save
8802
8803
8804 # configure is writing to config.log, and then calls config.status.
8805 # config.status does its own redirection, appending to config.log.
8806 # Unfortunately, on DOS this fails, as config.log is still kept open
8807 # by configure, so config.status won't be able to write to it; its
8808 # output is simply discarded.  So we exec the FD to /dev/null,
8809 # effectively closing config.log, so it can be properly (re)opened and
8810 # appended to by config.status.  When coming back to configure, we
8811 # need to make the FD available again.
8812 if test "$no_create" != yes; then
8813   ac_cs_success=:
8814   ac_config_status_args=
8815   test "$silent" = yes &&
8816     ac_config_status_args="$ac_config_status_args --quiet"
8817   exec 5>/dev/null
8818   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8819   exec 5>>config.log
8820   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8821   # would make configure fail if this is the last instruction.
8822   $ac_cs_success || { (exit 1); exit 1; }
8823 fi
8824