Debian Codegraph @

configure

raw symbols SCIP
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
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='Authen::PAM'
269 PACKAGE_TARNAME='Authen-PAM'
270 PACKAGE_VERSION='0.16'
271 PACKAGE_STRING='Authen::PAM 0.16'
272 PACKAGE_BUGREPORT=''
273
274 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP DL_LOAD_FLAGS LIBOBJS LTLIBOBJS'
275 ac_subst_files=''
276
277 # Initialize some variables set by options.
278 ac_init_help=
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
282 cache_file=/dev/null
283 exec_prefix=NONE
284 no_create=
285 no_recursion=
286 prefix=NONE
287 program_prefix=NONE
288 program_suffix=NONE
289 program_transform_name=s,x,x,
290 silent=
291 site=
292 srcdir=
293 verbose=
294 x_includes=NONE
295 x_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.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
314
315 ac_prev=
316 for ac_option
317 do
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
589 Try \`$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
612 done
613
614 if 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; }; }
618 fi
619
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
622 do
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
629 done
630
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
634 do
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
641 done
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.
646 build=$build_alias
647 host=$host_alias
648 target=$target_alias
649
650 # FIXME: To remove some day.
651 if 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
659 fi
660
661 ac_tool_prefix=
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
663
664 test "$silent" = yes && exec 6>/dev/null
665
666
667 # Find the source files, if location was not specified.
668 if 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 ||
677 echo 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
687 else
688 ac_srcdir_defaulted=no
689 fi
690 if 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
698 fi
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; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
715 ac_env_CC_set=${CC+set}
716 ac_env_CC_value=$CC
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731 ac_env_CPP_set=${CPP+set}
732 ac_env_CPP_value=$CPP
733 ac_cv_env_CPP_set=${CPP+set}
734 ac_cv_env_CPP_value=$CPP
735
736 #
737 # Report the --help message.
738 #
739 if 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
745 Usage: $0 [OPTION]... [VAR=VALUE]...
746
747 To assign environment variables (e.g., CC, CFLAGS...), specify them as
748 VAR=VALUE. See below for descriptions of some of the useful variables.
749
750 Defaults for the options are specified in brackets.
751
752 Configuration:
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
766 Installation 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
772 By default, \`make install' will install all the files in
773 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775 for instance \`--prefix=\$HOME'.
776
777 For better control, use the options below.
778
779 Fine 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
796 fi
797
798 if 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
804 Some 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
813 Use these variables to override the choices made by `configure' or to help
814 it to find libraries and programs with nonstandard names/locations.
815
816 _ACEOF
817 fi
818
819 if 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
826 if 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'`
830 else
831 ac_dir_suffix= ac_top_builddir=
832 fi
833
834 case $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 ;;
848 esac
849
850 # Do not use `cd foo && pwd` to compute absolute paths, because
851 # the directories may not exist.
852 case `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;;
860 esac
861 case $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;;
869 esac
870 case $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;;
878 esac
879 case $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;;
887 esac
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
906 fi
907
908 test -n "$ac_init_help" && exit 0
909 if $ac_init_version; then
910 cat <<\_ACEOF
911 Authen::PAM configure 0.16
912 generated by GNU Autoconf 2.59
913
914 Copyright (C) 2003 Free Software Foundation, Inc.
915 This configure script is free software; the Free Software Foundation
916 gives unlimited permission to copy, distribute and modify it.
917 _ACEOF
918 exit 0
919 fi
920 exec 5>config.log
921 cat >&5 <<_ACEOF
922 This file contains any messages produced by compilers while
923 running configure, to aid debugging if configure makes a mistake.
924
925 It was created by Authen::PAM $as_me 0.16, which was
926 generated by GNU Autoconf 2.59. Invocation command line was
927
928 $ $0 $@
929
930 _ACEOF
931 {
932 cat <<_ASUNAME
933 ## --------- ##
934 ## Platform. ##
935 ## --------- ##
936
937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
941 uname -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`
949 hostinfo = `(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
956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
957 for as_dir in $PATH
958 do
959 IFS=$as_save_IFS
960 test -z "$as_dir" && as_dir=.
961 echo "PATH: $as_dir"
962 done
963
964 } >&5
965
966 cat >&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.
981 ac_configure_args=
982 ac_configure_args0=
983 ac_configure_args1=
984 ac_sep=
985 ac_must_keep_next=false
986 for ac_pass in 1 2
987 do
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
1023 done
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.
1032 trap '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
1106 for ac_signal in 1 2 13 15; do
1107 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1108 done
1109 ac_signal=0
1110
1111 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1112 rm -rf conftest* confdefs.h
1113 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1114 echo >confdefs.h
1115
1116 # Predefined preprocessor variables.
1117
1118 cat >>confdefs.h <<_ACEOF
1119 #define PACKAGE_NAME "$PACKAGE_NAME"
1120 _ACEOF
1121
1122
1123 cat >>confdefs.h <<_ACEOF
1124 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1125 _ACEOF
1126
1127
1128 cat >>confdefs.h <<_ACEOF
1129 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1130 _ACEOF
1131
1132
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_STRING "$PACKAGE_STRING"
1135 _ACEOF
1136
1137
1138 cat >>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.
1145 if 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
1151 fi
1152 for 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
1155 echo "$as_me: loading site script $ac_site_file" >&6;}
1156 sed 's/^/| /' "$ac_site_file" >&5
1157 . "$ac_site_file"
1158 fi
1159 done
1160
1161 if 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
1166 echo "$as_me: loading cache $cache_file" >&6;}
1167 case $cache_file in
1168 [\\/]* | ?:[\\/]* ) . $cache_file;;
1169 *) . ./$cache_file;;
1170 esac
1171 fi
1172 else
1173 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1174 echo "$as_me: creating cache $cache_file" >&6;}
1175 >$cache_file
1176 fi
1177
1178 # Check that the precious variables saved in the cache have kept the same
1179 # value.
1180 ac_cache_corrupted=false
1181 for 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
1190 echo "$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
1194 echo "$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
1200 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1201 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1202 echo "$as_me: former value: $ac_old_val" >&2;}
1203 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1204 echo "$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
1220 done
1221 if $ac_cache_corrupted; then
1222 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1223 echo "$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
1225 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1226 { (exit 1); exit 1; }; }
1227 fi
1228
1229 ac_ext=c
1230 ac_cpp='$CPP $CPPFLAGS'
1231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1233 ac_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
1267 ac_ext=c
1268 ac_cpp='$CPP $CPPFLAGS'
1269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1272 if 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.
1274 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1275 echo "$as_me:$LINENO: checking for $ac_word" >&5
1276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1277 if test "${ac_cv_prog_CC+set}" = set; then
1278 echo $ECHO_N "(cached) $ECHO_C" >&6
1279 else
1280 if test -n "$CC"; then
1281 ac_cv_prog_CC="$CC" # Let the user override the test.
1282 else
1283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1284 for as_dir in $PATH
1285 do
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
1294 done
1295 done
1296
1297 fi
1298 fi
1299 CC=$ac_cv_prog_CC
1300 if test -n "$CC"; then
1301 echo "$as_me:$LINENO: result: $CC" >&5
1302 echo "${ECHO_T}$CC" >&6
1303 else
1304 echo "$as_me:$LINENO: result: no" >&5
1305 echo "${ECHO_T}no" >&6
1306 fi
1307
1308 fi
1309 if 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.
1312 set dummy gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318 if test -n "$ac_ct_CC"; then
1319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1320 else
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322 for as_dir in $PATH
1323 do
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
1332 done
1333 done
1334
1335 fi
1336 fi
1337 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1338 if test -n "$ac_ct_CC"; then
1339 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1340 echo "${ECHO_T}$ac_ct_CC" >&6
1341 else
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1344 fi
1345
1346 CC=$ac_ct_CC
1347 else
1348 CC="$ac_cv_prog_CC"
1349 fi
1350
1351 if 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.
1354 set dummy ${ac_tool_prefix}cc; ac_word=$2
1355 echo "$as_me:$LINENO: checking for $ac_word" >&5
1356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1357 if test "${ac_cv_prog_CC+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 else
1360 if test -n "$CC"; then
1361 ac_cv_prog_CC="$CC" # Let the user override the test.
1362 else
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1365 do
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
1374 done
1375 done
1376
1377 fi
1378 fi
1379 CC=$ac_cv_prog_CC
1380 if test -n "$CC"; then
1381 echo "$as_me:$LINENO: result: $CC" >&5
1382 echo "${ECHO_T}$CC" >&6
1383 else
1384 echo "$as_me:$LINENO: result: no" >&5
1385 echo "${ECHO_T}no" >&6
1386 fi
1387
1388 fi
1389 if 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.
1392 set dummy cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 else
1398 if test -n "$ac_ct_CC"; then
1399 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1400 else
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402 for as_dir in $PATH
1403 do
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
1412 done
1413 done
1414
1415 fi
1416 fi
1417 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1418 if test -n "$ac_ct_CC"; then
1419 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1420 echo "${ECHO_T}$ac_ct_CC" >&6
1421 else
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1424 fi
1425
1426 CC=$ac_ct_CC
1427 else
1428 CC="$ac_cv_prog_CC"
1429 fi
1430
1431 fi
1432 if test -z "$CC"; then
1433 # Extract the first word of "cc", so it can be a program name with args.
1434 set dummy cc; ac_word=$2
1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437 if test "${ac_cv_prog_CC+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 else
1440 if test -n "$CC"; then
1441 ac_cv_prog_CC="$CC" # Let the user override the test.
1442 else
1443 ac_prog_rejected=no
1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 for as_dir in $PATH
1446 do
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
1459 done
1460 done
1461
1462 if 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
1473 fi
1474 fi
1475 fi
1476 CC=$ac_cv_prog_CC
1477 if test -n "$CC"; then
1478 echo "$as_me:$LINENO: result: $CC" >&5
1479 echo "${ECHO_T}$CC" >&6
1480 else
1481 echo "$as_me:$LINENO: result: no" >&5
1482 echo "${ECHO_T}no" >&6
1483 fi
1484
1485 fi
1486 if 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.
1491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1492 echo "$as_me:$LINENO: checking for $ac_word" >&5
1493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1494 if test "${ac_cv_prog_CC+set}" = set; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1496 else
1497 if test -n "$CC"; then
1498 ac_cv_prog_CC="$CC" # Let the user override the test.
1499 else
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 for as_dir in $PATH
1502 do
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
1511 done
1512 done
1513
1514 fi
1515 fi
1516 CC=$ac_cv_prog_CC
1517 if test -n "$CC"; then
1518 echo "$as_me:$LINENO: result: $CC" >&5
1519 echo "${ECHO_T}$CC" >&6
1520 else
1521 echo "$as_me:$LINENO: result: no" >&5
1522 echo "${ECHO_T}no" >&6
1523 fi
1524
1525 test -n "$CC" && break
1526 done
1527 fi
1528 if test -z "$CC"; then
1529 ac_ct_CC=$CC
1530 for ac_prog in cl
1531 do
1532 # Extract the first word of "$ac_prog", so it can be a program name with args.
1533 set dummy $ac_prog; ac_word=$2
1534 echo "$as_me:$LINENO: checking for $ac_word" >&5
1535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1538 else
1539 if test -n "$ac_ct_CC"; then
1540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1541 else
1542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 for as_dir in $PATH
1544 do
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
1553 done
1554 done
1555
1556 fi
1557 fi
1558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1559 if test -n "$ac_ct_CC"; then
1560 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1561 echo "${ECHO_T}$ac_ct_CC" >&6
1562 else
1563 echo "$as_me:$LINENO: result: no" >&5
1564 echo "${ECHO_T}no" >&6
1565 fi
1566
1567 test -n "$ac_ct_CC" && break
1568 done
1569
1570 CC=$ac_ct_CC
1571 fi
1572
1573 fi
1574
1575
1576 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1577 See \`config.log' for more details." >&5
1578 echo "$as_me: error: no acceptable C compiler found in \$PATH
1579 See \`config.log' for more details." >&2;}
1580 { (exit 1); exit 1; }; }
1581
1582 # Provide some information about the compiler.
1583 echo "$as_me:$LINENO:" \
1584 "checking for C compiler version" >&5
1585 ac_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
1602 cat >conftest.$ac_ext <<_ACEOF
1603 /* confdefs.h. */
1604 _ACEOF
1605 cat confdefs.h >>conftest.$ac_ext
1606 cat >>conftest.$ac_ext <<_ACEOF
1607 /* end confdefs.h. */
1608
1609 int
1610 main ()
1611 {
1612
1613 ;
1614 return 0;
1615 }
1616 _ACEOF
1617 ac_clean_files_save=$ac_clean_files
1618 ac_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.
1622 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1623 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1624 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1625 if { (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.
1636 ac_cv_exeext=
1637 # b.out is created by i960 compilers.
1638 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1639 do
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
1661 done
1662 else
1663 echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1665
1666 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1667 See \`config.log' for more details." >&5
1668 echo "$as_me: error: C compiler cannot create executables
1669 See \`config.log' for more details." >&2;}
1670 { (exit 77); exit 77; }; }
1671 fi
1672
1673 ac_exeext=$ac_cv_exeext
1674 echo "$as_me:$LINENO: result: $ac_file" >&5
1675 echo "${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.
1679 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1680 echo $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.
1683 if 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.
1696 If you meant to cross compile, use \`--host'.
1697 See \`config.log' for more details." >&5
1698 echo "$as_me: error: cannot run C compiled programs.
1699 If you meant to cross compile, use \`--host'.
1700 See \`config.log' for more details." >&2;}
1701 { (exit 1); exit 1; }; }
1702 fi
1703 fi
1704 fi
1705 echo "$as_me:$LINENO: result: yes" >&5
1706 echo "${ECHO_T}yes" >&6
1707
1708 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1709 ac_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.
1712 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1713 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1714 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1715 echo "${ECHO_T}$cross_compiling" >&6
1716
1717 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1718 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1719 if { (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'.
1728 for 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
1737 done
1738 else
1739 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1740 See \`config.log' for more details." >&5
1741 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1742 See \`config.log' for more details." >&2;}
1743 { (exit 1); exit 1; }; }
1744 fi
1745
1746 rm -f conftest$ac_cv_exeext
1747 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1748 echo "${ECHO_T}$ac_cv_exeext" >&6
1749
1750 rm -f conftest.$ac_ext
1751 EXEEXT=$ac_cv_exeext
1752 ac_exeext=$EXEEXT
1753 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1754 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1755 if test "${ac_cv_objext+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758 cat >conftest.$ac_ext <<_ACEOF
1759 /* confdefs.h. */
1760 _ACEOF
1761 cat confdefs.h >>conftest.$ac_ext
1762 cat >>conftest.$ac_ext <<_ACEOF
1763 /* end confdefs.h. */
1764
1765 int
1766 main ()
1767 {
1768
1769 ;
1770 return 0;
1771 }
1772 _ACEOF
1773 rm -f conftest.o conftest.obj
1774 if { (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
1785 done
1786 else
1787 echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1791 See \`config.log' for more details." >&5
1792 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1793 See \`config.log' for more details." >&2;}
1794 { (exit 1); exit 1; }; }
1795 fi
1796
1797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1798 fi
1799 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1800 echo "${ECHO_T}$ac_cv_objext" >&6
1801 OBJEXT=$ac_cv_objext
1802 ac_objext=$OBJEXT
1803 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1804 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1805 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 else
1808 cat >conftest.$ac_ext <<_ACEOF
1809 /* confdefs.h. */
1810 _ACEOF
1811 cat confdefs.h >>conftest.$ac_ext
1812 cat >>conftest.$ac_ext <<_ACEOF
1813 /* end confdefs.h. */
1814
1815 int
1816 main ()
1817 {
1818 #ifndef __GNUC__
1819 choke me
1820 #endif
1821
1822 ;
1823 return 0;
1824 }
1825 _ACEOF
1826 rm -f conftest.$ac_objext
1827 if { (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
1848 else
1849 echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1851
1852 ac_compiler_gnu=no
1853 fi
1854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1855 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1856
1857 fi
1858 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1859 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1860 GCC=`test $ac_compiler_gnu = yes && echo yes`
1861 ac_test_CFLAGS=${CFLAGS+set}
1862 ac_save_CFLAGS=$CFLAGS
1863 CFLAGS="-g"
1864 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1865 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1866 if test "${ac_cv_prog_cc_g+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869 cat >conftest.$ac_ext <<_ACEOF
1870 /* confdefs.h. */
1871 _ACEOF
1872 cat confdefs.h >>conftest.$ac_ext
1873 cat >>conftest.$ac_ext <<_ACEOF
1874 /* end confdefs.h. */
1875
1876 int
1877 main ()
1878 {
1879
1880 ;
1881 return 0;
1882 }
1883 _ACEOF
1884 rm -f conftest.$ac_objext
1885 if { (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
1906 else
1907 echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1909
1910 ac_cv_prog_cc_g=no
1911 fi
1912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1913 fi
1914 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1915 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1916 if test "$ac_test_CFLAGS" = set; then
1917 CFLAGS=$ac_save_CFLAGS
1918 elif 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
1924 else
1925 if test "$GCC" = yes; then
1926 CFLAGS="-O2"
1927 else
1928 CFLAGS=
1929 fi
1930 fi
1931 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1932 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1933 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 else
1936 ac_cv_prog_cc_stdc=no
1937 ac_save_CC=$CC
1938 cat >conftest.$ac_ext <<_ACEOF
1939 /* confdefs.h. */
1940 _ACEOF
1941 cat confdefs.h >>conftest.$ac_ext
1942 cat >>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. */
1949 struct buf { int x; };
1950 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1951 static char *e (p, i)
1952 char **p;
1953 int i;
1954 {
1955 return p[i];
1956 }
1957 static 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. */
1974 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1975
1976 int test (int i, double x);
1977 struct s1 {int (*f) (int a);};
1978 struct s2 {int (*f) (double a);};
1979 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1980 int argc;
1981 char **argv;
1982 int
1983 main ()
1984 {
1985 return 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__
1997 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1998 do
1999 CC="$ac_save_CC $ac_arg"
2000 rm -f conftest.$ac_objext
2001 if { (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
2022 break
2023 else
2024 echo "$as_me: failed program was:" >&5
2025 sed 's/^/| /' conftest.$ac_ext >&5
2026
2027 fi
2028 rm -f conftest.err conftest.$ac_objext
2029 done
2030 rm -f conftest.$ac_ext conftest.$ac_objext
2031 CC=$ac_save_CC
2032
2033 fi
2034
2035 case "x$ac_cv_prog_cc_stdc" in
2036 x|xno)
2037 echo "$as_me:$LINENO: result: none needed" >&5
2038 echo "${ECHO_T}none needed" >&6 ;;
2039 *)
2040 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2041 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2042 CC="$CC $ac_cv_prog_cc_stdc" ;;
2043 esac
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.
2049 cat >conftest.$ac_ext <<_ACEOF
2050 #ifndef __cplusplus
2051 choke me
2052 #endif
2053 _ACEOF
2054 rm -f conftest.$ac_objext
2055 if { (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);'
2082 do
2083 cat >conftest.$ac_ext <<_ACEOF
2084 /* confdefs.h. */
2085 _ACEOF
2086 cat confdefs.h >>conftest.$ac_ext
2087 cat >>conftest.$ac_ext <<_ACEOF
2088 /* end confdefs.h. */
2089 $ac_declaration
2090 #include <stdlib.h>
2091 int
2092 main ()
2093 {
2094 exit (42);
2095 ;
2096 return 0;
2097 }
2098 _ACEOF
2099 rm -f conftest.$ac_objext
2100 if { (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 :
2121 else
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.$ac_ext >&5
2124
2125 continue
2126 fi
2127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2128 cat >conftest.$ac_ext <<_ACEOF
2129 /* confdefs.h. */
2130 _ACEOF
2131 cat confdefs.h >>conftest.$ac_ext
2132 cat >>conftest.$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2134 $ac_declaration
2135 int
2136 main ()
2137 {
2138 exit (42);
2139 ;
2140 return 0;
2141 }
2142 _ACEOF
2143 rm -f conftest.$ac_objext
2144 if { (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
2165 else
2166 echo "$as_me: failed program was:" >&5
2167 sed 's/^/| /' conftest.$ac_ext >&5
2168
2169 fi
2170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 done
2172 rm -f conftest*
2173 if test -n "$ac_declaration"; then
2174 echo '#ifdef __cplusplus' >>confdefs.h
2175 echo $ac_declaration >>confdefs.h
2176 echo '#endif' >>confdefs.h
2177 fi
2178
2179 else
2180 echo "$as_me: failed program was:" >&5
2181 sed 's/^/| /' conftest.$ac_ext >&5
2182
2183 fi
2184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2185 ac_ext=c
2186 ac_cpp='$CPP $CPPFLAGS'
2187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190
2191 ac_ext=c
2192 ac_cpp='$CPP $CPPFLAGS'
2193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2198 # On Suns, sometimes $CPP names a directory.
2199 if test -n "$CPP" && test -d "$CPP"; then
2200 CPP=
2201 fi
2202 if test -z "$CPP"; then
2203 if test "${ac_cv_prog_CPP+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 else
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
2210 for ac_c_preproc_warn_flag in '' yes
2211 do
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
2221 cat confdefs.h >>conftest.$ac_ext
2222 cat >>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
2231 if { (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
2245 else
2246 ac_cpp_err=yes
2247 fi
2248 if test -z "$ac_cpp_err"; then
2249 :
2250 else
2251 echo "$as_me: failed program was:" >&5
2252 sed 's/^/| /' conftest.$ac_ext >&5
2253
2254 # Broken: fails on valid input.
2255 continue
2256 fi
2257 rm -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
2264 cat confdefs.h >>conftest.$ac_ext
2265 cat >>conftest.$ac_ext <<_ACEOF
2266 /* end confdefs.h. */
2267 #include <ac_nonexistent.h>
2268 _ACEOF
2269 if { (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
2283 else
2284 ac_cpp_err=yes
2285 fi
2286 if test -z "$ac_cpp_err"; then
2287 # Broken: success on invalid input.
2288 continue
2289 else
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2292
2293 # Passes both tests.
2294 ac_preproc_ok=:
2295 break
2296 fi
2297 rm -f conftest.err conftest.$ac_ext
2298
2299 done
2300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2301 rm -f conftest.err conftest.$ac_ext
2302 if $ac_preproc_ok; then
2303 break
2304 fi
2305
2306 done
2307 ac_cv_prog_CPP=$CPP
2308
2309 fi
2310 CPP=$ac_cv_prog_CPP
2311 else
2312 ac_cv_prog_CPP=$CPP
2313 fi
2314 echo "$as_me:$LINENO: result: $CPP" >&5
2315 echo "${ECHO_T}$CPP" >&6
2316 ac_preproc_ok=false
2317 for ac_c_preproc_warn_flag in '' yes
2318 do
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
2328 cat confdefs.h >>conftest.$ac_ext
2329 cat >>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
2338 if { (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
2352 else
2353 ac_cpp_err=yes
2354 fi
2355 if test -z "$ac_cpp_err"; then
2356 :
2357 else
2358 echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.$ac_ext >&5
2360
2361 # Broken: fails on valid input.
2362 continue
2363 fi
2364 rm -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
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2374 #include <ac_nonexistent.h>
2375 _ACEOF
2376 if { (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
2390 else
2391 ac_cpp_err=yes
2392 fi
2393 if test -z "$ac_cpp_err"; then
2394 # Broken: success on invalid input.
2395 continue
2396 else
2397 echo "$as_me: failed program was:" >&5
2398 sed 's/^/| /' conftest.$ac_ext >&5
2399
2400 # Passes both tests.
2401 ac_preproc_ok=:
2402 break
2403 fi
2404 rm -f conftest.err conftest.$ac_ext
2405
2406 done
2407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2408 rm -f conftest.err conftest.$ac_ext
2409 if $ac_preproc_ok; then
2410 :
2411 else
2412 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2413 See \`config.log' for more details." >&5
2414 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2415 See \`config.log' for more details." >&2;}
2416 { (exit 1); exit 1; }; }
2417 fi
2418
2419 ac_ext=c
2420 ac_cpp='$CPP $CPPFLAGS'
2421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2424
2425
2426
2427 echo "$as_me:$LINENO: checking for pam header files in" >&5
2428 echo $ECHO_N "checking for pam header files in... $ECHO_C" >&6
2429 cat >conftest.$ac_ext <<_ACEOF
2430 /* confdefs.h. */
2431 _ACEOF
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2435 #include <security/pam_appl.h>
2436 _ACEOF
2437 if { (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
2451 else
2452 ac_cpp_err=yes
2453 fi
2454 if test -z "$ac_cpp_err"; then
2455 pam_inc=security
2456
2457 cat >>confdefs.h <<\_ACEOF
2458 #define HAVE_SECURITY_PAM_APPL_H 1
2459 _ACEOF
2460
2461 else
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2464
2465
2466
2467 cat >conftest.$ac_ext <<_ACEOF
2468 /* confdefs.h. */
2469 _ACEOF
2470 cat confdefs.h >>conftest.$ac_ext
2471 cat >>conftest.$ac_ext <<_ACEOF
2472 /* end confdefs.h. */
2473 #include <pam/pam_appl.h>
2474 _ACEOF
2475 if { (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
2489 else
2490 ac_cpp_err=yes
2491 fi
2492 if test -z "$ac_cpp_err"; then
2493 pam_inc=pam
2494
2495 cat >>confdefs.h <<\_ACEOF
2496 #define HAVE_PAM_PAM_APPL_H 1
2497 _ACEOF
2498
2499 else
2500 echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2502
2503 pam_inc=no
2504 fi
2505 rm -f conftest.err conftest.$ac_ext
2506 fi
2507 rm -f conftest.err conftest.$ac_ext
2508 echo "$as_me:$LINENO: result: $pam_inc" >&5
2509 echo "${ECHO_T}$pam_inc" >&6
2510 if test $pam_inc = no; then
2511 { { echo "$as_me:$LINENO: error: cannot find the pam_appl.h file" >&5
2512 echo "$as_me: error: cannot find the pam_appl.h file" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515 pam_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
2518 LIBS="-lpam $LIBS"
2519
2520 # Checks if the pam library supports the environment handling functions
2521
2522 for ac_func in pam_getenv
2523 do
2524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2525 echo "$as_me:$LINENO: checking for $ac_func" >&5
2526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2527 if eval "test \"\${$as_ac_var+set}\" = set"; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 else
2530 cat >conftest.$ac_ext <<_ACEOF
2531 /* confdefs.h. */
2532 _ACEOF
2533 cat confdefs.h >>conftest.$ac_ext
2534 cat >>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
2555 extern "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. */
2560 char $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)
2565 choke me
2566 #else
2567 char (*f) () = $ac_func;
2568 #endif
2569 #ifdef __cplusplus
2570 }
2571 #endif
2572
2573 int
2574 main ()
2575 {
2576 return f != $ac_func;
2577 ;
2578 return 0;
2579 }
2580 _ACEOF
2581 rm -f conftest.$ac_objext conftest$ac_exeext
2582 if { (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"
2603 else
2604 echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2606
2607 eval "$as_ac_var=no"
2608 fi
2609 rm -f conftest.err conftest.$ac_objext \
2610 conftest$ac_exeext conftest.$ac_ext
2611 fi
2612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2614 if 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
2619 fi
2620 done
2621
2622
2623 echo "$as_me:$LINENO: checking if pam_strerror takes a pam_handle_t argument" >&5
2624 echo $ECHO_N "checking if pam_strerror takes a pam_handle_t argument... $ECHO_C" >&6
2625 if test "${ac_cv_pam_strerror_needs_pamh+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 else
2628 cat >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2634 $pam_appl_h
2635 int
2636 main ()
2637 {
2638 pam_handle_t *pamh;
2639 pam_strerror(pamh, PAM_SUCCESS)
2640 ;
2641 return 0;
2642 }
2643 _ACEOF
2644 rm -f conftest.$ac_objext
2645 if { (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
2666 else
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2669
2670 ac_cv_pam_strerror_needs_pamh=no
2671 fi
2672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2673 fi
2674 echo "$as_me:$LINENO: result: $ac_cv_pam_strerror_needs_pamh" >&5
2675 echo "${ECHO_T}$ac_cv_pam_strerror_needs_pamh" >&6
2676 if test "$ac_cv_pam_strerror_needs_pamh" = yes; then
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define PAM_STRERROR_NEEDS_PAMH 1
2680 _ACEOF
2681
2682 fi
2683
2684
2685
2686 echo "$as_me:$LINENO: checking for PAM_AUTHTOKEN_REQD" >&5
2687 echo $ECHO_N "checking for PAM_AUTHTOKEN_REQD... $ECHO_C" >&6
2688 if test "${ac_cv_have_PAM_AUTHTOKEN_REQD+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691 cat >conftest.$ac_ext <<_ACEOF
2692 /* confdefs.h. */
2693 _ACEOF
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2697 $pam_appl_h
2698 int
2699 main ()
2700 {
2701 int i = PAM_AUTHTOKEN_REQD
2702 ;
2703 return 0;
2704 }
2705 _ACEOF
2706 rm -f conftest.$ac_objext
2707 if { (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
2728 else
2729 echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2731
2732 ac_cv_have_PAM_AUTHTOKEN_REQD=no
2733 fi
2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2735 fi
2736 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_AUTHTOKEN_REQD" >&5
2737 echo "${ECHO_T}$ac_cv_have_PAM_AUTHTOKEN_REQD" >&6
2738 if test "$ac_cv_have_PAM_AUTHTOKEN_REQD" = yes; then
2739
2740 cat >>confdefs.h <<_ACEOF
2741 #define HAVE_PAM_AUTHTOKEN_REQD 1
2742 _ACEOF
2743
2744 fi
2745
2746 echo "$as_me:$LINENO: checking for PAM_NEW_AUTHTOK_REQD" >&5
2747 echo $ECHO_N "checking for PAM_NEW_AUTHTOK_REQD... $ECHO_C" >&6
2748 if test "${ac_cv_have_PAM_NEW_AUTHTOK_REQD+set}" = set; then
2749 echo $ECHO_N "(cached) $ECHO_C" >&6
2750 else
2751 cat >conftest.$ac_ext <<_ACEOF
2752 /* confdefs.h. */
2753 _ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2757 $pam_appl_h
2758 int
2759 main ()
2760 {
2761 int i = PAM_NEW_AUTHTOK_REQD
2762 ;
2763 return 0;
2764 }
2765 _ACEOF
2766 rm -f conftest.$ac_objext
2767 if { (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
2788 else
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2791
2792 ac_cv_have_PAM_NEW_AUTHTOK_REQD=no
2793 fi
2794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2795 fi
2796 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_NEW_AUTHTOK_REQD" >&5
2797 echo "${ECHO_T}$ac_cv_have_PAM_NEW_AUTHTOK_REQD" >&6
2798 if test "$ac_cv_have_PAM_NEW_AUTHTOK_REQD" = yes; then
2799
2800 cat >>confdefs.h <<_ACEOF
2801 #define HAVE_PAM_NEW_AUTHTOK_REQD 1
2802 _ACEOF
2803
2804 fi
2805
2806 echo "$as_me:$LINENO: checking for PAM_AUTHTOK_EXPIRED" >&5
2807 echo $ECHO_N "checking for PAM_AUTHTOK_EXPIRED... $ECHO_C" >&6
2808 if test "${ac_cv_have_PAM_AUTHTOK_EXPIRED+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 else
2811 cat >conftest.$ac_ext <<_ACEOF
2812 /* confdefs.h. */
2813 _ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2817 $pam_appl_h
2818 int
2819 main ()
2820 {
2821 int i = PAM_AUTHTOK_EXPIRED
2822 ;
2823 return 0;
2824 }
2825 _ACEOF
2826 rm -f conftest.$ac_objext
2827 if { (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
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852 ac_cv_have_PAM_AUTHTOK_EXPIRED=no
2853 fi
2854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2855 fi
2856 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_AUTHTOK_EXPIRED" >&5
2857 echo "${ECHO_T}$ac_cv_have_PAM_AUTHTOK_EXPIRED" >&6
2858 if test "$ac_cv_have_PAM_AUTHTOK_EXPIRED" = yes; then
2859
2860 cat >>confdefs.h <<_ACEOF
2861 #define HAVE_PAM_AUTHTOK_EXPIRED 1
2862 _ACEOF
2863
2864 fi
2865
2866 echo "$as_me:$LINENO: checking for PAM_AUTHTOK_RECOVER" >&5
2867 echo $ECHO_N "checking for PAM_AUTHTOK_RECOVER... $ECHO_C" >&6
2868 if test "${ac_cv_have_PAM_AUTHTOK_RECOVER+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 else
2871 cat >conftest.$ac_ext <<_ACEOF
2872 /* confdefs.h. */
2873 _ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2877 $pam_appl_h
2878 int
2879 main ()
2880 {
2881 int i = PAM_AUTHTOK_RECOVER
2882 ;
2883 return 0;
2884 }
2885 _ACEOF
2886 rm -f conftest.$ac_objext
2887 if { (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
2908 else
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2911
2912 ac_cv_have_PAM_AUTHTOK_RECOVER=no
2913 fi
2914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915 fi
2916 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_AUTHTOK_RECOVER" >&5
2917 echo "${ECHO_T}$ac_cv_have_PAM_AUTHTOK_RECOVER" >&6
2918 if test "$ac_cv_have_PAM_AUTHTOK_RECOVER" = yes; then
2919
2920 cat >>confdefs.h <<_ACEOF
2921 #define HAVE_PAM_AUTHTOK_RECOVER 1
2922 _ACEOF
2923
2924 fi
2925
2926 echo "$as_me:$LINENO: checking for PAM_AUTHTOK_RECOVERY" >&5
2927 echo $ECHO_N "checking for PAM_AUTHTOK_RECOVERY... $ECHO_C" >&6
2928 if test "${ac_cv_have_PAM_AUTHTOK_RECOVERY+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 else
2931 cat >conftest.$ac_ext <<_ACEOF
2932 /* confdefs.h. */
2933 _ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2937 $pam_appl_h
2938 int
2939 main ()
2940 {
2941 int i = PAM_AUTHTOK_RECOVERY
2942 ;
2943 return 0;
2944 }
2945 _ACEOF
2946 rm -f conftest.$ac_objext
2947 if { (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
2968 else
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2971
2972 ac_cv_have_PAM_AUTHTOK_RECOVERY=no
2973 fi
2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 fi
2976 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_AUTHTOK_RECOVERY" >&5
2977 echo "${ECHO_T}$ac_cv_have_PAM_AUTHTOK_RECOVERY" >&6
2978 if test "$ac_cv_have_PAM_AUTHTOK_RECOVERY" = yes; then
2979
2980 cat >>confdefs.h <<_ACEOF
2981 #define HAVE_PAM_AUTHTOK_RECOVERY 1
2982 _ACEOF
2983
2984 fi
2985
2986 echo "$as_me:$LINENO: checking for PAM_BAD_ITEM" >&5
2987 echo $ECHO_N "checking for PAM_BAD_ITEM... $ECHO_C" >&6
2988 if test "${ac_cv_have_PAM_BAD_ITEM+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2990 else
2991 cat >conftest.$ac_ext <<_ACEOF
2992 /* confdefs.h. */
2993 _ACEOF
2994 cat confdefs.h >>conftest.$ac_ext
2995 cat >>conftest.$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
2997 $pam_appl_h
2998 int
2999 main ()
3000 {
3001 int i = PAM_BAD_ITEM
3002 ;
3003 return 0;
3004 }
3005 _ACEOF
3006 rm -f conftest.$ac_objext
3007 if { (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
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3031
3032 ac_cv_have_PAM_BAD_ITEM=no
3033 fi
3034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3035 fi
3036 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_BAD_ITEM" >&5
3037 echo "${ECHO_T}$ac_cv_have_PAM_BAD_ITEM" >&6
3038 if test "$ac_cv_have_PAM_BAD_ITEM" = yes; then
3039
3040 cat >>confdefs.h <<_ACEOF
3041 #define HAVE_PAM_BAD_ITEM 1
3042 _ACEOF
3043
3044 fi
3045
3046 echo "$as_me:$LINENO: checking for PAM_CONV_AGAIN" >&5
3047 echo $ECHO_N "checking for PAM_CONV_AGAIN... $ECHO_C" >&6
3048 if test "${ac_cv_have_PAM_CONV_AGAIN+set}" = set; then
3049 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 else
3051 cat >conftest.$ac_ext <<_ACEOF
3052 /* confdefs.h. */
3053 _ACEOF
3054 cat confdefs.h >>conftest.$ac_ext
3055 cat >>conftest.$ac_ext <<_ACEOF
3056 /* end confdefs.h. */
3057 $pam_appl_h
3058 int
3059 main ()
3060 {
3061 int i = PAM_CONV_AGAIN
3062 ;
3063 return 0;
3064 }
3065 _ACEOF
3066 rm -f conftest.$ac_objext
3067 if { (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
3088 else
3089 echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3091
3092 ac_cv_have_PAM_CONV_AGAIN=no
3093 fi
3094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3095 fi
3096 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_CONV_AGAIN" >&5
3097 echo "${ECHO_T}$ac_cv_have_PAM_CONV_AGAIN" >&6
3098 if test "$ac_cv_have_PAM_CONV_AGAIN" = yes; then
3099
3100 cat >>confdefs.h <<_ACEOF
3101 #define HAVE_PAM_CONV_AGAIN 1
3102 _ACEOF
3103
3104 fi
3105
3106 echo "$as_me:$LINENO: checking for PAM_CRED_DELETE" >&5
3107 echo $ECHO_N "checking for PAM_CRED_DELETE... $ECHO_C" >&6
3108 if test "${ac_cv_have_PAM_CRED_DELETE+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3117 $pam_appl_h
3118 int
3119 main ()
3120 {
3121 int i = PAM_CRED_DELETE
3122 ;
3123 return 0;
3124 }
3125 _ACEOF
3126 rm -f conftest.$ac_objext
3127 if { (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
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3151
3152 ac_cv_have_PAM_CRED_DELETE=no
3153 fi
3154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3155 fi
3156 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_CRED_DELETE" >&5
3157 echo "${ECHO_T}$ac_cv_have_PAM_CRED_DELETE" >&6
3158 if test "$ac_cv_have_PAM_CRED_DELETE" = yes; then
3159
3160 cat >>confdefs.h <<_ACEOF
3161 #define HAVE_PAM_CRED_DELETE 1
3162 _ACEOF
3163
3164 fi
3165
3166 echo "$as_me:$LINENO: checking for PAM_CRED_ESTABLISH" >&5
3167 echo $ECHO_N "checking for PAM_CRED_ESTABLISH... $ECHO_C" >&6
3168 if test "${ac_cv_have_PAM_CRED_ESTABLISH+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 else
3171 cat >conftest.$ac_ext <<_ACEOF
3172 /* confdefs.h. */
3173 _ACEOF
3174 cat confdefs.h >>conftest.$ac_ext
3175 cat >>conftest.$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3177 $pam_appl_h
3178 int
3179 main ()
3180 {
3181 int i = PAM_CRED_ESTABLISH
3182 ;
3183 return 0;
3184 }
3185 _ACEOF
3186 rm -f conftest.$ac_objext
3187 if { (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
3208 else
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3211
3212 ac_cv_have_PAM_CRED_ESTABLISH=no
3213 fi
3214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3215 fi
3216 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_CRED_ESTABLISH" >&5
3217 echo "${ECHO_T}$ac_cv_have_PAM_CRED_ESTABLISH" >&6
3218 if test "$ac_cv_have_PAM_CRED_ESTABLISH" = yes; then
3219
3220 cat >>confdefs.h <<_ACEOF
3221 #define HAVE_PAM_CRED_ESTABLISH 1
3222 _ACEOF
3223
3224 fi
3225
3226 echo "$as_me:$LINENO: checking for PAM_CRED_REFRESH" >&5
3227 echo $ECHO_N "checking for PAM_CRED_REFRESH... $ECHO_C" >&6
3228 if test "${ac_cv_have_PAM_CRED_REFRESH+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 $pam_appl_h
3238 int
3239 main ()
3240 {
3241 int i = PAM_CRED_REFRESH
3242 ;
3243 return 0;
3244 }
3245 _ACEOF
3246 rm -f conftest.$ac_objext
3247 if { (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
3268 else
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3271
3272 ac_cv_have_PAM_CRED_REFRESH=no
3273 fi
3274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3275 fi
3276 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_CRED_REFRESH" >&5
3277 echo "${ECHO_T}$ac_cv_have_PAM_CRED_REFRESH" >&6
3278 if test "$ac_cv_have_PAM_CRED_REFRESH" = yes; then
3279
3280 cat >>confdefs.h <<_ACEOF
3281 #define HAVE_PAM_CRED_REFRESH 1
3282 _ACEOF
3283
3284 fi
3285
3286 echo "$as_me:$LINENO: checking for PAM_CRED_REINITIALIZE" >&5
3287 echo $ECHO_N "checking for PAM_CRED_REINITIALIZE... $ECHO_C" >&6
3288 if test "${ac_cv_have_PAM_CRED_REINITIALIZE+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 else
3291 cat >conftest.$ac_ext <<_ACEOF
3292 /* confdefs.h. */
3293 _ACEOF
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3297 $pam_appl_h
3298 int
3299 main ()
3300 {
3301 int i = PAM_CRED_REINITIALIZE
3302 ;
3303 return 0;
3304 }
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (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
3328 else
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3331
3332 ac_cv_have_PAM_CRED_REINITIALIZE=no
3333 fi
3334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3335 fi
3336 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_CRED_REINITIALIZE" >&5
3337 echo "${ECHO_T}$ac_cv_have_PAM_CRED_REINITIALIZE" >&6
3338 if test "$ac_cv_have_PAM_CRED_REINITIALIZE" = yes; then
3339
3340 cat >>confdefs.h <<_ACEOF
3341 #define HAVE_PAM_CRED_REINITIALIZE 1
3342 _ACEOF
3343
3344 fi
3345
3346 echo "$as_me:$LINENO: checking for PAM_DELETE_CRED" >&5
3347 echo $ECHO_N "checking for PAM_DELETE_CRED... $ECHO_C" >&6
3348 if test "${ac_cv_have_PAM_DELETE_CRED+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 else
3351 cat >conftest.$ac_ext <<_ACEOF
3352 /* confdefs.h. */
3353 _ACEOF
3354 cat confdefs.h >>conftest.$ac_ext
3355 cat >>conftest.$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3357 $pam_appl_h
3358 int
3359 main ()
3360 {
3361 int i = PAM_DELETE_CRED
3362 ;
3363 return 0;
3364 }
3365 _ACEOF
3366 rm -f conftest.$ac_objext
3367 if { (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
3388 else
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3391
3392 ac_cv_have_PAM_DELETE_CRED=no
3393 fi
3394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3395 fi
3396 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_DELETE_CRED" >&5
3397 echo "${ECHO_T}$ac_cv_have_PAM_DELETE_CRED" >&6
3398 if test "$ac_cv_have_PAM_DELETE_CRED" = yes; then
3399
3400 cat >>confdefs.h <<_ACEOF
3401 #define HAVE_PAM_DELETE_CRED 1
3402 _ACEOF
3403
3404 fi
3405
3406 echo "$as_me:$LINENO: checking for PAM_ESTABLISH_CRED" >&5
3407 echo $ECHO_N "checking for PAM_ESTABLISH_CRED... $ECHO_C" >&6
3408 if test "${ac_cv_have_PAM_ESTABLISH_CRED+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 else
3411 cat >conftest.$ac_ext <<_ACEOF
3412 /* confdefs.h. */
3413 _ACEOF
3414 cat confdefs.h >>conftest.$ac_ext
3415 cat >>conftest.$ac_ext <<_ACEOF
3416 /* end confdefs.h. */
3417 $pam_appl_h
3418 int
3419 main ()
3420 {
3421 int i = PAM_ESTABLISH_CRED
3422 ;
3423 return 0;
3424 }
3425 _ACEOF
3426 rm -f conftest.$ac_objext
3427 if { (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
3448 else
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3451
3452 ac_cv_have_PAM_ESTABLISH_CRED=no
3453 fi
3454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3455 fi
3456 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_ESTABLISH_CRED" >&5
3457 echo "${ECHO_T}$ac_cv_have_PAM_ESTABLISH_CRED" >&6
3458 if test "$ac_cv_have_PAM_ESTABLISH_CRED" = yes; then
3459
3460 cat >>confdefs.h <<_ACEOF
3461 #define HAVE_PAM_ESTABLISH_CRED 1
3462 _ACEOF
3463
3464 fi
3465
3466 echo "$as_me:$LINENO: checking for PAM_REFRESH_CRED" >&5
3467 echo $ECHO_N "checking for PAM_REFRESH_CRED... $ECHO_C" >&6
3468 if test "${ac_cv_have_PAM_REFRESH_CRED+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 else
3471 cat >conftest.$ac_ext <<_ACEOF
3472 /* confdefs.h. */
3473 _ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3477 $pam_appl_h
3478 int
3479 main ()
3480 {
3481 int i = PAM_REFRESH_CRED
3482 ;
3483 return 0;
3484 }
3485 _ACEOF
3486 rm -f conftest.$ac_objext
3487 if { (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
3508 else
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3511
3512 ac_cv_have_PAM_REFRESH_CRED=no
3513 fi
3514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3515 fi
3516 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_REFRESH_CRED" >&5
3517 echo "${ECHO_T}$ac_cv_have_PAM_REFRESH_CRED" >&6
3518 if test "$ac_cv_have_PAM_REFRESH_CRED" = yes; then
3519
3520 cat >>confdefs.h <<_ACEOF
3521 #define HAVE_PAM_REFRESH_CRED 1
3522 _ACEOF
3523
3524 fi
3525
3526 echo "$as_me:$LINENO: checking for PAM_REINITIALIZE_CRED" >&5
3527 echo $ECHO_N "checking for PAM_REINITIALIZE_CRED... $ECHO_C" >&6
3528 if test "${ac_cv_have_PAM_REINITIALIZE_CRED+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 else
3531 cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h. */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3537 $pam_appl_h
3538 int
3539 main ()
3540 {
3541 int i = PAM_REINITIALIZE_CRED
3542 ;
3543 return 0;
3544 }
3545 _ACEOF
3546 rm -f conftest.$ac_objext
3547 if { (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
3568 else
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.$ac_ext >&5
3571
3572 ac_cv_have_PAM_REINITIALIZE_CRED=no
3573 fi
3574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3575 fi
3576 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_REINITIALIZE_CRED" >&5
3577 echo "${ECHO_T}$ac_cv_have_PAM_REINITIALIZE_CRED" >&6
3578 if test "$ac_cv_have_PAM_REINITIALIZE_CRED" = yes; then
3579
3580 cat >>confdefs.h <<_ACEOF
3581 #define HAVE_PAM_REINITIALIZE_CRED 1
3582 _ACEOF
3583
3584 fi
3585
3586 echo "$as_me:$LINENO: checking for PAM_INCOMPLETE" >&5
3587 echo $ECHO_N "checking for PAM_INCOMPLETE... $ECHO_C" >&6
3588 if test "${ac_cv_have_PAM_INCOMPLETE+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 cat >conftest.$ac_ext <<_ACEOF
3592 /* confdefs.h. */
3593 _ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $pam_appl_h
3598 int
3599 main ()
3600 {
3601 int i = PAM_INCOMPLETE
3602 ;
3603 return 0;
3604 }
3605 _ACEOF
3606 rm -f conftest.$ac_objext
3607 if { (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
3628 else
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3631
3632 ac_cv_have_PAM_INCOMPLETE=no
3633 fi
3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3635 fi
3636 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_INCOMPLETE" >&5
3637 echo "${ECHO_T}$ac_cv_have_PAM_INCOMPLETE" >&6
3638 if test "$ac_cv_have_PAM_INCOMPLETE" = yes; then
3639
3640 cat >>confdefs.h <<_ACEOF
3641 #define HAVE_PAM_INCOMPLETE 1
3642 _ACEOF
3643
3644 fi
3645
3646 echo "$as_me:$LINENO: checking for PAM_MODULE_UNKNOWN" >&5
3647 echo $ECHO_N "checking for PAM_MODULE_UNKNOWN... $ECHO_C" >&6
3648 if test "${ac_cv_have_PAM_MODULE_UNKNOWN+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 else
3651 cat >conftest.$ac_ext <<_ACEOF
3652 /* confdefs.h. */
3653 _ACEOF
3654 cat confdefs.h >>conftest.$ac_ext
3655 cat >>conftest.$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 $pam_appl_h
3658 int
3659 main ()
3660 {
3661 int i = PAM_MODULE_UNKNOWN
3662 ;
3663 return 0;
3664 }
3665 _ACEOF
3666 rm -f conftest.$ac_objext
3667 if { (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
3688 else
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3691
3692 ac_cv_have_PAM_MODULE_UNKNOWN=no
3693 fi
3694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3695 fi
3696 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_MODULE_UNKNOWN" >&5
3697 echo "${ECHO_T}$ac_cv_have_PAM_MODULE_UNKNOWN" >&6
3698 if test "$ac_cv_have_PAM_MODULE_UNKNOWN" = yes; then
3699
3700 cat >>confdefs.h <<_ACEOF
3701 #define HAVE_PAM_MODULE_UNKNOWN 1
3702 _ACEOF
3703
3704 fi
3705
3706 echo "$as_me:$LINENO: checking for PAM_RADIO_TYPE" >&5
3707 echo $ECHO_N "checking for PAM_RADIO_TYPE... $ECHO_C" >&6
3708 if test "${ac_cv_have_PAM_RADIO_TYPE+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711 cat >conftest.$ac_ext <<_ACEOF
3712 /* confdefs.h. */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 $pam_appl_h
3718 int
3719 main ()
3720 {
3721 int i = PAM_RADIO_TYPE
3722 ;
3723 return 0;
3724 }
3725 _ACEOF
3726 rm -f conftest.$ac_objext
3727 if { (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
3748 else
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.$ac_ext >&5
3751
3752 ac_cv_have_PAM_RADIO_TYPE=no
3753 fi
3754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3755 fi
3756 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_RADIO_TYPE" >&5
3757 echo "${ECHO_T}$ac_cv_have_PAM_RADIO_TYPE" >&6
3758 if test "$ac_cv_have_PAM_RADIO_TYPE" = yes; then
3759
3760 cat >>confdefs.h <<_ACEOF
3761 #define HAVE_PAM_RADIO_TYPE 1
3762 _ACEOF
3763
3764 fi
3765
3766 echo "$as_me:$LINENO: checking for PAM_BINARY_PROMPT" >&5
3767 echo $ECHO_N "checking for PAM_BINARY_PROMPT... $ECHO_C" >&6
3768 if test "${ac_cv_have_PAM_BINARY_PROMPT+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 else
3771 cat >conftest.$ac_ext <<_ACEOF
3772 /* confdefs.h. */
3773 _ACEOF
3774 cat confdefs.h >>conftest.$ac_ext
3775 cat >>conftest.$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3777 $pam_appl_h
3778 int
3779 main ()
3780 {
3781 int i = PAM_BINARY_PROMPT
3782 ;
3783 return 0;
3784 }
3785 _ACEOF
3786 rm -f conftest.$ac_objext
3787 if { (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
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3811
3812 ac_cv_have_PAM_BINARY_PROMPT=no
3813 fi
3814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3815 fi
3816 echo "$as_me:$LINENO: result: $ac_cv_have_PAM_BINARY_PROMPT" >&5
3817 echo "${ECHO_T}$ac_cv_have_PAM_BINARY_PROMPT" >&6
3818 if test "$ac_cv_have_PAM_BINARY_PROMPT" = yes; then
3819
3820 cat >>confdefs.h <<_ACEOF
3821 #define HAVE_PAM_BINARY_PROMPT 1
3822 _ACEOF
3823
3824 fi
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
3830 if perl -V:dlsrc | grep dlopen >/dev/null 2>&1
3831 then
3832 echo "$as_me:$LINENO: checking whether RTLD_GLOBAL is declared" >&5
3833 echo $ECHO_N "checking whether RTLD_GLOBAL is declared... $ECHO_C" >&6
3834 if test "${ac_cv_have_decl_RTLD_GLOBAL+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 cat >conftest.$ac_ext <<_ACEOF
3838 /* confdefs.h. */
3839 _ACEOF
3840 cat confdefs.h >>conftest.$ac_ext
3841 cat >>conftest.$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3843 #include<dlfcn.h>
3844
3845 int
3846 main ()
3847 {
3848 #ifndef RTLD_GLOBAL
3849 char *p = (char *) RTLD_GLOBAL;
3850 #endif
3851
3852 ;
3853 return 0;
3854 }
3855 _ACEOF
3856 rm -f conftest.$ac_objext
3857 if { (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
3878 else
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5
3881
3882 ac_cv_have_decl_RTLD_GLOBAL=no
3883 fi
3884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3885 fi
3886 echo "$as_me:$LINENO: result: $ac_cv_have_decl_RTLD_GLOBAL" >&5
3887 echo "${ECHO_T}$ac_cv_have_decl_RTLD_GLOBAL" >&6
3888 if test $ac_cv_have_decl_RTLD_GLOBAL = yes; then
3889 DL_LOAD_FLAGS='sub dl_load_flags { 0x01 }'
3890 else
3891 DL_LOAD_FLAGS=''
3892 fi
3893
3894 else
3895 DL_LOAD_FLAGS=''
3896 fi
3897
3898
3899 ac_config_files="$ac_config_files pam.cfg PAM.pm"
3900
3901 cat >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
3946 if 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
3953 fi
3954 rm -f confcache
3955
3956 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3957 # Let make expand exec_prefix.
3958 test "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).
3964 if test "x$srcdir" = x.; then
3965 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3966 s/:*\$(srcdir):*/:/;
3967 s/:*\${srcdir}:*/:/;
3968 s/:*@srcdir@:*/:/;
3969 s/^\([^=]*=[ ]*\):*/\1/;
3970 s/:*$//;
3971 s/^[^=]*=[ ]*$//;
3972 }'
3973 fi
3974
3975 DEFS=-DHAVE_CONFIG_H
3976
3977 ac_libobjs=
3978 ac_ltlibobjs=
3979 for 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'
3986 done
3987 LIBOBJS=$ac_libobjs
3988
3989 LTLIBOBJS=$ac_ltlibobjs
3990
3991
3992
3993 : ${CONFIG_STATUS=./config.status}
3994 ac_clean_files_save=$ac_clean_files
3995 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3996 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3997 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3998 cat >$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
4005 debug=false
4006 ac_cs_recheck=false
4007 ac_cs_silent=false
4008 SHELL=\${CONFIG_SHELL-$SHELL}
4009 _ACEOF
4010
4011 cat >>$CONFIG_STATUS <<\_ACEOF
4012 ## --------------------- ##
4013 ## M4sh Initialization. ##
4014 ## --------------------- ##
4015
4016 # Be Bourne compatible
4017 if 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+"$@"}'='"$@"'
4023 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4024 set -o posix
4025 fi
4026 DUALCASE=1; export DUALCASE # for MKS sh
4027
4028 # Support unset when possible.
4029 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4030 as_unset=unset
4031 else
4032 as_unset=false
4033 fi
4034
4035
4036 # Work around bugs in pre-3.0 UWIN ksh.
4037 $as_unset ENV MAIL MAILPATH
4038 PS1='$ '
4039 PS2='> '
4040 PS4='+ '
4041
4042 # NLS nuisances.
4043 for 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
4047 do
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
4053 done
4054
4055 # Required to use basename.
4056 if expr a : '\(a\)' >/dev/null 2>&1; then
4057 as_expr=expr
4058 else
4059 as_expr=false
4060 fi
4061
4062 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4063 as_basename=basename
4064 else
4065 as_basename=false
4066 fi
4067
4068
4069 # Name of the executable.
4070 as_me=`$as_basename "$0" ||
4071 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4072 X"$0" : 'X\(//\)$' \| \
4073 X"$0" : 'X\(/\)$' \| \
4074 . : '\(.\)' 2>/dev/null ||
4075 echo 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.
4084 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4085 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4086 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4087 as_cr_digits='0123456789'
4088 as_cr_alnum=$as_cr_Letters$as_cr_digits
4089
4090 # The user is always right.
4091 if 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
4101 fi
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
4114 for as_dir in $PATH
4115 do
4116 IFS=$as_save_IFS
4117 test -z "$as_dir" && as_dir=.
4118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4119 done
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
4130 echo "$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
4136 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4137 do
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
4157 done
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
4181 echo "$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
4193 case `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= ;;
4198 esac
4199
4200 if expr a : '\(a\)' >/dev/null 2>&1; then
4201 as_expr=expr
4202 else
4203 as_expr=false
4204 fi
4205
4206 rm -f conf$$ conf$$.exe conf$$.file
4207 echo >conf$$.file
4208 if 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
4217 elif ln conf$$.file conf$$ 2>/dev/null; then
4218 as_ln_s=ln
4219 else
4220 as_ln_s='cp -p'
4221 fi
4222 rm -f conf$$ conf$$.exe conf$$.file
4223
4224 if mkdir -p . 2>/dev/null; then
4225 as_mkdir_p=:
4226 else
4227 test -d ./-p && rmdir ./-p
4228 as_mkdir_p=false
4229 fi
4230
4231 as_executable_p="test -f"
4232
4233 # Sed expression to map a string onto a valid CPP name.
4234 as_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.
4237 as_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.
4242 as_nl='
4243 '
4244 IFS=" $as_nl"
4245
4246 # CDPATH.
4247 $as_unset CDPATH
4248
4249 exec 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.
4254 exec 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
4261 cat >&5 <<_CSEOF
4262
4263 This file was extended by Authen::PAM $as_me 0.16, which was
4264 generated 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
4273 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4274 echo >&5
4275 _ACEOF
4276
4277 # Files that config.status was made for.
4278 if test -n "$ac_config_files"; then
4279 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4280 fi
4281
4282 if test -n "$ac_config_headers"; then
4283 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4284 fi
4285
4286 if test -n "$ac_config_links"; then
4287 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4288 fi
4289
4290 if test -n "$ac_config_commands"; then
4291 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4292 fi
4293
4294 cat >>$CONFIG_STATUS <<\_ACEOF
4295
4296 ac_cs_usage="\
4297 \`$as_me' instantiates files from templates according to the
4298 current configuration.
4299
4300 Usage: $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
4312 Configuration files:
4313 $config_files
4314
4315 Configuration headers:
4316 $config_headers
4317
4318 Report bugs to <[email protected]>."
4319 _ACEOF
4320
4321 cat >>$CONFIG_STATUS <<_ACEOF
4322 ac_cs_version="\\
4323 Authen::PAM config.status 0.16
4324 configured by $0, generated by GNU Autoconf 2.59,
4325 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4326
4327 Copyright (C) 2003 Free Software Foundation, Inc.
4328 This config.status script is free software; the Free Software Foundation
4329 gives unlimited permission to copy, distribute and modify it."
4330 srcdir=$srcdir
4331 _ACEOF
4332
4333 cat >>$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.
4336 ac_need_defaults=:
4337 while test $# != 0
4338 do
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
4359 cat >>$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
4367 Try \`$0 --help' for more information." >&5
4368 echo "$as_me: error: ambiguous option: $1
4369 Try \`$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
4389 Try \`$0 --help' for more information." >&5
4390 echo "$as_me: error: unrecognized option: $1
4391 Try \`$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
4398 done
4399
4400 ac_configure_extra_args=
4401
4402 if $ac_cs_silent; then
4403 exec 6>/dev/null
4404 ac_configure_extra_args="$ac_configure_extra_args --silent"
4405 fi
4406
4407 _ACEOF
4408 cat >>$CONFIG_STATUS <<_ACEOF
4409 if \$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
4412 fi
4413
4414 _ACEOF
4415
4416
4417
4418
4419
4420 cat >>$CONFIG_STATUS <<\_ACEOF
4421 for ac_config_target in $ac_config_targets
4422 do
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
4429 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4430 { (exit 1); exit 1; }; };;
4431 esac
4432 done
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.
4438 if $ac_need_defaults; then
4439 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4440 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4441 fi
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
4470 cat >>$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
4478 if 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
4482 s,@SHELL@,$SHELL,;t t
4483 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4484 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4485 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4486 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4487 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4488 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4489 s,@exec_prefix@,$exec_prefix,;t t
4490 s,@prefix@,$prefix,;t t
4491 s,@program_transform_name@,$program_transform_name,;t t
4492 s,@bindir@,$bindir,;t t
4493 s,@sbindir@,$sbindir,;t t
4494 s,@libexecdir@,$libexecdir,;t t
4495 s,@datadir@,$datadir,;t t
4496 s,@sysconfdir@,$sysconfdir,;t t
4497 s,@sharedstatedir@,$sharedstatedir,;t t
4498 s,@localstatedir@,$localstatedir,;t t
4499 s,@libdir@,$libdir,;t t
4500 s,@includedir@,$includedir,;t t
4501 s,@oldincludedir@,$oldincludedir,;t t
4502 s,@infodir@,$infodir,;t t
4503 s,@mandir@,$mandir,;t t
4504 s,@build_alias@,$build_alias,;t t
4505 s,@host_alias@,$host_alias,;t t
4506 s,@target_alias@,$target_alias,;t t
4507 s,@DEFS@,$DEFS,;t t
4508 s,@ECHO_C@,$ECHO_C,;t t
4509 s,@ECHO_N@,$ECHO_N,;t t
4510 s,@ECHO_T@,$ECHO_T,;t t
4511 s,@LIBS@,$LIBS,;t t
4512 s,@CC@,$CC,;t t
4513 s,@CFLAGS@,$CFLAGS,;t t
4514 s,@LDFLAGS@,$LDFLAGS,;t t
4515 s,@CPPFLAGS@,$CPPFLAGS,;t t
4516 s,@ac_ct_CC@,$ac_ct_CC,;t t
4517 s,@EXEEXT@,$EXEEXT,;t t
4518 s,@OBJEXT@,$OBJEXT,;t t
4519 s,@CPP@,$CPP,;t t
4520 s,@DL_LOAD_FLAGS@,$DL_LOAD_FLAGS,;t t
4521 s,@LIBOBJS@,$LIBOBJS,;t t
4522 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4523 CEOF
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
4564 fi # test -n "$CONFIG_FILES"
4565
4566 _ACEOF
4567 cat >>$CONFIG_STATUS <<\_ACEOF
4568 for 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 ||
4587 echo 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 ||
4606 echo 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
4615 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4616 { (exit 1); exit 1; }; }; }
4617
4618 ac_builddir=.
4619
4620 if 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'`
4624 else
4625 ac_dir_suffix= ac_top_builddir=
4626 fi
4627
4628 case $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 ;;
4642 esac
4643
4644 # Do not use `cd foo && pwd` to compute absolute paths, because
4645 # the directories may not exist.
4646 case `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;;
4654 esac
4655 case $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;;
4663 esac
4664 case $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;;
4672 esac
4673 case $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;;
4681 esac
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
4705 echo "$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
4718 echo "$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
4726 echo "$as_me: creating $ac_file" >&6;}
4727 rm -f "$ac_file"
4728 fi
4729 _ACEOF
4730 cat >>$CONFIG_STATUS <<_ACEOF
4731 sed "$ac_vpsub
4732 $extrasub
4733 _ACEOF
4734 cat >>$CONFIG_STATUS <<\_ACEOF
4735 :t
4736 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4737 s,@configure_input@,$configure_input,;t t
4738 s,@srcdir@,$ac_srcdir,;t t
4739 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4740 s,@top_srcdir@,$ac_top_srcdir,;t t
4741 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4742 s,@builddir@,$ac_builddir,;t t
4743 s,@abs_builddir@,$ac_abs_builddir,;t t
4744 s,@top_builddir@,$ac_top_builddir,;t t
4745 s,@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
4755 done
4756 _ACEOF
4757 cat >>$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.
4767 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4768 ac_dB='[ ].*$,\1#\2'
4769 ac_dC=' '
4770 ac_dD=',;t'
4771 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4772 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4773 ac_uB='$,\1#\2define\3'
4774 ac_uC=' '
4775 ac_uD=',;t'
4776
4777 for 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
4790 echo "$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
4801 echo "$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
4815 echo "$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.
4832 rm -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'.
4839 cat >confdef2sed.sed <<\_ACEOF
4840 s/[\\&,]/\\&/g
4841 s,[\\$`],\\&,g
4842 t clear
4843 : clear
4844 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4845 t end
4846 s,^[ ]*#[ ]*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.
4852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4854 rm -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.
4859 cat >>conftest.undefs <<\_ACEOF
4860 s,^[ ]*#[ ]*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).
4865 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4866 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4867 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4868 echo ' :' >>$CONFIG_STATUS
4869 rm -f conftest.tail
4870 while grep . conftest.defines >/dev/null
4871 do
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
4888 done
4889 rm -f conftest.defines
4890 echo ' fi # grep' >>$CONFIG_STATUS
4891 echo >>$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).
4895 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4896 rm -f conftest.tail
4897 while grep . conftest.undefs >/dev/null
4898 do
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
4915 done
4916 rm -f conftest.undefs
4917
4918 cat >>$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
4932 echo "$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 ||
4940 echo 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 ||
4959 echo 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
4968 echo "$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
4978 done
4979 _ACEOF
4980
4981 cat >>$CONFIG_STATUS <<\_ACEOF
4982
4983 { (exit 0); exit 0; }
4984 _ACEOF
4985 chmod +x $CONFIG_STATUS
4986 ac_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.
4997 if 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; }
5008 fi
5009