2 # From configure.in Revision: 1.4 .
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.c"
276 ac_subdirs_all="$ac_subdirs_all $eapsubdirs"
277 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 subdirs eaptypes eap_ldflags eap_cflags targetname LIBOBJS LTLIBOBJS'
280 # Initialize some variables set by options.
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
292 program_transform_name=s,x,x,
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
330 # Accept the important Cygnus configure options, so we can diagnose typos.
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
352 cache_file=config.cache ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir=$ac_optarg ;;
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
380 eval "enable_$ac_feature='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he | -h)
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
419 -libdir | --libdir | --libdi | --libd)
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
446 # Obsolete; use --without-fp.
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
510 sbindir=$ac_optarg ;;
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
521 sharedstatedir=$ac_optarg ;;
523 -site | --site | --sit)
525 -site=* | --site=* | --sit=*)
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
548 -version | --version | --versio | --versi | --vers | -V)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 eval "with_$ac_package='$ac_optarg'" ;;
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
574 # Obsolete; use --with-x.
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
626 eval ac_val=$`echo $ac_var`
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
638 eval ac_val=$`echo $ac_var`
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
667 test "$silent" = yes && exec 6>/dev/null
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
687 if test ! -r $srcdir/$ac_unique_file; then
691 ac_srcdir_defaulted=no
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718 ac_env_CC_set=${CC+set}
720 ac_cv_env_CC_set=${CC+set}
721 ac_cv_env_CC_value=$CC
722 ac_env_CFLAGS_set=${CFLAGS+set}
723 ac_env_CFLAGS_value=$CFLAGS
724 ac_cv_env_CFLAGS_set=${CFLAGS+set}
725 ac_cv_env_CFLAGS_value=$CFLAGS
726 ac_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_env_LDFLAGS_value=$LDFLAGS
728 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
729 ac_cv_env_LDFLAGS_value=$LDFLAGS
730 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_env_CPPFLAGS_value=$CPPFLAGS
732 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
733 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
736 # Report the --help message.
738 if test "$ac_init_help" = "long"; then
739 # Omit some internal or obsolete options to make the list less imposing.
740 # This message is too long to be a string in the A/UX 3.1 sh.
742 \`configure' configures this package to adapt to many kinds of systems.
744 Usage: $0 [OPTION]... [VAR=VALUE]...
746 To assign environment variables (e.g., CC, CFLAGS...), specify them as
747 VAR=VALUE. See below for descriptions of some of the useful variables.
749 Defaults for the options are specified in brackets.
752 -h, --help display this help and exit
753 --help=short display options specific to this package
754 --help=recursive display the short help of all the included packages
755 -V, --version display version information and exit
756 -q, --quiet, --silent do not print \`checking...' messages
757 --cache-file=FILE cache test results in FILE [disabled]
758 -C, --config-cache alias for \`--cache-file=config.cache'
759 -n, --no-create do not create output files
760 --srcdir=DIR find the sources in DIR [configure dir or \`..']
765 Installation directories:
766 --prefix=PREFIX install architecture-independent files in PREFIX
768 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
771 By default, \`make install' will install all the files in
772 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
773 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
774 for instance \`--prefix=\$HOME'.
776 For better control, use the options below.
778 Fine tuning of the installation directories:
779 --bindir=DIR user executables [EPREFIX/bin]
780 --sbindir=DIR system admin executables [EPREFIX/sbin]
781 --libexecdir=DIR program executables [EPREFIX/libexec]
782 --datadir=DIR read-only architecture-independent data [PREFIX/share]
783 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
784 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
785 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
786 --libdir=DIR object code libraries [EPREFIX/lib]
787 --includedir=DIR C header files [PREFIX/include]
788 --oldincludedir=DIR C header files for non-gcc [/usr/include]
789 --infodir=DIR info documentation [PREFIX/info]
790 --mandir=DIR man documentation [PREFIX/man]
797 if test -n "$ac_init_help"; then
801 Some influential environment variables:
802 CC C compiler command
803 CFLAGS C compiler flags
804 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
805 nonstandard directory <lib dir>
806 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
807 headers in a nonstandard directory <include dir>
809 Use these variables to override the choices made by `configure' or to help
810 it to find libraries and programs with nonstandard names/locations.
815 if test "$ac_init_help" = "recursive"; then
816 # If there are subdirs, report their specific --help.
818 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
819 test -d $ac_dir || continue
822 if test "$ac_dir" != .; then
823 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
824 # A "../" for each directory in $ac_dir_suffix.
825 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
827 ac_dir_suffix= ac_top_builddir=
831 .) # No --srcdir option. We are building in place.
833 if test -z "$ac_top_builddir"; then
836 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
838 [\\/]* | ?:[\\/]* ) # Absolute path.
839 ac_srcdir=$srcdir$ac_dir_suffix;
840 ac_top_srcdir=$srcdir ;;
842 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
843 ac_top_srcdir=$ac_top_builddir$srcdir ;;
846 # Do not use `cd foo && pwd` to compute absolute paths, because
847 # the directories may not exist.
849 .) ac_abs_builddir="$ac_dir";;
852 .) ac_abs_builddir=`pwd`;;
853 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
854 *) ac_abs_builddir=`pwd`/"$ac_dir";;
857 case $ac_abs_builddir in
858 .) ac_abs_top_builddir=${ac_top_builddir}.;;
860 case ${ac_top_builddir}. in
861 .) ac_abs_top_builddir=$ac_abs_builddir;;
862 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
863 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
866 case $ac_abs_builddir in
867 .) ac_abs_srcdir=$ac_srcdir;;
870 .) ac_abs_srcdir=$ac_abs_builddir;;
871 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
872 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
875 case $ac_abs_builddir in
876 .) ac_abs_top_srcdir=$ac_top_srcdir;;
878 case $ac_top_srcdir in
879 .) ac_abs_top_srcdir=$ac_abs_builddir;;
880 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
881 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
886 # Check for guested configure; otherwise get Cygnus style configure.
887 if test -f $ac_srcdir/configure.gnu; then
889 $SHELL $ac_srcdir/configure.gnu --help=recursive
890 elif test -f $ac_srcdir/configure; then
892 $SHELL $ac_srcdir/configure --help=recursive
893 elif test -f $ac_srcdir/configure.ac ||
894 test -f $ac_srcdir/configure.in; then
898 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
904 test -n "$ac_init_help" && exit 0
905 if $ac_init_version; then
908 Copyright (C) 2003 Free Software Foundation, Inc.
909 This configure script is free software; the Free Software Foundation
910 gives unlimited permission to copy, distribute and modify it.
916 This file contains any messages produced by compilers while
917 running configure, to aid debugging if configure makes a mistake.
919 It was created by $as_me, which was
920 generated by GNU Autoconf 2.59. Invocation command line was
931 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
932 uname -m = `(uname -m) 2>/dev/null || echo unknown`
933 uname -r = `(uname -r) 2>/dev/null || echo unknown`
934 uname -s = `(uname -s) 2>/dev/null || echo unknown`
935 uname -v = `(uname -v) 2>/dev/null || echo unknown`
937 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
938 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
940 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
941 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
942 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
943 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
944 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
945 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
946 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
954 test -z "$as_dir" && as_dir=.
970 # Keep a trace of the command line.
971 # Strip out --no-create and --no-recursion so they do not pile up.
972 # Strip out --silent because we don't want to record it for future runs.
973 # Also quote any args containing shell meta-characters.
974 # Make two passes to allow for proper duplicate-argument suppression.
979 ac_must_keep_next=false
985 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
989 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
990 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
993 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
995 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
996 if test $ac_must_keep_next = true; then
997 ac_must_keep_next=false # Got value, back to normal.
1000 *=* | --config-cache | -C | -disable-* | --disable-* \
1001 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1002 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1003 | -with-* | --with-* | -without-* | --without-* | --x)
1004 case "$ac_configure_args0 " in
1005 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1008 -* ) ac_must_keep_next=true ;;
1011 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1012 # Get rid of the leading space.
1018 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1019 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1021 # When interrupted or exit'd, cleanup temporary files, and complete
1022 # config.log. We remove comments because anyway the quotes in there
1023 # would cause problems or look ugly.
1024 # WARNING: Be sure not to use single quotes in there, as some shells,
1025 # such as our DU 5.0 friend, will then `close' the trap.
1026 trap 'exit_status=$?
1027 # Save into config.log some information that might help in debugging.
1032 ## ---------------- ##
1033 ## Cache variables. ##
1034 ## ---------------- ##
1037 # The following way of writing the cache mishandles newlines in values,
1040 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1043 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1048 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1055 ## ----------------- ##
1056 ## Output variables. ##
1057 ## ----------------- ##
1060 for ac_var in $ac_subst_vars
1062 eval ac_val=$`echo $ac_var`
1063 echo "$ac_var='"'"'$ac_val'"'"'"
1067 if test -n "$ac_subst_files"; then
1074 for ac_var in $ac_subst_files
1076 eval ac_val=$`echo $ac_var`
1077 echo "$ac_var='"'"'$ac_val'"'"'"
1082 if test -s confdefs.h; then
1089 sed "/^$/d" confdefs.h | sort
1092 test "$ac_signal" != 0 &&
1093 echo "$as_me: caught signal $ac_signal"
1094 echo "$as_me: exit $exit_status"
1096 rm -f core *.core &&
1097 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1100 for ac_signal in 1 2 13 15; do
1101 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1105 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1106 rm -rf conftest* confdefs.h
1107 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1110 # Predefined preprocessor variables.
1112 cat >>confdefs.h <<_ACEOF
1113 #define PACKAGE_NAME "$PACKAGE_NAME"
1117 cat >>confdefs.h <<_ACEOF
1118 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1122 cat >>confdefs.h <<_ACEOF
1123 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1127 cat >>confdefs.h <<_ACEOF
1128 #define PACKAGE_STRING "$PACKAGE_STRING"
1132 cat >>confdefs.h <<_ACEOF
1133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1137 # Let the site file select an alternate cache file if it wants to.
1138 # Prefer explicitly selected file to automatically selected ones.
1139 if test -z "$CONFIG_SITE"; then
1140 if test "x$prefix" != xNONE; then
1141 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1143 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1146 for ac_site_file in $CONFIG_SITE; do
1147 if test -r "$ac_site_file"; then
1148 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1149 echo "$as_me: loading site script $ac_site_file" >&6;}
1150 sed 's/^/| /' "$ac_site_file" >&5
1155 if test -r "$cache_file"; then
1156 # Some versions of bash will fail to source /dev/null (special
1157 # files actually), so we avoid doing that.
1158 if test -f "$cache_file"; then
1159 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1160 echo "$as_me: loading cache $cache_file" >&6;}
1162 [\\/]* | ?:[\\/]* ) . $cache_file;;
1163 *) . ./$cache_file;;
1167 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1168 echo "$as_me: creating cache $cache_file" >&6;}
1172 # Check that the precious variables saved in the cache have kept the same
1174 ac_cache_corrupted=false
1175 for ac_var in `(set) 2>&1 |
1176 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1177 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1178 eval ac_new_set=\$ac_env_${ac_var}_set
1179 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1180 eval ac_new_val="\$ac_env_${ac_var}_value"
1181 case $ac_old_set,$ac_new_set in
1183 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1184 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1185 ac_cache_corrupted=: ;;
1187 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1188 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1189 ac_cache_corrupted=: ;;
1192 if test "x$ac_old_val" != "x$ac_new_val"; then
1193 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1194 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1195 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1196 echo "$as_me: former value: $ac_old_val" >&2;}
1197 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1198 echo "$as_me: current value: $ac_new_val" >&2;}
1199 ac_cache_corrupted=:
1202 # Pass precious variables to config.status.
1203 if test "$ac_new_set" = set; then
1205 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1206 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1207 *) ac_arg=$ac_var=$ac_new_val ;;
1209 case " $ac_configure_args " in
1210 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1211 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1215 if $ac_cache_corrupted; then
1216 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1217 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1218 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1219 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1220 { (exit 1); exit 1; }; }
1224 ac_cpp='$CPP $CPPFLAGS'
1225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1253 if test x$with_rlm_eap != xno; then
1256 ac_cpp='$CPP $CPPFLAGS'
1257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1260 if test -n "$ac_tool_prefix"; then
1261 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1262 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1263 echo "$as_me:$LINENO: checking for $ac_word" >&5
1264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1265 if test "${ac_cv_prog_CC+set}" = set; then
1266 echo $ECHO_N "(cached) $ECHO_C" >&6
1268 if test -n "$CC"; then
1269 ac_cv_prog_CC="$CC" # Let the user override the test.
1271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1275 test -z "$as_dir" && as_dir=.
1276 for ac_exec_ext in '' $ac_executable_extensions; do
1277 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1278 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1288 if test -n "$CC"; then
1289 echo "$as_me:$LINENO: result: $CC" >&5
1290 echo "${ECHO_T}$CC" >&6
1292 echo "$as_me:$LINENO: result: no" >&5
1293 echo "${ECHO_T}no" >&6
1297 if test -z "$ac_cv_prog_CC"; then
1299 # Extract the first word of "gcc", so it can be a program name with args.
1300 set dummy gcc; ac_word=$2
1301 echo "$as_me:$LINENO: checking for $ac_word" >&5
1302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1306 if test -n "$ac_ct_CC"; then
1307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313 test -z "$as_dir" && as_dir=.
1314 for ac_exec_ext in '' $ac_executable_extensions; do
1315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1316 ac_cv_prog_ac_ct_CC="gcc"
1317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1326 if test -n "$ac_ct_CC"; then
1327 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1328 echo "${ECHO_T}$ac_ct_CC" >&6
1330 echo "$as_me:$LINENO: result: no" >&5
1331 echo "${ECHO_T}no" >&6
1339 if test -z "$CC"; then
1340 if test -n "$ac_tool_prefix"; then
1341 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1342 set dummy ${ac_tool_prefix}cc; ac_word=$2
1343 echo "$as_me:$LINENO: checking for $ac_word" >&5
1344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1345 if test "${ac_cv_prog_CC+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1348 if test -n "$CC"; then
1349 ac_cv_prog_CC="$CC" # Let the user override the test.
1351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1355 test -z "$as_dir" && as_dir=.
1356 for ac_exec_ext in '' $ac_executable_extensions; do
1357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1358 ac_cv_prog_CC="${ac_tool_prefix}cc"
1359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1368 if test -n "$CC"; then
1369 echo "$as_me:$LINENO: result: $CC" >&5
1370 echo "${ECHO_T}$CC" >&6
1372 echo "$as_me:$LINENO: result: no" >&5
1373 echo "${ECHO_T}no" >&6
1377 if test -z "$ac_cv_prog_CC"; then
1379 # Extract the first word of "cc", so it can be a program name with args.
1380 set dummy cc; ac_word=$2
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$ac_ct_CC"; then
1387 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 for ac_exec_ext in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1396 ac_cv_prog_ac_ct_CC="cc"
1397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1405 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1406 if test -n "$ac_ct_CC"; then
1407 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1408 echo "${ECHO_T}$ac_ct_CC" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1420 if test -z "$CC"; then
1421 # Extract the first word of "cc", so it can be a program name with args.
1422 set dummy cc; ac_word=$2
1423 echo "$as_me:$LINENO: checking for $ac_word" >&5
1424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1425 if test "${ac_cv_prog_CC+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 if test -n "$CC"; then
1429 ac_cv_prog_CC="$CC" # Let the user override the test.
1432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 test -z "$as_dir" && as_dir=.
1437 for ac_exec_ext in '' $ac_executable_extensions; do
1438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1440 ac_prog_rejected=yes
1444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 if test $ac_prog_rejected = yes; then
1451 # We found a bogon in the path, so make sure we never use it.
1452 set dummy $ac_cv_prog_CC
1454 if test $# != 0; then
1455 # We chose a different compiler from the bogus one.
1456 # However, it has the same basename, so the bogon will be chosen
1457 # first if we set CC to just the basename; use the full file name.
1459 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1465 if test -n "$CC"; then
1466 echo "$as_me:$LINENO: result: $CC" >&5
1467 echo "${ECHO_T}$CC" >&6
1469 echo "$as_me:$LINENO: result: no" >&5
1470 echo "${ECHO_T}no" >&6
1474 if test -z "$CC"; then
1475 if test -n "$ac_tool_prefix"; then
1478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$CC"; then
1486 ac_cv_prog_CC="$CC" # Let the user override the test.
1488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir=.
1493 for ac_exec_ext in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1495 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
1513 test -n "$CC" && break
1516 if test -z "$CC"; then
1520 # Extract the first word of "$ac_prog", so it can be a program name with args.
1521 set dummy $ac_prog; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$ac_ct_CC"; then
1528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_ac_ct_CC="$ac_prog"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1547 if test -n "$ac_ct_CC"; then
1548 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1549 echo "${ECHO_T}$ac_ct_CC" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1555 test -n "$ac_ct_CC" && break
1564 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1565 See \`config.log' for more details." >&5
1566 echo "$as_me: error: no acceptable C compiler found in \$PATH
1567 See \`config.log' for more details." >&2;}
1568 { (exit 1); exit 1; }; }
1570 # Provide some information about the compiler.
1571 echo "$as_me:$LINENO:" \
1572 "checking for C compiler version" >&5
1573 ac_compiler=`set X $ac_compile; echo $2`
1574 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1575 (eval $ac_compiler --version </dev/null >&5) 2>&5
1577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1578 (exit $ac_status); }
1579 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1580 (eval $ac_compiler -v </dev/null >&5) 2>&5
1582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1583 (exit $ac_status); }
1584 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1585 (eval $ac_compiler -V </dev/null >&5) 2>&5
1587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1588 (exit $ac_status); }
1590 cat >conftest.$ac_ext <<_ACEOF
1593 cat confdefs.h >>conftest.$ac_ext
1594 cat >>conftest.$ac_ext <<_ACEOF
1595 /* end confdefs.h. */
1605 ac_clean_files_save=$ac_clean_files
1606 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1607 # Try to create an executable without -o first, disregard a.out.
1608 # It will help us diagnose broken compilers, and finding out an intuition
1610 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1611 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1612 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1613 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1614 (eval $ac_link_default) 2>&5
1616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1617 (exit $ac_status); }; then
1618 # Find the output, starting from the most likely. This scheme is
1619 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1622 # Be careful to initialize this variable, since it used to be cached.
1623 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1625 # b.out is created by i960 compilers.
1626 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1628 test -f "$ac_file" || continue
1630 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1633 # This is the source file.
1636 # We found the default executable, but exeext='' is most
1640 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1641 # FIXME: I believe we export ac_cv_exeext for Libtool,
1642 # but it would be cool to find out if it's true. Does anybody
1643 # maintain Libtool? --akim.
1651 echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1654 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1655 See \`config.log' for more details." >&5
1656 echo "$as_me: error: C compiler cannot create executables
1657 See \`config.log' for more details." >&2;}
1658 { (exit 77); exit 77; }; }
1661 ac_exeext=$ac_cv_exeext
1662 echo "$as_me:$LINENO: result: $ac_file" >&5
1663 echo "${ECHO_T}$ac_file" >&6
1665 # Check the compiler produces executables we can run. If not, either
1666 # the compiler is broken, or we cross compile.
1667 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1668 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1669 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1670 # If not cross compiling, check that we can run a simple program.
1671 if test "$cross_compiling" != yes; then
1672 if { ac_try='./$ac_file'
1673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }; }; then
1680 if test "$cross_compiling" = maybe; then
1683 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1684 If you meant to cross compile, use \`--host'.
1685 See \`config.log' for more details." >&5
1686 echo "$as_me: error: cannot run C compiled programs.
1687 If you meant to cross compile, use \`--host'.
1688 See \`config.log' for more details." >&2;}
1689 { (exit 1); exit 1; }; }
1693 echo "$as_me:$LINENO: result: yes" >&5
1694 echo "${ECHO_T}yes" >&6
1696 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1697 ac_clean_files=$ac_clean_files_save
1698 # Check the compiler produces executables we can run. If not, either
1699 # the compiler is broken, or we cross compile.
1700 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1701 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1702 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1703 echo "${ECHO_T}$cross_compiling" >&6
1705 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1706 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1708 (eval $ac_link) 2>&5
1710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1711 (exit $ac_status); }; then
1712 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1713 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1714 # work properly (i.e., refer to `conftest.exe'), while it won't with
1716 for ac_file in conftest.exe conftest conftest.*; do
1717 test -f "$ac_file" || continue
1719 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1720 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1727 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1728 See \`config.log' for more details." >&5
1729 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1730 See \`config.log' for more details." >&2;}
1731 { (exit 1); exit 1; }; }
1734 rm -f conftest$ac_cv_exeext
1735 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1736 echo "${ECHO_T}$ac_cv_exeext" >&6
1738 rm -f conftest.$ac_ext
1739 EXEEXT=$ac_cv_exeext
1741 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1742 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1743 if test "${ac_cv_objext+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 cat >conftest.$ac_ext <<_ACEOF
1749 cat confdefs.h >>conftest.$ac_ext
1750 cat >>conftest.$ac_ext <<_ACEOF
1751 /* end confdefs.h. */
1761 rm -f conftest.o conftest.obj
1762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1763 (eval $ac_compile) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); }; then
1767 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1770 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1775 echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1778 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1779 See \`config.log' for more details." >&5
1780 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1781 See \`config.log' for more details." >&2;}
1782 { (exit 1); exit 1; }; }
1785 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1787 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1788 echo "${ECHO_T}$ac_cv_objext" >&6
1789 OBJEXT=$ac_cv_objext
1791 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1792 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1793 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 cat >conftest.$ac_ext <<_ACEOF
1799 cat confdefs.h >>conftest.$ac_ext
1800 cat >>conftest.$ac_ext <<_ACEOF
1801 /* end confdefs.h. */
1814 rm -f conftest.$ac_objext
1815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1816 (eval $ac_compile) 2>conftest.er1
1818 grep -v '^ *+' conftest.er1 >conftest.err
1820 cat conftest.err >&5
1821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1822 (exit $ac_status); } &&
1823 { ac_try='test -z "$ac_c_werror_flag"
1824 || test ! -s conftest.err'
1825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1829 (exit $ac_status); }; } &&
1830 { ac_try='test -s conftest.$ac_objext'
1831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 (exit $ac_status); }; }; then
1838 echo "$as_me: failed program was:" >&5
1839 sed 's/^/| /' conftest.$ac_ext >&5
1843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1847 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1848 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1849 GCC=`test $ac_compiler_gnu = yes && echo yes`
1850 ac_test_CFLAGS=${CFLAGS+set}
1851 ac_save_CFLAGS=$CFLAGS
1853 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1854 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1855 if test "${ac_cv_prog_cc_g+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 cat >conftest.$ac_ext <<_ACEOF
1861 cat confdefs.h >>conftest.$ac_ext
1862 cat >>conftest.$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 rm -f conftest.$ac_objext
1874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1875 (eval $ac_compile) 2>conftest.er1
1877 grep -v '^ *+' conftest.er1 >conftest.err
1879 cat conftest.err >&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); } &&
1882 { ac_try='test -z "$ac_c_werror_flag"
1883 || test ! -s conftest.err'
1884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }; } &&
1889 { ac_try='test -s conftest.$ac_objext'
1890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }; }; then
1897 echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.$ac_ext >&5
1902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1904 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1905 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1906 if test "$ac_test_CFLAGS" = set; then
1907 CFLAGS=$ac_save_CFLAGS
1908 elif test $ac_cv_prog_cc_g = yes; then
1909 if test "$GCC" = yes; then
1915 if test "$GCC" = yes; then
1921 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1922 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1923 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 ac_cv_prog_cc_stdc=no
1928 cat >conftest.$ac_ext <<_ACEOF
1931 cat confdefs.h >>conftest.$ac_ext
1932 cat >>conftest.$ac_ext <<_ACEOF
1933 /* end confdefs.h. */
1936 #include <sys/types.h>
1937 #include <sys/stat.h>
1938 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1939 struct buf { int x; };
1940 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1941 static char *e (p, i)
1947 static char *f (char * (*g) (char **, int), char **p, ...)
1952 s = g (p, va_arg (v,int));
1957 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1958 function prototypes and stuff, but not '\xHH' hex character constants.
1959 These don't provoke an error unfortunately, instead are silently treated
1960 as 'x'. The following induces an error, until -std1 is added to get
1961 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1962 array size at least. It's necessary to write '\x00'==0 to get something
1963 that's true only with -std1. */
1964 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1966 int test (int i, double x);
1967 struct s1 {int (*f) (int a);};
1968 struct s2 {int (*f) (double a);};
1969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1980 # Don't try gcc -ansi; that turns off useful extensions and
1981 # breaks some systems' header files.
1982 # AIX -qlanglvl=ansi
1983 # Ultrix and OSF/1 -std1
1984 # HP-UX 10.20 and later -Ae
1985 # HP-UX older versions -Aa -D_HPUX_SOURCE
1986 # SVR4 -Xc -D__EXTENSIONS__
1987 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1989 CC="$ac_save_CC $ac_arg"
1990 rm -f conftest.$ac_objext
1991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 (eval $ac_compile) 2>conftest.er1
1994 grep -v '^ *+' conftest.er1 >conftest.err
1996 cat conftest.err >&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try='test -z "$ac_c_werror_flag"
2000 || test ! -s conftest.err'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; } &&
2006 { ac_try='test -s conftest.$ac_objext'
2007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; }; then
2012 ac_cv_prog_cc_stdc=$ac_arg
2015 echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.$ac_ext >&5
2019 rm -f conftest.err conftest.$ac_objext
2021 rm -f conftest.$ac_ext conftest.$ac_objext
2026 case "x$ac_cv_prog_cc_stdc" in
2028 echo "$as_me:$LINENO: result: none needed" >&5
2029 echo "${ECHO_T}none needed" >&6 ;;
2031 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2032 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2033 CC="$CC $ac_cv_prog_cc_stdc" ;;
2036 # Some people use a C++ compiler to compile C. Since we use `exit',
2037 # in C++ we need to declare it. In case someone uses the same compiler
2038 # for both compiling C and C++ we need to have the C++ compiler decide
2039 # the declaration of exit, since it's the most demanding environment.
2040 cat >conftest.$ac_ext <<_ACEOF
2045 rm -f conftest.$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>conftest.er1
2049 grep -v '^ *+' conftest.er1 >conftest.err
2051 cat conftest.err >&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); } &&
2054 { ac_try='test -z "$ac_c_werror_flag"
2055 || test ! -s conftest.err'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; } &&
2061 { ac_try='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2067 for ac_declaration in \
2069 'extern "C" void std::exit (int) throw (); using std::exit;' \
2070 'extern "C" void std::exit (int); using std::exit;' \
2071 'extern "C" void exit (int) throw ();' \
2072 'extern "C" void exit (int);' \
2075 cat >conftest.$ac_ext <<_ACEOF
2078 cat confdefs.h >>conftest.$ac_ext
2079 cat >>conftest.$ac_ext <<_ACEOF
2080 /* end confdefs.h. */
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093 (eval $ac_compile) 2>conftest.er1
2095 grep -v '^ *+' conftest.er1 >conftest.err
2097 cat conftest.err >&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); } &&
2100 { ac_try='test -z "$ac_c_werror_flag"
2101 || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.$ac_ext >&5
2120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2121 cat >conftest.$ac_ext <<_ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2136 rm -f conftest.$ac_objext
2137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2138 (eval $ac_compile) 2>conftest.er1
2140 grep -v '^ *+' conftest.er1 >conftest.err
2142 cat conftest.err >&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); } &&
2145 { ac_try='test -z "$ac_c_werror_flag"
2146 || test ! -s conftest.err'
2147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151 (exit $ac_status); }; } &&
2152 { ac_try='test -s conftest.$ac_objext'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; }; then
2160 echo "$as_me: failed program was:" >&5
2161 sed 's/^/| /' conftest.$ac_ext >&5
2164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2167 if test -n "$ac_declaration"; then
2168 echo '#ifdef __cplusplus' >>confdefs.h
2169 echo $ac_declaration >>confdefs.h
2170 echo '#endif' >>confdefs.h
2174 echo "$as_me: failed program was:" >&5
2175 sed 's/^/| /' conftest.$ac_ext >&5
2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2187 for foo in `find ./types -name configure -print`; do
2188 bar=`echo $foo | sed 's%/configure$%%g'`
2189 eapsubdirs="$eapsubdirs $bar"
2192 ln -s ../../../install-sh install-sh
2195 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2196 if test -f $ac_dir/install-sh; then
2198 ac_install_sh="$ac_aux_dir/install-sh -c"
2200 elif test -f $ac_dir/install.sh; then
2202 ac_install_sh="$ac_aux_dir/install.sh -c"
2204 elif test -f $ac_dir/shtool; then
2206 ac_install_sh="$ac_aux_dir/shtool install -c"
2210 if test -z "$ac_aux_dir"; then
2211 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2212 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2213 { (exit 1); exit 1; }; }
2215 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2216 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2217 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2221 subdirs="$subdirs $eapsubdirs"
2229 echo \*\*\* module rlm_eap is disabled.
2232 if test x"$fail" != x""; then
2233 if test x"${enable_strict_dependencies}" = x"yes"; then
2234 { { echo "$as_me:$LINENO: error: set --without-rlm_eap to disable it explicitly." >&5
2235 echo "$as_me: error: set --without-rlm_eap to disable it explicitly." >&2;}
2236 { (exit 1); exit 1; }; }
2238 { echo "$as_me:$LINENO: WARNING: silently not building rlm_eap." >&5
2239 echo "$as_me: WARNING: silently not building rlm_eap." >&2;}
2240 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_eap requires: $fail." >&5
2241 echo "$as_me: WARNING: FAILURE: rlm_eap requires: $fail." >&2;}
2242 if test x"$headersuggestion" != x; then
2243 { echo "$as_me:$LINENO: WARNING: $headersuggestion" >&5
2244 echo "$as_me: WARNING: $headersuggestion" >&2;}
2246 if test x"$libsuggestion" != x; then
2247 { echo "$as_me:$LINENO: WARNING: $libsuggestion" >&5
2248 echo "$as_me: WARNING: $libsuggestion" >&2;}
2256 if test x"$eapsubdirs" = x""; then
2260 eap_ldflags=$SMART_LIBS
2261 eap_cflags=$SMART_CFLAGS
2266 ac_config_files="$ac_config_files Makefile"
2267 cat >confcache <<\_ACEOF
2268 # This file is a shell script that caches the results of configure
2269 # tests run on this system so they can be shared between configure
2270 # scripts and configure runs, see configure's option --config-cache.
2271 # It is not useful on other systems. If it contains results you don't
2272 # want to keep, you may remove or edit it.
2274 # config.status only pays attention to the cache file if you give it
2275 # the --recheck option to rerun configure.
2277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2283 # The following way of writing the cache mishandles newlines in values,
2284 # but we know of no workaround that is simple, portable, and efficient.
2285 # So, don't put newlines in cache variables' values.
2286 # Ultrix sh set writes to stderr and can't be redirected directly,
2287 # and sets the high bit in the cache file unless we assign to the vars.
2290 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2292 # `set' does not quote correctly, so add quotes (double-quote
2293 # substitution turns \\\\ into \\, and sed turns \\ into \).
2296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2299 # `set' quotes correctly as required by POSIX, so do not add quotes.
2301 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2310 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2312 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2313 if test -w $cache_file; then
2314 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2315 cat confcache >$cache_file
2317 echo "not updating unwritable cache $cache_file"
2322 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2323 # Let make expand exec_prefix.
2324 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2326 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2327 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2328 # trailing colons and then remove the whole line if VPATH becomes empty
2329 # (actually we leave an empty line to preserve line numbers).
2330 if test "x$srcdir" = x.; then
2331 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2332 s/:*\$(srcdir):*/:/;
2333 s/:*\${srcdir}:*/:/;
2335 s/^\([^=]*=[ ]*\):*/\1/;
2341 # Transform confdefs.h into DEFS.
2342 # Protect against shell expansion while executing Makefile rules.
2343 # Protect against Makefile macro expansion.
2345 # If the first sed substitution is executed (which looks for macros that
2346 # take arguments), then we branch to the quote section. Otherwise,
2347 # look for a macro that doesn't take arguments.
2348 cat >confdef2opt.sed <<\_ACEOF
2351 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2353 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2357 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2363 # We use echo to avoid assuming a particular line-breaking character.
2364 # The extra dot is to prevent the shell from consuming trailing
2365 # line-breaks from the sub-command output. A line-break within
2366 # single-quotes doesn't work because, if this script is created in a
2367 # platform that uses two characters for line-breaks (e.g., DOS), tr
2369 ac_LF_and_DOT=`echo; echo .`
2370 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2371 rm -f confdef2opt.sed
2376 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2377 # 1. Remove the extension, and $U if already installed.
2378 ac_i=`echo "$ac_i" |
2379 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2381 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2382 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2386 LTLIBOBJS=$ac_ltlibobjs
2390 : ${CONFIG_STATUS=./config.status}
2391 ac_clean_files_save=$ac_clean_files
2392 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2393 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2394 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2395 cat >$CONFIG_STATUS <<_ACEOF
2397 # Generated by $as_me.
2398 # Run this file to recreate the current configuration.
2399 # Compiler output produced by configure, useful for debugging
2400 # configure, is in config.log if it exists.
2405 SHELL=\${CONFIG_SHELL-$SHELL}
2408 cat >>$CONFIG_STATUS <<\_ACEOF
2409 ## --------------------- ##
2410 ## M4sh Initialization. ##
2411 ## --------------------- ##
2413 # Be Bourne compatible
2414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2417 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2418 # is contrary to our usage. Disable this feature.
2419 alias -g '${1+"$@"}'='"$@"'
2420 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2423 DUALCASE=1; export DUALCASE # for MKS sh
2425 # Support unset when possible.
2426 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2433 # Work around bugs in pre-3.0 UWIN ksh.
2434 $as_unset ENV MAIL MAILPATH
2441 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2442 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2443 LC_TELEPHONE LC_TIME
2445 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2446 eval $as_var=C; export $as_var
2452 # Required to use basename.
2453 if expr a : '\(a\)' >/dev/null 2>&1; then
2459 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2460 as_basename=basename
2466 # Name of the executable.
2467 as_me=`$as_basename "$0" ||
2468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2469 X"$0" : 'X\(//\)$' \| \
2470 X"$0" : 'X\(/\)$' \| \
2471 . : '\(.\)' 2>/dev/null ||
2473 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2474 /^X\/\(\/\/\)$/{ s//\1/; q; }
2475 /^X\/\(\/\).*/{ s//\1/; q; }
2479 # PATH needs CR, and LINENO needs CR and PATH.
2480 # Avoid depending upon Character Ranges.
2481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2484 as_cr_digits='0123456789'
2485 as_cr_alnum=$as_cr_Letters$as_cr_digits
2487 # The user is always right.
2488 if test "${PATH_SEPARATOR+set}" != set; then
2489 echo "#! /bin/sh" >conf$$.sh
2490 echo "exit 0" >>conf$$.sh
2492 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2503 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2504 test "x$as_lineno_1" != "x$as_lineno_2" &&
2505 test "x$as_lineno_3" = "x$as_lineno_2" || {
2506 # Find who we are. Look in the path if we contain no path at all
2509 *[\\/]* ) as_myself=$0 ;;
2510 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 test -z "$as_dir" && as_dir=.
2515 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2520 # We did not find ourselves, most probably we were run as `sh COMMAND'
2521 # in which case we are not to be found in the path.
2522 if test "x$as_myself" = x; then
2525 if test ! -f "$as_myself"; then
2526 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2527 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2528 { (exit 1); exit 1; }; }
2530 case $CONFIG_SHELL in
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2536 test -z "$as_dir" && as_dir=.
2537 for as_base in sh bash ksh sh5; do
2540 if ("$as_dir/$as_base" -c '
2543 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2544 test "x$as_lineno_1" != "x$as_lineno_2" &&
2545 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2546 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2547 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2548 CONFIG_SHELL=$as_dir/$as_base
2550 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2558 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2559 # uniformly replaced by the line number. The first 'sed' inserts a
2560 # line-number line before each line; the second 'sed' does the real
2561 # work. The second script uses 'N' to pair each line-number line
2562 # with the numbered line, and appends trailing '-' during
2563 # substitution so that $LINENO is not a special case at line end.
2564 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2565 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2566 sed '=' <$as_myself |
2571 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2574 s,^['$as_cr_digits']*\n,,
2576 chmod +x $as_me.lineno ||
2577 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2578 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2579 { (exit 1); exit 1; }; }
2581 # Don't try to exec as it changes $[0], causing all sort of problems
2582 # (the dirname of $[0] is not the place where we might find the
2583 # original and so on. Autoconf is especially sensible to this).
2585 # Exit status is that of the last command.
2590 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2591 *c*,-n*) ECHO_N= ECHO_C='
2593 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2594 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2597 if expr a : '\(a\)' >/dev/null 2>&1; then
2603 rm -f conf$$ conf$$.exe conf$$.file
2605 if ln -s conf$$.file conf$$ 2>/dev/null; then
2606 # We could just check for DJGPP; but this test a) works b) is more generic
2607 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2608 if test -f conf$$.exe; then
2609 # Don't use ln at all; we don't have any links
2614 elif ln conf$$.file conf$$ 2>/dev/null; then
2619 rm -f conf$$ conf$$.exe conf$$.file
2621 if mkdir -p . 2>/dev/null; then
2624 test -d ./-p && rmdir ./-p
2628 as_executable_p="test -f"
2630 # Sed expression to map a string onto a valid CPP name.
2631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2633 # Sed expression to map a string onto a valid variable name.
2634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2638 # We need space, tab and new line, in precisely that order.
2648 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2649 # report actual input values of CONFIG_FILES etc. instead of their
2650 # values after options handling. Logging --version etc. is OK.
2654 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2655 ## Running $as_me. ##
2660 This file was extended by $as_me, which was
2661 generated by GNU Autoconf 2.59. Invocation command line was
2663 CONFIG_FILES = $CONFIG_FILES
2664 CONFIG_HEADERS = $CONFIG_HEADERS
2665 CONFIG_LINKS = $CONFIG_LINKS
2666 CONFIG_COMMANDS = $CONFIG_COMMANDS
2670 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2674 # Files that config.status was made for.
2675 if test -n "$ac_config_files"; then
2676 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2679 if test -n "$ac_config_headers"; then
2680 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2683 if test -n "$ac_config_links"; then
2684 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2687 if test -n "$ac_config_commands"; then
2688 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2691 cat >>$CONFIG_STATUS <<\_ACEOF
2694 \`$as_me' instantiates files from templates according to the
2695 current configuration.
2697 Usage: $0 [OPTIONS] [FILE]...
2699 -h, --help print this help, then exit
2700 -V, --version print version number, then exit
2701 -q, --quiet do not print progress messages
2702 -d, --debug don't remove temporary files
2703 --recheck update $as_me by reconfiguring in the same conditions
2704 --file=FILE[:TEMPLATE]
2705 instantiate the configuration file FILE
2707 Configuration files:
2710 Report bugs to <bug-autoconf@gnu.org>."
2713 cat >>$CONFIG_STATUS <<_ACEOF
2716 configured by $0, generated by GNU Autoconf 2.59,
2717 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2719 Copyright (C) 2003 Free Software Foundation, Inc.
2720 This config.status script is free software; the Free Software Foundation
2721 gives unlimited permission to copy, distribute and modify it."
2725 cat >>$CONFIG_STATUS <<\_ACEOF
2726 # If no file are specified by the user, then we need to provide default
2727 # value. By we need to know if files were specified by the user.
2733 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2734 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2742 *) # This is not an option, so the user has probably given explicit
2745 ac_need_defaults=false;;
2749 # Handling of the options.
2751 cat >>$CONFIG_STATUS <<\_ACEOF
2752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2754 --version | --vers* | -V )
2755 echo "$ac_cs_version"; exit 0 ;;
2757 # Conflict between --help and --header
2758 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2759 Try \`$0 --help' for more information." >&5
2760 echo "$as_me: error: ambiguous option: $1
2761 Try \`$0 --help' for more information." >&2;}
2762 { (exit 1); exit 1; }; };;
2763 --help | --hel | -h )
2764 echo "$ac_cs_usage"; exit 0 ;;
2765 --debug | --d* | -d )
2767 --file | --fil | --fi | --f )
2769 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2770 ac_need_defaults=false;;
2771 --header | --heade | --head | --hea )
2773 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2774 ac_need_defaults=false;;
2775 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2776 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2780 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2781 Try \`$0 --help' for more information." >&5
2782 echo "$as_me: error: unrecognized option: $1
2783 Try \`$0 --help' for more information." >&2;}
2784 { (exit 1); exit 1; }; } ;;
2786 *) ac_config_targets="$ac_config_targets $1" ;;
2792 ac_configure_extra_args=
2794 if $ac_cs_silent; then
2796 ac_configure_extra_args="$ac_configure_extra_args --silent"
2800 cat >>$CONFIG_STATUS <<_ACEOF
2801 if \$ac_cs_recheck; then
2802 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2803 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2812 cat >>$CONFIG_STATUS <<\_ACEOF
2813 for ac_config_target in $ac_config_targets
2815 case "$ac_config_target" in
2816 # Handling of arguments.
2817 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2818 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2819 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2820 { (exit 1); exit 1; }; };;
2824 # If the user did not use the arguments to specify the items to instantiate,
2825 # then the envvar interface is used. Set only those that are not.
2826 # We use the long form for the default assignment because of an extremely
2827 # bizarre bug on SunOS 4.1.3.
2828 if $ac_need_defaults; then
2829 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2832 # Have a temporary directory for convenience. Make it in the build tree
2833 # simply because there is no reason to put it here, and in addition,
2834 # creating and moving files from /tmp can sometimes cause problems.
2835 # Create a temporary directory, and hook for its removal unless debugging.
2838 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2839 trap '{ (exit 1); exit 1; }' 1 2 13 15
2842 # Create a (secure) tmp directory for tmp files.
2845 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2846 test -n "$tmp" && test -d "$tmp"
2849 tmp=./confstat$$-$RANDOM
2850 (umask 077 && mkdir $tmp)
2853 echo "$me: cannot create a temporary directory in ." >&2
2854 { (exit 1); exit 1; }
2859 cat >>$CONFIG_STATUS <<_ACEOF
2862 # CONFIG_FILES section.
2865 # No need to generate the scripts if there are no CONFIG_FILES.
2866 # This happens for instance when ./config.status config.h
2867 if test -n "\$CONFIG_FILES"; then
2868 # Protect against being on the right side of a sed subst in config.status.
2869 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2870 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2871 s,@SHELL@,$SHELL,;t t
2872 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2873 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2874 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2875 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2876 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2877 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2878 s,@exec_prefix@,$exec_prefix,;t t
2879 s,@prefix@,$prefix,;t t
2880 s,@program_transform_name@,$program_transform_name,;t t
2881 s,@bindir@,$bindir,;t t
2882 s,@sbindir@,$sbindir,;t t
2883 s,@libexecdir@,$libexecdir,;t t
2884 s,@datadir@,$datadir,;t t
2885 s,@sysconfdir@,$sysconfdir,;t t
2886 s,@sharedstatedir@,$sharedstatedir,;t t
2887 s,@localstatedir@,$localstatedir,;t t
2888 s,@libdir@,$libdir,;t t
2889 s,@includedir@,$includedir,;t t
2890 s,@oldincludedir@,$oldincludedir,;t t
2891 s,@infodir@,$infodir,;t t
2892 s,@mandir@,$mandir,;t t
2893 s,@build_alias@,$build_alias,;t t
2894 s,@host_alias@,$host_alias,;t t
2895 s,@target_alias@,$target_alias,;t t
2897 s,@ECHO_C@,$ECHO_C,;t t
2898 s,@ECHO_N@,$ECHO_N,;t t
2899 s,@ECHO_T@,$ECHO_T,;t t
2902 s,@CFLAGS@,$CFLAGS,;t t
2903 s,@LDFLAGS@,$LDFLAGS,;t t
2904 s,@CPPFLAGS@,$CPPFLAGS,;t t
2905 s,@ac_ct_CC@,$ac_ct_CC,;t t
2906 s,@EXEEXT@,$EXEEXT,;t t
2907 s,@OBJEXT@,$OBJEXT,;t t
2908 s,@subdirs@,$subdirs,;t t
2909 s,@eaptypes@,$eaptypes,;t t
2910 s,@eap_ldflags@,$eap_ldflags,;t t
2911 s,@eap_cflags@,$eap_cflags,;t t
2912 s,@targetname@,$targetname,;t t
2913 s,@LIBOBJS@,$LIBOBJS,;t t
2914 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2919 cat >>$CONFIG_STATUS <<\_ACEOF
2920 # Split the substitutions into bite-sized pieces for seds with
2921 # small command number limits, like on Digital OSF/1 and HP-UX.
2923 ac_sed_frag=1 # Number of current file.
2924 ac_beg=1 # First line for current file.
2925 ac_end=$ac_max_sed_lines # Line after last line for current file.
2928 while $ac_more_lines; do
2929 if test $ac_beg -gt 1; then
2930 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2932 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2934 if test ! -s $tmp/subs.frag; then
2937 # The purpose of the label and of the branching condition is to
2938 # speed up the sed processing (if there are no `@' at all, there
2939 # is no need to browse any of the substitutions).
2940 # These are the two extra sed commands mentioned above.
2942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2943 if test -z "$ac_sed_cmds"; then
2944 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2946 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2948 ac_sed_frag=`expr $ac_sed_frag + 1`
2950 ac_end=`expr $ac_end + $ac_max_sed_lines`
2953 if test -z "$ac_sed_cmds"; then
2956 fi # test -n "$CONFIG_FILES"
2959 cat >>$CONFIG_STATUS <<\_ACEOF
2960 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2961 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2963 - | *:- | *:-:* ) # input from stdin
2965 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2966 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2967 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2968 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2969 * ) ac_file_in=$ac_file.in ;;
2972 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2973 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2975 X"$ac_file" : 'X\(//\)[^/]' \| \
2976 X"$ac_file" : 'X\(//\)$' \| \
2977 X"$ac_file" : 'X\(/\)' \| \
2978 . : '\(.\)' 2>/dev/null ||
2980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2982 /^X\(\/\/\)$/{ s//\1/; q; }
2983 /^X\(\/\).*/{ s//\1/; q; }
2985 { if $as_mkdir_p; then
2990 while test ! -d "$as_dir"; do
2991 as_dirs="$as_dir $as_dirs"
2992 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2994 X"$as_dir" : 'X\(//\)[^/]' \| \
2995 X"$as_dir" : 'X\(//\)$' \| \
2996 X"$as_dir" : 'X\(/\)' \| \
2997 . : '\(.\)' 2>/dev/null ||
2999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3001 /^X\(\/\/\)$/{ s//\1/; q; }
3002 /^X\(\/\).*/{ s//\1/; q; }
3005 test ! -n "$as_dirs" || mkdir $as_dirs
3006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3008 { (exit 1); exit 1; }; }; }
3012 if test "$ac_dir" != .; then
3013 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3014 # A "../" for each directory in $ac_dir_suffix.
3015 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3017 ac_dir_suffix= ac_top_builddir=
3021 .) # No --srcdir option. We are building in place.
3023 if test -z "$ac_top_builddir"; then
3026 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3028 [\\/]* | ?:[\\/]* ) # Absolute path.
3029 ac_srcdir=$srcdir$ac_dir_suffix;
3030 ac_top_srcdir=$srcdir ;;
3032 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3033 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3036 # Do not use `cd foo && pwd` to compute absolute paths, because
3037 # the directories may not exist.
3039 .) ac_abs_builddir="$ac_dir";;
3042 .) ac_abs_builddir=`pwd`;;
3043 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3044 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3047 case $ac_abs_builddir in
3048 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3050 case ${ac_top_builddir}. in
3051 .) ac_abs_top_builddir=$ac_abs_builddir;;
3052 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3053 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3056 case $ac_abs_builddir in
3057 .) ac_abs_srcdir=$ac_srcdir;;
3060 .) ac_abs_srcdir=$ac_abs_builddir;;
3061 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3062 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3065 case $ac_abs_builddir in
3066 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3068 case $ac_top_srcdir in
3069 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3070 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3071 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3077 if test x"$ac_file" != x-; then
3078 { echo "$as_me:$LINENO: creating $ac_file" >&5
3079 echo "$as_me: creating $ac_file" >&6;}
3082 # Let's still pretend it is `configure' which instantiates (i.e., don't
3083 # use $as_me), people would be surprised to read:
3084 # /* config.h. Generated by config.status. */
3085 if test x"$ac_file" = x-; then
3088 configure_input="$ac_file. "
3090 configure_input=$configure_input"Generated from `echo $ac_file_in |
3091 sed 's,.*/,,'` by configure."
3093 # First look for the input files in the build tree, otherwise in the
3095 ac_file_inputs=`IFS=:
3096 for f in $ac_file_in; do
3098 -) echo $tmp/stdin ;;
3100 # Absolute (can't be DOS-style, as IFS=:)
3101 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3102 echo "$as_me: error: cannot find input file: $f" >&2;}
3103 { (exit 1); exit 1; }; }
3106 if test -f "$f"; then
3109 elif test -f "$srcdir/$f"; then
3114 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3115 echo "$as_me: error: cannot find input file: $f" >&2;}
3116 { (exit 1); exit 1; }; }
3119 done` || { (exit 1); exit 1; }
3121 cat >>$CONFIG_STATUS <<_ACEOF
3125 cat >>$CONFIG_STATUS <<\_ACEOF
3127 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3128 s,@configure_input@,$configure_input,;t t
3129 s,@srcdir@,$ac_srcdir,;t t
3130 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3131 s,@top_srcdir@,$ac_top_srcdir,;t t
3132 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3133 s,@builddir@,$ac_builddir,;t t
3134 s,@abs_builddir@,$ac_abs_builddir,;t t
3135 s,@top_builddir@,$ac_top_builddir,;t t
3136 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3137 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3139 if test x"$ac_file" != x-; then
3140 mv $tmp/out $ac_file
3149 cat >>$CONFIG_STATUS <<\_ACEOF
3151 { (exit 0); exit 0; }
3153 chmod +x $CONFIG_STATUS
3154 ac_clean_files=$ac_clean_files_save
3157 # configure is writing to config.log, and then calls config.status.
3158 # config.status does its own redirection, appending to config.log.
3159 # Unfortunately, on DOS this fails, as config.log is still kept open
3160 # by configure, so config.status won't be able to write to it; its
3161 # output is simply discarded. So we exec the FD to /dev/null,
3162 # effectively closing config.log, so it can be properly (re)opened and
3163 # appended to by config.status. When coming back to configure, we
3164 # need to make the FD available again.
3165 if test "$no_create" != yes; then
3167 ac_config_status_args=
3168 test "$silent" = yes &&
3169 ac_config_status_args="$ac_config_status_args --quiet"
3171 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3173 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3174 # would make configure fail if this is the last instruction.
3175 $ac_cs_success || { (exit 1); exit 1; }
3179 # CONFIG_SUBDIRS section.
3181 if test "$no_recursion" != yes; then
3183 # Remove --cache-file and --srcdir arguments so they do not pile up.
3184 ac_sub_configure_args=
3186 for ac_arg in $ac_configure_args; do
3187 if test -n "$ac_prev"; then
3192 -cache-file | --cache-file | --cache-fil | --cache-fi \
3193 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3194 ac_prev=cache_file ;;
3195 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3196 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3199 --config-cache | -C)
3201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3209 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3213 # Always prepend --prefix to ensure using the same prefix
3214 # in subdir configurations.
3215 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3218 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3220 # Do not complain, so a configure script can configure whichever
3221 # parts of a large source tree are present.
3222 test -d $srcdir/$ac_dir || continue
3224 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3225 echo "$as_me: configuring in $ac_dir" >&6;}
3226 { if $as_mkdir_p; then
3231 while test ! -d "$as_dir"; do
3232 as_dirs="$as_dir $as_dirs"
3233 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$as_dir" : 'X\(//\)[^/]' \| \
3236 X"$as_dir" : 'X\(//\)$' \| \
3237 X"$as_dir" : 'X\(/\)' \| \
3238 . : '\(.\)' 2>/dev/null ||
3240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3242 /^X\(\/\/\)$/{ s//\1/; q; }
3243 /^X\(\/\).*/{ s//\1/; q; }
3246 test ! -n "$as_dirs" || mkdir $as_dirs
3247 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3248 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3249 { (exit 1); exit 1; }; }; }
3253 if test "$ac_dir" != .; then
3254 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3255 # A "../" for each directory in $ac_dir_suffix.
3256 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3258 ac_dir_suffix= ac_top_builddir=
3262 .) # No --srcdir option. We are building in place.
3264 if test -z "$ac_top_builddir"; then
3267 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3269 [\\/]* | ?:[\\/]* ) # Absolute path.
3270 ac_srcdir=$srcdir$ac_dir_suffix;
3271 ac_top_srcdir=$srcdir ;;
3273 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3274 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3277 # Do not use `cd foo && pwd` to compute absolute paths, because
3278 # the directories may not exist.
3280 .) ac_abs_builddir="$ac_dir";;
3283 .) ac_abs_builddir=`pwd`;;
3284 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3285 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3288 case $ac_abs_builddir in
3289 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3291 case ${ac_top_builddir}. in
3292 .) ac_abs_top_builddir=$ac_abs_builddir;;
3293 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3294 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3297 case $ac_abs_builddir in
3298 .) ac_abs_srcdir=$ac_srcdir;;
3301 .) ac_abs_srcdir=$ac_abs_builddir;;
3302 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3303 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3306 case $ac_abs_builddir in
3307 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3309 case $ac_top_srcdir in
3310 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3311 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3312 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3319 # Check for guested configure; otherwise get Cygnus style configure.
3320 if test -f $ac_srcdir/configure.gnu; then
3321 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3322 elif test -f $ac_srcdir/configure; then
3323 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3324 elif test -f $ac_srcdir/configure.in; then
3325 ac_sub_configure=$ac_configure
3327 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3328 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3332 # The recursion is here.
3333 if test -n "$ac_sub_configure"; then
3334 # Make the cache file name correct relative to the subdirectory.
3336 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3338 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3341 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3342 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3343 # The eval makes quoting arguments work.
3344 eval $ac_sub_configure $ac_sub_configure_args \
3345 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3346 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3347 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3348 { (exit 1); exit 1; }; }