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