2 # From configure.in Revision: 1.1 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 ac_unique_file="rlm_eap_md5.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP eap_md5_cflags eap_md5_ldflags targetname LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
837 if test -n "$ac_init_help"; then
841 Some influential environment variables:
842 CC C compiler command
843 CFLAGS C compiler flags
844 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
845 nonstandard directory <lib dir>
846 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
847 headers in a nonstandard directory <include dir>
850 Use these variables to override the choices made by `configure' or to help
851 it to find libraries and programs with nonstandard names/locations.
856 if test "$ac_init_help" = "recursive"; then
857 # If there are subdirs, report their specific --help.
859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
860 test -d $ac_dir || continue
863 if test "$ac_dir" != .; then
864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865 # A "../" for each directory in $ac_dir_suffix.
866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868 ac_dir_suffix= ac_top_builddir=
872 .) # No --srcdir option. We are building in place.
874 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879 [\\/]* | ?:[\\/]* ) # Absolute path.
880 ac_srcdir=$srcdir$ac_dir_suffix;
881 ac_top_srcdir=$srcdir ;;
883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 # Do not use `cd foo && pwd` to compute absolute paths, because
888 # the directories may not exist.
890 .) ac_abs_builddir="$ac_dir";;
893 .) ac_abs_builddir=`pwd`;;
894 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
895 *) ac_abs_builddir=`pwd`/"$ac_dir";;
898 case $ac_abs_builddir in
899 .) ac_abs_top_builddir=${ac_top_builddir}.;;
901 case ${ac_top_builddir}. in
902 .) ac_abs_top_builddir=$ac_abs_builddir;;
903 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
904 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
907 case $ac_abs_builddir in
908 .) ac_abs_srcdir=$ac_srcdir;;
911 .) ac_abs_srcdir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
913 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
916 case $ac_abs_builddir in
917 .) ac_abs_top_srcdir=$ac_top_srcdir;;
919 case $ac_top_srcdir in
920 .) ac_abs_top_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
922 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
927 # Check for guested configure; otherwise get Cygnus style configure.
928 if test -f $ac_srcdir/configure.gnu; then
930 $SHELL $ac_srcdir/configure.gnu --help=recursive
931 elif test -f $ac_srcdir/configure; then
933 $SHELL $ac_srcdir/configure --help=recursive
934 elif test -f $ac_srcdir/configure.ac ||
935 test -f $ac_srcdir/configure.in; then
939 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
945 test -n "$ac_init_help" && exit 0
946 if $ac_init_version; then
949 Copyright (C) 2003 Free Software Foundation, Inc.
950 This configure script is free software; the Free Software Foundation
951 gives unlimited permission to copy, distribute and modify it.
957 This file contains any messages produced by compilers while
958 running configure, to aid debugging if configure makes a mistake.
960 It was created by $as_me, which was
961 generated by GNU Autoconf 2.59. Invocation command line was
972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
979 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
981 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
982 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
984 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
985 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
986 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
987 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
995 test -z "$as_dir" && as_dir=.
1011 # Keep a trace of the command line.
1012 # Strip out --no-create and --no-recursion so they do not pile up.
1013 # Strip out --silent because we don't want to record it for future runs.
1014 # Also quote any args containing shell meta-characters.
1015 # Make two passes to allow for proper duplicate-argument suppression.
1020 ac_must_keep_next=false
1026 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1028 | -silent | --silent | --silen | --sile | --sil)
1030 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1031 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1034 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1036 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1037 if test $ac_must_keep_next = true; then
1038 ac_must_keep_next=false # Got value, back to normal.
1041 *=* | --config-cache | -C | -disable-* | --disable-* \
1042 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1043 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1044 | -with-* | --with-* | -without-* | --without-* | --x)
1045 case "$ac_configure_args0 " in
1046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1049 -* ) ac_must_keep_next=true ;;
1052 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1053 # Get rid of the leading space.
1059 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1060 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1062 # When interrupted or exit'd, cleanup temporary files, and complete
1063 # config.log. We remove comments because anyway the quotes in there
1064 # would cause problems or look ugly.
1065 # WARNING: Be sure not to use single quotes in there, as some shells,
1066 # such as our DU 5.0 friend, will then `close' the trap.
1067 trap 'exit_status=$?
1068 # Save into config.log some information that might help in debugging.
1073 ## ---------------- ##
1074 ## Cache variables. ##
1075 ## ---------------- ##
1078 # The following way of writing the cache mishandles newlines in values,
1081 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1084 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1096 ## ----------------- ##
1097 ## Output variables. ##
1098 ## ----------------- ##
1101 for ac_var in $ac_subst_vars
1103 eval ac_val=$`echo $ac_var`
1104 echo "$ac_var='"'"'$ac_val'"'"'"
1108 if test -n "$ac_subst_files"; then
1115 for ac_var in $ac_subst_files
1117 eval ac_val=$`echo $ac_var`
1118 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -s confdefs.h; then
1130 sed "/^$/d" confdefs.h | sort
1133 test "$ac_signal" != 0 &&
1134 echo "$as_me: caught signal $ac_signal"
1135 echo "$as_me: exit $exit_status"
1137 rm -f core *.core &&
1138 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1141 for ac_signal in 1 2 13 15; do
1142 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1146 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1147 rm -rf conftest* confdefs.h
1148 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151 # Predefined preprocessor variables.
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_NAME "$PACKAGE_NAME"
1158 cat >>confdefs.h <<_ACEOF
1159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1163 cat >>confdefs.h <<_ACEOF
1164 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_STRING "$PACKAGE_STRING"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1178 # Let the site file select an alternate cache file if it wants to.
1179 # Prefer explicitly selected file to automatically selected ones.
1180 if test -z "$CONFIG_SITE"; then
1181 if test "x$prefix" != xNONE; then
1182 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1184 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1187 for ac_site_file in $CONFIG_SITE; do
1188 if test -r "$ac_site_file"; then
1189 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1190 echo "$as_me: loading site script $ac_site_file" >&6;}
1191 sed 's/^/| /' "$ac_site_file" >&5
1196 if test -r "$cache_file"; then
1197 # Some versions of bash will fail to source /dev/null (special
1198 # files actually), so we avoid doing that.
1199 if test -f "$cache_file"; then
1200 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1201 echo "$as_me: loading cache $cache_file" >&6;}
1203 [\\/]* | ?:[\\/]* ) . $cache_file;;
1204 *) . ./$cache_file;;
1208 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1209 echo "$as_me: creating cache $cache_file" >&6;}
1213 # Check that the precious variables saved in the cache have kept the same
1215 ac_cache_corrupted=false
1216 for ac_var in `(set) 2>&1 |
1217 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1219 eval ac_new_set=\$ac_env_${ac_var}_set
1220 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1221 eval ac_new_val="\$ac_env_${ac_var}_value"
1222 case $ac_old_set,$ac_new_set in
1224 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1226 ac_cache_corrupted=: ;;
1228 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1229 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1230 ac_cache_corrupted=: ;;
1233 if test "x$ac_old_val" != "x$ac_new_val"; then
1234 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1235 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1236 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1237 echo "$as_me: former value: $ac_old_val" >&2;}
1238 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1239 echo "$as_me: current value: $ac_new_val" >&2;}
1240 ac_cache_corrupted=:
1243 # Pass precious variables to config.status.
1244 if test "$ac_new_set" = set; then
1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1247 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1248 *) ac_arg=$ac_var=$ac_new_val ;;
1250 case " $ac_configure_args " in
1251 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1252 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1256 if $ac_cache_corrupted; then
1257 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1258 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1259 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1260 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1261 { (exit 1); exit 1; }; }
1265 ac_cpp='$CPP $CPPFLAGS'
1266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 if test x$with_rlm_eap_md5 != xno; then
1293 ## We may need more complex checking here. Assume for now that
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1300 if test -n "$ac_tool_prefix"; then
1301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1303 echo "$as_me:$LINENO: checking for $ac_word" >&5
1304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1305 if test "${ac_cv_prog_CC+set}" = set; then
1306 echo $ECHO_N "(cached) $ECHO_C" >&6
1308 if test -n "$CC"; then
1309 ac_cv_prog_CC="$CC" # Let the user override the test.
1311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315 test -z "$as_dir" && as_dir=.
1316 for ac_exec_ext in '' $ac_executable_extensions; do
1317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1318 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1328 if test -n "$CC"; then
1329 echo "$as_me:$LINENO: result: $CC" >&5
1330 echo "${ECHO_T}$CC" >&6
1332 echo "$as_me:$LINENO: result: no" >&5
1333 echo "${ECHO_T}no" >&6
1337 if test -z "$ac_cv_prog_CC"; then
1339 # Extract the first word of "gcc", so it can be a program name with args.
1340 set dummy gcc; ac_word=$2
1341 echo "$as_me:$LINENO: checking for $ac_word" >&5
1342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 if test -n "$ac_ct_CC"; then
1347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353 test -z "$as_dir" && as_dir=.
1354 for ac_exec_ext in '' $ac_executable_extensions; do
1355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1356 ac_cv_prog_ac_ct_CC="gcc"
1357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1366 if test -n "$ac_ct_CC"; then
1367 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1368 echo "${ECHO_T}$ac_ct_CC" >&6
1370 echo "$as_me:$LINENO: result: no" >&5
1371 echo "${ECHO_T}no" >&6
1379 if test -z "$CC"; then
1380 if test -n "$ac_tool_prefix"; then
1381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1382 set dummy ${ac_tool_prefix}cc; ac_word=$2
1383 echo "$as_me:$LINENO: checking for $ac_word" >&5
1384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385 if test "${ac_cv_prog_CC+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 if test -n "$CC"; then
1389 ac_cv_prog_CC="$CC" # Let the user override the test.
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 ac_cv_prog_CC="${ac_tool_prefix}cc"
1399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1408 if test -n "$CC"; then
1409 echo "$as_me:$LINENO: result: $CC" >&5
1410 echo "${ECHO_T}$CC" >&6
1412 echo "$as_me:$LINENO: result: no" >&5
1413 echo "${ECHO_T}no" >&6
1417 if test -z "$ac_cv_prog_CC"; then
1419 # Extract the first word of "cc", so it can be a program name with args.
1420 set dummy cc; ac_word=$2
1421 echo "$as_me:$LINENO: checking for $ac_word" >&5
1422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1424 echo $ECHO_N "(cached) $ECHO_C" >&6
1426 if test -n "$ac_ct_CC"; then
1427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436 ac_cv_prog_ac_ct_CC="cc"
1437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1446 if test -n "$ac_ct_CC"; then
1447 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1448 echo "${ECHO_T}$ac_ct_CC" >&6
1450 echo "$as_me:$LINENO: result: no" >&5
1451 echo "${ECHO_T}no" >&6
1460 if test -z "$CC"; then
1461 # Extract the first word of "cc", so it can be a program name with args.
1462 set dummy cc; ac_word=$2
1463 echo "$as_me:$LINENO: checking for $ac_word" >&5
1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465 if test "${ac_cv_prog_CC+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1468 if test -n "$CC"; then
1469 ac_cv_prog_CC="$CC" # Let the user override the test.
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 for ac_exec_ext in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1480 ac_prog_rejected=yes
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1490 if test $ac_prog_rejected = yes; then
1491 # We found a bogon in the path, so make sure we never use it.
1492 set dummy $ac_cv_prog_CC
1494 if test $# != 0; then
1495 # We chose a different compiler from the bogus one.
1496 # However, it has the same basename, so the bogon will be chosen
1497 # first if we set CC to just the basename; use the full file name.
1499 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1505 if test -n "$CC"; then
1506 echo "$as_me:$LINENO: result: $CC" >&5
1507 echo "${ECHO_T}$CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1553 test -n "$CC" && break
1556 if test -z "$CC"; then
1560 # Extract the first word of "$ac_prog", so it can be a program name with args.
1561 set dummy $ac_prog; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$ac_ct_CC"; then
1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_ac_ct_CC="$ac_prog"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1587 if test -n "$ac_ct_CC"; then
1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1589 echo "${ECHO_T}$ac_ct_CC" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1595 test -n "$ac_ct_CC" && break
1604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1605 See \`config.log' for more details." >&5
1606 echo "$as_me: error: no acceptable C compiler found in \$PATH
1607 See \`config.log' for more details." >&2;}
1608 { (exit 1); exit 1; }; }
1610 # Provide some information about the compiler.
1611 echo "$as_me:$LINENO:" \
1612 "checking for C compiler version" >&5
1613 ac_compiler=`set X $ac_compile; echo $2`
1614 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1615 (eval $ac_compiler --version </dev/null >&5) 2>&5
1617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618 (exit $ac_status); }
1619 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1620 (eval $ac_compiler -v </dev/null >&5) 2>&5
1622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1623 (exit $ac_status); }
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1625 (eval $ac_compiler -V </dev/null >&5) 2>&5
1627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 (exit $ac_status); }
1630 cat >conftest.$ac_ext <<_ACEOF
1633 cat confdefs.h >>conftest.$ac_ext
1634 cat >>conftest.$ac_ext <<_ACEOF
1635 /* end confdefs.h. */
1645 ac_clean_files_save=$ac_clean_files
1646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1647 # Try to create an executable without -o first, disregard a.out.
1648 # It will help us diagnose broken compilers, and finding out an intuition
1650 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1653 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1654 (eval $ac_link_default) 2>&5
1656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1657 (exit $ac_status); }; then
1658 # Find the output, starting from the most likely. This scheme is
1659 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1662 # Be careful to initialize this variable, since it used to be cached.
1663 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1665 # b.out is created by i960 compilers.
1666 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1668 test -f "$ac_file" || continue
1670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1673 # This is the source file.
1676 # We found the default executable, but exeext='' is most
1680 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1681 # FIXME: I believe we export ac_cv_exeext for Libtool,
1682 # but it would be cool to find out if it's true. Does anybody
1683 # maintain Libtool? --akim.
1691 echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.$ac_ext >&5
1694 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1695 See \`config.log' for more details." >&5
1696 echo "$as_me: error: C compiler cannot create executables
1697 See \`config.log' for more details." >&2;}
1698 { (exit 77); exit 77; }; }
1701 ac_exeext=$ac_cv_exeext
1702 echo "$as_me:$LINENO: result: $ac_file" >&5
1703 echo "${ECHO_T}$ac_file" >&6
1705 # Check the compiler produces executables we can run. If not, either
1706 # the compiler is broken, or we cross compile.
1707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1710 # If not cross compiling, check that we can run a simple program.
1711 if test "$cross_compiling" != yes; then
1712 if { ac_try='./$ac_file'
1713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }; }; then
1720 if test "$cross_compiling" = maybe; then
1723 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1724 If you meant to cross compile, use \`--host'.
1725 See \`config.log' for more details." >&5
1726 echo "$as_me: error: cannot run C compiled programs.
1727 If you meant to cross compile, use \`--host'.
1728 See \`config.log' for more details." >&2;}
1729 { (exit 1); exit 1; }; }
1733 echo "$as_me:$LINENO: result: yes" >&5
1734 echo "${ECHO_T}yes" >&6
1736 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1737 ac_clean_files=$ac_clean_files_save
1738 # Check the compiler produces executables we can run. If not, either
1739 # the compiler is broken, or we cross compile.
1740 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1741 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1742 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1743 echo "${ECHO_T}$cross_compiling" >&6
1745 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1746 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1748 (eval $ac_link) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }; then
1752 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1753 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1754 # work properly (i.e., refer to `conftest.exe'), while it won't with
1756 for ac_file in conftest.exe conftest conftest.*; do
1757 test -f "$ac_file" || continue
1759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1760 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1767 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1768 See \`config.log' for more details." >&5
1769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1770 See \`config.log' for more details." >&2;}
1771 { (exit 1); exit 1; }; }
1774 rm -f conftest$ac_cv_exeext
1775 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1776 echo "${ECHO_T}$ac_cv_exeext" >&6
1778 rm -f conftest.$ac_ext
1779 EXEEXT=$ac_cv_exeext
1781 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1783 if test "${ac_cv_objext+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1786 cat >conftest.$ac_ext <<_ACEOF
1789 cat confdefs.h >>conftest.$ac_ext
1790 cat >>conftest.$ac_ext <<_ACEOF
1791 /* end confdefs.h. */
1801 rm -f conftest.o conftest.obj
1802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1803 (eval $ac_compile) 2>&5
1805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806 (exit $ac_status); }; then
1807 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1815 echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1818 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1819 See \`config.log' for more details." >&5
1820 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1821 See \`config.log' for more details." >&2;}
1822 { (exit 1); exit 1; }; }
1825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1827 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1828 echo "${ECHO_T}$ac_cv_objext" >&6
1829 OBJEXT=$ac_cv_objext
1831 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 cat >conftest.$ac_ext <<_ACEOF
1839 cat confdefs.h >>conftest.$ac_ext
1840 cat >>conftest.$ac_ext <<_ACEOF
1841 /* end confdefs.h. */
1854 rm -f conftest.$ac_objext
1855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1856 (eval $ac_compile) 2>conftest.er1
1858 grep -v '^ *+' conftest.er1 >conftest.err
1860 cat conftest.err >&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); } &&
1863 { ac_try='test -z "$ac_c_werror_flag"
1864 || test ! -s conftest.err'
1865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1869 (exit $ac_status); }; } &&
1870 { ac_try='test -s conftest.$ac_objext'
1871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 (exit $ac_status); }; }; then
1878 echo "$as_me: failed program was:" >&5
1879 sed 's/^/| /' conftest.$ac_ext >&5
1883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1887 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1889 GCC=`test $ac_compiler_gnu = yes && echo yes`
1890 ac_test_CFLAGS=${CFLAGS+set}
1891 ac_save_CFLAGS=$CFLAGS
1893 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1894 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1895 if test "${ac_cv_prog_cc_g+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 cat >conftest.$ac_ext <<_ACEOF
1901 cat confdefs.h >>conftest.$ac_ext
1902 cat >>conftest.$ac_ext <<_ACEOF
1903 /* end confdefs.h. */
1913 rm -f conftest.$ac_objext
1914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1915 (eval $ac_compile) 2>conftest.er1
1917 grep -v '^ *+' conftest.er1 >conftest.err
1919 cat conftest.err >&5
1920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1921 (exit $ac_status); } &&
1922 { ac_try='test -z "$ac_c_werror_flag"
1923 || test ! -s conftest.err'
1924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }; } &&
1929 { ac_try='test -s conftest.$ac_objext'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; }; then
1937 echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1944 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1945 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1946 if test "$ac_test_CFLAGS" = set; then
1947 CFLAGS=$ac_save_CFLAGS
1948 elif test $ac_cv_prog_cc_g = yes; then
1949 if test "$GCC" = yes; then
1955 if test "$GCC" = yes; then
1961 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1962 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1963 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 ac_cv_prog_cc_stdc=no
1968 cat >conftest.$ac_ext <<_ACEOF
1971 cat confdefs.h >>conftest.$ac_ext
1972 cat >>conftest.$ac_ext <<_ACEOF
1973 /* end confdefs.h. */
1976 #include <sys/types.h>
1977 #include <sys/stat.h>
1978 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1979 struct buf { int x; };
1980 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1981 static char *e (p, i)
1987 static char *f (char * (*g) (char **, int), char **p, ...)
1992 s = g (p, va_arg (v,int));
1997 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1998 function prototypes and stuff, but not '\xHH' hex character constants.
1999 These don't provoke an error unfortunately, instead are silently treated
2000 as 'x'. The following induces an error, until -std1 is added to get
2001 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2002 array size at least. It's necessary to write '\x00'==0 to get something
2003 that's true only with -std1. */
2004 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2006 int test (int i, double x);
2007 struct s1 {int (*f) (int a);};
2008 struct s2 {int (*f) (double a);};
2009 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2015 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2020 # Don't try gcc -ansi; that turns off useful extensions and
2021 # breaks some systems' header files.
2022 # AIX -qlanglvl=ansi
2023 # Ultrix and OSF/1 -std1
2024 # HP-UX 10.20 and later -Ae
2025 # HP-UX older versions -Aa -D_HPUX_SOURCE
2026 # SVR4 -Xc -D__EXTENSIONS__
2027 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2029 CC="$ac_save_CC $ac_arg"
2030 rm -f conftest.$ac_objext
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>conftest.er1
2034 grep -v '^ *+' conftest.er1 >conftest.err
2036 cat conftest.err >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); } &&
2039 { ac_try='test -z "$ac_c_werror_flag"
2040 || test ! -s conftest.err'
2041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }; } &&
2046 { ac_try='test -s conftest.$ac_objext'
2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; }; then
2052 ac_cv_prog_cc_stdc=$ac_arg
2055 echo "$as_me: failed program was:" >&5
2056 sed 's/^/| /' conftest.$ac_ext >&5
2059 rm -f conftest.err conftest.$ac_objext
2061 rm -f conftest.$ac_ext conftest.$ac_objext
2066 case "x$ac_cv_prog_cc_stdc" in
2068 echo "$as_me:$LINENO: result: none needed" >&5
2069 echo "${ECHO_T}none needed" >&6 ;;
2071 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2072 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2073 CC="$CC $ac_cv_prog_cc_stdc" ;;
2076 # Some people use a C++ compiler to compile C. Since we use `exit',
2077 # in C++ we need to declare it. In case someone uses the same compiler
2078 # for both compiling C and C++ we need to have the C++ compiler decide
2079 # the declaration of exit, since it's the most demanding environment.
2080 cat >conftest.$ac_ext <<_ACEOF
2085 rm -f conftest.$ac_objext
2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2087 (eval $ac_compile) 2>conftest.er1
2089 grep -v '^ *+' conftest.er1 >conftest.err
2091 cat conftest.err >&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); } &&
2094 { ac_try='test -z "$ac_c_werror_flag"
2095 || test ! -s conftest.err'
2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); }; } &&
2101 { ac_try='test -s conftest.$ac_objext'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; }; then
2107 for ac_declaration in \
2109 'extern "C" void std::exit (int) throw (); using std::exit;' \
2110 'extern "C" void std::exit (int); using std::exit;' \
2111 'extern "C" void exit (int) throw ();' \
2112 'extern "C" void exit (int);' \
2115 cat >conftest.$ac_ext <<_ACEOF
2118 cat confdefs.h >>conftest.$ac_ext
2119 cat >>conftest.$ac_ext <<_ACEOF
2120 /* end confdefs.h. */
2131 rm -f conftest.$ac_objext
2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2133 (eval $ac_compile) 2>conftest.er1
2135 grep -v '^ *+' conftest.er1 >conftest.err
2137 cat conftest.err >&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); } &&
2140 { ac_try='test -z "$ac_c_werror_flag"
2141 || test ! -s conftest.err'
2142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }; } &&
2147 { ac_try='test -s conftest.$ac_objext'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; }; then
2155 echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2161 cat >conftest.$ac_ext <<_ACEOF
2164 cat confdefs.h >>conftest.$ac_ext
2165 cat >>conftest.$ac_ext <<_ACEOF
2166 /* end confdefs.h. */
2176 rm -f conftest.$ac_objext
2177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2178 (eval $ac_compile) 2>conftest.er1
2180 grep -v '^ *+' conftest.er1 >conftest.err
2182 cat conftest.err >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); } &&
2185 { ac_try='test -z "$ac_c_werror_flag"
2186 || test ! -s conftest.err'
2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; } &&
2192 { ac_try='test -s conftest.$ac_objext'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; }; then
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.$ac_ext >&5
2204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2207 if test -n "$ac_declaration"; then
2208 echo '#ifdef __cplusplus' >>confdefs.h
2209 echo $ac_declaration >>confdefs.h
2210 echo '#endif' >>confdefs.h
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.$ac_ext >&5
2218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2220 ac_cpp='$CPP $CPPFLAGS'
2221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2227 ac_cpp='$CPP $CPPFLAGS'
2228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2231 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2232 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2233 # On Suns, sometimes $CPP names a directory.
2234 if test -n "$CPP" && test -d "$CPP"; then
2237 if test -z "$CPP"; then
2238 if test "${ac_cv_prog_CPP+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 # Double quotes because CPP needs to be expanded
2242 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2245 for ac_c_preproc_warn_flag in '' yes
2247 # Use a header file that comes with gcc, so configuring glibc
2248 # with a fresh cross-compiler works.
2249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2250 # <limits.h> exists even on freestanding compilers.
2251 # On the NeXT, cc -E runs the code through the compiler's parser,
2252 # not just through cpp. "Syntax error" is here to catch this case.
2253 cat >conftest.$ac_ext <<_ACEOF
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2260 # include <limits.h>
2262 # include <assert.h>
2266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2269 grep -v '^ *+' conftest.er1 >conftest.err
2271 cat conftest.err >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } >/dev/null; then
2274 if test -s conftest.err; then
2275 ac_cpp_err=$ac_c_preproc_warn_flag
2276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2283 if test -z "$ac_cpp_err"; then
2286 echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.$ac_ext >&5
2289 # Broken: fails on valid input.
2292 rm -f conftest.err conftest.$ac_ext
2294 # OK, works on sane cases. Now check whether non-existent headers
2295 # can be detected and how.
2296 cat >conftest.$ac_ext <<_ACEOF
2299 cat confdefs.h >>conftest.$ac_ext
2300 cat >>conftest.$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2302 #include <ac_nonexistent.h>
2304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2307 grep -v '^ *+' conftest.er1 >conftest.err
2309 cat conftest.err >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); } >/dev/null; then
2312 if test -s conftest.err; then
2313 ac_cpp_err=$ac_c_preproc_warn_flag
2314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2321 if test -z "$ac_cpp_err"; then
2322 # Broken: success on invalid input.
2325 echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2328 # Passes both tests.
2332 rm -f conftest.err conftest.$ac_ext
2335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2336 rm -f conftest.err conftest.$ac_ext
2337 if $ac_preproc_ok; then
2349 echo "$as_me:$LINENO: result: $CPP" >&5
2350 echo "${ECHO_T}$CPP" >&6
2352 for ac_c_preproc_warn_flag in '' yes
2354 # Use a header file that comes with gcc, so configuring glibc
2355 # with a fresh cross-compiler works.
2356 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2357 # <limits.h> exists even on freestanding compilers.
2358 # On the NeXT, cc -E runs the code through the compiler's parser,
2359 # not just through cpp. "Syntax error" is here to catch this case.
2360 cat >conftest.$ac_ext <<_ACEOF
2363 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2367 # include <limits.h>
2369 # include <assert.h>
2373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2376 grep -v '^ *+' conftest.er1 >conftest.err
2378 cat conftest.err >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } >/dev/null; then
2381 if test -s conftest.err; then
2382 ac_cpp_err=$ac_c_preproc_warn_flag
2383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2390 if test -z "$ac_cpp_err"; then
2393 echo "$as_me: failed program was:" >&5
2394 sed 's/^/| /' conftest.$ac_ext >&5
2396 # Broken: fails on valid input.
2399 rm -f conftest.err conftest.$ac_ext
2401 # OK, works on sane cases. Now check whether non-existent headers
2402 # can be detected and how.
2403 cat >conftest.$ac_ext <<_ACEOF
2406 cat confdefs.h >>conftest.$ac_ext
2407 cat >>conftest.$ac_ext <<_ACEOF
2408 /* end confdefs.h. */
2409 #include <ac_nonexistent.h>
2411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2414 grep -v '^ *+' conftest.er1 >conftest.err
2416 cat conftest.err >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); } >/dev/null; then
2419 if test -s conftest.err; then
2420 ac_cpp_err=$ac_c_preproc_warn_flag
2421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2428 if test -z "$ac_cpp_err"; then
2429 # Broken: success on invalid input.
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2435 # Passes both tests.
2439 rm -f conftest.err conftest.$ac_ext
2442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2443 rm -f conftest.err conftest.$ac_ext
2444 if $ac_preproc_ok; then
2447 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2448 See \`config.log' for more details." >&5
2449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2450 See \`config.log' for more details." >&2;}
2451 { (exit 1); exit 1; }; }
2455 ac_cpp='$CPP $CPPFLAGS'
2456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2461 echo "$as_me:$LINENO: checking for egrep" >&5
2462 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2463 if test "${ac_cv_prog_egrep+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2467 then ac_cv_prog_egrep='grep -E'
2468 else ac_cv_prog_egrep='egrep'
2471 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2472 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2473 EGREP=$ac_cv_prog_egrep
2476 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2477 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2478 if test "${ac_cv_header_stdc+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 cat >conftest.$ac_ext <<_ACEOF
2484 cat confdefs.h >>conftest.$ac_ext
2485 cat >>conftest.$ac_ext <<_ACEOF
2486 /* end confdefs.h. */
2500 rm -f conftest.$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1 >conftest.err
2506 cat conftest.err >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try='test -z "$ac_c_werror_flag"
2510 || test ! -s conftest.err'
2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515 (exit $ac_status); }; } &&
2516 { ac_try='test -s conftest.$ac_objext'
2517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; }; then
2522 ac_cv_header_stdc=yes
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 ac_cv_header_stdc=no
2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2531 if test $ac_cv_header_stdc = yes; then
2532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2543 $EGREP "memchr" >/dev/null 2>&1; then
2546 ac_cv_header_stdc=no
2552 if test $ac_cv_header_stdc = yes; then
2553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2554 cat >conftest.$ac_ext <<_ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2564 $EGREP "free" >/dev/null 2>&1; then
2567 ac_cv_header_stdc=no
2573 if test $ac_cv_header_stdc = yes; then
2574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2575 if test "$cross_compiling" = yes; then
2578 cat >conftest.$ac_ext <<_ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2585 #if ((' ' & 0x0FF) == 0x020)
2586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2589 # define ISLOWER(c) \
2590 (('a' <= (c) && (c) <= 'i') \
2591 || ('j' <= (c) && (c) <= 'r') \
2592 || ('s' <= (c) && (c) <= 'z'))
2593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2601 for (i = 0; i < 256; i++)
2602 if (XOR (islower (i), ISLOWER (i))
2603 || toupper (i) != TOUPPER (i))
2608 rm -f conftest$ac_exeext
2609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2610 (eval $ac_link) 2>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; }; then
2621 echo "$as_me: program exited with status $ac_status" >&5
2622 echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2626 ac_cv_header_stdc=no
2628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2634 if test $ac_cv_header_stdc = yes; then
2636 cat >>confdefs.h <<\_ACEOF
2637 #define STDC_HEADERS 1
2642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2653 inttypes.h stdint.h unistd.h
2655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2656 echo "$as_me:$LINENO: checking for $ac_header" >&5
2657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 cat >conftest.$ac_ext <<_ACEOF
2664 cat confdefs.h >>conftest.$ac_ext
2665 cat >>conftest.$ac_ext <<_ACEOF
2666 /* end confdefs.h. */
2667 $ac_includes_default
2669 #include <$ac_header>
2671 rm -f conftest.$ac_objext
2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673 (eval $ac_compile) 2>conftest.er1
2675 grep -v '^ *+' conftest.er1 >conftest.err
2677 cat conftest.err >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try='test -z "$ac_c_werror_flag"
2681 || test ! -s conftest.err'
2682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); }; } &&
2687 { ac_try='test -s conftest.$ac_objext'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; }; then
2693 eval "$as_ac_Header=yes"
2695 echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2698 eval "$as_ac_Header=no"
2700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2705 cat >>confdefs.h <<_ACEOF
2706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2715 for ac_header in malloc.h
2717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2719 echo "$as_me:$LINENO: checking for $ac_header" >&5
2720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2727 # Is the header compilable?
2728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2730 cat >conftest.$ac_ext <<_ACEOF
2733 cat confdefs.h >>conftest.$ac_ext
2734 cat >>conftest.$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2736 $ac_includes_default
2737 #include <$ac_header>
2739 rm -f conftest.$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1 >conftest.err
2745 cat conftest.err >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try='test -z "$ac_c_werror_flag"
2749 || test ! -s conftest.err'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; } &&
2755 { ac_try='test -s conftest.$ac_objext'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; }; then
2761 ac_header_compiler=yes
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_header_compiler=no
2768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2770 echo "${ECHO_T}$ac_header_compiler" >&6
2772 # Is the header present?
2773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2775 cat >conftest.$ac_ext <<_ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2781 #include <$ac_header>
2783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2786 grep -v '^ *+' conftest.er1 >conftest.err
2788 cat conftest.err >&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } >/dev/null; then
2791 if test -s conftest.err; then
2792 ac_cpp_err=$ac_c_preproc_warn_flag
2793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2800 if test -z "$ac_cpp_err"; then
2801 ac_header_preproc=yes
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_header_preproc=no
2808 rm -f conftest.err conftest.$ac_ext
2809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2810 echo "${ECHO_T}$ac_header_preproc" >&6
2812 # So? What about this header?
2813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2819 ac_header_preproc=yes
2822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2836 ## ------------------------------------------ ##
2837 ## Report this to the AC_PACKAGE_NAME lists. ##
2838 ## ------------------------------------------ ##
2841 sed "s/^/$as_me: WARNING: /" >&2
2844 echo "$as_me:$LINENO: checking for $ac_header" >&5
2845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 eval "$as_ac_Header=\$ac_header_preproc"
2851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2856 cat >>confdefs.h <<_ACEOF
2857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2865 targetname=rlm_eap_md5 # keep this! Don't change!
2867 targetname= # keep this! Don't change!
2868 echo \*\*\* module rlm_eap_md5 is disabled. # keep this! Don't change!
2871 if test x"$fail" != x""; then
2872 if test x"${enable_strict_dependencies}" = x"yes"; then
2873 { { echo "$as_me:$LINENO: error: set --without-rlm_eap_md5 to disable it explicitly." >&5
2874 echo "$as_me: error: set --without-rlm_eap_md5 to disable it explicitly." >&2;}
2875 { (exit 1); exit 1; }; }
2877 { echo "$as_me:$LINENO: WARNING: silently not building rlm_eap_md5." >&5
2878 echo "$as_me: WARNING: silently not building rlm_eap_md5." >&2;}
2879 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_eap_md5 requires: $fail." >&5
2880 echo "$as_me: WARNING: FAILURE: rlm_eap_md5 requires: $fail." >&2;};
2889 # keep this! Don't change!
2890 ac_config_files="$ac_config_files Makefile"
2891 cat >confcache <<\_ACEOF
2892 # This file is a shell script that caches the results of configure
2893 # tests run on this system so they can be shared between configure
2894 # scripts and configure runs, see configure's option --config-cache.
2895 # It is not useful on other systems. If it contains results you don't
2896 # want to keep, you may remove or edit it.
2898 # config.status only pays attention to the cache file if you give it
2899 # the --recheck option to rerun configure.
2901 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2902 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2907 # The following way of writing the cache mishandles newlines in values,
2908 # but we know of no workaround that is simple, portable, and efficient.
2909 # So, don't put newlines in cache variables' values.
2910 # Ultrix sh set writes to stderr and can't be redirected directly,
2911 # and sets the high bit in the cache file unless we assign to the vars.
2914 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2916 # `set' does not quote correctly, so add quotes (double-quote
2917 # substitution turns \\\\ into \\, and sed turns \\ into \).
2920 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2923 # `set' quotes correctly as required by POSIX, so do not add quotes.
2925 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2934 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2936 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2937 if test -w $cache_file; then
2938 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2939 cat confcache >$cache_file
2941 echo "not updating unwritable cache $cache_file"
2946 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2947 # Let make expand exec_prefix.
2948 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2950 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2951 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2952 # trailing colons and then remove the whole line if VPATH becomes empty
2953 # (actually we leave an empty line to preserve line numbers).
2954 if test "x$srcdir" = x.; then
2955 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2956 s/:*\$(srcdir):*/:/;
2957 s/:*\${srcdir}:*/:/;
2959 s/^\([^=]*=[ ]*\):*/\1/;
2965 # Transform confdefs.h into DEFS.
2966 # Protect against shell expansion while executing Makefile rules.
2967 # Protect against Makefile macro expansion.
2969 # If the first sed substitution is executed (which looks for macros that
2970 # take arguments), then we branch to the quote section. Otherwise,
2971 # look for a macro that doesn't take arguments.
2972 cat >confdef2opt.sed <<\_ACEOF
2975 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2977 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2981 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2987 # We use echo to avoid assuming a particular line-breaking character.
2988 # The extra dot is to prevent the shell from consuming trailing
2989 # line-breaks from the sub-command output. A line-break within
2990 # single-quotes doesn't work because, if this script is created in a
2991 # platform that uses two characters for line-breaks (e.g., DOS), tr
2993 ac_LF_and_DOT=`echo; echo .`
2994 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2995 rm -f confdef2opt.sed
3000 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3001 # 1. Remove the extension, and $U if already installed.
3002 ac_i=`echo "$ac_i" |
3003 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3005 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3006 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3010 LTLIBOBJS=$ac_ltlibobjs
3014 : ${CONFIG_STATUS=./config.status}
3015 ac_clean_files_save=$ac_clean_files
3016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3017 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3018 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3019 cat >$CONFIG_STATUS <<_ACEOF
3021 # Generated by $as_me.
3022 # Run this file to recreate the current configuration.
3023 # Compiler output produced by configure, useful for debugging
3024 # configure, is in config.log if it exists.
3029 SHELL=\${CONFIG_SHELL-$SHELL}
3032 cat >>$CONFIG_STATUS <<\_ACEOF
3033 ## --------------------- ##
3034 ## M4sh Initialization. ##
3035 ## --------------------- ##
3037 # Be Bourne compatible
3038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3042 # is contrary to our usage. Disable this feature.
3043 alias -g '${1+"$@"}'='"$@"'
3044 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3047 DUALCASE=1; export DUALCASE # for MKS sh
3049 # Support unset when possible.
3050 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3057 # Work around bugs in pre-3.0 UWIN ksh.
3058 $as_unset ENV MAIL MAILPATH
3065 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3066 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3067 LC_TELEPHONE LC_TIME
3069 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3070 eval $as_var=C; export $as_var
3076 # Required to use basename.
3077 if expr a : '\(a\)' >/dev/null 2>&1; then
3083 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3084 as_basename=basename
3090 # Name of the executable.
3091 as_me=`$as_basename "$0" ||
3092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3093 X"$0" : 'X\(//\)$' \| \
3094 X"$0" : 'X\(/\)$' \| \
3095 . : '\(.\)' 2>/dev/null ||
3097 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3098 /^X\/\(\/\/\)$/{ s//\1/; q; }
3099 /^X\/\(\/\).*/{ s//\1/; q; }
3103 # PATH needs CR, and LINENO needs CR and PATH.
3104 # Avoid depending upon Character Ranges.
3105 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3106 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3107 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3108 as_cr_digits='0123456789'
3109 as_cr_alnum=$as_cr_Letters$as_cr_digits
3111 # The user is always right.
3112 if test "${PATH_SEPARATOR+set}" != set; then
3113 echo "#! /bin/sh" >conf$$.sh
3114 echo "exit 0" >>conf$$.sh
3116 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3127 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3128 test "x$as_lineno_1" != "x$as_lineno_2" &&
3129 test "x$as_lineno_3" = "x$as_lineno_2" || {
3130 # Find who we are. Look in the path if we contain no path at all
3133 *[\\/]* ) as_myself=$0 ;;
3134 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 test -z "$as_dir" && as_dir=.
3139 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3144 # We did not find ourselves, most probably we were run as `sh COMMAND'
3145 # in which case we are not to be found in the path.
3146 if test "x$as_myself" = x; then
3149 if test ! -f "$as_myself"; then
3150 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3151 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3152 { (exit 1); exit 1; }; }
3154 case $CONFIG_SHELL in
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3160 test -z "$as_dir" && as_dir=.
3161 for as_base in sh bash ksh sh5; do
3164 if ("$as_dir/$as_base" -c '
3167 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3168 test "x$as_lineno_1" != "x$as_lineno_2" &&
3169 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3170 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3171 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3172 CONFIG_SHELL=$as_dir/$as_base
3174 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3182 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3183 # uniformly replaced by the line number. The first 'sed' inserts a
3184 # line-number line before each line; the second 'sed' does the real
3185 # work. The second script uses 'N' to pair each line-number line
3186 # with the numbered line, and appends trailing '-' during
3187 # substitution so that $LINENO is not a special case at line end.
3188 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3189 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3190 sed '=' <$as_myself |
3195 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3198 s,^['$as_cr_digits']*\n,,
3200 chmod +x $as_me.lineno ||
3201 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3202 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3203 { (exit 1); exit 1; }; }
3205 # Don't try to exec as it changes $[0], causing all sort of problems
3206 # (the dirname of $[0] is not the place where we might find the
3207 # original and so on. Autoconf is especially sensible to this).
3209 # Exit status is that of the last command.
3214 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3215 *c*,-n*) ECHO_N= ECHO_C='
3217 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3218 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3221 if expr a : '\(a\)' >/dev/null 2>&1; then
3227 rm -f conf$$ conf$$.exe conf$$.file
3229 if ln -s conf$$.file conf$$ 2>/dev/null; then
3230 # We could just check for DJGPP; but this test a) works b) is more generic
3231 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3232 if test -f conf$$.exe; then
3233 # Don't use ln at all; we don't have any links
3238 elif ln conf$$.file conf$$ 2>/dev/null; then
3243 rm -f conf$$ conf$$.exe conf$$.file
3245 if mkdir -p . 2>/dev/null; then
3248 test -d ./-p && rmdir ./-p
3252 as_executable_p="test -f"
3254 # Sed expression to map a string onto a valid CPP name.
3255 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3257 # Sed expression to map a string onto a valid variable name.
3258 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3262 # We need space, tab and new line, in precisely that order.
3272 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3273 # report actual input values of CONFIG_FILES etc. instead of their
3274 # values after options handling. Logging --version etc. is OK.
3278 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3279 ## Running $as_me. ##
3284 This file was extended by $as_me, which was
3285 generated by GNU Autoconf 2.59. Invocation command line was
3287 CONFIG_FILES = $CONFIG_FILES
3288 CONFIG_HEADERS = $CONFIG_HEADERS
3289 CONFIG_LINKS = $CONFIG_LINKS
3290 CONFIG_COMMANDS = $CONFIG_COMMANDS
3294 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3298 # Files that config.status was made for.
3299 if test -n "$ac_config_files"; then
3300 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3303 if test -n "$ac_config_headers"; then
3304 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3307 if test -n "$ac_config_links"; then
3308 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3311 if test -n "$ac_config_commands"; then
3312 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3315 cat >>$CONFIG_STATUS <<\_ACEOF
3318 \`$as_me' instantiates files from templates according to the
3319 current configuration.
3321 Usage: $0 [OPTIONS] [FILE]...
3323 -h, --help print this help, then exit
3324 -V, --version print version number, then exit
3325 -q, --quiet do not print progress messages
3326 -d, --debug don't remove temporary files
3327 --recheck update $as_me by reconfiguring in the same conditions
3328 --file=FILE[:TEMPLATE]
3329 instantiate the configuration file FILE
3331 Configuration files:
3334 Report bugs to <bug-autoconf@gnu.org>."
3337 cat >>$CONFIG_STATUS <<_ACEOF
3340 configured by $0, generated by GNU Autoconf 2.59,
3341 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3343 Copyright (C) 2003 Free Software Foundation, Inc.
3344 This config.status script is free software; the Free Software Foundation
3345 gives unlimited permission to copy, distribute and modify it."
3349 cat >>$CONFIG_STATUS <<\_ACEOF
3350 # If no file are specified by the user, then we need to provide default
3351 # value. By we need to know if files were specified by the user.
3357 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3358 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3366 *) # This is not an option, so the user has probably given explicit
3369 ac_need_defaults=false;;
3373 # Handling of the options.
3375 cat >>$CONFIG_STATUS <<\_ACEOF
3376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3378 --version | --vers* | -V )
3379 echo "$ac_cs_version"; exit 0 ;;
3381 # Conflict between --help and --header
3382 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3383 Try \`$0 --help' for more information." >&5
3384 echo "$as_me: error: ambiguous option: $1
3385 Try \`$0 --help' for more information." >&2;}
3386 { (exit 1); exit 1; }; };;
3387 --help | --hel | -h )
3388 echo "$ac_cs_usage"; exit 0 ;;
3389 --debug | --d* | -d )
3391 --file | --fil | --fi | --f )
3393 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3394 ac_need_defaults=false;;
3395 --header | --heade | --head | --hea )
3397 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3398 ac_need_defaults=false;;
3399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3400 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3404 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3405 Try \`$0 --help' for more information." >&5
3406 echo "$as_me: error: unrecognized option: $1
3407 Try \`$0 --help' for more information." >&2;}
3408 { (exit 1); exit 1; }; } ;;
3410 *) ac_config_targets="$ac_config_targets $1" ;;
3416 ac_configure_extra_args=
3418 if $ac_cs_silent; then
3420 ac_configure_extra_args="$ac_configure_extra_args --silent"
3424 cat >>$CONFIG_STATUS <<_ACEOF
3425 if \$ac_cs_recheck; then
3426 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3427 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3436 cat >>$CONFIG_STATUS <<\_ACEOF
3437 for ac_config_target in $ac_config_targets
3439 case "$ac_config_target" in
3440 # Handling of arguments.
3441 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3442 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3443 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3444 { (exit 1); exit 1; }; };;
3448 # If the user did not use the arguments to specify the items to instantiate,
3449 # then the envvar interface is used. Set only those that are not.
3450 # We use the long form for the default assignment because of an extremely
3451 # bizarre bug on SunOS 4.1.3.
3452 if $ac_need_defaults; then
3453 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3456 # Have a temporary directory for convenience. Make it in the build tree
3457 # simply because there is no reason to put it here, and in addition,
3458 # creating and moving files from /tmp can sometimes cause problems.
3459 # Create a temporary directory, and hook for its removal unless debugging.
3462 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3463 trap '{ (exit 1); exit 1; }' 1 2 13 15
3466 # Create a (secure) tmp directory for tmp files.
3469 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3470 test -n "$tmp" && test -d "$tmp"
3473 tmp=./confstat$$-$RANDOM
3474 (umask 077 && mkdir $tmp)
3477 echo "$me: cannot create a temporary directory in ." >&2
3478 { (exit 1); exit 1; }
3483 cat >>$CONFIG_STATUS <<_ACEOF
3486 # CONFIG_FILES section.
3489 # No need to generate the scripts if there are no CONFIG_FILES.
3490 # This happens for instance when ./config.status config.h
3491 if test -n "\$CONFIG_FILES"; then
3492 # Protect against being on the right side of a sed subst in config.status.
3493 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3494 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3495 s,@SHELL@,$SHELL,;t t
3496 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3497 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3498 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3499 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3500 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3501 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3502 s,@exec_prefix@,$exec_prefix,;t t
3503 s,@prefix@,$prefix,;t t
3504 s,@program_transform_name@,$program_transform_name,;t t
3505 s,@bindir@,$bindir,;t t
3506 s,@sbindir@,$sbindir,;t t
3507 s,@libexecdir@,$libexecdir,;t t
3508 s,@datadir@,$datadir,;t t
3509 s,@sysconfdir@,$sysconfdir,;t t
3510 s,@sharedstatedir@,$sharedstatedir,;t t
3511 s,@localstatedir@,$localstatedir,;t t
3512 s,@libdir@,$libdir,;t t
3513 s,@includedir@,$includedir,;t t
3514 s,@oldincludedir@,$oldincludedir,;t t
3515 s,@infodir@,$infodir,;t t
3516 s,@mandir@,$mandir,;t t
3517 s,@build_alias@,$build_alias,;t t
3518 s,@host_alias@,$host_alias,;t t
3519 s,@target_alias@,$target_alias,;t t
3521 s,@ECHO_C@,$ECHO_C,;t t
3522 s,@ECHO_N@,$ECHO_N,;t t
3523 s,@ECHO_T@,$ECHO_T,;t t
3526 s,@CFLAGS@,$CFLAGS,;t t
3527 s,@LDFLAGS@,$LDFLAGS,;t t
3528 s,@CPPFLAGS@,$CPPFLAGS,;t t
3529 s,@ac_ct_CC@,$ac_ct_CC,;t t
3530 s,@EXEEXT@,$EXEEXT,;t t
3531 s,@OBJEXT@,$OBJEXT,;t t
3533 s,@EGREP@,$EGREP,;t t
3534 s,@eap_md5_cflags@,$eap_md5_cflags,;t t
3535 s,@eap_md5_ldflags@,$eap_md5_ldflags,;t t
3536 s,@targetname@,$targetname,;t t
3537 s,@LIBOBJS@,$LIBOBJS,;t t
3538 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3543 cat >>$CONFIG_STATUS <<\_ACEOF
3544 # Split the substitutions into bite-sized pieces for seds with
3545 # small command number limits, like on Digital OSF/1 and HP-UX.
3547 ac_sed_frag=1 # Number of current file.
3548 ac_beg=1 # First line for current file.
3549 ac_end=$ac_max_sed_lines # Line after last line for current file.
3552 while $ac_more_lines; do
3553 if test $ac_beg -gt 1; then
3554 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3556 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3558 if test ! -s $tmp/subs.frag; then
3561 # The purpose of the label and of the branching condition is to
3562 # speed up the sed processing (if there are no `@' at all, there
3563 # is no need to browse any of the substitutions).
3564 # These are the two extra sed commands mentioned above.
3566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3567 if test -z "$ac_sed_cmds"; then
3568 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3570 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3572 ac_sed_frag=`expr $ac_sed_frag + 1`
3574 ac_end=`expr $ac_end + $ac_max_sed_lines`
3577 if test -z "$ac_sed_cmds"; then
3580 fi # test -n "$CONFIG_FILES"
3583 cat >>$CONFIG_STATUS <<\_ACEOF
3584 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3585 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3587 - | *:- | *:-:* ) # input from stdin
3589 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3590 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3591 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3592 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3593 * ) ac_file_in=$ac_file.in ;;
3596 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3597 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3599 X"$ac_file" : 'X\(//\)[^/]' \| \
3600 X"$ac_file" : 'X\(//\)$' \| \
3601 X"$ac_file" : 'X\(/\)' \| \
3602 . : '\(.\)' 2>/dev/null ||
3604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3605 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3606 /^X\(\/\/\)$/{ s//\1/; q; }
3607 /^X\(\/\).*/{ s//\1/; q; }
3609 { if $as_mkdir_p; then
3614 while test ! -d "$as_dir"; do
3615 as_dirs="$as_dir $as_dirs"
3616 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3618 X"$as_dir" : 'X\(//\)[^/]' \| \
3619 X"$as_dir" : 'X\(//\)$' \| \
3620 X"$as_dir" : 'X\(/\)' \| \
3621 . : '\(.\)' 2>/dev/null ||
3623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3625 /^X\(\/\/\)$/{ s//\1/; q; }
3626 /^X\(\/\).*/{ s//\1/; q; }
3629 test ! -n "$as_dirs" || mkdir $as_dirs
3630 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3631 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3632 { (exit 1); exit 1; }; }; }
3636 if test "$ac_dir" != .; then
3637 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3638 # A "../" for each directory in $ac_dir_suffix.
3639 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3641 ac_dir_suffix= ac_top_builddir=
3645 .) # No --srcdir option. We are building in place.
3647 if test -z "$ac_top_builddir"; then
3650 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3652 [\\/]* | ?:[\\/]* ) # Absolute path.
3653 ac_srcdir=$srcdir$ac_dir_suffix;
3654 ac_top_srcdir=$srcdir ;;
3656 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3657 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3660 # Do not use `cd foo && pwd` to compute absolute paths, because
3661 # the directories may not exist.
3663 .) ac_abs_builddir="$ac_dir";;
3666 .) ac_abs_builddir=`pwd`;;
3667 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3668 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3671 case $ac_abs_builddir in
3672 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3674 case ${ac_top_builddir}. in
3675 .) ac_abs_top_builddir=$ac_abs_builddir;;
3676 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3677 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3680 case $ac_abs_builddir in
3681 .) ac_abs_srcdir=$ac_srcdir;;
3684 .) ac_abs_srcdir=$ac_abs_builddir;;
3685 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3686 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3689 case $ac_abs_builddir in
3690 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3692 case $ac_top_srcdir in
3693 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3694 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3695 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3701 if test x"$ac_file" != x-; then
3702 { echo "$as_me:$LINENO: creating $ac_file" >&5
3703 echo "$as_me: creating $ac_file" >&6;}
3706 # Let's still pretend it is `configure' which instantiates (i.e., don't
3707 # use $as_me), people would be surprised to read:
3708 # /* config.h. Generated by config.status. */
3709 if test x"$ac_file" = x-; then
3712 configure_input="$ac_file. "
3714 configure_input=$configure_input"Generated from `echo $ac_file_in |
3715 sed 's,.*/,,'` by configure."
3717 # First look for the input files in the build tree, otherwise in the
3719 ac_file_inputs=`IFS=:
3720 for f in $ac_file_in; do
3722 -) echo $tmp/stdin ;;
3724 # Absolute (can't be DOS-style, as IFS=:)
3725 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3726 echo "$as_me: error: cannot find input file: $f" >&2;}
3727 { (exit 1); exit 1; }; }
3730 if test -f "$f"; then
3733 elif test -f "$srcdir/$f"; then
3738 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3739 echo "$as_me: error: cannot find input file: $f" >&2;}
3740 { (exit 1); exit 1; }; }
3743 done` || { (exit 1); exit 1; }
3745 cat >>$CONFIG_STATUS <<_ACEOF
3749 cat >>$CONFIG_STATUS <<\_ACEOF
3751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3752 s,@configure_input@,$configure_input,;t t
3753 s,@srcdir@,$ac_srcdir,;t t
3754 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3755 s,@top_srcdir@,$ac_top_srcdir,;t t
3756 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3757 s,@builddir@,$ac_builddir,;t t
3758 s,@abs_builddir@,$ac_abs_builddir,;t t
3759 s,@top_builddir@,$ac_top_builddir,;t t
3760 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3761 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3763 if test x"$ac_file" != x-; then
3764 mv $tmp/out $ac_file
3773 cat >>$CONFIG_STATUS <<\_ACEOF
3775 { (exit 0); exit 0; }
3777 chmod +x $CONFIG_STATUS
3778 ac_clean_files=$ac_clean_files_save
3781 # configure is writing to config.log, and then calls config.status.
3782 # config.status does its own redirection, appending to config.log.
3783 # Unfortunately, on DOS this fails, as config.log is still kept open
3784 # by configure, so config.status won't be able to write to it; its
3785 # output is simply discarded. So we exec the FD to /dev/null,
3786 # effectively closing config.log, so it can be properly (re)opened and
3787 # appended to by config.status. When coming back to configure, we
3788 # need to make the FD available again.
3789 if test "$no_create" != yes; then
3791 ac_config_status_args=
3792 test "$silent" = yes &&
3793 ac_config_status_args="$ac_config_status_args --quiet"
3795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3798 # would make configure fail if this is the last instruction.
3799 $ac_cs_success || { (exit 1); exit 1; }
3801 # keep this! Don't change!