2 # From configure.in Revision: 1.35 .
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 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=${tagnames+${tagnames},}CXX
397 tagnames=${tagnames+${tagnames},}F77
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
429 ac_unique_file="mimetic/mimetic.h"
430 # Factoring default headers for most tests.
431 ac_includes_default="\
434 # include <sys/types.h>
437 # include <sys/stat.h>
448 # if !STDC_HEADERS && HAVE_MEMORY_H
454 # include <strings.h>
457 # include <inttypes.h>
467 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL INCLUDEDIR LIBOBJS LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CC_set=${CC+set}
910 ac_cv_env_CC_set=${CC+set}
911 ac_cv_env_CC_value=$CC
912 ac_env_CFLAGS_set=${CFLAGS+set}
913 ac_env_CFLAGS_value=$CFLAGS
914 ac_cv_env_CFLAGS_set=${CFLAGS+set}
915 ac_cv_env_CFLAGS_value=$CFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CPP_set=${CPP+set}
925 ac_env_CPP_value=$CPP
926 ac_cv_env_CPP_set=${CPP+set}
927 ac_cv_env_CPP_value=$CPP
928 ac_env_CXX_set=${CXX+set}
929 ac_env_CXX_value=$CXX
930 ac_cv_env_CXX_set=${CXX+set}
931 ac_cv_env_CXX_value=$CXX
932 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933 ac_env_CXXFLAGS_value=$CXXFLAGS
934 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures this package to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --program-prefix=PREFIX prepend PREFIX to installed program names
1011 --program-suffix=SUFFIX append SUFFIX to installed program names
1012 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1015 --build=BUILD configure for building on BUILD [guessed]
1016 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1017 --target=TARGET configure for building compilers for TARGET [HOST]
1021 if test -n "$ac_init_help"; then
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --enable-shared[=PKGS]
1029 build shared libraries [default=yes]
1030 --enable-static[=PKGS]
1031 build static libraries [default=yes]
1032 --enable-fast-install[=PKGS]
1033 optimize for fast installation [default=yes]
1034 --disable-libtool-lock avoid locking (might break parallel builds)
1035 --enable-debug=LEVEL enables debug symbols default=2
1036 --enable-profile enables profiling
1039 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1040 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1041 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1042 --with-pic try to use only PIC/non-PIC objects [default=use
1045 include additional configurations [automatic]
1046 --with-stlport=BASEDIR use STLport
1047 --with-stlport-includes=DIR where the STLport includes are
1048 --with-stlport-libraries=DIR where STLport library is installed
1049 --with-stlport-libname=NAME STLport lib base name
1051 Some influential environment variables:
1052 CC C compiler command
1053 CFLAGS C compiler flags
1054 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1055 nonstandard directory <lib dir>
1056 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1057 headers in a nonstandard directory <include dir>
1059 CXX C++ compiler command
1060 CXXFLAGS C++ compiler flags
1061 CXXCPP C++ preprocessor
1062 F77 Fortran 77 compiler command
1063 FFLAGS Fortran 77 compiler flags
1065 Use these variables to override the choices made by `configure' or to help
1066 it to find libraries and programs with nonstandard names/locations.
1071 if test "$ac_init_help" = "recursive"; then
1072 # If there are subdirs, report their specific --help.
1074 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075 test -d $ac_dir || continue
1078 if test "$ac_dir" != .; then
1079 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1080 # A "../" for each directory in $ac_dir_suffix.
1081 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1083 ac_dir_suffix= ac_top_builddir=
1087 .) # No --srcdir option. We are building in place.
1089 if test -z "$ac_top_builddir"; then
1092 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1094 [\\/]* | ?:[\\/]* ) # Absolute path.
1095 ac_srcdir=$srcdir$ac_dir_suffix;
1096 ac_top_srcdir=$srcdir ;;
1098 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102 # Do not use `cd foo && pwd` to compute absolute paths, because
1103 # the directories may not exist.
1105 .) ac_abs_builddir="$ac_dir";;
1108 .) ac_abs_builddir=`pwd`;;
1109 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1113 case $ac_abs_builddir in
1114 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1116 case ${ac_top_builddir}. in
1117 .) ac_abs_top_builddir=$ac_abs_builddir;;
1118 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122 case $ac_abs_builddir in
1123 .) ac_abs_srcdir=$ac_srcdir;;
1126 .) ac_abs_srcdir=$ac_abs_builddir;;
1127 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131 case $ac_abs_builddir in
1132 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1134 case $ac_top_srcdir in
1135 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1136 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142 # Check for guested configure; otherwise get Cygnus style configure.
1143 if test -f $ac_srcdir/configure.gnu; then
1145 $SHELL $ac_srcdir/configure.gnu --help=recursive
1146 elif test -f $ac_srcdir/configure; then
1148 $SHELL $ac_srcdir/configure --help=recursive
1149 elif test -f $ac_srcdir/configure.ac ||
1150 test -f $ac_srcdir/configure.in; then
1152 $ac_configure --help
1154 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1160 test -n "$ac_init_help" && exit 0
1161 if $ac_init_version; then
1164 Copyright (C) 2003 Free Software Foundation, Inc.
1165 This configure script is free software; the Free Software Foundation
1166 gives unlimited permission to copy, distribute and modify it.
1172 This file contains any messages produced by compilers while
1173 running configure, to aid debugging if configure makes a mistake.
1175 It was created by $as_me, which was
1176 generated by GNU Autoconf 2.59. Invocation command line was
1187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1194 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1196 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1197 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1199 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1200 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1201 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1202 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1210 test -z "$as_dir" && as_dir=.
1211 echo "PATH: $as_dir"
1226 # Keep a trace of the command line.
1227 # Strip out --no-create and --no-recursion so they do not pile up.
1228 # Strip out --silent because we don't want to record it for future runs.
1229 # Also quote any args containing shell meta-characters.
1230 # Make two passes to allow for proper duplicate-argument suppression.
1235 ac_must_keep_next=false
1241 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243 | -silent | --silent | --silen | --sile | --sil)
1245 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1246 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1249 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1251 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1252 if test $ac_must_keep_next = true; then
1253 ac_must_keep_next=false # Got value, back to normal.
1256 *=* | --config-cache | -C | -disable-* | --disable-* \
1257 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1258 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1259 | -with-* | --with-* | -without-* | --without-* | --x)
1260 case "$ac_configure_args0 " in
1261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1264 -* ) ac_must_keep_next=true ;;
1267 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1268 # Get rid of the leading space.
1274 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1275 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1277 # When interrupted or exit'd, cleanup temporary files, and complete
1278 # config.log. We remove comments because anyway the quotes in there
1279 # would cause problems or look ugly.
1280 # WARNING: Be sure not to use single quotes in there, as some shells,
1281 # such as our DU 5.0 friend, will then `close' the trap.
1282 trap 'exit_status=$?
1283 # Save into config.log some information that might help in debugging.
1288 ## ---------------- ##
1289 ## Cache variables. ##
1290 ## ---------------- ##
1293 # The following way of writing the cache mishandles newlines in values,
1296 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1299 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1304 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1311 ## ----------------- ##
1312 ## Output variables. ##
1313 ## ----------------- ##
1316 for ac_var in $ac_subst_vars
1318 eval ac_val=$`echo $ac_var`
1319 echo "$ac_var='"'"'$ac_val'"'"'"
1323 if test -n "$ac_subst_files"; then
1330 for ac_var in $ac_subst_files
1332 eval ac_val=$`echo $ac_var`
1333 echo "$ac_var='"'"'$ac_val'"'"'"
1338 if test -s confdefs.h; then
1345 sed "/^$/d" confdefs.h | sort
1348 test "$ac_signal" != 0 &&
1349 echo "$as_me: caught signal $ac_signal"
1350 echo "$as_me: exit $exit_status"
1352 rm -f core *.core &&
1353 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1356 for ac_signal in 1 2 13 15; do
1357 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1361 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1362 rm -rf conftest* confdefs.h
1363 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1366 # Predefined preprocessor variables.
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_NAME "$PACKAGE_NAME"
1373 cat >>confdefs.h <<_ACEOF
1374 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1378 cat >>confdefs.h <<_ACEOF
1379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1383 cat >>confdefs.h <<_ACEOF
1384 #define PACKAGE_STRING "$PACKAGE_STRING"
1388 cat >>confdefs.h <<_ACEOF
1389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1393 # Let the site file select an alternate cache file if it wants to.
1394 # Prefer explicitly selected file to automatically selected ones.
1395 if test -z "$CONFIG_SITE"; then
1396 if test "x$prefix" != xNONE; then
1397 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1399 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1402 for ac_site_file in $CONFIG_SITE; do
1403 if test -r "$ac_site_file"; then
1404 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1405 echo "$as_me: loading site script $ac_site_file" >&6;}
1406 sed 's/^/| /' "$ac_site_file" >&5
1411 if test -r "$cache_file"; then
1412 # Some versions of bash will fail to source /dev/null (special
1413 # files actually), so we avoid doing that.
1414 if test -f "$cache_file"; then
1415 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1416 echo "$as_me: loading cache $cache_file" >&6;}
1418 [\\/]* | ?:[\\/]* ) . $cache_file;;
1419 *) . ./$cache_file;;
1423 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1424 echo "$as_me: creating cache $cache_file" >&6;}
1428 # Check that the precious variables saved in the cache have kept the same
1430 ac_cache_corrupted=false
1431 for ac_var in `(set) 2>&1 |
1432 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1433 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1434 eval ac_new_set=\$ac_env_${ac_var}_set
1435 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1436 eval ac_new_val="\$ac_env_${ac_var}_value"
1437 case $ac_old_set,$ac_new_set in
1439 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1440 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1441 ac_cache_corrupted=: ;;
1443 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1444 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1445 ac_cache_corrupted=: ;;
1448 if test "x$ac_old_val" != "x$ac_new_val"; then
1449 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1450 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1451 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1452 echo "$as_me: former value: $ac_old_val" >&2;}
1453 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1454 echo "$as_me: current value: $ac_new_val" >&2;}
1455 ac_cache_corrupted=:
1458 # Pass precious variables to config.status.
1459 if test "$ac_new_set" = set; then
1461 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1462 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1463 *) ac_arg=$ac_var=$ac_new_val ;;
1465 case " $ac_configure_args " in
1466 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1467 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1471 if $ac_cache_corrupted; then
1472 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1473 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1474 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1475 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1476 { (exit 1); exit 1; }; }
1480 ac_cpp='$CPP $CPPFLAGS'
1481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505 if test -f $ac_dir/install-sh; then
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1509 elif test -f $ac_dir/install.sh; then
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1513 elif test -f $ac_dir/shtool; then
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541 ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545 { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1555 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1560 echo "$as_me:$LINENO: checking host system type" >&5
1561 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1562 if test "${ac_cv_host+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 ac_cv_host_alias=$host_alias
1566 test -z "$ac_cv_host_alias" &&
1567 ac_cv_host_alias=$ac_cv_build_alias
1568 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1569 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1570 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1571 { (exit 1); exit 1; }; }
1574 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1575 echo "${ECHO_T}$ac_cv_host" >&6
1577 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1578 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1579 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1582 echo "$as_me:$LINENO: checking target system type" >&5
1583 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1584 if test "${ac_cv_target+set}" = set; then
1585 echo $ECHO_N "(cached) $ECHO_C" >&6
1587 ac_cv_target_alias=$target_alias
1588 test "x$ac_cv_target_alias" = "x" &&
1589 ac_cv_target_alias=$ac_cv_host_alias
1590 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1596 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1597 echo "${ECHO_T}$ac_cv_target" >&6
1598 target=$ac_cv_target
1599 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1604 # The aliases save the names the user supplied, while $host etc.
1605 # will get canonicalized.
1606 test -n "$target_alias" &&
1607 test "$program_prefix$program_suffix$program_transform_name" = \
1609 program_prefix=${target_alias}-
1611 am__api_version="1.4"
1612 # Find a good install program. We prefer a C program (faster),
1613 # so one script is as good as another. But avoid the broken or
1614 # incompatible versions:
1615 # SysV /etc/install, /usr/sbin/install
1616 # SunOS /usr/etc/install
1617 # IRIX /sbin/install
1619 # AmigaOS /C/install, which installs bootblocks on floppy discs
1620 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1621 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1622 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1623 # OS/2's system install, which has a completely different semantic
1624 # ./install, which can be erroneously created by make from ./install.sh.
1625 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1626 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1627 if test -z "$INSTALL"; then
1628 if test "${ac_cv_path_install+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1635 test -z "$as_dir" && as_dir=.
1636 # Account for people who put trailing slashes in PATH elements.
1638 ./ | .// | /cC/* | \
1639 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1640 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1643 # OSF1 and SCO ODT 3.0 have their own names for install.
1644 # Don't use installbsd from OSF since it installs stuff as root
1646 for ac_prog in ginstall scoinst install; do
1647 for ac_exec_ext in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1649 if test $ac_prog = install &&
1650 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1651 # AIX install. It has an incompatible calling convention.
1653 elif test $ac_prog = install &&
1654 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1655 # program-specific install script used by HP pwplus--don't use.
1658 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1670 if test "${ac_cv_path_install+set}" = set; then
1671 INSTALL=$ac_cv_path_install
1673 # As a last resort, use the slow shell script. We don't cache a
1674 # path for INSTALL within a source directory, because that will
1675 # break other packages using the cache if that directory is
1676 # removed, or if the path is relative.
1677 INSTALL=$ac_install_sh
1680 echo "$as_me:$LINENO: result: $INSTALL" >&5
1681 echo "${ECHO_T}$INSTALL" >&6
1683 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1684 # It thinks the first close brace ends the variable substitution.
1685 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1687 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1689 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1691 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1692 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1695 echo timestamp > conftestfile
1696 # Do `set' in a subshell so we don't clobber the current shell's
1697 # arguments. Must try -L first in case configure is actually a
1698 # symlink; some systems play weird games with the mod time of symlinks
1699 # (eg FreeBSD returns the mod time of the symlink's containing
1702 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1703 if test "$*" = "X"; then
1705 set X `ls -t $srcdir/configure conftestfile`
1707 if test "$*" != "X $srcdir/configure conftestfile" \
1708 && test "$*" != "X conftestfile $srcdir/configure"; then
1710 # If neither matched, then we have a broken ls. This can happen
1711 # if, for instance, CONFIG_SHELL is bash and it inherits a
1712 # broken ls alias from the environment. This has actually
1713 # happened. Such a system could not be considered "sane".
1714 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1715 alias in your environment" >&5
1716 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1717 alias in your environment" >&2;}
1718 { (exit 1); exit 1; }; }
1721 test "$2" = conftestfile
1727 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1728 Check your system clock" >&5
1729 echo "$as_me: error: newly created file is older than distributed files!
1730 Check your system clock" >&2;}
1731 { (exit 1); exit 1; }; }
1734 echo "$as_me:$LINENO: result: yes" >&5
1735 echo "${ECHO_T}yes" >&6
1736 test "$program_prefix" != NONE &&
1737 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1738 # Use a double $ so make ignores it.
1739 test "$program_suffix" != NONE &&
1740 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1741 # Double any \ or $. echo might interpret backslashes.
1742 # By default was `s,x,x', remove it if useless.
1743 cat <<\_ACEOF >conftest.sed
1744 s/[\\$]/&&/g;s/;s,x,x,$//
1746 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1749 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1750 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1751 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1752 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 cat >conftest.make <<\_ACEOF
1757 @echo 'ac_maketemp="$(MAKE)"'
1759 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1760 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1761 if test -n "$ac_maketemp"; then
1762 eval ac_cv_prog_make_${ac_make}_set=yes
1764 eval ac_cv_prog_make_${ac_make}_set=no
1768 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1769 echo "$as_me:$LINENO: result: yes" >&5
1770 echo "${ECHO_T}yes" >&6
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1775 SET_MAKE="MAKE=${MAKE-make}"
1783 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1784 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1785 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1786 { (exit 1); exit 1; }; }
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE "$PACKAGE"
1794 cat >>confdefs.h <<_ACEOF
1795 #define VERSION "$VERSION"
1800 missing_dir=`cd $ac_aux_dir && pwd`
1801 echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1802 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1803 # Run test in a subshell; some versions of sh will print an error if
1804 # an executable is not found, even if stderr is redirected.
1805 # Redirect stdin to placate older versions of autoconf. Sigh.
1806 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1807 ACLOCAL=aclocal-${am__api_version}
1808 echo "$as_me:$LINENO: result: found" >&5
1809 echo "${ECHO_T}found" >&6
1811 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1812 echo "$as_me:$LINENO: result: missing" >&5
1813 echo "${ECHO_T}missing" >&6
1816 echo "$as_me:$LINENO: checking for working autoconf" >&5
1817 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1818 # Run test in a subshell; some versions of sh will print an error if
1819 # an executable is not found, even if stderr is redirected.
1820 # Redirect stdin to placate older versions of autoconf. Sigh.
1821 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1823 echo "$as_me:$LINENO: result: found" >&5
1824 echo "${ECHO_T}found" >&6
1826 AUTOCONF="$missing_dir/missing autoconf"
1827 echo "$as_me:$LINENO: result: missing" >&5
1828 echo "${ECHO_T}missing" >&6
1831 echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1832 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1833 # Run test in a subshell; some versions of sh will print an error if
1834 # an executable is not found, even if stderr is redirected.
1835 # Redirect stdin to placate older versions of autoconf. Sigh.
1836 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1837 AUTOMAKE=automake-${am__api_version}
1838 echo "$as_me:$LINENO: result: found" >&5
1839 echo "${ECHO_T}found" >&6
1841 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1842 echo "$as_me:$LINENO: result: missing" >&5
1843 echo "${ECHO_T}missing" >&6
1846 echo "$as_me:$LINENO: checking for working autoheader" >&5
1847 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1848 # Run test in a subshell; some versions of sh will print an error if
1849 # an executable is not found, even if stderr is redirected.
1850 # Redirect stdin to placate older versions of autoconf. Sigh.
1851 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1852 AUTOHEADER=autoheader
1853 echo "$as_me:$LINENO: result: found" >&5
1854 echo "${ECHO_T}found" >&6
1856 AUTOHEADER="$missing_dir/missing autoheader"
1857 echo "$as_me:$LINENO: result: missing" >&5
1858 echo "${ECHO_T}missing" >&6
1861 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1862 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1863 # Run test in a subshell; some versions of sh will print an error if
1864 # an executable is not found, even if stderr is redirected.
1865 # Redirect stdin to placate older versions of autoconf. Sigh.
1866 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1868 echo "$as_me:$LINENO: result: found" >&5
1869 echo "${ECHO_T}found" >&6
1871 MAKEINFO="$missing_dir/missing makeinfo"
1872 echo "$as_me:$LINENO: result: missing" >&5
1873 echo "${ECHO_T}missing" >&6
1878 ac_config_headers="$ac_config_headers mimetic/config.h"
1880 ac_config_commands="$ac_config_commands default-1"
1884 ac_cpp='$CPP $CPPFLAGS'
1885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$CC"; then
1897 ac_cv_prog_CC="$CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test -n "$CC"; then
1917 echo "$as_me:$LINENO: result: $CC" >&5
1918 echo "${ECHO_T}$CC" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1925 if test -z "$ac_cv_prog_CC"; then
1927 # Extract the first word of "gcc", so it can be a program name with args.
1928 set dummy gcc; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$ac_ct_CC"; then
1935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_CC="gcc"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1954 if test -n "$ac_ct_CC"; then
1955 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1956 echo "${ECHO_T}$ac_ct_CC" >&6
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1967 if test -z "$CC"; then
1968 if test -n "$ac_tool_prefix"; then
1969 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1970 set dummy ${ac_tool_prefix}cc; ac_word=$2
1971 echo "$as_me:$LINENO: checking for $ac_word" >&5
1972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1973 if test "${ac_cv_prog_CC+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test -n "$CC"; then
1977 ac_cv_prog_CC="$CC" # Let the user override the test.
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1983 test -z "$as_dir" && as_dir=.
1984 for ac_exec_ext in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 ac_cv_prog_CC="${ac_tool_prefix}cc"
1987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996 if test -n "$CC"; then
1997 echo "$as_me:$LINENO: result: $CC" >&5
1998 echo "${ECHO_T}$CC" >&6
2000 echo "$as_me:$LINENO: result: no" >&5
2001 echo "${ECHO_T}no" >&6
2005 if test -z "$ac_cv_prog_CC"; then
2007 # Extract the first word of "cc", so it can be a program name with args.
2008 set dummy cc; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 if test -n "$ac_ct_CC"; then
2015 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_ac_ct_CC="cc"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2034 if test -n "$ac_ct_CC"; then
2035 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2036 echo "${ECHO_T}$ac_ct_CC" >&6
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2048 if test -z "$CC"; then
2049 # Extract the first word of "cc", so it can be a program name with args.
2050 set dummy cc; ac_word=$2
2051 echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2053 if test "${ac_cv_prog_CC+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 if test -n "$CC"; then
2057 ac_cv_prog_CC="$CC" # Let the user override the test.
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2068 ac_prog_rejected=yes
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 if test $ac_prog_rejected = yes; then
2079 # We found a bogon in the path, so make sure we never use it.
2080 set dummy $ac_cv_prog_CC
2082 if test $# != 0; then
2083 # We chose a different compiler from the bogus one.
2084 # However, it has the same basename, so the bogon will be chosen
2085 # first if we set CC to just the basename; use the full file name.
2087 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2093 if test -n "$CC"; then
2094 echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2102 if test -z "$CC"; then
2103 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$CC"; then
2114 ac_cv_prog_CC="$CC" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 if test -n "$CC"; then
2134 echo "$as_me:$LINENO: result: $CC" >&5
2135 echo "${ECHO_T}$CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2141 test -n "$CC" && break
2144 if test -z "$CC"; then
2148 # Extract the first word of "$ac_prog", so it can be a program name with args.
2149 set dummy $ac_prog; ac_word=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$ac_ct_CC"; then
2156 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2165 ac_cv_prog_ac_ct_CC="$ac_prog"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2175 if test -n "$ac_ct_CC"; then
2176 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2177 echo "${ECHO_T}$ac_ct_CC" >&6
2179 echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6
2183 test -n "$ac_ct_CC" && break
2192 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2193 See \`config.log' for more details." >&5
2194 echo "$as_me: error: no acceptable C compiler found in \$PATH
2195 See \`config.log' for more details." >&2;}
2196 { (exit 1); exit 1; }; }
2198 # Provide some information about the compiler.
2199 echo "$as_me:$LINENO:" \
2200 "checking for C compiler version" >&5
2201 ac_compiler=`set X $ac_compile; echo $2`
2202 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2203 (eval $ac_compiler --version </dev/null >&5) 2>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }
2207 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2208 (eval $ac_compiler -v </dev/null >&5) 2>&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }
2212 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2213 (eval $ac_compiler -V </dev/null >&5) 2>&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }
2218 cat >conftest.$ac_ext <<_ACEOF
2221 cat confdefs.h >>conftest.$ac_ext
2222 cat >>conftest.$ac_ext <<_ACEOF
2223 /* end confdefs.h. */
2233 ac_clean_files_save=$ac_clean_files
2234 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2235 # Try to create an executable without -o first, disregard a.out.
2236 # It will help us diagnose broken compilers, and finding out an intuition
2238 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2239 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2240 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2241 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2242 (eval $ac_link_default) 2>&5
2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245 (exit $ac_status); }; then
2246 # Find the output, starting from the most likely. This scheme is
2247 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2250 # Be careful to initialize this variable, since it used to be cached.
2251 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2253 # b.out is created by i960 compilers.
2254 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2256 test -f "$ac_file" || continue
2258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2261 # This is the source file.
2264 # We found the default executable, but exeext='' is most
2268 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2269 # FIXME: I believe we export ac_cv_exeext for Libtool,
2270 # but it would be cool to find out if it's true. Does anybody
2271 # maintain Libtool? --akim.
2279 echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.$ac_ext >&5
2282 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2283 See \`config.log' for more details." >&5
2284 echo "$as_me: error: C compiler cannot create executables
2285 See \`config.log' for more details." >&2;}
2286 { (exit 77); exit 77; }; }
2289 ac_exeext=$ac_cv_exeext
2290 echo "$as_me:$LINENO: result: $ac_file" >&5
2291 echo "${ECHO_T}$ac_file" >&6
2293 # Check the compiler produces executables we can run. If not, either
2294 # the compiler is broken, or we cross compile.
2295 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2296 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2297 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2298 # If not cross compiling, check that we can run a simple program.
2299 if test "$cross_compiling" != yes; then
2300 if { ac_try='./$ac_file'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; }; then
2308 if test "$cross_compiling" = maybe; then
2311 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2312 If you meant to cross compile, use \`--host'.
2313 See \`config.log' for more details." >&5
2314 echo "$as_me: error: cannot run C compiled programs.
2315 If you meant to cross compile, use \`--host'.
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2321 echo "$as_me:$LINENO: result: yes" >&5
2322 echo "${ECHO_T}yes" >&6
2324 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2325 ac_clean_files=$ac_clean_files_save
2326 # Check the compiler produces executables we can run. If not, either
2327 # the compiler is broken, or we cross compile.
2328 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2329 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2330 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2331 echo "${ECHO_T}$cross_compiling" >&6
2333 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2334 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2336 (eval $ac_link) 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }; then
2340 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2341 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2342 # work properly (i.e., refer to `conftest.exe'), while it won't with
2344 for ac_file in conftest.exe conftest conftest.*; do
2345 test -f "$ac_file" || continue
2347 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2348 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2355 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2356 See \`config.log' for more details." >&5
2357 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2358 See \`config.log' for more details." >&2;}
2359 { (exit 1); exit 1; }; }
2362 rm -f conftest$ac_cv_exeext
2363 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2364 echo "${ECHO_T}$ac_cv_exeext" >&6
2366 rm -f conftest.$ac_ext
2367 EXEEXT=$ac_cv_exeext
2369 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2370 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2371 if test "${ac_cv_objext+set}" = set; then
2372 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 cat >conftest.$ac_ext <<_ACEOF
2377 cat confdefs.h >>conftest.$ac_ext
2378 cat >>conftest.$ac_ext <<_ACEOF
2379 /* end confdefs.h. */
2389 rm -f conftest.o conftest.obj
2390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2391 (eval $ac_compile) 2>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; then
2395 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2398 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.$ac_ext >&5
2406 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2407 See \`config.log' for more details." >&5
2408 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }
2413 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2415 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2416 echo "${ECHO_T}$ac_cv_objext" >&6
2417 OBJEXT=$ac_cv_objext
2419 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2420 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2421 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2424 cat >conftest.$ac_ext <<_ACEOF
2427 cat confdefs.h >>conftest.$ac_ext
2428 cat >>conftest.$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2442 rm -f conftest.$ac_objext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2444 (eval $ac_compile) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1 >conftest.err
2448 cat conftest.err >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try='test -s conftest.$ac_objext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2471 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2474 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2475 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2476 GCC=`test $ac_compiler_gnu = yes && echo yes`
2477 ac_test_CFLAGS=${CFLAGS+set}
2478 ac_save_CFLAGS=$CFLAGS
2480 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2481 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2482 if test "${ac_cv_prog_cc_g+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 cat >conftest.$ac_ext <<_ACEOF
2488 cat confdefs.h >>conftest.$ac_ext
2489 cat >>conftest.$ac_ext <<_ACEOF
2490 /* end confdefs.h. */
2500 rm -f conftest.$ac_objext
2501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2502 (eval $ac_compile) 2>conftest.er1
2504 grep -v '^ *+' conftest.er1 >conftest.err
2506 cat conftest.err >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); } &&
2509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2530 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2532 if test "$ac_test_CFLAGS" = set; then
2533 CFLAGS=$ac_save_CFLAGS
2534 elif test $ac_cv_prog_cc_g = yes; then
2535 if test "$GCC" = yes; then
2541 if test "$GCC" = yes; then
2547 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2548 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2549 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 ac_cv_prog_cc_stdc=no
2554 cat >conftest.$ac_ext <<_ACEOF
2557 cat confdefs.h >>conftest.$ac_ext
2558 cat >>conftest.$ac_ext <<_ACEOF
2559 /* end confdefs.h. */
2562 #include <sys/types.h>
2563 #include <sys/stat.h>
2564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2565 struct buf { int x; };
2566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2567 static char *e (p, i)
2573 static char *f (char * (*g) (char **, int), char **p, ...)
2578 s = g (p, va_arg (v,int));
2583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2584 function prototypes and stuff, but not '\xHH' hex character constants.
2585 These don't provoke an error unfortunately, instead are silently treated
2586 as 'x'. The following induces an error, until -std1 is added to get
2587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2588 array size at least. It's necessary to write '\x00'==0 to get something
2589 that's true only with -std1. */
2590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2592 int test (int i, double x);
2593 struct s1 {int (*f) (int a);};
2594 struct s2 {int (*f) (double a);};
2595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2601 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2606 # Don't try gcc -ansi; that turns off useful extensions and
2607 # breaks some systems' header files.
2608 # AIX -qlanglvl=ansi
2609 # Ultrix and OSF/1 -std1
2610 # HP-UX 10.20 and later -Ae
2611 # HP-UX older versions -Aa -D_HPUX_SOURCE
2612 # SVR4 -Xc -D__EXTENSIONS__
2613 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2615 CC="$ac_save_CC $ac_arg"
2616 rm -f conftest.$ac_objext
2617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2618 (eval $ac_compile) 2>conftest.er1
2620 grep -v '^ *+' conftest.er1 >conftest.err
2622 cat conftest.err >&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); } &&
2625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }; } &&
2631 { ac_try='test -s conftest.$ac_objext'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; }; then
2637 ac_cv_prog_cc_stdc=$ac_arg
2640 echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2644 rm -f conftest.err conftest.$ac_objext
2646 rm -f conftest.$ac_ext conftest.$ac_objext
2651 case "x$ac_cv_prog_cc_stdc" in
2653 echo "$as_me:$LINENO: result: none needed" >&5
2654 echo "${ECHO_T}none needed" >&6 ;;
2656 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2657 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2658 CC="$CC $ac_cv_prog_cc_stdc" ;;
2661 # Some people use a C++ compiler to compile C. Since we use `exit',
2662 # in C++ we need to declare it. In case someone uses the same compiler
2663 # for both compiling C and C++ we need to have the C++ compiler decide
2664 # the declaration of exit, since it's the most demanding environment.
2665 cat >conftest.$ac_ext <<_ACEOF
2670 rm -f conftest.$ac_objext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 (eval $ac_compile) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1 >conftest.err
2676 cat conftest.err >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; } &&
2685 { ac_try='test -s conftest.$ac_objext'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; }; then
2691 for ac_declaration in \
2693 'extern "C" void std::exit (int) throw (); using std::exit;' \
2694 'extern "C" void std::exit (int); using std::exit;' \
2695 'extern "C" void exit (int) throw ();' \
2696 'extern "C" void exit (int);' \
2699 cat >conftest.$ac_ext <<_ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2715 rm -f conftest.$ac_objext
2716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; } &&
2730 { ac_try='test -s conftest.$ac_objext'
2731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2744 cat >conftest.$ac_ext <<_ACEOF
2747 cat confdefs.h >>conftest.$ac_ext
2748 cat >>conftest.$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2759 rm -f conftest.$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>conftest.er1
2763 grep -v '^ *+' conftest.er1 >conftest.err
2765 cat conftest.err >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } &&
2768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; } &&
2774 { ac_try='test -s conftest.$ac_objext'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; }; then
2782 echo "$as_me: failed program was:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2789 if test -n "$ac_declaration"; then
2790 echo '#ifdef __cplusplus' >>confdefs.h
2791 echo $ac_declaration >>confdefs.h
2792 echo '#endif' >>confdefs.h
2796 echo "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2808 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2809 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2810 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2811 echo $ECHO_N "(cached) $ECHO_C" >&6
2813 cat >conftest.make <<\_ACEOF
2815 @echo 'ac_maketemp="$(MAKE)"'
2817 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2818 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2819 if test -n "$ac_maketemp"; then
2820 eval ac_cv_prog_make_${ac_make}_set=yes
2822 eval ac_cv_prog_make_${ac_make}_set=no
2826 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2833 SET_MAKE="MAKE=${MAKE-make}"
2836 # Check whether --enable-shared or --disable-shared was given.
2837 if test "${enable_shared+set}" = set; then
2838 enableval="$enable_shared"
2839 p=${PACKAGE-default}
2841 yes) enable_shared=yes ;;
2842 no) enable_shared=no ;;
2845 # Look at the argument we got. We use all the common list separators.
2846 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2847 for pkg in $enableval; do
2849 if test "X$pkg" = "X$p"; then
2860 # Check whether --enable-static or --disable-static was given.
2861 if test "${enable_static+set}" = set; then
2862 enableval="$enable_static"
2863 p=${PACKAGE-default}
2865 yes) enable_static=yes ;;
2866 no) enable_static=no ;;
2869 # Look at the argument we got. We use all the common list separators.
2870 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2871 for pkg in $enableval; do
2873 if test "X$pkg" = "X$p"; then
2884 # Check whether --enable-fast-install or --disable-fast-install was given.
2885 if test "${enable_fast_install+set}" = set; then
2886 enableval="$enable_fast_install"
2887 p=${PACKAGE-default}
2889 yes) enable_fast_install=yes ;;
2890 no) enable_fast_install=no ;;
2892 enable_fast_install=no
2893 # Look at the argument we got. We use all the common list separators.
2894 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2895 for pkg in $enableval; do
2897 if test "X$pkg" = "X$p"; then
2898 enable_fast_install=yes
2905 enable_fast_install=yes
2908 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
2909 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
2910 if test "${lt_cv_path_SED+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 # Loop through the user's path and test for sed and gsed.
2914 # Then use that list of sed's as ones to test for truncation.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for lt_ac_prog in sed gsed; do
2921 for ac_exec_ext in '' $ac_executable_extensions; do
2922 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
2923 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
2930 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
2931 # along with /bin/sed that truncates output.
2932 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
2933 test ! -f $lt_ac_sed && break
2934 cat /dev/null > conftest.in
2936 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
2937 # Check for GNU sed and select it if it is found.
2938 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
2939 lt_cv_path_SED=$lt_ac_sed
2943 cat conftest.in conftest.in >conftest.tmp
2944 mv conftest.tmp conftest.in
2945 cp conftest.in conftest.nl
2947 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
2948 cmp -s conftest.out conftest.nl || break
2949 # 10000 chars as input seems more than enough
2950 test $lt_ac_count -gt 10 && break
2951 lt_ac_count=`expr $lt_ac_count + 1`
2952 if test $lt_ac_count -gt $lt_ac_max; then
2953 lt_ac_max=$lt_ac_count
2954 lt_cv_path_SED=$lt_ac_sed
2962 echo "$as_me:$LINENO: result: $SED" >&5
2963 echo "${ECHO_T}$SED" >&6
2965 echo "$as_me:$LINENO: checking for egrep" >&5
2966 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2967 if test "${ac_cv_prog_egrep+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2971 then ac_cv_prog_egrep='grep -E'
2972 else ac_cv_prog_egrep='egrep'
2975 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2976 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2977 EGREP=$ac_cv_prog_egrep
2981 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2982 if test "${with_gnu_ld+set}" = set; then
2983 withval="$with_gnu_ld"
2984 test "$withval" = no || with_gnu_ld=yes
2989 if test "$GCC" = yes; then
2990 # Check if gcc -print-prog-name=ld gives a path.
2991 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
2992 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
2995 # gcc leaves a trailing carriage return which upsets mingw
2996 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2998 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3001 # Accept absolute paths.
3003 re_direlt='/[^/][^/]*/\.\./'
3004 # Canonicalize the pathname of ld
3005 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3006 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3007 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3009 test -z "$LD" && LD="$ac_prog"
3012 # If it fails, then pretend we aren't using GCC.
3016 # If it is relative, then search for the first ld in PATH.
3020 elif test "$with_gnu_ld" = yes; then
3021 echo "$as_me:$LINENO: checking for GNU ld" >&5
3022 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3024 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3025 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3027 if test "${lt_cv_path_LD+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test -z "$LD"; then
3031 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3032 for ac_dir in $PATH; do
3034 test -z "$ac_dir" && ac_dir=.
3035 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3036 lt_cv_path_LD="$ac_dir/$ac_prog"
3037 # Check to see if the program is GNU ld. I'd rather use --version,
3038 # but apparently some GNU ld's only accept -v.
3039 # Break only if it was the GNU/non-GNU ld that we prefer.
3040 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3041 *GNU* | *'with BFD'*)
3042 test "$with_gnu_ld" != no && break
3045 test "$with_gnu_ld" != yes && break
3052 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3057 if test -n "$LD"; then
3058 echo "$as_me:$LINENO: result: $LD" >&5
3059 echo "${ECHO_T}$LD" >&6
3061 echo "$as_me:$LINENO: result: no" >&5
3062 echo "${ECHO_T}no" >&6
3064 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3065 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3066 { (exit 1); exit 1; }; }
3067 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3068 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3069 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3070 echo $ECHO_N "(cached) $ECHO_C" >&6
3072 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3073 case `$LD -v 2>&1 </dev/null` in
3074 *GNU* | *'with BFD'*)
3075 lt_cv_prog_gnu_ld=yes
3078 lt_cv_prog_gnu_ld=no
3082 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3083 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3084 with_gnu_ld=$lt_cv_prog_gnu_ld
3087 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3088 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3089 if test "${lt_cv_ld_reload_flag+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 lt_cv_ld_reload_flag='-r'
3094 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3095 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3096 reload_flag=$lt_cv_ld_reload_flag
3097 case $reload_flag in
3099 *) reload_flag=" $reload_flag" ;;
3101 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3103 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3104 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3105 if test "${lt_cv_path_NM+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 if test -n "$NM"; then
3109 # Let the user override the test.
3112 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3113 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3115 test -z "$ac_dir" && ac_dir=.
3116 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3117 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3118 # Check to see if the nm accepts a BSD-compat flag.
3119 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3120 # nm: unknown option "B" ignored
3121 # Tru64's nm complains that /dev/null is an invalid object file
3122 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3123 */dev/null* | *'Invalid file or object type'*)
3124 lt_cv_path_NM="$tmp_nm -B"
3128 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3130 lt_cv_path_NM="$tmp_nm -p"
3134 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3135 continue # so that we can try to find one that supports BSD flags
3142 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3145 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3146 echo "${ECHO_T}$lt_cv_path_NM" >&6
3149 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3150 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3152 if test "$LN_S" = "ln -s"; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3157 echo "${ECHO_T}no, using $LN_S" >&6
3160 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3161 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3162 if test "${lt_cv_deplibs_check_method+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 lt_cv_file_magic_cmd='$MAGIC_CMD'
3166 lt_cv_file_magic_test_file=
3167 lt_cv_deplibs_check_method='unknown'
3168 # Need to set the preceding variable on all platforms that support
3169 # interlibrary dependencies.
3170 # 'none' -- dependencies not supported.
3171 # `unknown' -- same as none, but documents that we really don't know.
3172 # 'pass_all' -- all dependencies passed with no checks.
3173 # 'test_compile' -- check by making test program.
3174 # 'file_magic [[regex]]' -- check by looking for files in library path
3175 # which responds to the $file_magic_cmd with a given extended regex.
3176 # If you have `file' or equivalent on your system and you're not sure
3177 # whether `pass_all' will *always* work, you probably want this one.
3181 lt_cv_deplibs_check_method=pass_all
3185 lt_cv_deplibs_check_method=pass_all
3189 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3190 lt_cv_file_magic_cmd='/usr/bin/file -L'
3191 lt_cv_file_magic_test_file=/shlib/libc.so
3195 # func_win32_libid is a shell function defined in ltmain.sh
3196 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3197 lt_cv_file_magic_cmd='func_win32_libid'
3201 # Base MSYS/MinGW do not provide the 'file' command needed by
3202 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3203 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3204 lt_cv_file_magic_cmd='$OBJDUMP -f'
3207 darwin* | rhapsody*)
3208 lt_cv_deplibs_check_method=pass_all
3211 freebsd* | kfreebsd*-gnu)
3212 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3215 # Not sure whether the presence of OpenBSD here was a mistake.
3216 # Let's accept both of them until this is cleared up.
3217 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3218 lt_cv_file_magic_cmd=/usr/bin/file
3219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3223 lt_cv_deplibs_check_method=pass_all
3228 lt_cv_deplibs_check_method=pass_all
3231 hpux10.20* | hpux11*)
3232 lt_cv_file_magic_cmd=/usr/bin/file
3235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3236 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3240 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3244 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3249 irix5* | irix6* | nonstopux*)
3251 *-32|*"-32 ") libmagic=32-bit;;
3252 *-n32|*"-n32 ") libmagic=N32;;
3253 *-64|*"-64 ") libmagic=64-bit;;
3254 *) libmagic=never-match;;
3256 lt_cv_deplibs_check_method=pass_all
3259 # This must be Linux ELF.
3261 lt_cv_deplibs_check_method=pass_all
3264 netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
3265 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3266 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3268 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3274 lt_cv_file_magic_cmd=/usr/bin/file
3275 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3279 lt_cv_deplibs_check_method=unknown
3283 lt_cv_file_magic_cmd=/usr/bin/file
3284 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3285 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3288 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3292 osf3* | osf4* | osf5*)
3293 lt_cv_deplibs_check_method=pass_all
3297 lt_cv_deplibs_check_method=pass_all
3301 lt_cv_deplibs_check_method=pass_all
3304 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3305 case $host_vendor in
3307 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3308 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3311 lt_cv_deplibs_check_method=pass_all
3314 lt_cv_file_magic_cmd='/bin/file'
3315 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3318 lt_cv_file_magic_cmd='/bin/file'
3319 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3320 lt_cv_file_magic_test_file=/lib/libc.so
3323 lt_cv_deplibs_check_method=pass_all
3328 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3329 lt_cv_deplibs_check_method=pass_all
3334 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3335 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3336 file_magic_cmd=$lt_cv_file_magic_cmd
3337 deplibs_check_method=$lt_cv_deplibs_check_method
3338 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3343 # If no C compiler was specified, use CC.
3346 # Allow CC to be a program name with arguments.
3350 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3351 if test "${enable_libtool_lock+set}" = set; then
3352 enableval="$enable_libtool_lock"
3355 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3357 # Some flags need to be propagated to the compiler or linker for good
3361 # Find out which ABI we are using.
3362 echo 'int i;' > conftest.$ac_ext
3363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3364 (eval $ac_compile) 2>&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; then
3368 case `/usr/bin/file conftest.$ac_objext` in
3380 # Find out which ABI we are using.
3381 echo '#line 3381 "configure"' > conftest.$ac_ext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; then
3387 if test "$lt_cv_prog_gnu_ld" = yes; then
3388 case `/usr/bin/file conftest.$ac_objext` in
3390 LD="${LD-ld} -melf32bsmip"
3393 LD="${LD-ld} -melf32bmipn32"
3396 LD="${LD-ld} -melf64bmip"
3400 case `/usr/bin/file conftest.$ac_objext` in
3416 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3417 # Find out which ABI we are using.
3418 echo 'int i;' > conftest.$ac_ext
3419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3420 (eval $ac_compile) 2>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); }; then
3424 case "`/usr/bin/file conftest.o`" in
3428 LD="${LD-ld} -m elf_i386"
3430 ppc64-*linux*|powerpc64-*linux*)
3431 LD="${LD-ld} -m elf32ppclinux"
3434 LD="${LD-ld} -m elf_s390"
3437 LD="${LD-ld} -m elf32_sparc"
3444 LD="${LD-ld} -m elf_x86_64"
3446 ppc*-*linux*|powerpc*-*linux*)
3447 LD="${LD-ld} -m elf64ppc"
3450 LD="${LD-ld} -m elf64_s390"
3453 LD="${LD-ld} -m elf64_sparc"
3463 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3464 SAVE_CFLAGS="$CFLAGS"
3465 CFLAGS="$CFLAGS -belf"
3466 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3467 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3468 if test "${lt_cv_cc_needs_belf+set}" = set; then
3469 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 ac_cpp='$CPP $CPPFLAGS'
3473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3492 rm -f conftest.$ac_objext conftest$ac_exeext
3493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3494 (eval $ac_link) 2>conftest.er1
3496 grep -v '^ *+' conftest.er1 >conftest.err
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; } &&
3507 { ac_try='test -s conftest$ac_exeext'
3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); }; }; then
3513 lt_cv_cc_needs_belf=yes
3515 echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3518 lt_cv_cc_needs_belf=no
3520 rm -f conftest.err conftest.$ac_objext \
3521 conftest$ac_exeext conftest.$ac_ext
3523 ac_cpp='$CPP $CPPFLAGS'
3524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3529 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3530 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3533 CFLAGS="$SAVE_CFLAGS"
3539 need_locks="$enable_libtool_lock"
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3548 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3549 # On Suns, sometimes $CPP names a directory.
3550 if test -n "$CPP" && test -d "$CPP"; then
3553 if test -z "$CPP"; then
3554 if test "${ac_cv_prog_CPP+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 # Double quotes because CPP needs to be expanded
3558 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3561 for ac_c_preproc_warn_flag in '' yes
3563 # Use a header file that comes with gcc, so configuring glibc
3564 # with a fresh cross-compiler works.
3565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3566 # <limits.h> exists even on freestanding compilers.
3567 # On the NeXT, cc -E runs the code through the compiler's parser,
3568 # not just through cpp. "Syntax error" is here to catch this case.
3569 cat >conftest.$ac_ext <<_ACEOF
3572 cat confdefs.h >>conftest.$ac_ext
3573 cat >>conftest.$ac_ext <<_ACEOF
3574 /* end confdefs.h. */
3576 # include <limits.h>
3578 # include <assert.h>
3582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3585 grep -v '^ *+' conftest.er1 >conftest.err
3587 cat conftest.err >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } >/dev/null; then
3590 if test -s conftest.err; then
3591 ac_cpp_err=$ac_c_preproc_warn_flag
3592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3599 if test -z "$ac_cpp_err"; then
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 # Broken: fails on valid input.
3608 rm -f conftest.err conftest.$ac_ext
3610 # OK, works on sane cases. Now check whether non-existent headers
3611 # can be detected and how.
3612 cat >conftest.$ac_ext <<_ACEOF
3615 cat confdefs.h >>conftest.$ac_ext
3616 cat >>conftest.$ac_ext <<_ACEOF
3617 /* end confdefs.h. */
3618 #include <ac_nonexistent.h>
3620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null; then
3628 if test -s conftest.err; then
3629 ac_cpp_err=$ac_c_preproc_warn_flag
3630 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3637 if test -z "$ac_cpp_err"; then
3638 # Broken: success on invalid input.
3641 echo "$as_me: failed program was:" >&5
3642 sed 's/^/| /' conftest.$ac_ext >&5
3644 # Passes both tests.
3648 rm -f conftest.err conftest.$ac_ext
3651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652 rm -f conftest.err conftest.$ac_ext
3653 if $ac_preproc_ok; then
3665 echo "$as_me:$LINENO: result: $CPP" >&5
3666 echo "${ECHO_T}$CPP" >&6
3668 for ac_c_preproc_warn_flag in '' yes
3670 # Use a header file that comes with gcc, so configuring glibc
3671 # with a fresh cross-compiler works.
3672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 # <limits.h> exists even on freestanding compilers.
3674 # On the NeXT, cc -E runs the code through the compiler's parser,
3675 # not just through cpp. "Syntax error" is here to catch this case.
3676 cat >conftest.$ac_ext <<_ACEOF
3679 cat confdefs.h >>conftest.$ac_ext
3680 cat >>conftest.$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3683 # include <limits.h>
3685 # include <assert.h>
3689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1 >conftest.err
3694 cat conftest.err >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } >/dev/null; then
3697 if test -s conftest.err; then
3698 ac_cpp_err=$ac_c_preproc_warn_flag
3699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3706 if test -z "$ac_cpp_err"; then
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 # Broken: fails on valid input.
3715 rm -f conftest.err conftest.$ac_ext
3717 # OK, works on sane cases. Now check whether non-existent headers
3718 # can be detected and how.
3719 cat >conftest.$ac_ext <<_ACEOF
3722 cat confdefs.h >>conftest.$ac_ext
3723 cat >>conftest.$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 #include <ac_nonexistent.h>
3727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3730 grep -v '^ *+' conftest.er1 >conftest.err
3732 cat conftest.err >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } >/dev/null; then
3735 if test -s conftest.err; then
3736 ac_cpp_err=$ac_c_preproc_warn_flag
3737 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3744 if test -z "$ac_cpp_err"; then
3745 # Broken: success on invalid input.
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3751 # Passes both tests.
3755 rm -f conftest.err conftest.$ac_ext
3758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3759 rm -f conftest.err conftest.$ac_ext
3760 if $ac_preproc_ok; then
3763 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3764 See \`config.log' for more details." >&5
3765 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3766 See \`config.log' for more details." >&2;}
3767 { (exit 1); exit 1; }; }
3771 ac_cpp='$CPP $CPPFLAGS'
3772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3778 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3779 if test "${ac_cv_header_stdc+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 cat >conftest.$ac_ext <<_ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3801 rm -f conftest.$ac_objext
3802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803 (eval $ac_compile) 2>conftest.er1
3805 grep -v '^ *+' conftest.er1 >conftest.err
3807 cat conftest.err >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); } &&
3810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; } &&
3816 { ac_try='test -s conftest.$ac_objext'
3817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }; }; then
3822 ac_cv_header_stdc=yes
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.$ac_ext >&5
3827 ac_cv_header_stdc=no
3829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 if test $ac_cv_header_stdc = yes; then
3832 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3842 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3843 $EGREP "memchr" >/dev/null 2>&1; then
3846 ac_cv_header_stdc=no
3852 if test $ac_cv_header_stdc = yes; then
3853 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3864 $EGREP "free" >/dev/null 2>&1; then
3867 ac_cv_header_stdc=no
3873 if test $ac_cv_header_stdc = yes; then
3874 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3875 if test "$cross_compiling" = yes; then
3878 cat >conftest.$ac_ext <<_ACEOF
3881 cat confdefs.h >>conftest.$ac_ext
3882 cat >>conftest.$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 #if ((' ' & 0x0FF) == 0x020)
3886 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3887 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3889 # define ISLOWER(c) \
3890 (('a' <= (c) && (c) <= 'i') \
3891 || ('j' <= (c) && (c) <= 'r') \
3892 || ('s' <= (c) && (c) <= 'z'))
3893 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3896 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3901 for (i = 0; i < 256; i++)
3902 if (XOR (islower (i), ISLOWER (i))
3903 || toupper (i) != TOUPPER (i))
3908 rm -f conftest$ac_exeext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3910 (eval $ac_link) 2>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); }; }; then
3921 echo "$as_me: program exited with status $ac_status" >&5
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.$ac_ext >&5
3926 ac_cv_header_stdc=no
3928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3932 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3933 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3934 if test $ac_cv_header_stdc = yes; then
3936 cat >>confdefs.h <<\_ACEOF
3937 #define STDC_HEADERS 1
3942 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3953 inttypes.h stdint.h unistd.h
3955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3956 echo "$as_me:$LINENO: checking for $ac_header" >&5
3957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 cat >conftest.$ac_ext <<_ACEOF
3964 cat confdefs.h >>conftest.$ac_ext
3965 cat >>conftest.$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 $ac_includes_default
3969 #include <$ac_header>
3971 rm -f conftest.$ac_objext
3972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3973 (eval $ac_compile) 2>conftest.er1
3975 grep -v '^ *+' conftest.er1 >conftest.err
3977 cat conftest.err >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } &&
3980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; } &&
3986 { ac_try='test -s conftest.$ac_objext'
3987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); }; }; then
3992 eval "$as_ac_Header=yes"
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3997 eval "$as_ac_Header=no"
3999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4004 cat >>confdefs.h <<_ACEOF
4005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4014 for ac_header in dlfcn.h
4016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4018 echo "$as_me:$LINENO: checking for $ac_header" >&5
4019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4026 # Is the header compilable?
4027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4029 cat >conftest.$ac_ext <<_ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 $ac_includes_default
4036 #include <$ac_header>
4038 rm -f conftest.$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1 >conftest.err
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try='test -s conftest.$ac_objext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 ac_header_compiler=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.$ac_ext >&5
4064 ac_header_compiler=no
4066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4068 echo "${ECHO_T}$ac_header_compiler" >&6
4070 # Is the header present?
4071 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4072 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4073 cat >conftest.$ac_ext <<_ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4079 #include <$ac_header>
4081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4084 grep -v '^ *+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } >/dev/null; then
4089 if test -s conftest.err; then
4090 ac_cpp_err=$ac_c_preproc_warn_flag
4091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4098 if test -z "$ac_cpp_err"; then
4099 ac_header_preproc=yes
4101 echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 ac_header_preproc=no
4106 rm -f conftest.err conftest.$ac_ext
4107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4108 echo "${ECHO_T}$ac_header_preproc" >&6
4110 # So? What about this header?
4111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4113 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4114 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4116 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4117 ac_header_preproc=yes
4120 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4121 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4122 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4123 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4124 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4125 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4126 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4127 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4130 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4131 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4134 ## ------------------------------------------ ##
4135 ## Report this to the AC_PACKAGE_NAME lists. ##
4136 ## ------------------------------------------ ##
4139 sed "s/^/$as_me: WARNING: /" >&2
4142 echo "$as_me:$LINENO: checking for $ac_header" >&5
4143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 eval "$as_ac_Header=\$ac_header_preproc"
4149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4154 cat >>confdefs.h <<_ACEOF
4155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4163 ac_cpp='$CXXCPP $CPPFLAGS'
4164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4167 if test -n "$ac_tool_prefix"; then
4168 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4172 echo "$as_me:$LINENO: checking for $ac_word" >&5
4173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4174 if test "${ac_cv_prog_CXX+set}" = set; then
4175 echo $ECHO_N "(cached) $ECHO_C" >&6
4177 if test -n "$CXX"; then
4178 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4187 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 if test -n "$CXX"; then
4198 echo "$as_me:$LINENO: result: $CXX" >&5
4199 echo "${ECHO_T}$CXX" >&6
4201 echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6
4205 test -n "$CXX" && break
4208 if test -z "$CXX"; then
4210 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4212 # Extract the first word of "$ac_prog", so it can be a program name with args.
4213 set dummy $ac_prog; ac_word=$2
4214 echo "$as_me:$LINENO: checking for $ac_word" >&5
4215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4216 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 if test -n "$ac_ct_CXX"; then
4220 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir=.
4227 for ac_exec_ext in '' $ac_executable_extensions; do
4228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229 ac_cv_prog_ac_ct_CXX="$ac_prog"
4230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4239 if test -n "$ac_ct_CXX"; then
4240 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4241 echo "${ECHO_T}$ac_ct_CXX" >&6
4243 echo "$as_me:$LINENO: result: no" >&5
4244 echo "${ECHO_T}no" >&6
4247 test -n "$ac_ct_CXX" && break
4249 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4255 # Provide some information about the compiler.
4256 echo "$as_me:$LINENO:" \
4257 "checking for C++ compiler version" >&5
4258 ac_compiler=`set X $ac_compile; echo $2`
4259 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4260 (eval $ac_compiler --version </dev/null >&5) 2>&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }
4264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4265 (eval $ac_compiler -v </dev/null >&5) 2>&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); }
4269 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4270 (eval $ac_compiler -V </dev/null >&5) 2>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }
4275 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4276 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4277 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 cat >conftest.$ac_ext <<_ACEOF
4283 cat confdefs.h >>conftest.$ac_ext
4284 cat >>conftest.$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4298 rm -f conftest.$ac_objext
4299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4300 (eval $ac_compile) 2>conftest.er1
4302 grep -v '^ *+' conftest.er1 >conftest.err
4304 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } &&
4307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; } &&
4313 { ac_try='test -s conftest.$ac_objext'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4321 echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4327 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4330 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4331 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4332 GXX=`test $ac_compiler_gnu = yes && echo yes`
4333 ac_test_CXXFLAGS=${CXXFLAGS+set}
4334 ac_save_CXXFLAGS=$CXXFLAGS
4336 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4337 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4338 if test "${ac_cv_prog_cxx_g+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4356 rm -f conftest.$ac_objext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4358 (eval $ac_compile) 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; } &&
4371 { ac_try='test -s conftest.$ac_objext'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; }; then
4377 ac_cv_prog_cxx_g=yes
4379 echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4386 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4387 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4388 if test "$ac_test_CXXFLAGS" = set; then
4389 CXXFLAGS=$ac_save_CXXFLAGS
4390 elif test $ac_cv_prog_cxx_g = yes; then
4391 if test "$GXX" = yes; then
4397 if test "$GXX" = yes; then
4403 for ac_declaration in \
4405 'extern "C" void std::exit (int) throw (); using std::exit;' \
4406 'extern "C" void std::exit (int); using std::exit;' \
4407 'extern "C" void exit (int) throw ();' \
4408 'extern "C" void exit (int);' \
4411 cat >conftest.$ac_ext <<_ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4427 rm -f conftest.$ac_objext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>conftest.er1
4431 grep -v '^ *+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } &&
4436 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; } &&
4442 { ac_try='test -s conftest.$ac_objext'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.$ac_ext >&5
4455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4456 cat >conftest.$ac_ext <<_ACEOF
4459 cat confdefs.h >>conftest.$ac_ext
4460 cat >>conftest.$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4471 rm -f conftest.$ac_objext
4472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4473 (eval $ac_compile) 2>conftest.er1
4475 grep -v '^ *+' conftest.er1 >conftest.err
4477 cat conftest.err >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } &&
4480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; } &&
4486 { ac_try='test -s conftest.$ac_objext'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then
4494 echo "$as_me: failed program was:" >&5
4495 sed 's/^/| /' conftest.$ac_ext >&5
4498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4501 if test -n "$ac_declaration"; then
4502 echo '#ifdef __cplusplus' >>confdefs.h
4503 echo $ac_declaration >>confdefs.h
4504 echo '#endif' >>confdefs.h
4508 ac_cpp='$CXXCPP $CPPFLAGS'
4509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4514 ac_cpp='$CXXCPP $CPPFLAGS'
4515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4518 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4519 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4520 if test -z "$CXXCPP"; then
4521 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 # Double quotes because CXXCPP needs to be expanded
4525 for CXXCPP in "$CXX -E" "/lib/cpp"
4528 for ac_cxx_preproc_warn_flag in '' yes
4530 # Use a header file that comes with gcc, so configuring glibc
4531 # with a fresh cross-compiler works.
4532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4533 # <limits.h> exists even on freestanding compilers.
4534 # On the NeXT, cc -E runs the code through the compiler's parser,
4535 # not just through cpp. "Syntax error" is here to catch this case.
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4543 # include <limits.h>
4545 # include <assert.h>
4549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4552 grep -v '^ *+' conftest.er1 >conftest.err
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } >/dev/null; then
4557 if test -s conftest.err; then
4558 ac_cpp_err=$ac_cxx_preproc_warn_flag
4559 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4566 if test -z "$ac_cpp_err"; then
4569 echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 # Broken: fails on valid input.
4575 rm -f conftest.err conftest.$ac_ext
4577 # OK, works on sane cases. Now check whether non-existent headers
4578 # can be detected and how.
4579 cat >conftest.$ac_ext <<_ACEOF
4582 cat confdefs.h >>conftest.$ac_ext
4583 cat >>conftest.$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 #include <ac_nonexistent.h>
4587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4590 grep -v '^ *+' conftest.er1 >conftest.err
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } >/dev/null; then
4595 if test -s conftest.err; then
4596 ac_cpp_err=$ac_cxx_preproc_warn_flag
4597 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4604 if test -z "$ac_cpp_err"; then
4605 # Broken: success on invalid input.
4608 echo "$as_me: failed program was:" >&5
4609 sed 's/^/| /' conftest.$ac_ext >&5
4611 # Passes both tests.
4615 rm -f conftest.err conftest.$ac_ext
4618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4619 rm -f conftest.err conftest.$ac_ext
4620 if $ac_preproc_ok; then
4625 ac_cv_prog_CXXCPP=$CXXCPP
4628 CXXCPP=$ac_cv_prog_CXXCPP
4630 ac_cv_prog_CXXCPP=$CXXCPP
4632 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4633 echo "${ECHO_T}$CXXCPP" >&6
4635 for ac_cxx_preproc_warn_flag in '' yes
4637 # Use a header file that comes with gcc, so configuring glibc
4638 # with a fresh cross-compiler works.
4639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4640 # <limits.h> exists even on freestanding compilers.
4641 # On the NeXT, cc -E runs the code through the compiler's parser,
4642 # not just through cpp. "Syntax error" is here to catch this case.
4643 cat >conftest.$ac_ext <<_ACEOF
4646 cat confdefs.h >>conftest.$ac_ext
4647 cat >>conftest.$ac_ext <<_ACEOF
4648 /* end confdefs.h. */
4650 # include <limits.h>
4652 # include <assert.h>
4656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4659 grep -v '^ *+' conftest.er1 >conftest.err
4661 cat conftest.err >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } >/dev/null; then
4664 if test -s conftest.err; then
4665 ac_cpp_err=$ac_cxx_preproc_warn_flag
4666 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4673 if test -z "$ac_cpp_err"; then
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.$ac_ext >&5
4679 # Broken: fails on valid input.
4682 rm -f conftest.err conftest.$ac_ext
4684 # OK, works on sane cases. Now check whether non-existent headers
4685 # can be detected and how.
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #include <ac_nonexistent.h>
4694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4697 grep -v '^ *+' conftest.er1 >conftest.err
4699 cat conftest.err >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } >/dev/null; then
4702 if test -s conftest.err; then
4703 ac_cpp_err=$ac_cxx_preproc_warn_flag
4704 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4711 if test -z "$ac_cpp_err"; then
4712 # Broken: success on invalid input.
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.$ac_ext >&5
4718 # Passes both tests.
4722 rm -f conftest.err conftest.$ac_ext
4725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4726 rm -f conftest.err conftest.$ac_ext
4727 if $ac_preproc_ok; then
4730 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4731 See \`config.log' for more details." >&5
4732 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4733 See \`config.log' for more details." >&2;}
4734 { (exit 1); exit 1; }; }
4738 ac_cpp='$CXXCPP $CPPFLAGS'
4739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4745 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
4746 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
4748 if test -n "$ac_tool_prefix"; then
4749 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4753 echo "$as_me:$LINENO: checking for $ac_word" >&5
4754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4755 if test "${ac_cv_prog_F77+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 if test -n "$F77"; then
4759 ac_cv_prog_F77="$F77" # Let the user override the test.
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir=.
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4768 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
4769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 if test -n "$F77"; then
4779 echo "$as_me:$LINENO: result: $F77" >&5
4780 echo "${ECHO_T}$F77" >&6
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4786 test -n "$F77" && break
4789 if test -z "$F77"; then
4791 for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
4793 # Extract the first word of "$ac_prog", so it can be a program name with args.
4794 set dummy $ac_prog; ac_word=$2
4795 echo "$as_me:$LINENO: checking for $ac_word" >&5
4796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4797 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
4798 echo $ECHO_N "(cached) $ECHO_C" >&6
4800 if test -n "$ac_ct_F77"; then
4801 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 test -z "$as_dir" && as_dir=.
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4810 ac_cv_prog_ac_ct_F77="$ac_prog"
4811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 ac_ct_F77=$ac_cv_prog_ac_ct_F77
4820 if test -n "$ac_ct_F77"; then
4821 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
4822 echo "${ECHO_T}$ac_ct_F77" >&6
4824 echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6
4828 test -n "$ac_ct_F77" && break
4835 # Provide some information about the compiler.
4836 echo "$as_me:4836:" \
4837 "checking for Fortran 77 compiler version" >&5
4838 ac_compiler=`set X $ac_compile; echo $2`
4839 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4840 (eval $ac_compiler --version </dev/null >&5) 2>&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }
4844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4845 (eval $ac_compiler -v </dev/null >&5) 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }
4849 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4850 (eval $ac_compiler -V </dev/null >&5) 2>&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }
4856 # If we don't use `.F' as extension, the preprocessor is not run on the
4857 # input file. (Note that this only needs to work for GNU compilers.)
4860 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
4861 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
4862 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
4863 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 cat >conftest.$ac_ext <<_ACEOF
4873 rm -f conftest.$ac_objext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4875 (eval $ac_compile) 2>conftest.er1
4877 grep -v '^ *+' conftest.er1 >conftest.err
4879 cat conftest.err >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } &&
4882 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; } &&
4888 { ac_try='test -s conftest.$ac_objext'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4902 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
4905 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
4906 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
4908 ac_test_FFLAGS=${FFLAGS+set}
4909 ac_save_FFLAGS=$FFLAGS
4911 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
4912 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
4913 if test "${ac_cv_prog_f77_g+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 cat >conftest.$ac_ext <<_ACEOF
4922 rm -f conftest.$ac_objext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4924 (eval $ac_compile) 2>conftest.er1
4926 grep -v '^ *+' conftest.er1 >conftest.err
4928 cat conftest.err >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } &&
4931 { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest.$ac_objext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 ac_cv_prog_f77_g=yes
4945 echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4953 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
4954 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
4955 if test "$ac_test_FFLAGS" = set; then
4956 FFLAGS=$ac_save_FFLAGS
4957 elif test $ac_cv_prog_f77_g = yes; then
4958 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4964 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
4971 G77=`test $ac_compiler_gnu = yes && echo yes`
4973 ac_cpp='$CPP $CPPFLAGS'
4974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4980 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4982 # find the maximum length of&