2 # From configure.ac Revision: 1.3 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for GRAS 0.0.040205.
6 # Report bugs to <martin.quinson@ens-lyon.fr>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25 DUALCASE=1; export DUALCASE # for MKS sh
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197 if expr a : '\(a\)' >/dev/null 2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.file conf$$ 2>/dev/null; then
219 rm -f conf$$ conf$$.exe conf$$.file
221 if mkdir -p . 2>/dev/null; then
224 test -d ./-p && rmdir ./-p
228 as_executable_p="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # Check that we are running under the correct shell.
249 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Remove one level of quotation (which was required for Make).
254 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
259 if test "X$1" = X--no-reexec; then
260 # Discard the --no-reexec flag, and continue.
262 elif test "X$1" = X--fallback-echo; then
263 # Avoid inline document here, it may be left over
265 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
266 # Yippee, $echo works!
269 # Restart under the correct shell.
270 exec $SHELL "$0" --no-reexec ${1+"$@"}
273 if test "X$1" = X--fallback-echo; then
274 # used as fallback echo
282 # The HP-UX ksh and POSIX shell print the target directory to stdout
284 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
286 if test -z "$ECHO"; then
287 if test "X${echo_test_string+set}" != Xset; then
288 # find a string as large as possible, as long as the shell can cope with it
289 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
291 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
292 echo_test_string="`eval $cmd`" &&
293 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
300 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
301 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
302 test "X$echo_testing_string" = "X$echo_test_string"; then
305 # The Solaris, AIX, and Digital Unix default echo programs unquote
306 # backslashes. This makes it impossible to quote backslashes using
307 # echo "$something" | sed 's/\\/\\\\/g'
309 # So, first we look for a working echo in the user's PATH.
311 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
312 for dir in $PATH /usr/ucb; do
314 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
315 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
316 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
317 test "X$echo_testing_string" = "X$echo_test_string"; then
324 if test "X$echo" = Xecho; then
325 # We didn't find a better echo, so look for alternatives.
326 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
327 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
328 test "X$echo_testing_string" = "X$echo_test_string"; then
329 # This shell has a builtin print -r that does the trick.
331 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
332 test "X$CONFIG_SHELL" != X/bin/ksh; then
333 # If we have ksh, try running configure again with it.
334 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
335 export ORIGINAL_CONFIG_SHELL
336 CONFIG_SHELL=/bin/ksh
338 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
342 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
343 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
344 test "X$echo_testing_string" = "X$echo_test_string"; then
347 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
348 test "X$echo_testing_string" = 'X\t' &&
349 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
351 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
353 SHELL="$CONFIG_SHELL"
355 echo="$CONFIG_SHELL $0 --fallback-echo"
356 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 echo="$CONFIG_SHELL $0 --fallback-echo"
362 # maybe with a smaller string...
365 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
366 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
373 if test "$prev" != 'sed 50q "$0"'; then
374 echo_test_string=`eval $prev`
375 export echo_test_string
376 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
378 # Oops. We lost completely, so just stick with echo.
387 # Copy echo and quote the copy suitably for passing to libtool from
388 # the Makefile, instead of quoting the original, which is used later.
390 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
391 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
397 tagnames=${tagnames+${tagnames},}CXX
399 tagnames=${tagnames+${tagnames},}F77
402 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
403 # so uname gets run too.
404 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
411 ac_default_prefix=/usr/local
412 ac_config_libobj_dir=.
417 SHELL=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
420 # This variable seems obsolete. It should probably be removed, and
421 # only ac_max_sed_lines should be used.
422 : ${ac_max_here_lines=38}
424 # Identity of this package.
426 PACKAGE_TARNAME='gras'
427 PACKAGE_VERSION='0.0.040205'
428 PACKAGE_STRING='GRAS 0.0.040205'
429 PACKAGE_BUGREPORT='martin.quinson@ens-lyon.fr'
431 ac_unique_file="src/include/gras.h"
432 ac_subdirs_all="$ac_subdirs_all src/nws_portability"
433 # Factoring default headers for most tests.
434 ac_includes_default="\
437 # include <sys/types.h>
440 # include <sys/stat.h>
451 # if !STDC_HEADERS && HAVE_MEMORY_H
457 # include <strings.h>
460 # include <inttypes.h>
470 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 subdirs 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL HTML_DIR PKG_CONFIG ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE GTK_DOC_USE_LIBTOOL_TRUE GTK_DOC_USE_LIBTOOL_FALSE FLIBS LIBOBJS ACI_CACHE_PROG aci_module_desc_XML aci_pkg_config_XML HAVE_XML CFLAGS_XML LIBS_XML aci_module_desc_SimGrid aci_pkg_prefix_SimGrid aci_pkg_inc_SimGrid aci_pkg_lib_SimGrid aci_pkg_extra_SimGrid HAVE_SimGrid CFLAGS_SimGrid LIBS_SimGrid MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT cflags_set BASH WARNING LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CPP_set=${CPP+set}
928 ac_env_CPP_value=$CPP
929 ac_cv_env_CPP_set=${CPP+set}
930 ac_cv_env_CPP_value=$CPP
931 ac_env_CXX_set=${CXX+set}
932 ac_env_CXX_value=$CXX
933 ac_cv_env_CXX_set=${CXX+set}
934 ac_cv_env_CXX_value=$CXX
935 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
936 ac_env_CXXFLAGS_value=$CXXFLAGS
937 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
938 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
939 ac_env_CXXCPP_set=${CXXCPP+set}
940 ac_env_CXXCPP_value=$CXXCPP
941 ac_cv_env_CXXCPP_set=${CXXCPP+set}
942 ac_cv_env_CXXCPP_value=$CXXCPP
943 ac_env_F77_set=${F77+set}
944 ac_env_F77_value=$F77
945 ac_cv_env_F77_set=${F77+set}
946 ac_cv_env_F77_value=$F77
947 ac_env_FFLAGS_set=${FFLAGS+set}
948 ac_env_FFLAGS_value=$FFLAGS
949 ac_cv_env_FFLAGS_set=${FFLAGS+set}
950 ac_cv_env_FFLAGS_value=$FFLAGS
953 # Report the --help message.
955 if test "$ac_init_help" = "long"; then
956 # Omit some internal or obsolete options to make the list less imposing.
957 # This message is too long to be a string in the A/UX 3.1 sh.
959 \`configure' configures GRAS 0.0.040205 to adapt to many kinds of systems.
961 Usage: $0 [OPTION]... [VAR=VALUE]...
963 To assign environment variables (e.g., CC, CFLAGS...), specify them as
964 VAR=VALUE. See below for descriptions of some of the useful variables.
966 Defaults for the options are specified in brackets.
969 -h, --help display this help and exit
970 --help=short display options specific to this package
971 --help=recursive display the short help of all the included packages
972 -V, --version display version information and exit
973 -q, --quiet, --silent do not print \`checking...' messages
974 --cache-file=FILE cache test results in FILE [disabled]
975 -C, --config-cache alias for \`--cache-file=config.cache'
976 -n, --no-create do not create output files
977 --srcdir=DIR find the sources in DIR [configure dir or \`..']
982 Installation directories:
983 --prefix=PREFIX install architecture-independent files in PREFIX
985 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
988 By default, \`make install' will install all the files in
989 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
990 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
991 for instance \`--prefix=\$HOME'.
993 For better control, use the options below.
995 Fine tuning of the installation directories:
996 --bindir=DIR user executables [EPREFIX/bin]
997 --sbindir=DIR system admin executables [EPREFIX/sbin]
998 --libexecdir=DIR program executables [EPREFIX/libexec]
999 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1000 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1001 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1002 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1003 --libdir=DIR object code libraries [EPREFIX/lib]
1004 --includedir=DIR C header files [PREFIX/include]
1005 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1006 --infodir=DIR info documentation [PREFIX/info]
1007 --mandir=DIR man documentation [PREFIX/man]
1013 --program-prefix=PREFIX prepend PREFIX to installed program names
1014 --program-suffix=SUFFIX append SUFFIX to installed program names
1015 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1018 --build=BUILD configure for building on BUILD [guessed]
1019 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1020 --target=TARGET configure for building compilers for TARGET [HOST]
1024 if test -n "$ac_init_help"; then
1025 case $ac_init_help in
1026 short | recursive ) echo "Configuration of GRAS 0.0.040205:";;
1031 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1032 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1033 --enable-shared[=PKGS]
1034 build shared libraries [default=yes]
1035 --enable-static[=PKGS]
1036 build static libraries [default=yes]
1037 --enable-fast-install[=PKGS]
1038 optimize for fast installation [default=yes]
1039 --disable-dependency-tracking Speeds up one-time builds
1040 --enable-dependency-tracking Do not reject slow dependency extractors
1041 --disable-libtool-lock avoid locking (might break parallel builds)
1042 --enable-gtk-doc use gtk-doc to build documentation default=no
1043 --enable-maintainer-mode enable make rules and dependencies not useful
1044 (and sometimes confusing) to the casual installer
1045 --enable-compile-warnings=no/minimum/yes Turn on compiler warnings.
1046 --enable-iso-c Try to warn if code is not ISO C
1049 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1050 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1052 --with-pic try to use only PIC/non-PIC objects [default=use
1055 include additional configurations [automatic]
1056 --with-html-dir=PATH path to installed docs
1057 --with-SimGrid=DIR root directory of the SimGrid simulator installation
1058 --with-SimGrid-includes=DIR
1059 specify exact include dir for the SimGrid simulator headers
1060 --with-SimGrid-libraries=DIR
1061 specify exact library dir for the SimGrid simulator library
1062 --with-SimGrid-extra=ARG
1063 specify extra args to pass to the linker to get the
1064 the SimGrid simulator library (with no space. A sed to change "!"
1067 Some influential environment variables:
1068 CC C compiler command
1069 CFLAGS C compiler flags
1070 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1071 nonstandard directory <lib dir>
1072 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1073 headers in a nonstandard directory <include dir>
1075 CXX C++ compiler command
1076 CXXFLAGS C++ compiler flags
1077 CXXCPP C++ preprocessor
1078 F77 Fortran 77 compiler command
1079 FFLAGS Fortran 77 compiler flags
1081 Use these variables to override the choices made by `configure' or to help
1082 it to find libraries and programs with nonstandard names/locations.
1084 Report bugs to <martin.quinson@ens-lyon.fr>.
1088 if test "$ac_init_help" = "recursive"; then
1089 # If there are subdirs, report their specific --help.
1091 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1092 test -d $ac_dir || continue
1095 if test "$ac_dir" != .; then
1096 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1097 # A "../" for each directory in $ac_dir_suffix.
1098 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1100 ac_dir_suffix= ac_top_builddir=
1104 .) # No --srcdir option. We are building in place.
1106 if test -z "$ac_top_builddir"; then
1109 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1111 [\\/]* | ?:[\\/]* ) # Absolute path.
1112 ac_srcdir=$srcdir$ac_dir_suffix;
1113 ac_top_srcdir=$srcdir ;;
1115 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1116 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1119 # Do not use `cd foo && pwd` to compute absolute paths, because
1120 # the directories may not exist.
1122 .) ac_abs_builddir="$ac_dir";;
1125 .) ac_abs_builddir=`pwd`;;
1126 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1127 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1130 case $ac_abs_builddir in
1131 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1133 case ${ac_top_builddir}. in
1134 .) ac_abs_top_builddir=$ac_abs_builddir;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1136 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1139 case $ac_abs_builddir in
1140 .) ac_abs_srcdir=$ac_srcdir;;
1143 .) ac_abs_srcdir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1145 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1148 case $ac_abs_builddir in
1149 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1151 case $ac_top_srcdir in
1152 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1154 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1159 # Check for guested configure; otherwise get Cygnus style configure.
1160 if test -f $ac_srcdir/configure.gnu; then
1162 $SHELL $ac_srcdir/configure.gnu --help=recursive
1163 elif test -f $ac_srcdir/configure; then
1165 $SHELL $ac_srcdir/configure --help=recursive
1166 elif test -f $ac_srcdir/configure.ac ||
1167 test -f $ac_srcdir/configure.in; then
1169 $ac_configure --help
1171 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1177 test -n "$ac_init_help" && exit 0
1178 if $ac_init_version; then
1180 GRAS configure 0.0.040205
1181 generated by GNU Autoconf 2.59
1183 Copyright (C) 2003 Free Software Foundation, Inc.
1184 This configure script is free software; the Free Software Foundation
1185 gives unlimited permission to copy, distribute and modify it.
1191 This file contains any messages produced by compilers while
1192 running configure, to aid debugging if configure makes a mistake.
1194 It was created by GRAS $as_me 0.0.040205, which was
1195 generated by GNU Autoconf 2.59. Invocation command line was
1206 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1207 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1208 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1209 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1210 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1212 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1213 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1215 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1216 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1217 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1218 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1219 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1220 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1221 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1229 test -z "$as_dir" && as_dir=.
1230 echo "PATH: $as_dir"
1245 # Keep a trace of the command line.
1246 # Strip out --no-create and --no-recursion so they do not pile up.
1247 # Strip out --silent because we don't want to record it for future runs.
1248 # Also quote any args containing shell meta-characters.
1249 # Make two passes to allow for proper duplicate-argument suppression.
1254 ac_must_keep_next=false
1260 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1262 | -silent | --silent | --silen | --sile | --sil)
1264 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1270 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1271 if test $ac_must_keep_next = true; then
1272 ac_must_keep_next=false # Got value, back to normal.
1275 *=* | --config-cache | -C | -disable-* | --disable-* \
1276 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1277 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1278 | -with-* | --with-* | -without-* | --without-* | --x)
1279 case "$ac_configure_args0 " in
1280 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1283 -* ) ac_must_keep_next=true ;;
1286 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1287 # Get rid of the leading space.
1293 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1294 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1296 # When interrupted or exit'd, cleanup temporary files, and complete
1297 # config.log. We remove comments because anyway the quotes in there
1298 # would cause problems or look ugly.
1299 # WARNING: Be sure not to use single quotes in there, as some shells,
1300 # such as our DU 5.0 friend, will then `close' the trap.
1301 trap 'exit_status=$?
1302 # Save into config.log some information that might help in debugging.
1307 ## ---------------- ##
1308 ## Cache variables. ##
1309 ## ---------------- ##
1312 # The following way of writing the cache mishandles newlines in values,
1315 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1318 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1323 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1330 ## ----------------- ##
1331 ## Output variables. ##
1332 ## ----------------- ##
1335 for ac_var in $ac_subst_vars
1337 eval ac_val=$`echo $ac_var`
1338 echo "$ac_var='"'"'$ac_val'"'"'"
1342 if test -n "$ac_subst_files"; then
1349 for ac_var in $ac_subst_files
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1357 if test -s confdefs.h; then
1364 sed "/^$/d" confdefs.h | sort
1367 test "$ac_signal" != 0 &&
1368 echo "$as_me: caught signal $ac_signal"
1369 echo "$as_me: exit $exit_status"
1371 rm -f core *.core &&
1372 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1375 for ac_signal in 1 2 13 15; do
1376 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1380 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1381 rm -rf conftest* confdefs.h
1382 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1385 # Predefined preprocessor variables.
1387 cat >>confdefs.h <<_ACEOF
1388 #define PACKAGE_NAME "$PACKAGE_NAME"
1392 cat >>confdefs.h <<_ACEOF
1393 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1397 cat >>confdefs.h <<_ACEOF
1398 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_STRING "$PACKAGE_STRING"
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1412 # Let the site file select an alternate cache file if it wants to.
1413 # Prefer explicitly selected file to automatically selected ones.
1414 if test -z "$CONFIG_SITE"; then
1415 if test "x$prefix" != xNONE; then
1416 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1418 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1421 for ac_site_file in $CONFIG_SITE; do
1422 if test -r "$ac_site_file"; then
1423 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1424 echo "$as_me: loading site script $ac_site_file" >&6;}
1425 sed 's/^/| /' "$ac_site_file" >&5
1430 if test -r "$cache_file"; then
1431 # Some versions of bash will fail to source /dev/null (special
1432 # files actually), so we avoid doing that.
1433 if test -f "$cache_file"; then
1434 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1435 echo "$as_me: loading cache $cache_file" >&6;}
1437 [\\/]* | ?:[\\/]* ) . $cache_file;;
1438 *) . ./$cache_file;;
1442 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1443 echo "$as_me: creating cache $cache_file" >&6;}
1447 # Check that the precious variables saved in the cache have kept the same
1449 ac_cache_corrupted=false
1450 for ac_var in `(set) 2>&1 |
1451 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1452 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1453 eval ac_new_set=\$ac_env_${ac_var}_set
1454 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1455 eval ac_new_val="\$ac_env_${ac_var}_value"
1456 case $ac_old_set,$ac_new_set in
1458 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1459 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1460 ac_cache_corrupted=: ;;
1462 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1463 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1464 ac_cache_corrupted=: ;;
1467 if test "x$ac_old_val" != "x$ac_new_val"; then
1468 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1469 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1470 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1471 echo "$as_me: former value: $ac_old_val" >&2;}
1472 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1473 echo "$as_me: current value: $ac_new_val" >&2;}
1474 ac_cache_corrupted=:
1477 # Pass precious variables to config.status.
1478 if test "$ac_new_set" = set; then
1480 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1481 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1482 *) ac_arg=$ac_var=$ac_new_val ;;
1484 case " $ac_configure_args " in
1485 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1486 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1490 if $ac_cache_corrupted; then
1491 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1492 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1493 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1494 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1495 { (exit 1); exit 1; }; }
1499 ac_cpp='$CPP $CPPFLAGS'
1500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1533 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1534 if test -f $ac_dir/install-sh; then
1536 ac_install_sh="$ac_aux_dir/install-sh -c"
1538 elif test -f $ac_dir/install.sh; then
1540 ac_install_sh="$ac_aux_dir/install.sh -c"
1542 elif test -f $ac_dir/shtool; then
1544 ac_install_sh="$ac_aux_dir/shtool install -c"
1548 if test -z "$ac_aux_dir"; then
1549 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1550 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1551 { (exit 1); exit 1; }; }
1553 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1554 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1555 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1559 subdirs="$subdirs src/nws_portability"
1562 # Make sure we can run config.sub.
1563 $ac_config_sub sun4 >/dev/null 2>&1 ||
1564 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1565 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1566 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: checking build system type" >&5
1569 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1570 if test "${ac_cv_build+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 ac_cv_build_alias=$build_alias
1574 test -z "$ac_cv_build_alias" &&
1575 ac_cv_build_alias=`$ac_config_guess`
1576 test -z "$ac_cv_build_alias" &&
1577 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1578 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1579 { (exit 1); exit 1; }; }
1580 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1586 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1587 echo "${ECHO_T}$ac_cv_build" >&6
1589 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594 echo "$as_me:$LINENO: checking host system type" >&5
1595 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1596 if test "${ac_cv_host+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 ac_cv_host_alias=$host_alias
1600 test -z "$ac_cv_host_alias" &&
1601 ac_cv_host_alias=$ac_cv_build_alias
1602 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1603 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1604 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1605 { (exit 1); exit 1; }; }
1608 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1609 echo "${ECHO_T}$ac_cv_host" >&6
1611 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1612 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1613 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1616 echo "$as_me:$LINENO: checking target system type" >&5
1617 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1618 if test "${ac_cv_target+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_target_alias=$target_alias
1622 test "x$ac_cv_target_alias" = "x" &&
1623 ac_cv_target_alias=$ac_cv_host_alias
1624 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1630 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1631 echo "${ECHO_T}$ac_cv_target" >&6
1632 target=$ac_cv_target
1633 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1634 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1635 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638 # The aliases save the names the user supplied, while $host etc.
1639 # will get canonicalized.
1640 test -n "$target_alias" &&
1641 test "$program_prefix$program_suffix$program_transform_name" = \
1643 program_prefix=${target_alias}-
1645 ac_cpp='$CPP $CPPFLAGS'
1646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1651 ac_config_headers="$ac_config_headers src/gras_config.h"
1653 am__api_version="1.7"
1654 # Find a good install program. We prefer a C program (faster),
1655 # so one script is as good as another. But avoid the broken or
1656 # incompatible versions:
1657 # SysV /etc/install, /usr/sbin/install
1658 # SunOS /usr/etc/install
1659 # IRIX /sbin/install
1661 # AmigaOS /C/install, which installs bootblocks on floppy discs
1662 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1663 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1664 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1665 # OS/2's system install, which has a completely different semantic
1666 # ./install, which can be erroneously created by make from ./install.sh.
1667 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1668 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1669 if test -z "$INSTALL"; then
1670 if test "${ac_cv_path_install+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir=.
1678 # Account for people who put trailing slashes in PATH elements.
1680 ./ | .// | /cC/* | \
1681 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1682 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1685 # OSF1 and SCO ODT 3.0 have their own names for install.
1686 # Don't use installbsd from OSF since it installs stuff as root
1688 for ac_prog in ginstall scoinst install; do
1689 for ac_exec_ext in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1691 if test $ac_prog = install &&
1692 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1693 # AIX install. It has an incompatible calling convention.
1695 elif test $ac_prog = install &&
1696 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1697 # program-specific install script used by HP pwplus--don't use.
1700 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1712 if test "${ac_cv_path_install+set}" = set; then
1713 INSTALL=$ac_cv_path_install
1715 # As a last resort, use the slow shell script. We don't cache a
1716 # path for INSTALL within a source directory, because that will
1717 # break other packages using the cache if that directory is
1718 # removed, or if the path is relative.
1719 INSTALL=$ac_install_sh
1722 echo "$as_me:$LINENO: result: $INSTALL" >&5
1723 echo "${ECHO_T}$INSTALL" >&6
1725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1726 # It thinks the first close brace ends the variable substitution.
1727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1731 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1733 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1734 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1737 echo timestamp > conftest.file
1738 # Do `set' in a subshell so we don't clobber the current shell's
1739 # arguments. Must try -L first in case configure is actually a
1740 # symlink; some systems play weird games with the mod time of symlinks
1741 # (eg FreeBSD returns the mod time of the symlink's containing
1744 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1745 if test "$*" = "X"; then
1747 set X `ls -t $srcdir/configure conftest.file`
1750 if test "$*" != "X $srcdir/configure conftest.file" \
1751 && test "$*" != "X conftest.file $srcdir/configure"; then
1753 # If neither matched, then we have a broken ls. This can happen
1754 # if, for instance, CONFIG_SHELL is bash and it inherits a
1755 # broken ls alias from the environment. This has actually
1756 # happened. Such a system could not be considered "sane".
1757 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1758 alias in your environment" >&5
1759 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1760 alias in your environment" >&2;}
1761 { (exit 1); exit 1; }; }
1764 test "$2" = conftest.file
1770 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1771 Check your system clock" >&5
1772 echo "$as_me: error: newly created file is older than distributed files!
1773 Check your system clock" >&2;}
1774 { (exit 1); exit 1; }; }
1776 echo "$as_me:$LINENO: result: yes" >&5
1777 echo "${ECHO_T}yes" >&6
1778 test "$program_prefix" != NONE &&
1779 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1780 # Use a double $ so make ignores it.
1781 test "$program_suffix" != NONE &&
1782 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1783 # Double any \ or $. echo might interpret backslashes.
1784 # By default was `s,x,x', remove it if useless.
1785 cat <<\_ACEOF >conftest.sed
1786 s/[\\$]/&&/g;s/;s,x,x,$//
1788 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1792 # expand $ac_aux_dir to an absolute path
1793 am_aux_dir=`cd $ac_aux_dir && pwd`
1795 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1796 # Use eval to expand $SHELL
1797 if eval "$MISSING --run true"; then
1798 am_missing_run="$MISSING --run "
1801 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1802 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1805 for ac_prog in gawk mawk nawk awk
1807 # Extract the first word of "$ac_prog", so it can be a program name with args.
1808 set dummy $ac_prog; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_AWK+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$AWK"; then
1815 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_AWK="$ac_prog"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$AWK"; then
1835 echo "$as_me:$LINENO: result: $AWK" >&5
1836 echo "${ECHO_T}$AWK" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1842 test -n "$AWK" && break
1845 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1846 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1847 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1848 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1849 echo $ECHO_N "(cached) $ECHO_C" >&6
1851 cat >conftest.make <<\_ACEOF
1853 @echo 'ac_maketemp="$(MAKE)"'
1855 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1856 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1857 if test -n "$ac_maketemp"; then
1858 eval ac_cv_prog_make_${ac_make}_set=yes
1860 eval ac_cv_prog_make_${ac_make}_set=no
1864 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1865 echo "$as_me:$LINENO: result: yes" >&5
1866 echo "${ECHO_T}yes" >&6
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1871 SET_MAKE="MAKE=${MAKE-make}"
1874 rm -rf .tst 2>/dev/null
1875 mkdir .tst 2>/dev/null
1876 if test -d .tst; then
1881 rmdir .tst 2>/dev/null
1883 # test to see if srcdir already configured
1884 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1885 test -f $srcdir/config.status; then
1886 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1887 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1888 { (exit 1); exit 1; }; }
1891 # test whether we have cygpath
1892 if test -z "$CYGPATH_W"; then
1893 if (cygpath --version) >/dev/null 2>/dev/null; then
1894 CYGPATH_W='cygpath -w'
1901 # Define the identity of the package.
1903 VERSION='0.0.040205'
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE "$PACKAGE"
1911 cat >>confdefs.h <<_ACEOF
1912 #define VERSION "$VERSION"
1915 # Some tools Automake needs.
1917 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1920 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1923 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1926 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1929 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1932 AMTAR=${AMTAR-"${am_missing_run}tar"}
1934 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1936 # Installed binaries are usually stripped using `strip' when the user
1937 # run `make install-strip'. However `strip' might not be the right
1938 # tool to use in cross-compilation environments, therefore Automake
1939 # will honor the `STRIP' environment variable to overrule this program.
1940 if test "$cross_compiling" != no; then
1941 if test -n "$ac_tool_prefix"; then
1942 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1943 set dummy ${ac_tool_prefix}strip; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_STRIP+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 if test -n "$STRIP"; then
1950 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 STRIP=$ac_cv_prog_STRIP
1969 if test -n "$STRIP"; then
1970 echo "$as_me:$LINENO: result: $STRIP" >&5
1971 echo "${ECHO_T}$STRIP" >&6
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1978 if test -z "$ac_cv_prog_STRIP"; then
1980 # Extract the first word of "strip", so it can be a program name with args.
1981 set dummy strip; ac_word=$2
1982 echo "$as_me:$LINENO: checking for $ac_word" >&5
1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1984 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 if test -n "$ac_ct_STRIP"; then
1988 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994 test -z "$as_dir" && as_dir=.
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1997 ac_cv_prog_ac_ct_STRIP="strip"
1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2007 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2008 if test -n "$ac_ct_STRIP"; then
2009 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2010 echo "${ECHO_T}$ac_ct_STRIP" >&6
2012 echo "$as_me:$LINENO: result: no" >&5
2013 echo "${ECHO_T}no" >&6
2018 STRIP="$ac_cv_prog_STRIP"
2022 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2024 # We need awk for the "check" target. The system "awk" is bad on
2030 # Check whether --enable-shared or --disable-shared was given.
2031 if test "${enable_shared+set}" = set; then
2032 enableval="$enable_shared"
2033 p=${PACKAGE-default}
2035 yes) enable_shared=yes ;;
2036 no) enable_shared=no ;;
2039 # Look at the argument we got. We use all the common list separators.
2040 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2041 for pkg in $enableval; do
2043 if test "X$pkg" = "X$p"; then
2054 # Check whether --enable-static or --disable-static was given.
2055 if test "${enable_static+set}" = set; then
2056 enableval="$enable_static"
2057 p=${PACKAGE-default}
2059 yes) enable_static=yes ;;
2060 no) enable_static=no ;;
2063 # Look at the argument we got. We use all the common list separators.
2064 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2065 for pkg in $enableval; do
2067 if test "X$pkg" = "X$p"; then
2078 # Check whether --enable-fast-install or --disable-fast-install was given.
2079 if test "${enable_fast_install+set}" = set; then
2080 enableval="$enable_fast_install"
2081 p=${PACKAGE-default}
2083 yes) enable_fast_install=yes ;;
2084 no) enable_fast_install=no ;;
2086 enable_fast_install=no
2087 # Look at the argument we got. We use all the common list separators.
2088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2089 for pkg in $enableval; do
2091 if test "X$pkg" = "X$p"; then
2092 enable_fast_install=yes
2099 enable_fast_install=yes
2102 DEPDIR="${am__leading_dot}deps"
2104 ac_config_commands="$ac_config_commands depfiles"
2107 am_make=${MAKE-make}
2108 cat > confinc << 'END'
2113 # If we don't find an include directive, just comment out the code.
2114 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2115 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2119 # First try GNU make style include.
2120 echo "include confinc" > confmf
2121 # We grep out `Entering directory' and `Leaving directory'
2122 # messages which can occur if `w' ends up in MAKEFLAGS.
2123 # In particular we don't look at `^make:' because GNU make might
2124 # be invoked under some other name (usually "gmake"), in which
2125 # case it prints its new name instead of `make'.
2126 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2131 # Now try BSD make style include.
2132 if test "$am__include" = "#"; then
2133 echo '.include "confinc"' > confmf
2134 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2135 am__include=.include
2142 echo "$as_me:$LINENO: result: $_am_result" >&5
2143 echo "${ECHO_T}$_am_result" >&6
2144 rm -f confinc confmf
2146 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2147 if test "${enable_dependency_tracking+set}" = set; then
2148 enableval="$enable_dependency_tracking"
2151 if test "x$enable_dependency_tracking" != xno; then
2152 am_depcomp="$ac_aux_dir/depcomp"
2157 if test "x$enable_dependency_tracking" != xno; then
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 if test -n "$ac_tool_prefix"; then
2173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2174 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2175 echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC="$CC" # Let the user override the test.
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2209 if test -z "$ac_cv_prog_CC"; then
2211 # Extract the first word of "gcc", so it can be a program name with args.
2212 set dummy gcc; ac_word=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$ac_ct_CC"; then
2219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_ac_ct_CC="gcc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2238 if test -n "$ac_ct_CC"; then
2239 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2240 echo "${ECHO_T}$ac_ct_CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2254 set dummy ${ac_tool_prefix}cc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$CC"; then
2261 ac_cv_prog_CC="$CC" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_CC="${ac_tool_prefix}cc"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$CC"; then
2281 echo "$as_me:$LINENO: result: $CC" >&5
2282 echo "${ECHO_T}$CC" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2289 if test -z "$ac_cv_prog_CC"; then
2291 # Extract the first word of "cc", so it can be a program name with args.
2292 set dummy cc; ac_word=$2
2293 echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$ac_ct_CC"; then
2299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2308 ac_cv_prog_ac_ct_CC="cc"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2318 if test -n "$ac_ct_CC"; then
2319 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2320 echo "${ECHO_T}$ac_ct_CC" >&6
2322 echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6
2332 if test -z "$CC"; then
2333 # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$CC"; then
2341 ac_cv_prog_CC="$CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2351 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2352 ac_prog_rejected=yes
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 if test $ac_prog_rejected = yes; then
2363 # We found a bogon in the path, so make sure we never use it.
2364 set dummy $ac_cv_prog_CC
2366 if test $# != 0; then
2367 # We chose a different compiler from the bogus one.
2368 # However, it has the same basename, so the bogon will be chosen
2369 # first if we set CC to just the basename; use the full file name.
2371 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2377 if test -n "$CC"; then
2378 echo "$as_me:$LINENO: result: $CC" >&5
2379 echo "${ECHO_T}$CC" >&6
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2386 if test -z "$CC"; then
2387 if test -n "$ac_tool_prefix"; then
2390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2392 echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 if test "${ac_cv_prog_CC+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 if test -n "$CC"; then
2398 ac_cv_prog_CC="$CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CC"; then
2418 echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2425 test -n "$CC" && break
2428 if test -z "$CC"; then
2432 # Extract the first word of "$ac_prog", so it can be a program name with args.
2433 set dummy $ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$ac_ct_CC"; then
2440 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_ac_ct_CC="$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2459 if test -n "$ac_ct_CC"; then
2460 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2461 echo "${ECHO_T}$ac_ct_CC" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2467 test -n "$ac_ct_CC" && break
2476 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2477 See \`config.log' for more details." >&5
2478 echo "$as_me: error: no acceptable C compiler found in \$PATH
2479 See \`config.log' for more details." >&2;}
2480 { (exit 1); exit 1; }; }
2482 # Provide some information about the compiler.
2483 echo "$as_me:$LINENO:" \
2484 "checking for C compiler version" >&5
2485 ac_compiler=`set X $ac_compile; echo $2`
2486 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2487 (eval $ac_compiler --version </dev/null >&5) 2>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }
2491 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2492 (eval $ac_compiler -v </dev/null >&5) 2>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }
2496 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2497 (eval $ac_compiler -V </dev/null >&5) 2>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }
2502 cat >conftest.$ac_ext <<_ACEOF
2505 cat confdefs.h >>conftest.$ac_ext
2506 cat >>conftest.$ac_ext <<_ACEOF
2507 /* end confdefs.h. */
2517 ac_clean_files_save=$ac_clean_files
2518 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2519 # Try to create an executable without -o first, disregard a.out.
2520 # It will help us diagnose broken compilers, and finding out an intuition
2522 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2523 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2524 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2525 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2526 (eval $ac_link_default) 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # Find the output, starting from the most likely. This scheme is
2531 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2534 # Be careful to initialize this variable, since it used to be cached.
2535 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2537 # b.out is created by i960 compilers.
2538 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2540 test -f "$ac_file" || continue
2542 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2545 # This is the source file.
2548 # We found the default executable, but exeext='' is most
2552 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 # FIXME: I believe we export ac_cv_exeext for Libtool,
2554 # but it would be cool to find out if it's true. Does anybody
2555 # maintain Libtool? --akim.
2563 echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2566 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: C compiler cannot create executables
2569 See \`config.log' for more details." >&2;}
2570 { (exit 77); exit 77; }; }
2573 ac_exeext=$ac_cv_exeext
2574 echo "$as_me:$LINENO: result: $ac_file" >&5
2575 echo "${ECHO_T}$ac_file" >&6
2577 # Check the compiler produces executables we can run. If not, either
2578 # the compiler is broken, or we cross compile.
2579 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2580 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2581 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2582 # If not cross compiling, check that we can run a simple program.
2583 if test "$cross_compiling" != yes; then
2584 if { ac_try='./$ac_file'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2592 if test "$cross_compiling" = maybe; then
2595 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2596 If you meant to cross compile, use \`--host'.
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: cannot run C compiled programs.
2599 If you meant to cross compile, use \`--host'.
2600 See \`config.log' for more details." >&2;}
2601 { (exit 1); exit 1; }; }
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2609 ac_clean_files=$ac_clean_files_save
2610 # Check the compiler produces executables we can run. If not, either
2611 # the compiler is broken, or we cross compile.
2612 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2613 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2614 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2615 echo "${ECHO_T}$cross_compiling" >&6
2617 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2618 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2625 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2626 # work properly (i.e., refer to `conftest.exe'), while it won't with
2628 for ac_file in conftest.exe conftest conftest.*; do
2629 test -f "$ac_file" || continue
2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2632 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2639 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2640 See \`config.log' for more details." >&5
2641 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log' for more details." >&2;}
2643 { (exit 1); exit 1; }; }
2646 rm -f conftest$ac_cv_exeext
2647 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2648 echo "${ECHO_T}$ac_cv_exeext" >&6
2650 rm -f conftest.$ac_ext
2651 EXEEXT=$ac_cv_exeext
2653 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2654 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2655 if test "${ac_cv_objext+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2673 rm -f conftest.o conftest.obj
2674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2675 (eval $ac_compile) 2>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; then
2679 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2682 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2687 echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.$ac_ext >&5
2690 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2691 See \`config.log' for more details." >&5
2692 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2693 See \`config.log' for more details." >&2;}
2694 { (exit 1); exit 1; }; }
2697 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2699 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2700 echo "${ECHO_T}$ac_cv_objext" >&6
2701 OBJEXT=$ac_cv_objext
2703 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2704 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2705 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 cat >conftest.$ac_ext <<_ACEOF
2711 cat confdefs.h >>conftest.$ac_ext
2712 cat >>conftest.$ac_ext <<_ACEOF
2713 /* end confdefs.h. */
2726 rm -f conftest.$ac_objext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2728 (eval $ac_compile) 2>conftest.er1
2730 grep -v '^ *+' conftest.er1 >conftest.err
2732 cat conftest.err >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try='test -s conftest.$ac_objext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2758 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2759 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2760 GCC=`test $ac_compiler_gnu = yes && echo yes`
2761 ac_test_CFLAGS=${CFLAGS+set}
2762 ac_save_CFLAGS=$CFLAGS
2764 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2765 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2766 if test "${ac_cv_prog_cc_g+set}" = set; then
2767 echo $ECHO_N "(cached) $ECHO_C" >&6
2769 cat >conftest.$ac_ext <<_ACEOF
2772 cat confdefs.h >>conftest.$ac_ext
2773 cat >>conftest.$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2784 rm -f conftest.$ac_objext
2785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 (eval $ac_compile) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1 >conftest.err
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } &&
2793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; } &&
2799 { ac_try='test -s conftest.$ac_objext'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2814 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2816 if test "$ac_test_CFLAGS" = set; then
2817 CFLAGS=$ac_save_CFLAGS
2818 elif test $ac_cv_prog_cc_g = yes; then
2819 if test "$GCC" = yes; then
2825 if test "$GCC" = yes; then
2831 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2832 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2833 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2836 ac_cv_prog_cc_stdc=no
2838 cat >conftest.$ac_ext <<_ACEOF
2841 cat confdefs.h >>conftest.$ac_ext
2842 cat >>conftest.$ac_ext <<_ACEOF
2843 /* end confdefs.h. */
2846 #include <sys/types.h>
2847 #include <sys/stat.h>
2848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2849 struct buf { int x; };
2850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2851 static char *e (p, i)
2857 static char *f (char * (*g) (char **, int), char **p, ...)
2862 s = g (p, va_arg (v,int));
2867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2868 function prototypes and stuff, but not '\xHH' hex character constants.
2869 These don't provoke an error unfortunately, instead are silently treated
2870 as 'x'. The following induces an error, until -std1 is added to get
2871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2872 array size at least. It's necessary to write '\x00'==0 to get something
2873 that's true only with -std1. */
2874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2876 int test (int i, double x);
2877 struct s1 {int (*f) (int a);};
2878 struct s2 {int (*f) (double a);};
2879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2885 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2890 # Don't try gcc -ansi; that turns off useful extensions and
2891 # breaks some systems' header files.
2892 # AIX -qlanglvl=ansi
2893 # Ultrix and OSF/1 -std1
2894 # HP-UX 10.20 and later -Ae
2895 # HP-UX older versions -Aa -D_HPUX_SOURCE
2896 # SVR4 -Xc -D__EXTENSIONS__
2897 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2899 CC="$ac_save_CC $ac_arg"
2900 rm -f conftest.$ac_objext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902 (eval $ac_compile) 2>conftest.er1
2904 grep -v '^ *+' conftest.er1 >conftest.err
2906 cat conftest.err >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); }; } &&
2915 { ac_try='test -s conftest.$ac_objext'
2916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }; }; then
2921 ac_cv_prog_cc_stdc=$ac_arg
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2928 rm -f conftest.err conftest.$ac_objext
2930 rm -f conftest.$ac_ext conftest.$ac_objext
2935 case "x$ac_cv_prog_cc_stdc" in
2937 echo "$as_me:$LINENO: result: none needed" >&5
2938 echo "${ECHO_T}none needed" >&6 ;;
2940 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2941 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2942 CC="$CC $ac_cv_prog_cc_stdc" ;;
2945 # Some people use a C++ compiler to compile C. Since we use `exit',
2946 # in C++ we need to declare it. In case someone uses the same compiler
2947 # for both compiling C and C++ we need to have the C++ compiler decide
2948 # the declaration of exit, since it's the most demanding environment.
2949 cat >conftest.$ac_ext <<_ACEOF
2954 rm -f conftest.$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>conftest.er1
2958 grep -v '^ *+' conftest.er1 >conftest.err
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } &&
2963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; } &&
2969 { ac_try='test -s conftest.$ac_objext'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2975 for ac_declaration in \
2977 'extern "C" void std::exit (int) throw (); using std::exit;' \
2978 'extern "C" void std::exit (int); using std::exit;' \
2979 'extern "C" void exit (int) throw ();' \
2980 'extern "C" void exit (int);' \
2983 cat >conftest.$ac_ext <<_ACEOF
2986 cat confdefs.h >>conftest.$ac_ext
2987 cat >>conftest.$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2999 rm -f conftest.$ac_objext
3000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3001 (eval $ac_compile) 2>conftest.er1
3003 grep -v '^ *+' conftest.er1 >conftest.err
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } &&
3008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; } &&
3014 { ac_try='test -s conftest.$ac_objext'
3015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; }; then
3022 echo "$as_me: failed program was:" >&5
3023 sed 's/^/| /' conftest.$ac_ext >&5
3027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3028 cat >conftest.$ac_ext <<_ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3043 rm -f conftest.$ac_objext
3044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3045 (eval $ac_compile) 2>conftest.er1
3047 grep -v '^ *+' conftest.er1 >conftest.err
3049 cat conftest.err >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } &&
3052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3073 if test -n "$ac_declaration"; then
3074 echo '#ifdef __cplusplus' >>confdefs.h
3075 echo $ac_declaration >>confdefs.h
3076 echo '#endif' >>confdefs.h
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091 depcc="$CC" am_compiler_list=
3093 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3094 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3095 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3099 # We make a subdir and do the tests there. Otherwise we can end up
3100 # making bogus files that we don't know about and never remove. For
3101 # instance it was reported that on HP-UX the gcc test will end up
3102 # making a dummy file named `D' -- because `-MD' means `put the output
3105 # Copy depcomp to subdir because otherwise we won't find it if we're
3106 # using a relative directory.
3107 cp "$am_depcomp" conftest.dir
3109 # We will build objects and dependencies in a subdirectory because
3110 # it helps to detect inapplicable dependency modes. For instance
3111 # both Tru64's cc and ICC support -MD to output dependencies as a
3112 # side effect of compilation, but ICC will put the dependencies in
3113 # the current directory while Tru64 will put them in the object
3117 am_cv_CC_dependencies_compiler_type=none
3118 if test "$am_compiler_list" = ""; then
3119 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3121 for depmode in $am_compiler_list; do
3122 # Setup a source with many dependencies, because some compilers
3123 # like to wrap large dependency lists on column 80 (with \), and
3124 # we should not choose a depcomp mode which is confused by this.
3126 # We need to recreate these files for each test, as the compiler may
3127 # overwrite some of them when testing with obscure command lines.
3128 # This happens at least with the AIX C compiler.
3130 for i in 1 2 3 4 5 6; do
3131 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3134 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3138 # after this tag, mechanisms are not by side-effect, so they'll
3139 # only be used when explicitly requested
3140 if test "x$enable_dependency_tracking" = xyes; then
3148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3149 # mode. It turns out that the SunPro C++ compiler does not properly
3150 # handle `-M -o', and we need to detect this.
3151 if depmode=$depmode \
3152 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3153 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3154 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3155 >/dev/null 2>conftest.err &&
3156 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3157 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3158 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3159 # icc doesn't choke on unknown options, it will just issue warnings
3160 # (even with -Werror). So we grep stderr for any message
3161 # that says an option was ignored.
3162 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3163 am_cv_CC_dependencies_compiler_type=$depmode
3172 am_cv_CC_dependencies_compiler_type=none
3176 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3177 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3178 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3183 test "x$enable_dependency_tracking" != xno \
3184 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3186 am__fastdepCC_FALSE='#'
3188 am__fastdepCC_TRUE='#'
3189 am__fastdepCC_FALSE=
3193 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3194 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3195 if test "${lt_cv_path_SED+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 # Loop through the user's path and test for sed and gsed.
3199 # Then use that list of sed's as ones to test for truncation.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 for lt_ac_prog in sed gsed; do
3206 for ac_exec_ext in '' $ac_executable_extensions; do
3207 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3208 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3215 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3216 # along with /bin/sed that truncates output.
3217 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3218 test ! -f $lt_ac_sed && break
3219 cat /dev/null > conftest.in
3221 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3222 # Check for GNU sed and select it if it is found.
3223 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3224 lt_cv_path_SED=$lt_ac_sed
3228 cat conftest.in conftest.in >conftest.tmp
3229 mv conftest.tmp conftest.in
3230 cp conftest.in conftest.nl
3232 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3233 cmp -s conftest.out conftest.nl || break
3234 # 10000 chars as input seems more than enough
3235 test $lt_ac_count -gt 10 && break
3236 lt_ac_count=`expr $lt_ac_count + 1`
3237 if test $lt_ac_count -gt $lt_ac_max; then
3238 lt_ac_max=$lt_ac_count
3239 lt_cv_path_SED=$lt_ac_sed
3247 echo "$as_me:$LINENO: result: $SED" >&5
3248 echo "${ECHO_T}$SED" >&6
3250 echo "$as_me:$LINENO: checking for egrep" >&5
3251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3252 if test "${ac_cv_prog_egrep+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3256 then ac_cv_prog_egrep='grep -E'
3257 else ac_cv_prog_egrep='egrep'
3260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3262 EGREP=$ac_cv_prog_egrep
3266 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3267 if test "${with_gnu_ld+set}" = set; then
3268 withval="$with_gnu_ld"
3269 test "$withval" = no || with_gnu_ld=yes
3274 if test "$GCC" = yes; then
3275 # Check if gcc -print-prog-name=ld gives a path.
3276 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3277 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3280 # gcc leaves a trailing carriage return which upsets mingw
3281 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3283 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3286 # Accept absolute paths.
3288 re_direlt='/[^/][^/]*/\.\./'
3289 # Canonicalize the pathname of ld
3290 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3291 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3292 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3294 test -z "$LD" && LD="$ac_prog"
3297 # If it fails, then pretend we aren't using GCC.
3301 # If it is relative, then search for the first ld in PATH.
3305 elif test "$with_gnu_ld" = yes; then
3306 echo "$as_me:$LINENO: checking for GNU ld" >&5
3307 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3309 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3310 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3312 if test "${lt_cv_path_LD+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 if test -z "$LD"; then
3316 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3317 for ac_dir in $PATH; do
3319 test -z "$ac_dir" && ac_dir=.
3320 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3321 lt_cv_path_LD="$ac_dir/$ac_prog"
3322 # Check to see if the program is GNU ld. I'd rather use --version,
3323 # but apparently some GNU ld's only accept -v.
3324 # Break only if it was the GNU/non-GNU ld that we prefer.
3325 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3326 *GNU* | *'with BFD'*)
3327 test "$with_gnu_ld" != no && break
3330 test "$with_gnu_ld" != yes && break
3337 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3342 if test -n "$LD"; then
3343 echo "$as_me:$LINENO: result: $LD" >&5
3344 echo "${ECHO_T}$LD" >&6
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3349 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3350 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3351 { (exit 1); exit 1; }; }
3352 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3353 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3354 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3357 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3358 case `$LD -v 2>&1 </dev/null` in
3359 *GNU* | *'with BFD'*)
3360 lt_cv_prog_gnu_ld=yes
3363 lt_cv_prog_gnu_ld=no
3367 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3368 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3369 with_gnu_ld=$lt_cv_prog_gnu_ld
3372 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3373 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3374 if test "${lt_cv_ld_reload_flag+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 lt_cv_ld_reload_flag='-r'
3379 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3380 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3381 reload_flag=$lt_cv_ld_reload_flag
3382 case $reload_flag in
3384 *) reload_flag=" $reload_flag" ;;
3386 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3388 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3389 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3390 if test "${lt_cv_path_NM+set}" = set; then
3391 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 if test -n "$NM"; then
3394 # Let the user override the test.
3397 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3398 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3400 test -z "$ac_dir" && ac_dir=.
3401 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3402 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3403 # Check to see if the nm accepts a BSD-compat flag.
3404 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3405 # nm: unknown option "B" ignored
3406 # Tru64's nm complains that /dev/null is an invalid object file
3407 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3408 */dev/null* | *'Invalid file or object type'*)
3409 lt_cv_path_NM="$tmp_nm -B"
3413 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3415 lt_cv_path_NM="$tmp_nm -p"
3419 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3420 continue # so that we can try to find one that supports BSD flags
3427 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3430 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3431 echo "${ECHO_T}$lt_cv_path_NM" >&6
3434 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3435 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3437 if test "$LN_S" = "ln -s"; then
3438 echo "$as_me:$LINENO: result: yes" >&5
3439 echo "${ECHO_T}yes" >&6
3441 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3442 echo "${ECHO_T}no, using $LN_S" >&6
3445 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3446 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3447 if test "${lt_cv_deplibs_check_method+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 lt_cv_file_magic_cmd='$MAGIC_CMD'
3451 lt_cv_file_magic_test_file=
3452 lt_cv_deplibs_check_method='unknown'
3453 # Need to set the preceding variable on all platforms that support
3454 # interlibrary dependencies.
3455 # 'none' -- dependencies not supported.
3456 # `unknown' -- same as none, but documents that we really don't know.
3457 # 'pass_all' -- all dependencies passed with no checks.
3458 # 'test_compile' -- check by making test program.
3459 # 'file_magic [[regex]]' -- check by looking for files in library path
3460 # which responds to the $file_magic_cmd with a given extended regex.
3461 # If you have `file' or equivalent on your system and you're not sure
3462 # whether `pass_all' will *always* work, you probably want this one.
3466 lt_cv_deplibs_check_method=pass_all
3470 lt_cv_deplibs_check_method=pass_all
3474 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3475 lt_cv_file_magic_cmd='/usr/bin/file -L'
3476 lt_cv_file_magic_test_file=/shlib/libc.so
3480 # win32_libid is a shell function defined in ltmain.sh
3481 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3482 lt_cv_file_magic_cmd='win32_libid'
3486 # Base MSYS/MinGW do not provide the 'file' command needed by
3487 # win32_libid shell function, so use a weaker test based on 'objdump'.
3488 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3489 lt_cv_file_magic_cmd='$OBJDUMP -f'
3492 darwin* | rhapsody*)
3493 lt_cv_deplibs_check_method=pass_all
3496 freebsd* | kfreebsd*-gnu)
3497 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3500 # Not sure whether the presence of OpenBSD here was a mistake.
3501 # Let's accept both of them until this is cleared up.
3502 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3503 lt_cv_file_magic_cmd=/usr/bin/file
3504 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3508 lt_cv_deplibs_check_method=pass_all
3513 lt_cv_deplibs_check_method=pass_all
3516 hpux10.20* | hpux11*)
3517 lt_cv_file_magic_cmd=/usr/bin/file
3520 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3521 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3524 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]'
3525 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3528 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3529 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3534 irix5* | irix6* | nonstopux*)
3536 *-32|*"-32 ") libmagic=32-bit;;
3537 *-n32|*"-n32 ") libmagic=N32;;
3538 *-64|*"-64 ") libmagic=64-bit;;
3539 *) libmagic=never-match;;
3541 lt_cv_deplibs_check_method=pass_all
3544 # This must be Linux ELF.
3546 lt_cv_deplibs_check_method=pass_all
3550 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3551 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3558 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3559 lt_cv_file_magic_cmd=/usr/bin/file
3560 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3564 lt_cv_deplibs_check_method=unknown
3568 lt_cv_file_magic_cmd=/usr/bin/file
3569 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3570 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3571 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3573 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3577 osf3* | osf4* | osf5*)
3578 lt_cv_deplibs_check_method=pass_all
3582 lt_cv_deplibs_check_method=pass_all
3586 lt_cv_deplibs_check_method=pass_all
3589 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3590 case $host_vendor in
3592 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]'
3593 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3596 lt_cv_deplibs_check_method=pass_all
3599 lt_cv_file_magic_cmd='/bin/file'
3600 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3603 lt_cv_file_magic_cmd='/bin/file'
3604 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3605 lt_cv_file_magic_test_file=/lib/libc.so
3608 lt_cv_deplibs_check_method=pass_all
3613 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3614 lt_cv_deplibs_check_method=pass_all
3619 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3620 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3621 file_magic_cmd=$lt_cv_file_magic_cmd
3622 deplibs_check_method=$lt_cv_deplibs_check_method
3623 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3628 # If no C compiler was specified, use CC.
3631 # Allow CC to be a program name with arguments.
3635 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3636 if test "${enable_libtool_lock+set}" = set; then
3637 enableval="$enable_libtool_lock"
3640 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3642 # Some flags need to be propagated to the compiler or linker for good
3646 # Find out which ABI we are using.
3647 echo 'int i;' > conftest.$ac_ext
3648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; then
3653 case `/usr/bin/file conftest.$ac_objext` in
3665 # Find out which ABI we are using.
3666 echo '#line 3666 "configure"' > conftest.$ac_ext
3667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668 (eval $ac_compile) 2>&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; then
3672 if test "$lt_cv_prog_gnu_ld" = yes; then
3673 case `/usr/bin/file conftest.$ac_objext` in
3675 LD="${LD-ld} -melf32bsmip"
3678 LD="${LD-ld} -melf32bmipn32"
3681 LD="${LD-ld} -melf64bmip"
3685 case `/usr/bin/file conftest.$ac_objext` in
3701 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3702 # Find out which ABI we are using.
3703 echo 'int i;' > conftest.$ac_ext
3704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3705 (eval $ac_compile) 2>&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); }; then
3709 case "`/usr/bin/file conftest.o`" in
3713 LD="${LD-ld} -m elf_i386"
3715 ppc64-*linux*|powerpc64-*linux*)
3716 LD="${LD-ld} -m elf32ppclinux"
3719 LD="${LD-ld} -m elf_s390"
3722 LD="${LD-ld} -m elf32_sparc"
3729 LD="${LD-ld} -m elf_x86_64"
3731 ppc*-*linux*|powerpc*-*linux*)
3732 LD="${LD-ld} -m elf64ppc"
3735 LD="${LD-ld} -m elf64_s390"
3738 LD="${LD-ld} -m elf64_sparc"
3748 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3749 SAVE_CFLAGS="$CFLAGS"
3750 CFLAGS="$CFLAGS -belf"
3751 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3752 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3753 if test "${lt_cv_cc_needs_belf+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 ac_cpp='$CPP $CPPFLAGS'
3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 cat >conftest.$ac_ext <<_ACEOF
3765 cat confdefs.h >>conftest.$ac_ext
3766 cat >>conftest.$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3777 rm -f conftest.$ac_objext conftest$ac_exeext
3778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3779 (eval $ac_link) 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } &&
3786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; } &&
3792 { ac_try='test -s conftest$ac_exeext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3798 lt_cv_cc_needs_belf=yes
3800 echo "$as_me: failed program was:" >&5
3801 sed 's/^/| /' conftest.$ac_ext >&5
3803 lt_cv_cc_needs_belf=no
3805 rm -f conftest.err conftest.$ac_objext \
3806 conftest$ac_exeext conftest.$ac_ext
3808 ac_cpp='$CPP $CPPFLAGS'
3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3815 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3816 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3817 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3818 CFLAGS="$SAVE_CFLAGS"
3824 need_locks="$enable_libtool_lock"
3828 ac_cpp='$CPP $CPPFLAGS'
3829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3833 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3834 # On Suns, sometimes $CPP names a directory.
3835 if test -n "$CPP" && test -d "$CPP"; then
3838 if test -z "$CPP"; then
3839 if test "${ac_cv_prog_CPP+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 # Double quotes because CPP needs to be expanded
3843 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3846 for ac_c_preproc_warn_flag in '' yes
3848 # Use a header file that comes with gcc, so configuring glibc
3849 # with a fresh cross-compiler works.
3850 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3851 # <limits.h> exists even on freestanding compilers.
3852 # On the NeXT, cc -E runs the code through the compiler's parser,
3853 # not just through cpp. "Syntax error" is here to catch this case.
3854 cat >conftest.$ac_ext <<_ACEOF
3857 cat confdefs.h >>conftest.$ac_ext
3858 cat >>conftest.$ac_ext <<_ACEOF
3859 /* end confdefs.h. */
3861 # include <limits.h>
3863 # include <assert.h>
3867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3870 grep -v '^ *+' conftest.er1 >conftest.err
3872 cat conftest.err >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); } >/dev/null; then
3875 if test -s conftest.err; then
3876 ac_cpp_err=$ac_c_preproc_warn_flag
3877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3884 if test -z "$ac_cpp_err"; then
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3890 # Broken: fails on valid input.
3893 rm -f conftest.err conftest.$ac_ext
3895 # OK, works on sane cases. Now check whether non-existent headers
3896 # can be detected and how.
3897 cat >conftest.$ac_ext <<_ACEOF
3900 cat confdefs.h >>conftest.$ac_ext
3901 cat >>conftest.$ac_ext <<_ACEOF
3902 /* end confdefs.h. */
3903 #include <ac_nonexistent.h>
3905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3908 grep -v '^ *+' conftest.er1 >conftest.err
3910 cat conftest.err >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } >/dev/null; then
3913 if test -s conftest.err; then
3914 ac_cpp_err=$ac_c_preproc_warn_flag
3915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3922 if test -z "$ac_cpp_err"; then
3923 # Broken: success on invalid input.
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 # Passes both tests.
3933 rm -f conftest.err conftest.$ac_ext
3936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3937 rm -f conftest.err conftest.$ac_ext
3938 if $ac_preproc_ok; then
3950 echo "$as_me:$LINENO: result: $CPP" >&5
3951 echo "${ECHO_T}$CPP" >&6
3953 for ac_c_preproc_warn_flag in '' yes
3955 # Use a header file that comes with gcc, so configuring glibc
3956 # with a fresh cross-compiler works.
3957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3958 # <limits.h> exists even on freestanding compilers.
3959 # On the NeXT, cc -E runs the code through the compiler's parser,
3960 # not just through cpp. "Syntax error" is here to catch this case.
3961 cat >conftest.$ac_ext <<_ACEOF
3964 cat confdefs.h >>conftest.$ac_ext
3965 cat >>conftest.$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3968 # include <limits.h>
3970 # include <assert.h>
3974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1 >conftest.err
3979 cat conftest.err >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } >/dev/null; then
3982 if test -s conftest.err; then
3983 ac_cpp_err=$ac_c_preproc_warn_flag
3984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3991 if test -z "$ac_cpp_err"; then
3994 echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3997 # Broken: fails on valid input.
4000 rm -f conftest.err conftest.$ac_ext
4002 # OK, works on sane cases. Now check whether non-existent headers
4003 # can be detected and how.
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4010 #include <ac_nonexistent.h>
4012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4015 grep -v '^ *+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } >/dev/null; then
4020 if test -s conftest.err; then
4021 ac_cpp_err=$ac_c_preproc_warn_flag
4022 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4029 if test -z "$ac_cpp_err"; then
4030 # Broken: success on invalid input.
4033 echo "$as_me: failed program was:" >&5
4034 sed 's/^/| /' conftest.$ac_ext >&5
4036 # Passes both tests.
4040 rm -f conftest.err conftest.$ac_ext
4043 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4044 rm -f conftest.err conftest.$ac_ext
4045 if $ac_preproc_ok; then
4048 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4049 See \`config.log' for more details." >&5
4050 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4051 See \`config.log' for more details." >&2;}
4052 { (exit 1); exit 1; }; }
4056 ac_cpp='$CPP $CPPFLAGS'
4057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4062 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4063 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4064 if test "${ac_cv_header_stdc+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4086 rm -f conftest.$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088 (eval $ac_compile) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1 >conftest.err
4092 cat conftest.err >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; } &&
4101 { ac_try='test -s conftest.$ac_objext'
4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4107 ac_cv_header_stdc=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.$ac_ext >&5
4112 ac_cv_header_stdc=no
4114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4116 if test $ac_cv_header_stdc = yes; then
4117 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4118 cat >conftest.$ac_ext <<_ACEOF
4121 cat confdefs.h >>conftest.$ac_ext
4122 cat >>conftest.$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4128 $EGREP "memchr" >/dev/null 2>&1; then
4131 ac_cv_header_stdc=no
4137 if test $ac_cv_header_stdc = yes; then
4138 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4139 cat >conftest.$ac_ext <<_ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4149 $EGREP "free" >/dev/null 2>&1; then
4152 ac_cv_header_stdc=no
4158 if test $ac_cv_header_stdc = yes; then
4159 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4160 if test "$cross_compiling" = yes; then
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4170 #if ((' ' & 0x0FF) == 0x020)
4171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4174 # define ISLOWER(c) \
4175 (('a' <= (c) && (c) <= 'i') \
4176 || ('j' <= (c) && (c) <= 'r') \
4177 || ('s' <= (c) && (c) <= 'z'))
4178 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4181 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4186 for (i = 0; i < 256; i++)
4187 if (XOR (islower (i), ISLOWER (i))
4188 || toupper (i) != TOUPPER (i))
4193 rm -f conftest$ac_exeext
4194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4195 (eval $ac_link) 2>&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4206 echo "$as_me: program exited with status $ac_status" >&5
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_header_stdc=no
4213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4217 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4218 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4219 if test $ac_cv_header_stdc = yes; then
4221 cat >>confdefs.h <<\_ACEOF
4222 #define STDC_HEADERS 1
4227 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4237 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4238 inttypes.h stdint.h unistd.h
4240 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4241 echo "$as_me:$LINENO: checking for $ac_header" >&5
4242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 $ac_includes_default
4254 #include <$ac_header>
4256 rm -f conftest.$ac_objext
4257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4258 (eval $ac_compile) 2>conftest.er1
4260 grep -v '^ *+' conftest.er1 >conftest.err
4262 cat conftest.err >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); } &&
4265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try='test -s conftest.$ac_objext'
4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; }; then
4277 eval "$as_ac_Header=yes"
4279 echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.$ac_ext >&5
4282 eval "$as_ac_Header=no"
4284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289 cat >>confdefs.h <<_ACEOF
4290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4299 for ac_header in dlfcn.h
4301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4303 echo "$as_me:$LINENO: checking for $ac_header" >&5
4304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4311 # Is the header compilable?
4312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 $ac_includes_default
4321 #include <$ac_header>
4323 rm -f conftest.$ac_objext
4324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4325 (eval $ac_compile) 2>conftest.er1
4327 grep -v '^ *+' conftest.er1 >conftest.err
4329 cat conftest.err >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; } &&
4338 { ac_try='test -s conftest.$ac_objext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_header_compiler=yes
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4349 ac_header_compiler=no
4351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4353 echo "${ECHO_T}$ac_header_compiler" >&6
4355 # Is the header present?
4356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4358 cat >conftest.$ac_ext <<_ACEOF
4361 cat confdefs.h >>conftest.$ac_ext
4362 cat >>conftest.$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4364 #include <$ac_header>
4366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4369 grep -v '^ *+' conftest.er1 >conftest.err
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } >/dev/null; then
4374 if test -s conftest.err; then
4375 ac_cpp_err=$ac_c_preproc_warn_flag
4376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4383 if test -z "$ac_cpp_err"; then
4384 ac_header_preproc=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_header_preproc=no
4391 rm -f conftest.err conftest.$ac_ext
4392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4393 echo "${ECHO_T}$ac_header_preproc" >&6
4395 # So? What about this header?
4396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4402 ac_header_preproc=yes
4405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4419 ## ----------------------------------------- ##
4420 ## Report this to martin.quinson@ens-lyon.fr ##
4421 ## ----------------------------------------- ##
4424 sed "s/^/$as_me: WARNING: /" >&2
4427 echo "$as_me:$LINENO: checking for $ac_header" >&5
4428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 eval "$as_ac_Header=\$ac_header_preproc"
4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4439 cat >>confdefs.h <<_ACEOF
4440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4448 ac_cpp='$CXXCPP $CPPFLAGS'
4449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4452 if test -n "$ac_tool_prefix"; then
4453 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4457 echo "$as_me:$LINENO: checking for $ac_word" >&5
4458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4459 if test "${ac_cv_prog_CXX+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 if test -n "$CXX"; then
4463 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 if test -n "$CXX"; then
4483 echo "$as_me:$LINENO: result: $CXX" >&5
4484 echo "${ECHO_T}$CXX" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4490 test -n "$CXX" && break
4493 if test -z "$CXX"; then
4495 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4497 # Extract the first word of "$ac_prog", so it can be a program name with args.
4498 set dummy $ac_prog; ac_word=$2
4499 echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4501 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 if test -n "$ac_ct_CXX"; then
4505 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir=.
4512 for ac_exec_ext in '' $ac_executable_extensions; do
4513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514 ac_cv_prog_ac_ct_CXX="$ac_prog"
4515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4524 if test -n "$ac_ct_CXX"; then
4525 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4526 echo "${ECHO_T}$ac_ct_CXX" >&6
4528 echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6
4532 test -n "$ac_ct_CXX" && break
4534 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4540 # Provide some information about the compiler.
4541 echo "$as_me:$LINENO:" \
4542 "checking for C++ compiler version" >&5
4543 ac_compiler=`set X $ac_compile; echo $2`
4544 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4545 (eval $ac_compiler --version </dev/null >&5) 2>&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }
4549 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4550 (eval $ac_compiler -v </dev/null >&5) 2>&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }
4554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4555 (eval $ac_compiler -V </dev/null >&5) 2>&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }
4560 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4561 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4562 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.$ac_ext <<_ACEOF
4568 cat confdefs.h >>conftest.$ac_ext
4569 cat >>conftest.$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4583 rm -f conftest.$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1 >conftest.err
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try='test -s conftest.$ac_objext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4617 GXX=`test $ac_compiler_gnu = yes && echo yes`
4618 ac_test_CXXFLAGS=${CXXFLAGS+set}
4619 ac_save_CXXFLAGS=$CXXFLAGS
4621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4623 if test "${ac_cv_prog_cxx_g+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 cat >conftest.$ac_ext <<_ACEOF
4629 cat confdefs.h >>conftest.$ac_ext
4630 cat >>conftest.$ac_ext <<_ACEOF
4631 /* end confdefs.h. */
4641 rm -f conftest.$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1 >conftest.err
4647 cat conftest.err >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try='test -s conftest.$ac_objext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_prog_cxx_g=yes
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4673 if test "$ac_test_CXXFLAGS" = set; then
4674 CXXFLAGS=$ac_save_CXXFLAGS
4675 elif test $ac_cv_prog_cxx_g = yes; then
4676 if test "$GXX" = yes; then
4682 if test "$GXX" = yes; then
4688 for ac_declaration in \
4690 'extern "C" void std::exit (int) throw (); using std::exit;' \
4691 'extern "C" void std::exit (int); using std::exit;' \
4692 'extern "C" void exit (int) throw ();' \
4693 'extern "C" void exit (int);' \
4696 cat >conftest.$ac_ext <<_ACEOF
4699 cat confdefs.h >>conftest.$ac_ext
4700 cat >>conftest.$ac_ext <<_ACEOF
4701 /* end confdefs.h. */
4712 rm -f conftest.$ac_objext
4713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4714 (eval $ac_compile) 2>conftest.er1
4716 grep -v '^ *+' conftest.er1 >conftest.err
4718 cat conftest.err >&5
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4720 (exit $ac_status); } &&
4721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4741 cat >conftest.$ac_ext <<_ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4756 rm -f conftest.$ac_objext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4758 (eval $ac_compile) 2>conftest.er1
4760 grep -v '^ *+' conftest.er1 >conftest.err
4762 cat conftest.err >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.$ac_ext >&5
4783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4786 if test -n "$ac_declaration"; then
4787 echo '#ifdef __cplusplus' >>confdefs.h
4788 echo $ac_declaration >>confdefs.h
4789 echo '#endif' >>confdefs.h
4793 ac_cpp='$CXXCPP $CPPFLAGS'
4794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4798 depcc="$CXX" am_compiler_list=
4800 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4801 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4802 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4806 # We make a subdir and do the tests there. Otherwise we can end up
4807 # making bogus files that we don't know about and never remove. For
4808 # instance it was reported that on HP-UX the gcc test will end up
4809 # making a dummy file named `D' -- because `-MD' means `put the output
4812 # Copy depcomp to subdir because otherwise we won't find it if we're
4813 # using a relative directory.
4814 cp "$am_depcomp" conftest.dir
4816 # We will build objects and dependencies in a subdirectory because
4817 # it helps to detect inapplicable dependency modes. For instance
4818 # both Tru64's cc and ICC support -MD to output dependencies as a
4819 # side effect of compilation, but ICC will put the dependencies in
4820 # the current directory while Tru64 will put them in the object
4824 am_cv_CXX_dependencies_compiler_type=none
4825 if test "$am_compiler_list" = ""; then
4826 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4828 for depmode in $am_compiler_list; do
4829 # Setup a source with many dependencies, because some compilers
4830 # like to wrap large dependency lists on column 80 (with \), and
4831 # we should not choose a depcomp mode which is confused by this.
4833 # We need to recreate these files for each test, as the compiler may
4834 # overwrite some of them when testing with obscure command lines.
4835 # This happens at least with the AIX C compiler.
4837 for i in 1 2 3 4 5 6; do
4838 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4841 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4845 # after this tag, mechanisms are not by side-effect, so they'll
4846 # only be used when explicitly requested
4847 if test "x$enable_dependency_tracking" = xyes; then
4855 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4856 # mode. It turns out that the SunPro C++ compiler does not properly
4857 # handle `-M -o', and we need to detect this.
4858 if depmode=$depmode \
4859 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4860 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4861 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4862 >/dev/null 2>conftest.err &&
4863 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4864 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4865 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4866 # icc doesn't choke on unknown options, it