2 # From configure.in Revision: 1.1.2.5 .
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="otp_rlm.c"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP otp_cflags otp_ldflags targetname LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
837 if test -n "$ac_init_help"; then
842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
844 --with-rlm-otp-lib-dir directory for otp libs
845 --with-rlm-otp-include-dir directory for otp includes
846 --with-openssl-libraries=DIR directory to look for OpenSSL library files
847 --with-openssl-includes=DIR directory to look for OpenSSL include files
849 Some influential environment variables:
850 CC C compiler command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
853 nonstandard directory <lib dir>
854 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
855 headers in a nonstandard directory <include dir>
858 Use these variables to override the choices made by `configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
864 if test "$ac_init_help" = "recursive"; then
865 # If there are subdirs, report their specific --help.
867 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
868 test -d $ac_dir || continue
871 if test "$ac_dir" != .; then
872 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
873 # A "../" for each directory in $ac_dir_suffix.
874 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
876 ac_dir_suffix= ac_top_builddir=
880 .) # No --srcdir option. We are building in place.
882 if test -z "$ac_top_builddir"; then
885 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
887 [\\/]* | ?:[\\/]* ) # Absolute path.
888 ac_srcdir=$srcdir$ac_dir_suffix;
889 ac_top_srcdir=$srcdir ;;
891 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
892 ac_top_srcdir=$ac_top_builddir$srcdir ;;
895 # Do not use `cd foo && pwd` to compute absolute paths, because
896 # the directories may not exist.
898 .) ac_abs_builddir="$ac_dir";;
901 .) ac_abs_builddir=`pwd`;;
902 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
903 *) ac_abs_builddir=`pwd`/"$ac_dir";;
906 case $ac_abs_builddir in
907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
909 case ${ac_top_builddir}. in
910 .) ac_abs_top_builddir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
912 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
915 case $ac_abs_builddir in
916 .) ac_abs_srcdir=$ac_srcdir;;
919 .) ac_abs_srcdir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
921 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
924 case $ac_abs_builddir in
925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
927 case $ac_top_srcdir in
928 .) ac_abs_top_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
930 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
935 # Check for guested configure; otherwise get Cygnus style configure.
936 if test -f $ac_srcdir/configure.gnu; then
938 $SHELL $ac_srcdir/configure.gnu --help=recursive
939 elif test -f $ac_srcdir/configure; then
941 $SHELL $ac_srcdir/configure --help=recursive
942 elif test -f $ac_srcdir/configure.ac ||
943 test -f $ac_srcdir/configure.in; then
947 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
953 test -n "$ac_init_help" && exit 0
954 if $ac_init_version; then
957 Copyright (C) 2003 Free Software Foundation, Inc.
958 This configure script is free software; the Free Software Foundation
959 gives unlimited permission to copy, distribute and modify it.
965 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake.
968 It was created by $as_me, which was
969 generated by GNU Autoconf 2.59. Invocation command line was
980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
992 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1003 test -z "$as_dir" && as_dir=.
1004 echo "PATH: $as_dir"
1019 # Keep a trace of the command line.
1020 # Strip out --no-create and --no-recursion so they do not pile up.
1021 # Strip out --silent because we don't want to record it for future runs.
1022 # Also quote any args containing shell meta-characters.
1023 # Make two passes to allow for proper duplicate-argument suppression.
1028 ac_must_keep_next=false
1034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1038 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1039 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1042 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1044 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1045 if test $ac_must_keep_next = true; then
1046 ac_must_keep_next=false # Got value, back to normal.
1049 *=* | --config-cache | -C | -disable-* | --disable-* \
1050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1052 | -with-* | --with-* | -without-* | --without-* | --x)
1053 case "$ac_configure_args0 " in
1054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1057 -* ) ac_must_keep_next=true ;;
1060 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1061 # Get rid of the leading space.
1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1070 # When interrupted or exit'd, cleanup temporary files, and complete
1071 # config.log. We remove comments because anyway the quotes in there
1072 # would cause problems or look ugly.
1073 # WARNING: Be sure not to use single quotes in there, as some shells,
1074 # such as our DU 5.0 friend, will then `close' the trap.
1075 trap 'exit_status=$?
1076 # Save into config.log some information that might help in debugging.
1081 ## ---------------- ##
1082 ## Cache variables. ##
1083 ## ---------------- ##
1086 # The following way of writing the cache mishandles newlines in values,
1089 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1092 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 ## ----------------- ##
1105 ## Output variables. ##
1106 ## ----------------- ##
1109 for ac_var in $ac_subst_vars
1111 eval ac_val=$`echo $ac_var`
1112 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -n "$ac_subst_files"; then
1123 for ac_var in $ac_subst_files
1125 eval ac_val=$`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1131 if test -s confdefs.h; then
1138 sed "/^$/d" confdefs.h | sort
1141 test "$ac_signal" != 0 &&
1142 echo "$as_me: caught signal $ac_signal"
1143 echo "$as_me: exit $exit_status"
1145 rm -f core *.core &&
1146 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1149 for ac_signal in 1 2 13 15; do
1150 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1155 rm -rf conftest* confdefs.h
1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1159 # Predefined preprocessor variables.
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_NAME "$PACKAGE_NAME"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_STRING "$PACKAGE_STRING"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1186 # Let the site file select an alternate cache file if it wants to.
1187 # Prefer explicitly selected file to automatically selected ones.
1188 if test -z "$CONFIG_SITE"; then
1189 if test "x$prefix" != xNONE; then
1190 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1192 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1195 for ac_site_file in $CONFIG_SITE; do
1196 if test -r "$ac_site_file"; then
1197 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1198 echo "$as_me: loading site script $ac_site_file" >&6;}
1199 sed 's/^/| /' "$ac_site_file" >&5
1204 if test -r "$cache_file"; then
1205 # Some versions of bash will fail to source /dev/null (special
1206 # files actually), so we avoid doing that.
1207 if test -f "$cache_file"; then
1208 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1209 echo "$as_me: loading cache $cache_file" >&6;}
1211 [\\/]* | ?:[\\/]* ) . $cache_file;;
1212 *) . ./$cache_file;;
1216 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1217 echo "$as_me: creating cache $cache_file" >&6;}
1221 # Check that the precious variables saved in the cache have kept the same
1223 ac_cache_corrupted=false
1224 for ac_var in `(set) 2>&1 |
1225 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1226 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1227 eval ac_new_set=\$ac_env_${ac_var}_set
1228 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1229 eval ac_new_val="\$ac_env_${ac_var}_value"
1230 case $ac_old_set,$ac_new_set in
1232 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1234 ac_cache_corrupted=: ;;
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1241 if test "x$ac_old_val" != "x$ac_new_val"; then
1242 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1244 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1245 echo "$as_me: former value: $ac_old_val" >&2;}
1246 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1247 echo "$as_me: current value: $ac_new_val" >&2;}
1248 ac_cache_corrupted=:
1251 # Pass precious variables to config.status.
1252 if test "$ac_new_set" = set; then
1254 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1255 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1256 *) ac_arg=$ac_var=$ac_new_val ;;
1258 case " $ac_configure_args " in
1259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1260 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1264 if $ac_cache_corrupted; then
1265 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1267 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1269 { (exit 1); exit 1; }; }
1273 ac_cpp='$CPP $CPPFLAGS'
1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1299 otp_cflags="-Wno-cast-qual"
1302 if test x$with_rlm_otp != xno; then
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 if test -n "$ac_tool_prefix"; then
1311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_CC+set}" = set; then
1316 echo $ECHO_N "(cached) $ECHO_C" >&6
1318 if test -n "$CC"; then
1319 ac_cv_prog_CC="$CC" # Let the user override the test.
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 test -z "$as_dir" && as_dir=.
1326 for ac_exec_ext in '' $ac_executable_extensions; do
1327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1338 if test -n "$CC"; then
1339 echo "$as_me:$LINENO: result: $CC" >&5
1340 echo "${ECHO_T}$CC" >&6
1342 echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1347 if test -z "$ac_cv_prog_CC"; then
1349 # Extract the first word of "gcc", so it can be a program name with args.
1350 set dummy gcc; ac_word=$2
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 if test -n "$ac_ct_CC"; then
1357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1363 test -z "$as_dir" && as_dir=.
1364 for ac_exec_ext in '' $ac_executable_extensions; do
1365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1366 ac_cv_prog_ac_ct_CC="gcc"
1367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1376 if test -n "$ac_ct_CC"; then
1377 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1378 echo "${ECHO_T}$ac_ct_CC" >&6
1380 echo "$as_me:$LINENO: result: no" >&5
1381 echo "${ECHO_T}no" >&6
1389 if test -z "$CC"; then
1390 if test -n "$ac_tool_prefix"; then
1391 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1392 set dummy ${ac_tool_prefix}cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_CC+set}" = set; then
1396 echo $ECHO_N "(cached) $ECHO_C" >&6
1398 if test -n "$CC"; then
1399 ac_cv_prog_CC="$CC" # Let the user override the test.
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405 test -z "$as_dir" && as_dir=.
1406 for ac_exec_ext in '' $ac_executable_extensions; do
1407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408 ac_cv_prog_CC="${ac_tool_prefix}cc"
1409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 if test -n "$CC"; then
1419 echo "$as_me:$LINENO: result: $CC" >&5
1420 echo "${ECHO_T}$CC" >&6
1422 echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1427 if test -z "$ac_cv_prog_CC"; then
1429 # Extract the first word of "cc", so it can be a program name with args.
1430 set dummy cc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1434 echo $ECHO_N "(cached) $ECHO_C" >&6
1436 if test -n "$ac_ct_CC"; then
1437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 test -z "$as_dir" && as_dir=.
1444 for ac_exec_ext in '' $ac_executable_extensions; do
1445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446 ac_cv_prog_ac_ct_CC="cc"
1447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1456 if test -n "$ac_ct_CC"; then
1457 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1458 echo "${ECHO_T}$ac_ct_CC" >&6
1460 echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1470 if test -z "$CC"; then
1471 # Extract the first word of "cc", so it can be a program name with args.
1472 set dummy cc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$CC"; then
1479 ac_cv_prog_CC="$CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1490 ac_prog_rejected=yes
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1500 if test $ac_prog_rejected = yes; then
1501 # We found a bogon in the path, so make sure we never use it.
1502 set dummy $ac_cv_prog_CC
1504 if test $# != 0; then
1505 # We chose a different compiler from the bogus one.
1506 # However, it has the same basename, so the bogon will be chosen
1507 # first if we set CC to just the basename; use the full file name.
1509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1515 if test -n "$CC"; then
1516 echo "$as_me:$LINENO: result: $CC" >&5
1517 echo "${ECHO_T}$CC" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1524 if test -z "$CC"; then
1525 if test -n "$ac_tool_prefix"; then
1528 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1529 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532 if test "${ac_cv_prog_CC+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1535 if test -n "$CC"; then
1536 ac_cv_prog_CC="$CC" # Let the user override the test.
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir=.
1543 for ac_exec_ext in '' $ac_executable_extensions; do
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555 if test -n "$CC"; then
1556 echo "$as_me:$LINENO: result: $CC" >&5
1557 echo "${ECHO_T}$CC" >&6
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1563 test -n "$CC" && break
1566 if test -z "$CC"; then
1570 # Extract the first word of "$ac_prog", so it can be a program name with args.
1571 set dummy $ac_prog; ac_word=$2
1572 echo "$as_me:$LINENO: checking for $ac_word" >&5
1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 if test -n "$ac_ct_CC"; then
1578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584 test -z "$as_dir" && as_dir=.
1585 for ac_exec_ext in '' $ac_executable_extensions; do
1586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1587 ac_cv_prog_ac_ct_CC="$ac_prog"
1588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1597 if test -n "$ac_ct_CC"; then
1598 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1599 echo "${ECHO_T}$ac_ct_CC" >&6
1601 echo "$as_me:$LINENO: result: no" >&5
1602 echo "${ECHO_T}no" >&6
1605 test -n "$ac_ct_CC" && break
1614 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1615 See \`config.log' for more details." >&5
1616 echo "$as_me: error: no acceptable C compiler found in \$PATH
1617 See \`config.log' for more details." >&2;}
1618 { (exit 1); exit 1; }; }
1620 # Provide some information about the compiler.
1621 echo "$as_me:$LINENO:" \
1622 "checking for C compiler version" >&5
1623 ac_compiler=`set X $ac_compile; echo $2`
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1625 (eval $ac_compiler --version </dev/null >&5) 2>&5
1627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628 (exit $ac_status); }
1629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1630 (eval $ac_compiler -v </dev/null >&5) 2>&5
1632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 (exit $ac_status); }
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1635 (eval $ac_compiler -V </dev/null >&5) 2>&5
1637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638 (exit $ac_status); }
1640 cat >conftest.$ac_ext <<_ACEOF
1643 cat confdefs.h >>conftest.$ac_ext
1644 cat >>conftest.$ac_ext <<_ACEOF
1645 /* end confdefs.h. */
1655 ac_clean_files_save=$ac_clean_files
1656 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1657 # Try to create an executable without -o first, disregard a.out.
1658 # It will help us diagnose broken compilers, and finding out an intuition
1660 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1661 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1662 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1663 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1664 (eval $ac_link_default) 2>&5
1666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1667 (exit $ac_status); }; then
1668 # Find the output, starting from the most likely. This scheme is
1669 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1672 # Be careful to initialize this variable, since it used to be cached.
1673 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1675 # b.out is created by i960 compilers.
1676 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1678 test -f "$ac_file" || continue
1680 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1683 # This is the source file.
1686 # We found the default executable, but exeext='' is most
1690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1691 # FIXME: I believe we export ac_cv_exeext for Libtool,
1692 # but it would be cool to find out if it's true. Does anybody
1693 # maintain Libtool? --akim.
1701 echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1705 See \`config.log' for more details." >&5
1706 echo "$as_me: error: C compiler cannot create executables
1707 See \`config.log' for more details." >&2;}
1708 { (exit 77); exit 77; }; }
1711 ac_exeext=$ac_cv_exeext
1712 echo "$as_me:$LINENO: result: $ac_file" >&5
1713 echo "${ECHO_T}$ac_file" >&6
1715 # Check the compiler produces executables we can run. If not, either
1716 # the compiler is broken, or we cross compile.
1717 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1718 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1719 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1720 # If not cross compiling, check that we can run a simple program.
1721 if test "$cross_compiling" != yes; then
1722 if { ac_try='./$ac_file'
1723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 (exit $ac_status); }; }; then
1730 if test "$cross_compiling" = maybe; then
1733 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1734 If you meant to cross compile, use \`--host'.
1735 See \`config.log' for more details." >&5
1736 echo "$as_me: error: cannot run C compiled programs.
1737 If you meant to cross compile, use \`--host'.
1738 See \`config.log' for more details." >&2;}
1739 { (exit 1); exit 1; }; }
1743 echo "$as_me:$LINENO: result: yes" >&5
1744 echo "${ECHO_T}yes" >&6
1746 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1747 ac_clean_files=$ac_clean_files_save
1748 # Check the compiler produces executables we can run. If not, either
1749 # the compiler is broken, or we cross compile.
1750 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1751 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1752 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1753 echo "${ECHO_T}$cross_compiling" >&6
1755 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1756 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1758 (eval $ac_link) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }; then
1762 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1763 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1764 # work properly (i.e., refer to `conftest.exe'), while it won't with
1766 for ac_file in conftest.exe conftest conftest.*; do
1767 test -f "$ac_file" || continue
1769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1770 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1777 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1778 See \`config.log' for more details." >&5
1779 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1780 See \`config.log' for more details." >&2;}
1781 { (exit 1); exit 1; }; }
1784 rm -f conftest$ac_cv_exeext
1785 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1786 echo "${ECHO_T}$ac_cv_exeext" >&6
1788 rm -f conftest.$ac_ext
1789 EXEEXT=$ac_cv_exeext
1791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1793 if test "${ac_cv_objext+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. */
1811 rm -f conftest.o conftest.obj
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1813 (eval $ac_compile) 2>&5
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; then
1817 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1835 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1837 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1838 echo "${ECHO_T}$ac_cv_objext" >&6
1839 OBJEXT=$ac_cv_objext
1841 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1842 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1843 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 cat >conftest.$ac_ext <<_ACEOF
1849 cat confdefs.h >>conftest.$ac_ext
1850 cat >>conftest.$ac_ext <<_ACEOF
1851 /* end confdefs.h. */
1864 rm -f conftest.$ac_objext
1865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1866 (eval $ac_compile) 2>conftest.er1
1868 grep -v '^ *+' conftest.er1 >conftest.err
1870 cat conftest.err >&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); } &&
1873 { ac_try='test -z "$ac_c_werror_flag"
1874 || test ! -s conftest.err'
1875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); }; } &&
1880 { ac_try='test -s conftest.$ac_objext'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; }; then
1888 echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1894 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1897 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1899 GCC=`test $ac_compiler_gnu = yes && echo yes`
1900 ac_test_CFLAGS=${CFLAGS+set}
1901 ac_save_CFLAGS=$CFLAGS
1903 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1905 if test "${ac_cv_prog_cc_g+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 cat >conftest.$ac_ext <<_ACEOF
1911 cat confdefs.h >>conftest.$ac_ext
1912 cat >>conftest.$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1923 rm -f conftest.$ac_objext
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>conftest.er1
1927 grep -v '^ *+' conftest.er1 >conftest.err
1929 cat conftest.err >&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); } &&
1932 { ac_try='test -z "$ac_c_werror_flag"
1933 || test ! -s conftest.err'
1934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; } &&
1939 { ac_try='test -s conftest.$ac_objext'
1940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; }; then
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1954 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1955 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1956 if test "$ac_test_CFLAGS" = set; then
1957 CFLAGS=$ac_save_CFLAGS
1958 elif test $ac_cv_prog_cc_g = yes; then
1959 if test "$GCC" = yes; then
1965 if test "$GCC" = yes; then
1971 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1972 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1973 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 ac_cv_prog_cc_stdc=no
1978 cat >conftest.$ac_ext <<_ACEOF
1981 cat confdefs.h >>conftest.$ac_ext
1982 cat >>conftest.$ac_ext <<_ACEOF
1983 /* end confdefs.h. */
1986 #include <sys/types.h>
1987 #include <sys/stat.h>
1988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1989 struct buf { int x; };
1990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1991 static char *e (p, i)
1997 static char *f (char * (*g) (char **, int), char **p, ...)
2002 s = g (p, va_arg (v,int));
2007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2008 function prototypes and stuff, but not '\xHH' hex character constants.
2009 These don't provoke an error unfortunately, instead are silently treated
2010 as 'x'. The following induces an error, until -std1 is added to get
2011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2012 array size at least. It's necessary to write '\x00'==0 to get something
2013 that's true only with -std1. */
2014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2016 int test (int i, double x);
2017 struct s1 {int (*f) (int a);};
2018 struct s2 {int (*f) (double a);};
2019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2030 # Don't try gcc -ansi; that turns off useful extensions and
2031 # breaks some systems' header files.
2032 # AIX -qlanglvl=ansi
2033 # Ultrix and OSF/1 -std1
2034 # HP-UX 10.20 and later -Ae
2035 # HP-UX older versions -Aa -D_HPUX_SOURCE
2036 # SVR4 -Xc -D__EXTENSIONS__
2037 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2039 CC="$ac_save_CC $ac_arg"
2040 rm -f conftest.$ac_objext
2041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2042 (eval $ac_compile) 2>conftest.er1
2044 grep -v '^ *+' conftest.er1 >conftest.err
2046 cat conftest.err >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } &&
2049 { ac_try='test -z "$ac_c_werror_flag"
2050 || test ! -s conftest.err'
2051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; } &&
2056 { ac_try='test -s conftest.$ac_objext'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; }; then
2062 ac_cv_prog_cc_stdc=$ac_arg
2065 echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.$ac_ext >&5
2069 rm -f conftest.err conftest.$ac_objext
2071 rm -f conftest.$ac_ext conftest.$ac_objext
2076 case "x$ac_cv_prog_cc_stdc" in
2078 echo "$as_me:$LINENO: result: none needed" >&5
2079 echo "${ECHO_T}none needed" >&6 ;;
2081 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2082 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2083 CC="$CC $ac_cv_prog_cc_stdc" ;;
2086 # Some people use a C++ compiler to compile C. Since we use `exit',
2087 # in C++ we need to declare it. In case someone uses the same compiler
2088 # for both compiling C and C++ we need to have the C++ compiler decide
2089 # the declaration of exit, since it's the most demanding environment.
2090 cat >conftest.$ac_ext <<_ACEOF
2095 rm -f conftest.$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>conftest.er1
2099 grep -v '^ *+' conftest.er1 >conftest.err
2101 cat conftest.err >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); } &&
2104 { ac_try='test -z "$ac_c_werror_flag"
2105 || test ! -s conftest.err'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; } &&
2111 { ac_try='test -s conftest.$ac_objext'
2112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }; }; then
2117 for ac_declaration in \
2119 'extern "C" void std::exit (int) throw (); using std::exit;' \
2120 'extern "C" void std::exit (int); using std::exit;' \
2121 'extern "C" void exit (int) throw ();' \
2122 'extern "C" void exit (int);' \
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2141 rm -f conftest.$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1 >conftest.err
2147 cat conftest.err >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try='test -z "$ac_c_werror_flag"
2151 || test ! -s conftest.err'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; } &&
2157 { ac_try='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.$ac_ext >&5
2170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2171 cat >conftest.$ac_ext <<_ACEOF
2174 cat confdefs.h >>conftest.$ac_ext
2175 cat >>conftest.$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 rm -f conftest.$ac_objext
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>conftest.er1
2190 grep -v '^ *+' conftest.er1 >conftest.err
2192 cat conftest.err >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); } &&
2195 { ac_try='test -z "$ac_c_werror_flag"
2196 || test ! -s conftest.err'
2197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; } &&
2202 { ac_try='test -s conftest.$ac_objext'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; }; then
2210 echo "$as_me: failed program was:" >&5
2211 sed 's/^/| /' conftest.$ac_ext >&5
2214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2217 if test -n "$ac_declaration"; then
2218 echo '#ifdef __cplusplus' >>confdefs.h
2219 echo $ac_declaration >>confdefs.h
2220 echo '#endif' >>confdefs.h
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.$ac_ext >&5
2228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2237 ac_cpp='$CPP $CPPFLAGS'
2238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2241 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2242 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2243 # On Suns, sometimes $CPP names a directory.
2244 if test -n "$CPP" && test -d "$CPP"; then
2247 if test -z "$CPP"; then
2248 if test "${ac_cv_prog_CPP+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2251 # Double quotes because CPP needs to be expanded
2252 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2255 for ac_c_preproc_warn_flag in '' yes
2257 # Use a header file that comes with gcc, so configuring glibc
2258 # with a fresh cross-compiler works.
2259 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2260 # <limits.h> exists even on freestanding compilers.
2261 # On the NeXT, cc -E runs the code through the compiler's parser,
2262 # not just through cpp. "Syntax error" is here to catch this case.
2263 cat >conftest.$ac_ext <<_ACEOF
2266 cat confdefs.h >>conftest.$ac_ext
2267 cat >>conftest.$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2270 # include <limits.h>
2272 # include <assert.h>
2276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 grep -v '^ *+' conftest.er1 >conftest.err
2281 cat conftest.err >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } >/dev/null; then
2284 if test -s conftest.err; then
2285 ac_cpp_err=$ac_c_preproc_warn_flag
2286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2293 if test -z "$ac_cpp_err"; then
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2299 # Broken: fails on valid input.
2302 rm -f conftest.err conftest.$ac_ext
2304 # OK, works on sane cases. Now check whether non-existent headers
2305 # can be detected and how.
2306 cat >conftest.$ac_ext <<_ACEOF
2309 cat confdefs.h >>conftest.$ac_ext
2310 cat >>conftest.$ac_ext <<_ACEOF
2311 /* end confdefs.h. */
2312 #include <ac_nonexistent.h>
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2317 grep -v '^ *+' conftest.er1 >conftest.err
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2331 if test -z "$ac_cpp_err"; then
2332 # Broken: success on invalid input.
2335 echo "$as_me: failed program was:" >&5
2336 sed 's/^/| /' conftest.$ac_ext >&5
2338 # Passes both tests.
2342 rm -f conftest.err conftest.$ac_ext
2345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2346 rm -f conftest.err conftest.$ac_ext
2347 if $ac_preproc_ok; then
2359 echo "$as_me:$LINENO: result: $CPP" >&5
2360 echo "${ECHO_T}$CPP" >&6
2362 for ac_c_preproc_warn_flag in '' yes
2364 # Use a header file that comes with gcc, so configuring glibc
2365 # with a fresh cross-compiler works.
2366 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2367 # <limits.h> exists even on freestanding compilers.
2368 # On the NeXT, cc -E runs the code through the compiler's parser,
2369 # not just through cpp. "Syntax error" is here to catch this case.
2370 cat >conftest.$ac_ext <<_ACEOF
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2377 # include <limits.h>
2379 # include <assert.h>
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 grep -v '^ *+' conftest.er1 >conftest.err
2388 cat conftest.err >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); } >/dev/null; then
2391 if test -s conftest.err; then
2392 ac_cpp_err=$ac_c_preproc_warn_flag
2393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2400 if test -z "$ac_cpp_err"; then
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2406 # Broken: fails on valid input.
2409 rm -f conftest.err conftest.$ac_ext
2411 # OK, works on sane cases. Now check whether non-existent headers
2412 # can be detected and how.
2413 cat >conftest.$ac_ext <<_ACEOF
2416 cat confdefs.h >>conftest.$ac_ext
2417 cat >>conftest.$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2419 #include <ac_nonexistent.h>
2421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2424 grep -v '^ *+' conftest.er1 >conftest.err
2426 cat conftest.err >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); } >/dev/null; then
2429 if test -s conftest.err; then
2430 ac_cpp_err=$ac_c_preproc_warn_flag
2431 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2438 if test -z "$ac_cpp_err"; then
2439 # Broken: success on invalid input.
2442 echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 # Passes both tests.
2449 rm -f conftest.err conftest.$ac_ext
2452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2453 rm -f conftest.err conftest.$ac_ext
2454 if $ac_preproc_ok; then
2457 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2460 See \`config.log' for more details." >&2;}
2461 { (exit 1); exit 1; }; }
2465 ac_cpp='$CPP $CPPFLAGS'
2466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2471 echo "$as_me:$LINENO: checking for egrep" >&5
2472 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2473 if test "${ac_cv_prog_egrep+set}" = set; then
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2477 then ac_cv_prog_egrep='grep -E'
2478 else ac_cv_prog_egrep='egrep'
2481 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2482 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2483 EGREP=$ac_cv_prog_egrep
2486 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2487 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2488 if test "${ac_cv_header_stdc+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 cat >conftest.$ac_ext <<_ACEOF
2494 cat confdefs.h >>conftest.$ac_ext
2495 cat >>conftest.$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2510 rm -f conftest.$ac_objext
2511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2512 (eval $ac_compile) 2>conftest.er1
2514 grep -v '^ *+' conftest.er1 >conftest.err
2516 cat conftest.err >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } &&
2519 { ac_try='test -z "$ac_c_werror_flag"
2520 || test ! -s conftest.err'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; } &&
2526 { ac_try='test -s conftest.$ac_objext'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; }; then
2532 ac_cv_header_stdc=yes
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 ac_cv_header_stdc=no
2539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2541 if test $ac_cv_header_stdc = yes; then
2542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2543 cat >conftest.$ac_ext <<_ACEOF
2546 cat confdefs.h >>conftest.$ac_ext
2547 cat >>conftest.$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2553 $EGREP "memchr" >/dev/null 2>&1; then
2556 ac_cv_header_stdc=no
2562 if test $ac_cv_header_stdc = yes; then
2563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2564 cat >conftest.$ac_ext <<_ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "free" >/dev/null 2>&1; then
2577 ac_cv_header_stdc=no
2583 if test $ac_cv_header_stdc = yes; then
2584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2585 if test "$cross_compiling" = yes; then
2588 cat >conftest.$ac_ext <<_ACEOF
2591 cat confdefs.h >>conftest.$ac_ext
2592 cat >>conftest.$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2595 #if ((' ' & 0x0FF) == 0x020)
2596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2599 # define ISLOWER(c) \
2600 (('a' <= (c) && (c) <= 'i') \
2601 || ('j' <= (c) && (c) <= 'r') \
2602 || ('s' <= (c) && (c) <= 'z'))
2603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2611 for (i = 0; i < 256; i++)
2612 if (XOR (islower (i), ISLOWER (i))
2613 || toupper (i) != TOUPPER (i))
2618 rm -f conftest$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2631 echo "$as_me: program exited with status $ac_status" >&5
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2636 ac_cv_header_stdc=no
2638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2644 if test $ac_cv_header_stdc = yes; then
2646 cat >>confdefs.h <<\_ACEOF
2647 #define STDC_HEADERS 1
2652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2663 inttypes.h stdint.h unistd.h
2665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2666 echo "$as_me:$LINENO: checking for $ac_header" >&5
2667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 cat >conftest.$ac_ext <<_ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2677 $ac_includes_default
2679 #include <$ac_header>
2681 rm -f conftest.$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1 >conftest.err
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try='test -z "$ac_c_werror_flag"
2691 || test ! -s conftest.err'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; } &&
2697 { ac_try='test -s conftest.$ac_objext'
2698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; }; then
2703 eval "$as_ac_Header=yes"
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 eval "$as_ac_Header=no"
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2715 cat >>confdefs.h <<_ACEOF
2716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2724 if test "${ac_cv_header_inttypes_h+set}" = set; then
2725 echo "$as_me:$LINENO: checking for inttypes.h" >&5
2726 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
2727 if test "${ac_cv_header_inttypes_h+set}" = set; then
2728 echo $ECHO_N "(cached) $ECHO_C" >&6
2730 echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
2731 echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6
2733 # Is the header compilable?
2734 echo "$as_me:$LINENO: checking inttypes.h usability" >&5
2735 echo $ECHO_N "checking inttypes.h usability... $ECHO_C" >&6
2736 cat >conftest.$ac_ext <<_ACEOF
2739 cat confdefs.h >>conftest.$ac_ext
2740 cat >>conftest.$ac_ext <<_ACEOF
2741 /* end confdefs.h. */
2742 $ac_includes_default
2743 #include <inttypes.h>
2745 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>conftest.er1
2749 grep -v '^ *+' conftest.er1 >conftest.err
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } &&
2754 { ac_try='test -z "$ac_c_werror_flag"
2755 || test ! -s conftest.err'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; } &&
2761 { ac_try='test -s conftest.$ac_objext'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; }; then
2767 ac_header_compiler=yes
2769 echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_header_compiler=no
2774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2776 echo "${ECHO_T}$ac_header_compiler" >&6
2778 # Is the header present?
2779 echo "$as_me:$LINENO: checking inttypes.h presence" >&5
2780 echo $ECHO_N "checking inttypes.h presence... $ECHO_C" >&6
2781 cat >conftest.$ac_ext <<_ACEOF
2784 cat confdefs.h >>conftest.$ac_ext
2785 cat >>conftest.$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2787 #include <inttypes.h>
2789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2792 grep -v '^ *+' conftest.er1 >conftest.err
2794 cat conftest.err >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } >/dev/null; then
2797 if test -s conftest.err; then
2798 ac_cpp_err=$ac_c_preproc_warn_flag
2799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2806 if test -z "$ac_cpp_err"; then
2807 ac_header_preproc=yes
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2812 ac_header_preproc=no
2814 rm -f conftest.err conftest.$ac_ext
2815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2816 echo "${ECHO_T}$ac_header_preproc" >&6
2818 # So? What about this header?
2819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2821 { echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
2822 echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
2823 { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the compiler's result" >&5
2824 echo "$as_me: WARNING: inttypes.h: proceeding with the compiler's result" >&2;}
2825 ac_header_preproc=yes
2828 { echo "$as_me:$LINENO: WARNING: inttypes.h: present but cannot be compiled" >&5
2829 echo "$as_me: WARNING: inttypes.h: present but cannot be compiled" >&2;}
2830 { echo "$as_me:$LINENO: WARNING: inttypes.h: check for missing prerequisite headers?" >&5
2831 echo "$as_me: WARNING: inttypes.h: check for missing prerequisite headers?" >&2;}
2832 { echo "$as_me:$LINENO: WARNING: inttypes.h: see the Autoconf documentation" >&5
2833 echo "$as_me: WARNING: inttypes.h: see the Autoconf documentation" >&2;}
2834 { echo "$as_me:$LINENO: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&5
2835 echo "$as_me: WARNING: inttypes.h: section \"Present But Cannot Be Compiled\"" >&2;}
2836 { echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5
2837 echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;}
2838 { echo "$as_me:$LINENO: WARNING: inttypes.h: in the future, the compiler will take precedence" >&5
2839 echo "$as_me: WARNING: inttypes.h: in the future, the compiler will take precedence" >&2;}
2842 ## ------------------------------------------ ##
2843 ## Report this to the AC_PACKAGE_NAME lists. ##
2844 ## ------------------------------------------ ##
2847 sed "s/^/$as_me: WARNING: /" >&2
2850 echo "$as_me:$LINENO: checking for inttypes.h" >&5
2851 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
2852 if test "${ac_cv_header_inttypes_h+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 ac_cv_header_inttypes_h=$ac_header_preproc
2857 echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
2858 echo "${ECHO_T}$ac_cv_header_inttypes_h" >&6
2861 if test $ac_cv_header_inttypes_h = yes; then
2864 fail="$fail inttypes.h"
2872 # Check whether --with-rlm-otp-lib-dir or --without-rlm-otp-lib-dir was given.
2873 if test "${with_rlm_otp_lib_dir+set}" = set; then
2874 withval="$with_rlm_otp_lib_dir"
2875 otp_ldflags="-L$withval $otp_ldflags"
2878 # Check whether --with-rlm-otp-include-dir or --without-rlm-otp-include-dir was given.
2879 if test "${with_rlm_otp_include_dir+set}" = set; then
2880 withval="$with_rlm_otp_include_dir"
2881 otp_cflags="$otp_cflags -I$withval"
2885 # Check whether --with-openssl-libraries or --without-openssl-libraries was given.
2886 if test "${with_openssl_libraries+set}" = set; then
2887 withval="$with_openssl_libraries"
2888 otp_ldflags="-L$withval $otp_ldflags"
2892 # Check whether --with-openssl-includes or --without-openssl-includes was given.
2893 if test "${with_openssl_includes+set}" = set; then
2894 withval="$with_openssl_includes"
2895 otp_cflags="$otp_cflags -I$withval"
2899 old_LDFLAGS="$LDFLAGS"
2900 LDFLAGS="$otp_ldflags $LDFLAGS"
2902 echo "$as_me:$LINENO: checking for SSL_new in -lssl" >&5
2903 echo $ECHO_N "checking for SSL_new in -lssl... $ECHO_C" >&6
2904 if test "${ac_cv_lib_ssl_SSL_new+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 ac_check_lib_save_LIBS=$LIBS
2909 cat >conftest.$ac_ext <<_ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2916 /* Override any gcc2 internal prototype to avoid an error. */
2920 /* We use char because int might match the return type of a gcc2
2921 builtin and then its argument prototype would still apply. */
2931 rm -f conftest.$ac_objext conftest$ac_exeext
2932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2933 (eval $ac_link) 2>conftest.er1
2935 grep -v '^ *+' conftest.er1 >conftest.err
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } &&
2940 { ac_try='test -z "$ac_c_werror_flag"
2941 || test ! -s conftest.err'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; } &&
2947 { ac_try='test -s conftest$ac_exeext'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; }; then
2953 ac_cv_lib_ssl_SSL_new=yes
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_cv_lib_ssl_SSL_new=no
2960 rm -f conftest.err conftest.$ac_objext \
2961 conftest$ac_exeext conftest.$ac_ext
2962 LIBS=$ac_check_lib_save_LIBS
2964 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
2965 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6
2966 if test $ac_cv_lib_ssl_SSL_new = yes; then
2967 cat >>confdefs.h <<_ACEOF
2968 #define HAVE_LIBSSL 1
2974 fail="$fail openssl-libs"
2977 LDFLAGS="$old_LDFLAGS"
2980 old_CFLAGS="$CFLAGS"
2981 CFLAGS="$CFLAGS $otp_cflags"
2994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2996 echo "$as_me:$LINENO: checking for $ac_header" >&5
2997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3004 # Is the header compilable?
3005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3007 cat >conftest.$ac_ext <<_ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3013 $ac_includes_default
3014 #include <$ac_header>
3016 rm -f conftest.$ac_objext
3017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018 (eval $ac_compile) 2>conftest.er1
3020 grep -v '^ *+' conftest.er1 >conftest.err
3022 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try='test -z "$ac_c_werror_flag"
3026 || test ! -s conftest.err'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; } &&
3032 { ac_try='test -s conftest.$ac_objext'
3033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }; }; then
3038 ac_header_compiler=yes
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 ac_header_compiler=no
3045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3047 echo "${ECHO_T}$ac_header_compiler" >&6
3049 # Is the header present?
3050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3052 cat >conftest.$ac_ext <<_ACEOF
3055 cat confdefs.h >>conftest.$ac_ext
3056 cat >>conftest.$ac_ext <<_ACEOF
3057 /* end confdefs.h. */
3058 #include <$ac_header>
3060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3063 grep -v '^ *+' conftest.er1 >conftest.err
3065 cat conftest.err >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); } >/dev/null; then
3068 if test -s conftest.err; then
3069 ac_cpp_err=$ac_c_preproc_warn_flag
3070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3077 if test -z "$ac_cpp_err"; then
3078 ac_header_preproc=yes
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3083 ac_header_preproc=no
3085 rm -f conftest.err conftest.$ac_ext
3086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3087 echo "${ECHO_T}$ac_header_preproc" >&6
3089 # So? What about this header?
3090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3096 ac_header_preproc=yes
3099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3113 ## ------------------------------------------ ##
3114 ## Report this to the AC_PACKAGE_NAME lists. ##
3115 ## ------------------------------------------ ##
3118 sed "s/^/$as_me: WARNING: /" >&2
3121 echo "$as_me:$LINENO: checking for $ac_header" >&5
3122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 eval "$as_ac_Header=\$ac_header_preproc"
3128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3133 cat >>confdefs.h <<_ACEOF
3134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3138 fail="$fail openssl-includes"
3144 CFLAGS="$old_CFLAGS"
3146 targetname=rlm_otp # keep this! Don't change!
3148 targetname= # keep this! Don't change!
3149 echo \*\*\* module rlm_otp is disabled. # keep this! Don't change!
3152 if test x"$fail" != x""; then
3153 if test x"${enable_strict_dependencies}" = x"yes"; then
3154 { { echo "$as_me:$LINENO: error: set --without-rlm_otp to disable it explicitly." >&5
3155 echo "$as_me: error: set --without-rlm_otp to disable it explicitly." >&2;}
3156 { (exit 1); exit 1; }; }
3158 { echo "$as_me:$LINENO: WARNING: silently not building rlm_otp." >&5
3159 echo "$as_me: WARNING: silently not building rlm_otp." >&2;}
3160 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_otp requires: $fail." >&5
3161 echo "$as_me: WARNING: FAILURE: rlm_otp requires: $fail." >&2;}
3169 # keep this! Don't change!
3170 ac_config_files="$ac_config_files Makefile"
3171 cat >confcache <<\_ACEOF
3172 # This file is a shell script that caches the results of configure
3173 # tests run on this system so they can be shared between configure
3174 # scripts and configure runs, see configure's option --config-cache.
3175 # It is not useful on other systems. If it contains results you don't
3176 # want to keep, you may remove or edit it.
3178 # config.status only pays attention to the cache file if you give it
3179 # the --recheck option to rerun configure.
3181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3187 # The following way of writing the cache mishandles newlines in values,
3188 # but we know of no workaround that is simple, portable, and efficient.
3189 # So, don't put newlines in cache variables' values.
3190 # Ultrix sh set writes to stderr and can't be redirected directly,
3191 # and sets the high bit in the cache file unless we assign to the vars.
3194 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3196 # `set' does not quote correctly, so add quotes (double-quote
3197 # substitution turns \\\\ into \\, and sed turns \\ into \).
3200 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3203 # `set' quotes correctly as required by POSIX, so do not add quotes.
3205 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3212 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3214 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3216 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3217 if test -w $cache_file; then
3218 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3219 cat confcache >$cache_file
3221 echo "not updating unwritable cache $cache_file"
3226 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3227 # Let make expand exec_prefix.
3228 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3230 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3231 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3232 # trailing colons and then remove the whole line if VPATH becomes empty
3233 # (actually we leave an empty line to preserve line numbers).
3234 if test "x$srcdir" = x.; then
3235 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3236 s/:*\$(srcdir):*/:/;
3237 s/:*\${srcdir}:*/:/;
3239 s/^\([^=]*=[ ]*\):*/\1/;
3245 # Transform confdefs.h into DEFS.
3246 # Protect against shell expansion while executing Makefile rules.
3247 # Protect against Makefile macro expansion.
3249 # If the first sed substitution is executed (which looks for macros that
3250 # take arguments), then we branch to the quote section. Otherwise,
3251 # look for a macro that doesn't take arguments.
3252 cat >confdef2opt.sed <<\_ACEOF
3255 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3257 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3261 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3267 # We use echo to avoid assuming a particular line-breaking character.
3268 # The extra dot is to prevent the shell from consuming trailing
3269 # line-breaks from the sub-command output. A line-break within
3270 # single-quotes doesn't work because, if this script is created in a
3271 # platform that uses two characters for line-breaks (e.g., DOS), tr
3273 ac_LF_and_DOT=`echo; echo .`
3274 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3275 rm -f confdef2opt.sed
3280 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3281 # 1. Remove the extension, and $U if already installed.
3282 ac_i=`echo "$ac_i" |
3283 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3285 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3286 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3290 LTLIBOBJS=$ac_ltlibobjs
3294 : ${CONFIG_STATUS=./config.status}
3295 ac_clean_files_save=$ac_clean_files
3296 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3297 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3298 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3299 cat >$CONFIG_STATUS <<_ACEOF
3301 # Generated by $as_me.
3302 # Run this file to recreate the current configuration.
3303 # Compiler output produced by configure, useful for debugging
3304 # configure, is in config.log if it exists.
3309 SHELL=\${CONFIG_SHELL-$SHELL}
3312 cat >>$CONFIG_STATUS <<\_ACEOF
3313 ## --------------------- ##
3314 ## M4sh Initialization. ##
3315 ## --------------------- ##
3317 # Be Bourne compatible
3318 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3321 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3322 # is contrary to our usage. Disable this feature.
3323 alias -g '${1+"$@"}'='"$@"'
3324 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3327 DUALCASE=1; export DUALCASE # for MKS sh
3329 # Support unset when possible.
3330 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3337 # Work around bugs in pre-3.0 UWIN ksh.
3338 $as_unset ENV MAIL MAILPATH
3345 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3346 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3347 LC_TELEPHONE LC_TIME
3349 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3350 eval $as_var=C; export $as_var
3356 # Required to use basename.
3357 if expr a : '\(a\)' >/dev/null 2>&1; then
3363 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3364 as_basename=basename
3370 # Name of the executable.
3371 as_me=`$as_basename "$0" ||
3372 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3373 X"$0" : 'X\(//\)$' \| \
3374 X"$0" : 'X\(/\)$' \| \
3375 . : '\(.\)' 2>/dev/null ||
3377 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3378 /^X\/\(\/\/\)$/{ s//\1/; q; }
3379 /^X\/\(\/\).*/{ s//\1/; q; }
3383 # PATH needs CR, and LINENO needs CR and PATH.
3384 # Avoid depending upon Character Ranges.
3385 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3386 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3387 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3388 as_cr_digits='0123456789'
3389 as_cr_alnum=$as_cr_Letters$as_cr_digits
3391 # The user is always right.
3392 if test "${PATH_SEPARATOR+set}" != set; then
3393 echo "#! /bin/sh" >conf$$.sh
3394 echo "exit 0" >>conf$$.sh
3396 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3407 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3408 test "x$as_lineno_1" != "x$as_lineno_2" &&
3409 test "x$as_lineno_3" = "x$as_lineno_2" || {
3410 # Find who we are. Look in the path if we contain no path at all
3413 *[\\/]* ) as_myself=$0 ;;
3414 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir=.
3419 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3424 # We did not find ourselves, most probably we were run as `sh COMMAND'
3425 # in which case we are not to be found in the path.
3426 if test "x$as_myself" = x; then
3429 if test ! -f "$as_myself"; then
3430 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3431 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3432 { (exit 1); exit 1; }; }
3434 case $CONFIG_SHELL in
3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3440 test -z "$as_dir" && as_dir=.
3441 for as_base in sh bash ksh sh5; do
3444 if ("$as_dir/$as_base" -c '
3447 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3448 test "x$as_lineno_1" != "x$as_lineno_2" &&
3449 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3450 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3451 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3452 CONFIG_SHELL=$as_dir/$as_base
3454 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3462 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3463 # uniformly replaced by the line number. The first 'sed' inserts a
3464 # line-number line before each line; the second 'sed' does the real
3465 # work. The second script uses 'N' to pair each line-number line
3466 # with the numbered line, and appends trailing '-' during
3467 # substitution so that $LINENO is not a special case at line end.
3468 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3469 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3470 sed '=' <$as_myself |
3475 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3478 s,^['$as_cr_digits']*\n,,
3480 chmod +x $as_me.lineno ||
3481 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3482 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3483 { (exit 1); exit 1; }; }
3485 # Don't try to exec as it changes $[0], causing all sort of problems
3486 # (the dirname of $[0] is not the place where we might find the
3487 # original and so on. Autoconf is especially sensible to this).
3489 # Exit status is that of the last command.
3494 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3495 *c*,-n*) ECHO_N= ECHO_C='
3497 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3498 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3501 if expr a : '\(a\)' >/dev/null 2>&1; then
3507 rm -f conf$$ conf$$.exe conf$$.file
3509 if ln -s conf$$.file conf$$ 2>/dev/null; then
3510 # We could just check for DJGPP; but this test a) works b) is more generic
3511 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3512 if test -f conf$$.exe; then
3513 # Don't use ln at all; we don't have any links
3518 elif ln conf$$.file conf$$ 2>/dev/null; then
3523 rm -f conf$$ conf$$.exe conf$$.file
3525 if mkdir -p . 2>/dev/null; then
3528 test -d ./-p && rmdir ./-p
3532 as_executable_p="test -f"
3534 # Sed expression to map a string onto a valid CPP name.
3535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3537 # Sed expression to map a string onto a valid variable name.
3538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3542 # We need space, tab and new line, in precisely that order.
3552 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3553 # report actual input values of CONFIG_FILES etc. instead of their
3554 # values after options handling. Logging --version etc. is OK.
3558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3559 ## Running $as_me. ##
3564 This file was extended by $as_me, which was
3565 generated by GNU Autoconf 2.59. Invocation command line was
3567 CONFIG_FILES = $CONFIG_FILES
3568 CONFIG_HEADERS = $CONFIG_HEADERS
3569 CONFIG_LINKS = $CONFIG_LINKS
3570 CONFIG_COMMANDS = $CONFIG_COMMANDS
3574 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3578 # Files that config.status was made for.
3579 if test -n "$ac_config_files"; then
3580 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3583 if test -n "$ac_config_headers"; then
3584 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3587 if test -n "$ac_config_links"; then
3588 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3591 if test -n "$ac_config_commands"; then
3592 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3595 cat >>$CONFIG_STATUS <<\_ACEOF
3598 \`$as_me' instantiates files from templates according to the
3599 current configuration.
3601 Usage: $0 [OPTIONS] [FILE]...
3603 -h, --help print this help, then exit
3604 -V, --version print version number, then exit
3605 -q, --quiet do not print progress messages
3606 -d, --debug don't remove temporary files
3607 --recheck update $as_me by reconfiguring in the same conditions
3608 --file=FILE[:TEMPLATE]
3609 instantiate the configuration file FILE
3611 Configuration files:
3614 Report bugs to <bug-autoconf@gnu.org>."
3617 cat >>$CONFIG_STATUS <<_ACEOF
3620 configured by $0, generated by GNU Autoconf 2.59,
3621 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3623 Copyright (C) 2003 Free Software Foundation, Inc.
3624 This config.status script is free software; the Free Software Foundation
3625 gives unlimited permission to copy, distribute and modify it."
3629 cat >>$CONFIG_STATUS <<\_ACEOF
3630 # If no file are specified by the user, then we need to provide default
3631 # value. By we need to know if files were specified by the user.
3637 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3638 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3646 *) # This is not an option, so the user has probably given explicit
3649 ac_need_defaults=false;;
3653 # Handling of the options.
3655 cat >>$CONFIG_STATUS <<\_ACEOF
3656 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3658 --version | --vers* | -V )
3659 echo "$ac_cs_version"; exit 0 ;;
3661 # Conflict between --help and --header
3662 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3663 Try \`$0 --help' for more information." >&5
3664 echo "$as_me: error: ambiguous option: $1
3665 Try \`$0 --help' for more information." >&2;}
3666 { (exit 1); exit 1; }; };;
3667 --help | --hel | -h )
3668 echo "$ac_cs_usage"; exit 0 ;;
3669 --debug | --d* | -d )
3671 --file | --fil | --fi | --f )
3673 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3674 ac_need_defaults=false;;
3675 --header | --heade | --head | --hea )
3677 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3678 ac_need_defaults=false;;
3679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3680 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3684 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3685 Try \`$0 --help' for more information." >&5
3686 echo "$as_me: error: unrecognized option: $1
3687 Try \`$0 --help' for more information." >&2;}
3688 { (exit 1); exit 1; }; } ;;
3690 *) ac_config_targets="$ac_config_targets $1" ;;
3696 ac_configure_extra_args=
3698 if $ac_cs_silent; then
3700 ac_configure_extra_args="$ac_configure_extra_args --silent"
3704 cat >>$CONFIG_STATUS <<_ACEOF
3705 if \$ac_cs_recheck; then
3706 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3707 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3716 cat >>$CONFIG_STATUS <<\_ACEOF
3717 for ac_config_target in $ac_config_targets
3719 case "$ac_config_target" in
3720 # Handling of arguments.
3721 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3722 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3723 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3724 { (exit 1); exit 1; }; };;
3728 # If the user did not use the arguments to specify the items to instantiate,
3729 # then the envvar interface is used. Set only those that are not.
3730 # We use the long form for the default assignment because of an extremely
3731 # bizarre bug on SunOS 4.1.3.
3732 if $ac_need_defaults; then
3733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3736 # Have a temporary directory for convenience. Make it in the build tree
3737 # simply because there is no reason to put it here, and in addition,
3738 # creating and moving files from /tmp can sometimes cause problems.
3739 # Create a temporary directory, and hook for its removal unless debugging.
3742 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3743 trap '{ (exit 1); exit 1; }' 1 2 13 15
3746 # Create a (secure) tmp directory for tmp files.
3749 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3750 test -n "$tmp" && test -d "$tmp"
3753 tmp=./confstat$$-$RANDOM
3754 (umask 077 && mkdir $tmp)
3757 echo "$me: cannot create a temporary directory in ." >&2
3758 { (exit 1); exit 1; }
3763 cat >>$CONFIG_STATUS <<_ACEOF
3766 # CONFIG_FILES section.
3769 # No need to generate the scripts if there are no CONFIG_FILES.
3770 # This happens for instance when ./config.status config.h
3771 if test -n "\$CONFIG_FILES"; then
3772 # Protect against being on the right side of a sed subst in config.status.
3773 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3774 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3775 s,@SHELL@,$SHELL,;t t
3776 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3777 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3778 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3779 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3780 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3781 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3782 s,@exec_prefix@,$exec_prefix,;t t
3783 s,@prefix@,$prefix,;t t
3784 s,@program_transform_name@,$program_transform_name,;t t
3785 s,@bindir@,$bindir,;t t
3786 s,@sbindir@,$sbindir,;t t
3787 s,@libexecdir@,$libexecdir,;t t
3788 s,@datadir@,$datadir,;t t
3789 s,@sysconfdir@,$sysconfdir,;t t
3790 s,@sharedstatedir@,$sharedstatedir,;t t
3791 s,@localstatedir@,$localstatedir,;t t
3792 s,@libdir@,$libdir,;t t
3793 s,@includedir@,$includedir,;t t
3794 s,@oldincludedir@,$oldincludedir,;t t
3795 s,@infodir@,$infodir,;t t
3796 s,@mandir@,$mandir,;t t
3797 s,@build_alias@,$build_alias,;t t
3798 s,@host_alias@,$host_alias,;t t
3799 s,@target_alias@,$target_alias,;t t
3801 s,@ECHO_C@,$ECHO_C,;t t
3802 s,@ECHO_N@,$ECHO_N,;t t
3803 s,@ECHO_T@,$ECHO_T,;t t
3806 s,@CFLAGS@,$CFLAGS,;t t
3807 s,@LDFLAGS@,$LDFLAGS,;t t
3808 s,@CPPFLAGS@,$CPPFLAGS,;t t
3809 s,@ac_ct_CC@,$ac_ct_CC,;t t
3810 s,@EXEEXT@,$EXEEXT,;t t
3811 s,@OBJEXT@,$OBJEXT,;t t
3813 s,@EGREP@,$EGREP,;t t
3814 s,@otp_cflags@,$otp_cflags,;t t
3815 s,@otp_ldflags@,$otp_ldflags,;t t
3816 s,@targetname@,$targetname,;t t
3817 s,@LIBOBJS@,$LIBOBJS,;t t
3818 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3823 cat >>$CONFIG_STATUS <<\_ACEOF
3824 # Split the substitutions into bite-sized pieces for seds with
3825 # small command number limits, like on Digital OSF/1 and HP-UX.
3827 ac_sed_frag=1 # Number of current file.
3828 ac_beg=1 # First line for current file.
3829 ac_end=$ac_max_sed_lines # Line after last line for current file.
3832 while $ac_more_lines; do
3833 if test $ac_beg -gt 1; then
3834 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3836 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3838 if test ! -s $tmp/subs.frag; then
3841 # The purpose of the label and of the branching condition is to
3842 # speed up the sed processing (if there are no `@' at all, there
3843 # is no need to browse any of the substitutions).
3844 # These are the two extra sed commands mentioned above.
3846 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3847 if test -z "$ac_sed_cmds"; then
3848 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3850 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3852 ac_sed_frag=`expr $ac_sed_frag + 1`
3854 ac_end=`expr $ac_end + $ac_max_sed_lines`
3857 if test -z "$ac_sed_cmds"; then
3860 fi # test -n "$CONFIG_FILES"
3863 cat >>$CONFIG_STATUS <<\_ACEOF
3864 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3865 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3867 - | *:- | *:-:* ) # input from stdin
3869 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3870 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3871 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3872 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3873 * ) ac_file_in=$ac_file.in ;;
3876 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3877 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3879 X"$ac_file" : 'X\(//\)[^/]' \| \
3880 X"$ac_file" : 'X\(//\)$' \| \
3881 X"$ac_file" : 'X\(/\)' \| \
3882 . : '\(.\)' 2>/dev/null ||
3884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3886 /^X\(\/\/\)$/{ s//\1/; q; }
3887 /^X\(\/\).*/{ s//\1/; q; }
3889 { if $as_mkdir_p; then
3894 while test ! -d "$as_dir"; do
3895 as_dirs="$as_dir $as_dirs"
3896 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3898 X"$as_dir" : 'X\(//\)[^/]' \| \
3899 X"$as_dir" : 'X\(//\)$' \| \
3900 X"$as_dir" : 'X\(/\)' \| \
3901 . : '\(.\)' 2>/dev/null ||
3903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3905 /^X\(\/\/\)$/{ s//\1/; q; }
3906 /^X\(\/\).*/{ s//\1/; q; }
3909 test ! -n "$as_dirs" || mkdir $as_dirs
3910 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3912 { (exit 1); exit 1; }; }; }
3916 if test "$ac_dir" != .; then
3917 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3918 # A "../" for each directory in $ac_dir_suffix.
3919 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3921 ac_dir_suffix= ac_top_builddir=
3925 .) # No --srcdir option. We are building in place.
3927 if test -z "$ac_top_builddir"; then
3930 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3932 [\\/]* | ?:[\\/]* ) # Absolute path.
3933 ac_srcdir=$srcdir$ac_dir_suffix;
3934 ac_top_srcdir=$srcdir ;;
3936 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3937 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3940 # Do not use `cd foo && pwd` to compute absolute paths, because
3941 # the directories may not exist.
3943 .) ac_abs_builddir="$ac_dir";;
3946 .) ac_abs_builddir=`pwd`;;
3947 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3948 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3951 case $ac_abs_builddir in
3952 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3954 case ${ac_top_builddir}. in
3955 .) ac_abs_top_builddir=$ac_abs_builddir;;
3956 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3957 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3960 case $ac_abs_builddir in
3961 .) ac_abs_srcdir=$ac_srcdir;;
3964 .) ac_abs_srcdir=$ac_abs_builddir;;
3965 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3966 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3969 case $ac_abs_builddir in
3970 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3972 case $ac_top_srcdir in
3973 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3974 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3975 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3981 if test x"$ac_file" != x-; then
3982 { echo "$as_me:$LINENO: creating $ac_file" >&5
3983 echo "$as_me: creating $ac_file" >&6;}
3986 # Let's still pretend it is `configure' which instantiates (i.e., don't
3987 # use $as_me), people would be surprised to read:
3988 # /* config.h. Generated by config.status. */
3989 if test x"$ac_file" = x-; then
3992 configure_input="$ac_file. "
3994 configure_input=$configure_input"Generated from `echo $ac_file_in |
3995 sed 's,.*/,,'` by configure."
3997 # First look for the input files in the build tree, otherwise in the
3999 ac_file_inputs=`IFS=:
4000 for f in $ac_file_in; do
4002 -) echo $tmp/stdin ;;
4004 # Absolute (can't be DOS-style, as IFS=:)
4005 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4006 echo "$as_me: error: cannot find input file: $f" >&2;}
4007 { (exit 1); exit 1; }; }
4010 if test -f "$f"; then
4013 elif test -f "$srcdir/$f"; then
4018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4019 echo "$as_me: error: cannot find input file: $f" >&2;}
4020 { (exit 1); exit 1; }; }
4023 done` || { (exit 1); exit 1; }
4025 cat >>$CONFIG_STATUS <<_ACEOF
4029 cat >>$CONFIG_STATUS <<\_ACEOF
4031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4032 s,@configure_input@,$configure_input,;t t
4033 s,@srcdir@,$ac_srcdir,;t t
4034 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4035 s,@top_srcdir@,$ac_top_srcdir,;t t
4036 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4037 s,@builddir@,$ac_builddir,;t t
4038 s,@abs_builddir@,$ac_abs_builddir,;t t
4039 s,@top_builddir@,$ac_top_builddir,;t t
4040 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4041 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4043 if test x"$ac_file" != x-; then
4044 mv $tmp/out $ac_file
4053 cat >>$CONFIG_STATUS <<\_ACEOF
4055 { (exit 0); exit 0; }
4057 chmod +x $CONFIG_STATUS
4058 ac_clean_files=$ac_clean_files_save
4061 # configure is writing to config.log, and then calls config.status.
4062 # config.status does its own redirection, appending to config.log.
4063 # Unfortunately, on DOS this fails, as config.log is still kept open
4064 # by configure, so config.status won't be able to write to it; its
4065 # output is simply discarded. So we exec the FD to /dev/null,
4066 # effectively closing config.log, so it can be properly (re)opened and
4067 # appended to by config.status. When coming back to configure, we
4068 # need to make the FD available again.
4069 if test "$no_create" != yes; then
4071 ac_config_status_args=
4072 test "$silent" = yes &&
4073 ac_config_status_args="$ac_config_status_args --quiet"
4075 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4077 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4078 # would make configure fail if this is the last instruction.
4079 $ac_cs_success || { (exit 1); exit 1; }
4081 # keep this! Don't change!