Debian Codegraph @

src/modules/rlm_pam/configure

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