2 # From configure.ac Revision: 1.8 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for GRAS 0.0.040304.
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.040304'
428 PACKAGE_STRING='GRAS 0.0.040304'
429 PACKAGE_BUGREPORT='martin.quinson@ens-lyon.fr'
431 ac_unique_file="src/include/gras.h"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p 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 LIBOBJS HTML_DIR PKG_CONFIG ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE GTK_DOC_USE_LIBTOOL_TRUE GTK_DOC_USE_LIBTOOL_FALSE 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 HAVE_SG_TRUE HAVE_SG_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT cflags_set BASH WARNING LTLIBOBJS'
472 # Initialize some variables set by options.
474 ac_init_version=false
475 # The variables have the same names as the options, with
476 # dashes changed to underlines.
484 program_transform_name=s,x,x,
492 # Installation directory options.
493 # These are left unexpanded so users can "make install exec_prefix=/foo"
494 # and all the variables that are supposed to be based on exec_prefix
495 # by default will actually change.
496 # Use braces instead of parens because sh, perl, etc. also accept them.
497 bindir='${exec_prefix}/bin'
498 sbindir='${exec_prefix}/sbin'
499 libexecdir='${exec_prefix}/libexec'
500 datadir='${prefix}/share'
501 sysconfdir='${prefix}/etc'
502 sharedstatedir='${prefix}/com'
503 localstatedir='${prefix}/var'
504 libdir='${exec_prefix}/lib'
505 includedir='${prefix}/include'
506 oldincludedir='/usr/include'
507 infodir='${prefix}/info'
508 mandir='${prefix}/man'
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
520 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
522 # Accept the important Cygnus configure options, so we can diagnose typos.
526 -bindir | --bindir | --bindi | --bind | --bin | --bi)
528 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
531 -build | --build | --buil | --bui | --bu)
532 ac_prev=build_alias ;;
533 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
534 build_alias=$ac_optarg ;;
536 -cache-file | --cache-file | --cache-fil | --cache-fi \
537 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
538 ac_prev=cache_file ;;
539 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
540 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
541 cache_file=$ac_optarg ;;
544 cache_file=config.cache ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir=$ac_optarg ;;
552 -disable-* | --disable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
559 eval "enable_$ac_feature=no" ;;
561 -enable-* | --enable-*)
562 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
566 { (exit 1); exit 1; }; }
567 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
569 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
572 eval "enable_$ac_feature='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev=exec_prefix ;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix=$ac_optarg ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he | -h)
589 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
590 ac_init_help=recursive ;;
591 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
592 ac_init_help=short ;;
594 -host | --host | --hos | --ho)
595 ac_prev=host_alias ;;
596 -host=* | --host=* | --hos=* | --ho=*)
597 host_alias=$ac_optarg ;;
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev=includedir ;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir=$ac_optarg ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir=$ac_optarg ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev=libexecdir ;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir=$ac_optarg ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev=localstatedir ;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir=$ac_optarg ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
642 | --no-cr | --no-c | -n)
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev=oldincludedir ;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir=$ac_optarg ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev=program_prefix ;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix=$ac_optarg ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev=program_suffix ;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix=$ac_optarg ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev=program_transform_name ;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name=$ac_optarg ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir=$ac_optarg ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev=sharedstatedir ;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir=$ac_optarg ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev=sysconfdir ;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir=$ac_optarg ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
733 ac_prev=target_alias ;;
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target_alias=$ac_optarg ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers | -V)
744 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid package name: $ac_package" >&2
748 { (exit 1); exit 1; }; }
749 ac_package=`echo $ac_package| sed 's/-/_/g'`
751 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
754 eval "with_$ac_package='$ac_optarg'" ;;
756 -without-* | --without-*)
757 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
758 # Reject names that are not valid shell variable names.
759 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid package name: $ac_package" >&2
761 { (exit 1); exit 1; }; }
762 ac_package=`echo $ac_package | sed 's/-/_/g'`
763 eval "with_$ac_package=no" ;;
766 # Obsolete; use --with-x.
769 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
770 | --x-incl | --x-inc | --x-in | --x-i)
771 ac_prev=x_includes ;;
772 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
773 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
774 x_includes=$ac_optarg ;;
776 -x-libraries | --x-libraries | --x-librarie | --x-librari \
777 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
778 ac_prev=x_libraries ;;
779 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
780 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
781 x_libraries=$ac_optarg ;;
783 -*) { echo "$as_me: error: unrecognized option: $ac_option
784 Try \`$0 --help' for more information." >&2
785 { (exit 1); exit 1; }; }
789 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
792 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
793 { (exit 1); exit 1; }; }
794 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
795 eval "$ac_envvar='$ac_optarg'"
799 # FIXME: should be removed in autoconf 3.0.
800 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
801 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
803 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
809 if test -n "$ac_prev"; then
810 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
811 { echo "$as_me: error: missing argument to $ac_option" >&2
812 { (exit 1); exit 1; }; }
815 # Be sure to have absolute paths.
816 for ac_var in exec_prefix prefix
818 eval ac_val=$`echo $ac_var`
820 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
821 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
822 { (exit 1); exit 1; }; };;
826 # Be sure to have absolute paths.
827 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
828 localstatedir libdir includedir oldincludedir infodir mandir
830 eval ac_val=$`echo $ac_var`
832 [\\/$]* | ?:[\\/]* ) ;;
833 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
834 { (exit 1); exit 1; }; };;
838 # There might be people who depend on the old broken behavior: `$host'
839 # used to hold the argument of --host etc.
840 # FIXME: To remove some day.
845 # FIXME: To remove some day.
846 if test "x$host_alias" != x; then
847 if test "x$build_alias" = x; then
848 cross_compiling=maybe
849 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
850 If a cross compiler is detected then cross compile mode will be used." >&2
851 elif test "x$build_alias" != "x$host_alias"; then
857 test -n "$host_alias" && ac_tool_prefix=$host_alias-
859 test "$silent" = yes && exec 6>/dev/null
862 # Find the source files, if location was not specified.
863 if test -z "$srcdir"; then
864 ac_srcdir_defaulted=yes
865 # Try the directory containing this script, then its parent.
866 ac_confdir=`(dirname "$0") 2>/dev/null ||
867 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
868 X"$0" : 'X\(//\)[^/]' \| \
869 X"$0" : 'X\(//\)$' \| \
870 X"$0" : 'X\(/\)' \| \
871 . : '\(.\)' 2>/dev/null ||
873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
875 /^X\(\/\/\)$/{ s//\1/; q; }
876 /^X\(\/\).*/{ s//\1/; q; }
879 if test ! -r $srcdir/$ac_unique_file; then
883 ac_srcdir_defaulted=no
885 if test ! -r $srcdir/$ac_unique_file; then
886 if test "$ac_srcdir_defaulted" = yes; then
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
888 { (exit 1); exit 1; }; }
890 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
891 { (exit 1); exit 1; }; }
894 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
895 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
896 { (exit 1); exit 1; }; }
897 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
898 ac_env_build_alias_set=${build_alias+set}
899 ac_env_build_alias_value=$build_alias
900 ac_cv_env_build_alias_set=${build_alias+set}
901 ac_cv_env_build_alias_value=$build_alias
902 ac_env_host_alias_set=${host_alias+set}
903 ac_env_host_alias_value=$host_alias
904 ac_cv_env_host_alias_set=${host_alias+set}
905 ac_cv_env_host_alias_value=$host_alias
906 ac_env_target_alias_set=${target_alias+set}
907 ac_env_target_alias_value=$target_alias
908 ac_cv_env_target_alias_set=${target_alias+set}
909 ac_cv_env_target_alias_value=$target_alias
910 ac_env_CC_set=${CC+set}
912 ac_cv_env_CC_set=${CC+set}
913 ac_cv_env_CC_value=$CC
914 ac_env_CFLAGS_set=${CFLAGS+set}
915 ac_env_CFLAGS_value=$CFLAGS
916 ac_cv_env_CFLAGS_set=${CFLAGS+set}
917 ac_cv_env_CFLAGS_value=$CFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_env_CPPFLAGS_value=$CPPFLAGS
924 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
925 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
926 ac_env_CPP_set=${CPP+set}
927 ac_env_CPP_value=$CPP
928 ac_cv_env_CPP_set=${CPP+set}
929 ac_cv_env_CPP_value=$CPP
930 ac_env_CXX_set=${CXX+set}
931 ac_env_CXX_value=$CXX
932 ac_cv_env_CXX_set=${CXX+set}
933 ac_cv_env_CXX_value=$CXX
934 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
935 ac_env_CXXFLAGS_value=$CXXFLAGS
936 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
937 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
938 ac_env_CXXCPP_set=${CXXCPP+set}
939 ac_env_CXXCPP_value=$CXXCPP
940 ac_cv_env_CXXCPP_set=${CXXCPP+set}
941 ac_cv_env_CXXCPP_value=$CXXCPP
942 ac_env_F77_set=${F77+set}
943 ac_env_F77_value=$F77
944 ac_cv_env_F77_set=${F77+set}
945 ac_cv_env_F77_value=$F77
946 ac_env_FFLAGS_set=${FFLAGS+set}
947 ac_env_FFLAGS_value=$FFLAGS
948 ac_cv_env_FFLAGS_set=${FFLAGS+set}
949 ac_cv_env_FFLAGS_value=$FFLAGS
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures GRAS 0.0.040304 to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1017 --build=BUILD configure for building on BUILD [guessed]
1018 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1019 --target=TARGET configure for building compilers for TARGET [HOST]
1023 if test -n "$ac_init_help"; then
1024 case $ac_init_help in
1025 short | recursive ) echo "Configuration of GRAS 0.0.040304:";;
1030 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1031 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1032 --enable-shared[=PKGS]
1033 build shared libraries [default=yes]
1034 --enable-static[=PKGS]
1035 build static libraries [default=yes]
1036 --enable-fast-install[=PKGS]
1037 optimize for fast installation [default=yes]
1038 --disable-dependency-tracking speeds up one-time build
1039 --enable-dependency-tracking do not reject slow dependency extractors
1040 --disable-libtool-lock avoid locking (might break parallel builds)
1041 --enable-gtk-doc use gtk-doc to build documentation default=no
1042 --enable-maintainer-mode enable make rules and dependencies not useful
1043 (and sometimes confusing) to the casual installer
1044 --enable-compile-warnings=no/minimum/yes Turn on compiler warnings.
1045 --enable-iso-c Try to warn if code is not ISO C
1048 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1049 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1050 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1051 --with-pic try to use only PIC/non-PIC objects [default=use
1054 include additional configurations [automatic]
1055 --with-html-dir=PATH path to installed docs
1056 --with-SimGrid=DIR root directory of the SimGrid simulator installation
1057 --with-SimGrid-includes=DIR
1058 specify exact include dir for the SimGrid simulator headers
1059 --with-SimGrid-libraries=DIR
1060 specify exact library dir for the SimGrid simulator library
1061 --with-SimGrid-extra=ARG
1062 specify extra args to pass to the linker to get the
1063 the SimGrid simulator library (with no space. A sed to change "!"
1066 Some influential environment variables:
1067 CC C compiler command
1068 CFLAGS C compiler flags
1069 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1070 nonstandard directory <lib dir>
1071 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1072 headers in a nonstandard directory <include dir>
1074 CXX C++ compiler command
1075 CXXFLAGS C++ compiler flags
1076 CXXCPP C++ preprocessor
1077 F77 Fortran 77 compiler command
1078 FFLAGS Fortran 77 compiler flags
1080 Use these variables to override the choices made by `configure' or to help
1081 it to find libraries and programs with nonstandard names/locations.
1083 Report bugs to <martin.quinson@ens-lyon.fr>.
1087 if test "$ac_init_help" = "recursive"; then
1088 # If there are subdirs, report their specific --help.
1090 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1091 test -d $ac_dir || continue
1094 if test "$ac_dir" != .; then
1095 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1096 # A "../" for each directory in $ac_dir_suffix.
1097 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1099 ac_dir_suffix= ac_top_builddir=
1103 .) # No --srcdir option. We are building in place.
1105 if test -z "$ac_top_builddir"; then
1108 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1110 [\\/]* | ?:[\\/]* ) # Absolute path.
1111 ac_srcdir=$srcdir$ac_dir_suffix;
1112 ac_top_srcdir=$srcdir ;;
1114 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1115 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1118 # Do not use `cd foo && pwd` to compute absolute paths, because
1119 # the directories may not exist.
1121 .) ac_abs_builddir="$ac_dir";;
1124 .) ac_abs_builddir=`pwd`;;
1125 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1126 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1129 case $ac_abs_builddir in
1130 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1132 case ${ac_top_builddir}. in
1133 .) ac_abs_top_builddir=$ac_abs_builddir;;
1134 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1135 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1138 case $ac_abs_builddir in
1139 .) ac_abs_srcdir=$ac_srcdir;;
1142 .) ac_abs_srcdir=$ac_abs_builddir;;
1143 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1144 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1147 case $ac_abs_builddir in
1148 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1150 case $ac_top_srcdir in
1151 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1152 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1153 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1158 # Check for guested configure; otherwise get Cygnus style configure.
1159 if test -f $ac_srcdir/configure.gnu; then
1161 $SHELL $ac_srcdir/configure.gnu --help=recursive
1162 elif test -f $ac_srcdir/configure; then
1164 $SHELL $ac_srcdir/configure --help=recursive
1165 elif test -f $ac_srcdir/configure.ac ||
1166 test -f $ac_srcdir/configure.in; then
1168 $ac_configure --help
1170 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1176 test -n "$ac_init_help" && exit 0
1177 if $ac_init_version; then
1179 GRAS configure 0.0.040304
1180 generated by GNU Autoconf 2.59
1182 Copyright (C) 2003 Free Software Foundation, Inc.
1183 This configure script is free software; the Free Software Foundation
1184 gives unlimited permission to copy, distribute and modify it.
1190 This file contains any messages produced by compilers while
1191 running configure, to aid debugging if configure makes a mistake.
1193 It was created by GRAS $as_me 0.0.040304, which was
1194 generated by GNU Autoconf 2.59. Invocation command line was
1205 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1206 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1207 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1208 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1209 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1211 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1212 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1214 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1215 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1216 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1217 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1218 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1219 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1220 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1228 test -z "$as_dir" && as_dir=.
1229 echo "PATH: $as_dir"
1244 # Keep a trace of the command line.
1245 # Strip out --no-create and --no-recursion so they do not pile up.
1246 # Strip out --silent because we don't want to record it for future runs.
1247 # Also quote any args containing shell meta-characters.
1248 # Make two passes to allow for proper duplicate-argument suppression.
1253 ac_must_keep_next=false
1259 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1260 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1261 | -silent | --silent | --silen | --sile | --sil)
1263 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1264 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1267 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1269 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1270 if test $ac_must_keep_next = true; then
1271 ac_must_keep_next=false # Got value, back to normal.
1274 *=* | --config-cache | -C | -disable-* | --disable-* \
1275 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1276 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1277 | -with-* | --with-* | -without-* | --without-* | --x)
1278 case "$ac_configure_args0 " in
1279 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1282 -* ) ac_must_keep_next=true ;;
1285 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1286 # Get rid of the leading space.
1292 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1293 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1295 # When interrupted or exit'd, cleanup temporary files, and complete
1296 # config.log. We remove comments because anyway the quotes in there
1297 # would cause problems or look ugly.
1298 # WARNING: Be sure not to use single quotes in there, as some shells,
1299 # such as our DU 5.0 friend, will then `close' the trap.
1300 trap 'exit_status=$?
1301 # Save into config.log some information that might help in debugging.
1306 ## ---------------- ##
1307 ## Cache variables. ##
1308 ## ---------------- ##
1311 # The following way of writing the cache mishandles newlines in values,
1314 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1317 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1329 ## ----------------- ##
1330 ## Output variables. ##
1331 ## ----------------- ##
1334 for ac_var in $ac_subst_vars
1336 eval ac_val=$`echo $ac_var`
1337 echo "$ac_var='"'"'$ac_val'"'"'"
1341 if test -n "$ac_subst_files"; then
1348 for ac_var in $ac_subst_files
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1356 if test -s confdefs.h; then
1363 sed "/^$/d" confdefs.h | sort
1366 test "$ac_signal" != 0 &&
1367 echo "$as_me: caught signal $ac_signal"
1368 echo "$as_me: exit $exit_status"
1370 rm -f core *.core &&
1371 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1374 for ac_signal in 1 2 13 15; do
1375 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1379 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1380 rm -rf conftest* confdefs.h
1381 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1384 # Predefined preprocessor variables.
1386 cat >>confdefs.h <<_ACEOF
1387 #define PACKAGE_NAME "$PACKAGE_NAME"
1391 cat >>confdefs.h <<_ACEOF
1392 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_STRING "$PACKAGE_STRING"
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1411 # Let the site file select an alternate cache file if it wants to.
1412 # Prefer explicitly selected file to automatically selected ones.
1413 if test -z "$CONFIG_SITE"; then
1414 if test "x$prefix" != xNONE; then
1415 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1417 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1420 for ac_site_file in $CONFIG_SITE; do
1421 if test -r "$ac_site_file"; then
1422 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1423 echo "$as_me: loading site script $ac_site_file" >&6;}
1424 sed 's/^/| /' "$ac_site_file" >&5
1429 if test -r "$cache_file"; then
1430 # Some versions of bash will fail to source /dev/null (special
1431 # files actually), so we avoid doing that.
1432 if test -f "$cache_file"; then
1433 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1434 echo "$as_me: loading cache $cache_file" >&6;}
1436 [\\/]* | ?:[\\/]* ) . $cache_file;;
1437 *) . ./$cache_file;;
1441 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1442 echo "$as_me: creating cache $cache_file" >&6;}
1446 # Check that the precious variables saved in the cache have kept the same
1448 ac_cache_corrupted=false
1449 for ac_var in `(set) 2>&1 |
1450 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1451 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1452 eval ac_new_set=\$ac_env_${ac_var}_set
1453 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1454 eval ac_new_val="\$ac_env_${ac_var}_value"
1455 case $ac_old_set,$ac_new_set in
1457 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1458 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1459 ac_cache_corrupted=: ;;
1461 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1462 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1463 ac_cache_corrupted=: ;;
1466 if test "x$ac_old_val" != "x$ac_new_val"; then
1467 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1468 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1469 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1470 echo "$as_me: former value: $ac_old_val" >&2;}
1471 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1472 echo "$as_me: current value: $ac_new_val" >&2;}
1473 ac_cache_corrupted=:
1476 # Pass precious variables to config.status.
1477 if test "$ac_new_set" = set; then
1479 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1480 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1481 *) ac_arg=$ac_var=$ac_new_val ;;
1483 case " $ac_configure_args " in
1484 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1485 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1489 if $ac_cache_corrupted; then
1490 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1491 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1492 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1493 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1494 { (exit 1); exit 1; }; }
1498 ac_cpp='$CPP $CPPFLAGS'
1499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1501 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.
1557 # Make sure we can run config.sub.
1558 $ac_config_sub sun4 >/dev/null 2>&1 ||
1559 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1560 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1561 { (exit 1); exit 1; }; }
1563 echo "$as_me:$LINENO: checking build system type" >&5
1564 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1565 if test "${ac_cv_build+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 ac_cv_build_alias=$build_alias
1569 test -z "$ac_cv_build_alias" &&
1570 ac_cv_build_alias=`$ac_config_guess`
1571 test -z "$ac_cv_build_alias" &&
1572 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1573 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1574 { (exit 1); exit 1; }; }
1575 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1581 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1582 echo "${ECHO_T}$ac_cv_build" >&6
1584 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1589 echo "$as_me:$LINENO: checking host system type" >&5
1590 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1591 if test "${ac_cv_host+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 ac_cv_host_alias=$host_alias
1595 test -z "$ac_cv_host_alias" &&
1596 ac_cv_host_alias=$ac_cv_build_alias
1597 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1604 echo "${ECHO_T}$ac_cv_host" >&6
1606 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking target system type" >&5
1612 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1613 if test "${ac_cv_target+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_target_alias=$target_alias
1617 test "x$ac_cv_target_alias" = "x" &&
1618 ac_cv_target_alias=$ac_cv_host_alias
1619 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1626 echo "${ECHO_T}$ac_cv_target" >&6
1627 target=$ac_cv_target
1628 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 # The aliases save the names the user supplied, while $host etc.
1634 # will get canonicalized.
1635 test -n "$target_alias" &&
1636 test "$program_prefix$program_suffix$program_transform_name" = \
1638 program_prefix=${target_alias}-
1640 ac_cpp='$CPP $CPPFLAGS'
1641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646 ac_config_headers="$ac_config_headers src/gras_config.h"
1648 am__api_version="1.8"
1649 # Find a good install program. We prefer a C program (faster),
1650 # so one script is as good as another. But avoid the broken or
1651 # incompatible versions:
1652 # SysV /etc/install, /usr/sbin/install
1653 # SunOS /usr/etc/install
1654 # IRIX /sbin/install
1656 # AmigaOS /C/install, which installs bootblocks on floppy discs
1657 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1658 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1659 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1660 # OS/2's system install, which has a completely different semantic
1661 # ./install, which can be erroneously created by make from ./install.sh.
1662 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1663 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1664 if test -z "$INSTALL"; then
1665 if test "${ac_cv_path_install+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 # Account for people who put trailing slashes in PATH elements.
1675 ./ | .// | /cC/* | \
1676 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1677 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1680 # OSF1 and SCO ODT 3.0 have their own names for install.
1681 # Don't use installbsd from OSF since it installs stuff as root
1683 for ac_prog in ginstall scoinst install; do
1684 for ac_exec_ext in '' $ac_executable_extensions; do
1685 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1686 if test $ac_prog = install &&
1687 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1688 # AIX install. It has an incompatible calling convention.
1690 elif test $ac_prog = install &&
1691 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1692 # program-specific install script used by HP pwplus--don't use.
1695 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1707 if test "${ac_cv_path_install+set}" = set; then
1708 INSTALL=$ac_cv_path_install
1710 # As a last resort, use the slow shell script. We don't cache a
1711 # path for INSTALL within a source directory, because that will
1712 # break other packages using the cache if that directory is
1713 # removed, or if the path is relative.
1714 INSTALL=$ac_install_sh
1717 echo "$as_me:$LINENO: result: $INSTALL" >&5
1718 echo "${ECHO_T}$INSTALL" >&6
1720 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1721 # It thinks the first close brace ends the variable substitution.
1722 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1724 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1726 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1728 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1729 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1732 echo timestamp > conftest.file
1733 # Do `set' in a subshell so we don't clobber the current shell's
1734 # arguments. Must try -L first in case configure is actually a
1735 # symlink; some systems play weird games with the mod time of symlinks
1736 # (eg FreeBSD returns the mod time of the symlink's containing
1739 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1740 if test "$*" = "X"; then
1742 set X `ls -t $srcdir/configure conftest.file`
1745 if test "$*" != "X $srcdir/configure conftest.file" \
1746 && test "$*" != "X conftest.file $srcdir/configure"; then
1748 # If neither matched, then we have a broken ls. This can happen
1749 # if, for instance, CONFIG_SHELL is bash and it inherits a
1750 # broken ls alias from the environment. This has actually
1751 # happened. Such a system could not be considered "sane".
1752 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1753 alias in your environment" >&5
1754 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1755 alias in your environment" >&2;}
1756 { (exit 1); exit 1; }; }
1759 test "$2" = conftest.file
1765 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1766 Check your system clock" >&5
1767 echo "$as_me: error: newly created file is older than distributed files!
1768 Check your system clock" >&2;}
1769 { (exit 1); exit 1; }; }
1771 echo "$as_me:$LINENO: result: yes" >&5
1772 echo "${ECHO_T}yes" >&6
1773 test "$program_prefix" != NONE &&
1774 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1775 # Use a double $ so make ignores it.
1776 test "$program_suffix" != NONE &&
1777 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1778 # Double any \ or $. echo might interpret backslashes.
1779 # By default was `s,x,x', remove it if useless.
1780 cat <<\_ACEOF >conftest.sed
1781 s/[\\$]/&&/g;s/;s,x,x,$//
1783 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1786 # expand $ac_aux_dir to an absolute path
1787 am_aux_dir=`cd $ac_aux_dir && pwd`
1789 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1790 # Use eval to expand $SHELL
1791 if eval "$MISSING --run true"; then
1792 am_missing_run="$MISSING --run "
1795 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1796 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1799 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1800 # Keeping the `.' argument allows $(mkdir_p) to be used without
1801 # argument. Indeed, we sometimes output rules like
1802 # $(mkdir_p) $(somedir)
1803 # where $(somedir) is conditionally defined.
1804 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1805 # expensive solution, as it forces Make to start a sub-shell.)
1806 mkdir_p='mkdir -p -- .'
1808 # On NextStep and OpenStep, the `mkdir' command does not
1809 # recognize any option. It will interpret all options as
1810 # directories to create, and then abort because `.' already
1812 for d in ./-p ./--version;
1814 test -d $d && rmdir $d
1816 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1817 if test -f "$ac_aux_dir/mkinstalldirs"; then
1818 mkdir_p='$(mkinstalldirs)'
1820 mkdir_p='$(install_sh) -d'
1824 for ac_prog in gawk mawk nawk awk
1826 # Extract the first word of "$ac_prog", so it can be a program name with args.
1827 set dummy $ac_prog; ac_word=$2
1828 echo "$as_me:$LINENO: checking for $ac_word" >&5
1829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830 if test "${ac_cv_prog_AWK+set}" = set; then
1831 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 if test -n "$AWK"; then
1834 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 for ac_exec_ext in '' $ac_executable_extensions; do
1842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843 ac_cv_prog_AWK="$ac_prog"
1844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1853 if test -n "$AWK"; then
1854 echo "$as_me:$LINENO: result: $AWK" >&5
1855 echo "${ECHO_T}$AWK" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1861 test -n "$AWK" && break
1864 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1865 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1866 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1867 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1868 echo $ECHO_N "(cached) $ECHO_C" >&6
1870 cat >conftest.make <<\_ACEOF
1872 @echo 'ac_maketemp="$(MAKE)"'
1874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1875 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1876 if test -n "$ac_maketemp"; then
1877 eval ac_cv_prog_make_${ac_make}_set=yes
1879 eval ac_cv_prog_make_${ac_make}_set=no
1883 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1884 echo "$as_me:$LINENO: result: yes" >&5
1885 echo "${ECHO_T}yes" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1890 SET_MAKE="MAKE=${MAKE-make}"
1893 rm -rf .tst 2>/dev/null
1894 mkdir .tst 2>/dev/null
1895 if test -d .tst; then
1900 rmdir .tst 2>/dev/null
1902 # test to see if srcdir already configured
1903 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1904 test -f $srcdir/config.status; then
1905 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1906 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1907 { (exit 1); exit 1; }; }
1910 # test whether we have cygpath
1911 if test -z "$CYGPATH_W"; then
1912 if (cygpath --version) >/dev/null 2>/dev/null; then
1913 CYGPATH_W='cygpath -w'
1920 # Define the identity of the package.
1922 VERSION='0.0.040304'
1925 cat >>confdefs.h <<_ACEOF
1926 #define PACKAGE "$PACKAGE"
1930 cat >>confdefs.h <<_ACEOF
1931 #define VERSION "$VERSION"
1934 # Some tools Automake needs.
1936 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1939 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1942 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1945 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1948 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1951 AMTAR=${AMTAR-"${am_missing_run}tar"}
1953 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1955 # Installed binaries are usually stripped using `strip' when the user
1956 # run `make install-strip'. However `strip' might not be the right
1957 # tool to use in cross-compilation environments, therefore Automake
1958 # will honor the `STRIP' environment variable to overrule this program.
1959 if test "$cross_compiling" != no; then
1960 if test -n "$ac_tool_prefix"; then
1961 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1962 set dummy ${ac_tool_prefix}strip; ac_word=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_STRIP+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$STRIP"; then
1969 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1978 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 STRIP=$ac_cv_prog_STRIP
1988 if test -n "$STRIP"; then
1989 echo "$as_me:$LINENO: result: $STRIP" >&5
1990 echo "${ECHO_T}$STRIP" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1997 if test -z "$ac_cv_prog_STRIP"; then
1999 # Extract the first word of "strip", so it can be a program name with args.
2000 set dummy strip; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 if test -n "$ac_ct_STRIP"; then
2007 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_ac_ct_STRIP="strip"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2026 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2027 if test -n "$ac_ct_STRIP"; then
2028 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2029 echo "${ECHO_T}$ac_ct_STRIP" >&6
2031 echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6
2037 STRIP="$ac_cv_prog_STRIP"
2041 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2043 # We need awk for the "check" target. The system "awk" is bad on
2049 # Check whether --enable-shared or --disable-shared was given.
2050 if test "${enable_shared+set}" = set; then
2051 enableval="$enable_shared"
2052 p=${PACKAGE-default}
2054 yes) enable_shared=yes ;;
2055 no) enable_shared=no ;;
2058 # Look at the argument we got. We use all the common list separators.
2059 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2060 for pkg in $enableval; do
2062 if test "X$pkg" = "X$p"; then
2073 # Check whether --enable-static or --disable-static was given.
2074 if test "${enable_static+set}" = set; then
2075 enableval="$enable_static"
2076 p=${PACKAGE-default}
2078 yes) enable_static=yes ;;
2079 no) enable_static=no ;;
2082 # Look at the argument we got. We use all the common list separators.
2083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2084 for pkg in $enableval; do
2086 if test "X$pkg" = "X$p"; then
2097 # Check whether --enable-fast-install or --disable-fast-install was given.
2098 if test "${enable_fast_install+set}" = set; then
2099 enableval="$enable_fast_install"
2100 p=${PACKAGE-default}
2102 yes) enable_fast_install=yes ;;
2103 no) enable_fast_install=no ;;
2105 enable_fast_install=no
2106 # Look at the argument we got. We use all the common list separators.
2107 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2108 for pkg in $enableval; do
2110 if test "X$pkg" = "X$p"; then
2111 enable_fast_install=yes
2118 enable_fast_install=yes
2121 DEPDIR="${am__leading_dot}deps"
2123 ac_config_commands="$ac_config_commands depfiles"
2126 am_make=${MAKE-make}
2127 cat > confinc << 'END'
2132 # If we don't find an include directive, just comment out the code.
2133 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2134 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2138 # First try GNU make style include.
2139 echo "include confinc" > confmf
2140 # We grep out `Entering directory' and `Leaving directory'
2141 # messages which can occur if `w' ends up in MAKEFLAGS.
2142 # In particular we don't look at `^make:' because GNU make might
2143 # be invoked under some other name (usually "gmake"), in which
2144 # case it prints its new name instead of `make'.
2145 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2150 # Now try BSD make style include.
2151 if test "$am__include" = "#"; then
2152 echo '.include "confinc"' > confmf
2153 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2154 am__include=.include
2161 echo "$as_me:$LINENO: result: $_am_result" >&5
2162 echo "${ECHO_T}$_am_result" >&6
2163 rm -f confinc confmf
2165 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2166 if test "${enable_dependency_tracking+set}" = set; then
2167 enableval="$enable_dependency_tracking"
2170 if test "x$enable_dependency_tracking" != xno; then
2171 am_depcomp="$ac_aux_dir/depcomp"
2176 if test "x$enable_dependency_tracking" != xno; then
2187 ac_cpp='$CPP $CPPFLAGS'
2188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2191 if test -n "$ac_tool_prefix"; then
2192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2193 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2194 echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2196 if test "${ac_cv_prog_CC+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test -n "$CC"; then
2200 ac_cv_prog_CC="$CC" # Let the user override the test.
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2209 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 if test -n "$CC"; then
2220 echo "$as_me:$LINENO: result: $CC" >&5
2221 echo "${ECHO_T}$CC" >&6
2223 echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6
2228 if test -z "$ac_cv_prog_CC"; then
2230 # Extract the first word of "gcc", so it can be a program name with args.
2231 set dummy gcc; ac_word=$2
2232 echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$ac_ct_CC"; then
2238 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2247 ac_cv_prog_ac_ct_CC="gcc"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2257 if test -n "$ac_ct_CC"; then
2258 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2259 echo "${ECHO_T}$ac_ct_CC" >&6
2261 echo "$as_me:$LINENO: result: no" >&5
2262 echo "${ECHO_T}no" >&6
2270 if test -z "$CC"; then
2271 if test -n "$ac_tool_prefix"; then
2272 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2273 set dummy ${ac_tool_prefix}cc; ac_word=$2
2274 echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2276 if test "${ac_cv_prog_CC+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 if test -n "$CC"; then
2280 ac_cv_prog_CC="$CC" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 ac_cv_prog_CC="${ac_tool_prefix}cc"
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test -n "$CC"; then
2300 echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6
2303 echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6
2308 if test -z "$ac_cv_prog_CC"; then
2310 # Extract the first word of "cc", so it can be a program name with args.
2311 set dummy cc; ac_word=$2
2312 echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$ac_ct_CC"; then
2318 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327 ac_cv_prog_ac_ct_CC="cc"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2336 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2337 if test -n "$ac_ct_CC"; then
2338 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2339 echo "${ECHO_T}$ac_ct_CC" >&6
2341 echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6
2351 if test -z "$CC"; then
2352 # Extract the first word of "cc", so it can be a program name with args.
2353 set dummy cc; ac_word=$2
2354 echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2356 if test "${ac_cv_prog_CC+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$CC"; then
2360 ac_cv_prog_CC="$CC" # Let the user override the test.
2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367 test -z "$as_dir" && as_dir=.
2368 for ac_exec_ext in '' $ac_executable_extensions; do
2369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2370 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2371 ac_prog_rejected=yes
2375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 if test $ac_prog_rejected = yes; then
2382 # We found a bogon in the path, so make sure we never use it.
2383 set dummy $ac_cv_prog_CC
2385 if test $# != 0; then
2386 # We chose a different compiler from the bogus one.
2387 # However, it has the same basename, so the bogon will be chosen
2388 # first if we set CC to just the basename; use the full file name.
2390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2396 if test -n "$CC"; then
2397 echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6
2400 echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6
2405 if test -z "$CC"; then
2406 if test -n "$ac_tool_prefix"; then
2409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2411 echo "$as_me:$LINENO: checking for $ac_word" >&5
2412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2413 if test "${ac_cv_prog_CC+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 if test -n "$CC"; then
2417 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 if test -n "$CC"; then
2437 echo "$as_me:$LINENO: result: $CC" >&5
2438 echo "${ECHO_T}$CC" >&6
2440 echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6
2444 test -n "$CC" && break
2447 if test -z "$CC"; then
2451 # Extract the first word of "$ac_prog", so it can be a program name with args.
2452 set dummy $ac_prog; ac_word=$2
2453 echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2458 if test -n "$ac_ct_CC"; then
2459 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2468 ac_cv_prog_ac_ct_CC="$ac_prog"
2469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2478 if test -n "$ac_ct_CC"; then
2479 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2480 echo "${ECHO_T}$ac_ct_CC" >&6
2482 echo "$as_me:$LINENO: result: no" >&5
2483 echo "${ECHO_T}no" >&6
2486 test -n "$ac_ct_CC" && break
2495 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2496 See \`config.log' for more details." >&5
2497 echo "$as_me: error: no acceptable C compiler found in \$PATH
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2501 # Provide some information about the compiler.
2502 echo "$as_me:$LINENO:" \
2503 "checking for C compiler version" >&5
2504 ac_compiler=`set X $ac_compile; echo $2`
2505 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2506 (eval $ac_compiler --version </dev/null >&5) 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }
2510 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2511 (eval $ac_compiler -v </dev/null >&5) 2>&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }
2515 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2516 (eval $ac_compiler -V </dev/null >&5) 2>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }
2521 cat >conftest.$ac_ext <<_ACEOF
2524 cat confdefs.h >>conftest.$ac_ext
2525 cat >>conftest.$ac_ext <<_ACEOF
2526 /* end confdefs.h. */
2536 ac_clean_files_save=$ac_clean_files
2537 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2538 # Try to create an executable without -o first, disregard a.out.
2539 # It will help us diagnose broken compilers, and finding out an intuition
2541 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2542 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2543 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2544 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2545 (eval $ac_link_default) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 # Find the output, starting from the most likely. This scheme is
2550 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2553 # Be careful to initialize this variable, since it used to be cached.
2554 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2556 # b.out is created by i960 compilers.
2557 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2559 test -f "$ac_file" || continue
2561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2564 # This is the source file.
2567 # We found the default executable, but exeext='' is most
2571 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2572 # FIXME: I believe we export ac_cv_exeext for Libtool,
2573 # but it would be cool to find out if it's true. Does anybody
2574 # maintain Libtool? --akim.
2582 echo "$as_me: failed program was:" >&5
2583 sed 's/^/| /' conftest.$ac_ext >&5
2585 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: C compiler cannot create executables
2588 See \`config.log' for more details." >&2;}
2589 { (exit 77); exit 77; }; }
2592 ac_exeext=$ac_cv_exeext
2593 echo "$as_me:$LINENO: result: $ac_file" >&5
2594 echo "${ECHO_T}$ac_file" >&6
2596 # Check the compiler produces executables we can run. If not, either
2597 # the compiler is broken, or we cross compile.
2598 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2599 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2600 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2601 # If not cross compiling, check that we can run a simple program.
2602 if test "$cross_compiling" != yes; then
2603 if { ac_try='./$ac_file'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 if test "$cross_compiling" = maybe; then
2614 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2615 If you meant to cross compile, use \`--host'.
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot run C compiled programs.
2618 If you meant to cross compile, use \`--host'.
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2624 echo "$as_me:$LINENO: result: yes" >&5
2625 echo "${ECHO_T}yes" >&6
2627 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2628 ac_clean_files=$ac_clean_files_save
2629 # Check the compiler produces executables we can run. If not, either
2630 # the compiler is broken, or we cross compile.
2631 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2632 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2633 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2634 echo "${ECHO_T}$cross_compiling" >&6
2636 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2637 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2639 (eval $ac_link) 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; then
2643 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2644 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2645 # work properly (i.e., refer to `conftest.exe'), while it won't with
2647 for ac_file in conftest.exe conftest conftest.*; do
2648 test -f "$ac_file" || continue
2650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2651 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2658 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2659 See \`config.log' for more details." >&5
2660 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2661 See \`config.log' for more details." >&2;}
2662 { (exit 1); exit 1; }; }
2665 rm -f conftest$ac_cv_exeext
2666 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2667 echo "${ECHO_T}$ac_cv_exeext" >&6
2669 rm -f conftest.$ac_ext
2670 EXEEXT=$ac_cv_exeext
2672 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2673 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2674 if test "${ac_cv_objext+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 cat >conftest.$ac_ext <<_ACEOF
2680 cat confdefs.h >>conftest.$ac_ext
2681 cat >>conftest.$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2692 rm -f conftest.o conftest.obj
2693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694 (eval $ac_compile) 2>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; then
2698 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2701 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2710 See \`config.log' for more details." >&5
2711 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2712 See \`config.log' for more details." >&2;}
2713 { (exit 1); exit 1; }; }
2716 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2718 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2719 echo "${ECHO_T}$ac_cv_objext" >&6
2720 OBJEXT=$ac_cv_objext
2722 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2723 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2724 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2745 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>conftest.er1
2749 grep -v '^ *+' conftest.er1 >conftest.err
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } &&
2754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; } &&
2760 { ac_try='test -s conftest.$ac_objext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2777 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2778 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2779 GCC=`test $ac_compiler_gnu = yes && echo yes`
2780 ac_test_CFLAGS=${CFLAGS+set}
2781 ac_save_CFLAGS=$CFLAGS
2783 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2784 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2785 if test "${ac_cv_prog_cc_g+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 cat >conftest.$ac_ext <<_ACEOF
2791 cat confdefs.h >>conftest.$ac_ext
2792 cat >>conftest.$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2803 rm -f conftest.$ac_objext
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>conftest.er1
2807 grep -v '^ *+' conftest.er1 >conftest.err
2809 cat conftest.err >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); } &&
2812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2834 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2835 if test "$ac_test_CFLAGS" = set; then
2836 CFLAGS=$ac_save_CFLAGS
2837 elif test $ac_cv_prog_cc_g = yes; then
2838 if test "$GCC" = yes; then
2844 if test "$GCC" = yes; then
2850 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2851 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2852 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 ac_cv_prog_cc_stdc=no
2857 cat >conftest.$ac_ext <<_ACEOF
2860 cat confdefs.h >>conftest.$ac_ext
2861 cat >>conftest.$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2865 #include <sys/types.h>
2866 #include <sys/stat.h>
2867 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2868 struct buf { int x; };
2869 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2870 static char *e (p, i)
2876 static char *f (char * (*g) (char **, int), char **p, ...)
2881 s = g (p, va_arg (v,int));
2886 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2887 function prototypes and stuff, but not '\xHH' hex character constants.
2888 These don't provoke an error unfortunately, instead are silently treated
2889 as 'x'. The following induces an error, until -std1 is added to get
2890 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2891 array size at least. It's necessary to write '\x00'==0 to get something
2892 that's true only with -std1. */
2893 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2895 int test (int i, double x);
2896 struct s1 {int (*f) (int a);};
2897 struct s2 {int (*f) (double a);};
2898 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2904 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2909 # Don't try gcc -ansi; that turns off useful extensions and
2910 # breaks some systems' header files.
2911 # AIX -qlanglvl=ansi
2912 # Ultrix and OSF/1 -std1
2913 # HP-UX 10.20 and later -Ae
2914 # HP-UX older versions -Aa -D_HPUX_SOURCE
2915 # SVR4 -Xc -D__EXTENSIONS__
2916 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2918 CC="$ac_save_CC $ac_arg"
2919 rm -f conftest.$ac_objext
2920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2921 (eval $ac_compile) 2>conftest.er1
2923 grep -v '^ *+' conftest.er1 >conftest.err
2925 cat conftest.err >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_prog_cc_stdc=$ac_arg
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2947 rm -f conftest.err conftest.$ac_objext
2949 rm -f conftest.$ac_ext conftest.$ac_objext
2954 case "x$ac_cv_prog_cc_stdc" in
2956 echo "$as_me:$LINENO: result: none needed" >&5
2957 echo "${ECHO_T}none needed" >&6 ;;
2959 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2960 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2961 CC="$CC $ac_cv_prog_cc_stdc" ;;
2964 # Some people use a C++ compiler to compile C. Since we use `exit',
2965 # in C++ we need to declare it. In case someone uses the same compiler
2966 # for both compiling C and C++ we need to have the C++ compiler decide
2967 # the declaration of exit, since it's the most demanding environment.
2968 cat >conftest.$ac_ext <<_ACEOF
2973 rm -f conftest.$ac_objext
2974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975 (eval $ac_compile) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1 >conftest.err
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } &&
2982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; } &&
2988 { ac_try='test -s conftest.$ac_objext'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; }; then
2994 for ac_declaration in \
2996 'extern "C" void std::exit (int) throw (); using std::exit;' \
2997 'extern "C" void std::exit (int); using std::exit;' \
2998 'extern "C" void exit (int) throw ();' \
2999 'extern "C" void exit (int);' \
3002 cat >conftest.$ac_ext <<_ACEOF
3005 cat confdefs.h >>conftest.$ac_ext
3006 cat >>conftest.$ac_ext <<_ACEOF
3007 /* end confdefs.h. */
3018 rm -f conftest.$ac_objext
3019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3020 (eval $ac_compile) 2>conftest.er1
3022 grep -v '^ *+' conftest.er1 >conftest.err
3024 cat conftest.err >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } &&
3027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; } &&
3033 { ac_try='test -s conftest.$ac_objext'
3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038 (exit $ac_status); }; }; then
3041 echo "$as_me: failed program was:" >&5
3042 sed 's/^/| /' conftest.$ac_ext >&5
3046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3047 cat >conftest.$ac_ext <<_ACEOF
3050 cat confdefs.h >>conftest.$ac_ext
3051 cat >>conftest.$ac_ext <<_ACEOF
3052 /* end confdefs.h. */
3062 rm -f conftest.$ac_objext
3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3064 (eval $ac_compile) 2>conftest.er1
3066 grep -v '^ *+' conftest.er1 >conftest.err
3068 cat conftest.err >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try='test -s conftest.$ac_objext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3092 if test -n "$ac_declaration"; then
3093 echo '#ifdef __cplusplus' >>confdefs.h
3094 echo $ac_declaration >>confdefs.h
3095 echo '#endif' >>confdefs.h
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cpp='$CPP $CPPFLAGS'
3106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110 depcc="$CC" am_compiler_list=
3112 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3113 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3114 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3115 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3118 # We make a subdir and do the tests there. Otherwise we can end up
3119 # making bogus files that we don't know about and never remove. For
3120 # instance it was reported that on HP-UX the gcc test will end up
3121 # making a dummy file named `D' -- because `-MD' means `put the output
3124 # Copy depcomp to subdir because otherwise we won't find it if we're
3125 # using a relative directory.
3126 cp "$am_depcomp" conftest.dir
3128 # We will build objects and dependencies in a subdirectory because
3129 # it helps to detect inapplicable dependency modes. For instance
3130 # both Tru64's cc and ICC support -MD to output dependencies as a
3131 # side effect of compilation, but ICC will put the dependencies in
3132 # the current directory while Tru64 will put them in the object
3136 am_cv_CC_dependencies_compiler_type=none
3137 if test "$am_compiler_list" = ""; then
3138 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3140 for depmode in $am_compiler_list; do
3141 # Setup a source with many dependencies, because some compilers
3142 # like to wrap large dependency lists on column 80 (with \), and
3143 # we should not choose a depcomp mode which is confused by this.
3145 # We need to recreate these files for each test, as the compiler may
3146 # overwrite some of them when testing with obscure command lines.
3147 # This happens at least with the AIX C compiler.
3149 for i in 1 2 3 4 5 6; do
3150 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3151 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3152 # Solaris 8's {/usr,}/bin/sh.
3153 touch sub/conftst$i.h
3155 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3159 # after this tag, mechanisms are not by side-effect, so they'll
3160 # only be used when explicitly requested
3161 if test "x$enable_dependency_tracking" = xyes; then
3169 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3170 # mode. It turns out that the SunPro C++ compiler does not properly
3171 # handle `-M -o', and we need to detect this.
3172 if depmode=$depmode \
3173 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3174 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3175 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3176 >/dev/null 2>conftest.err &&
3177 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3178 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3179 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3180 # icc doesn't choke on unknown options, it will just issue warnings
3181 # or remarks (even with -Werror). So we grep stderr for any message
3182 # that says an option was ignored or not supported.
3183 # When given -MP, icc 7.0 and 7.1 complain thusly:
3184 # icc: Command line warning: ignoring option '-M'; no argument required
3185 # The diagnosis changed in icc 8.0:
3186 # icc: Command line remark: option '-MP' not supported
3187 if (grep 'ignoring option' conftest.err ||
3188 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3189 am_cv_CC_dependencies_compiler_type=$depmode
3198 am_cv_CC_dependencies_compiler_type=none
3202 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3203 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3204 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3209 test "x$enable_dependency_tracking" != xno \
3210 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3212 am__fastdepCC_FALSE='#'
3214 am__fastdepCC_TRUE='#'
3215 am__fastdepCC_FALSE=
3219 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3220 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3221 if test "${lt_cv_path_SED+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3224 # Loop through the user's path and test for sed and gsed.
3225 # Then use that list of sed's as ones to test for truncation.
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir=.
3231 for lt_ac_prog in sed gsed; do
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3234 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3241 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3242 # along with /bin/sed that truncates output.
3243 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3244 test ! -f $lt_ac_sed && break
3245 cat /dev/null > conftest.in
3247 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3248 # Check for GNU sed and select it if it is found.
3249 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3250 lt_cv_path_SED=$lt_ac_sed
3254 cat conftest.in conftest.in >conftest.tmp
3255 mv conftest.tmp conftest.in
3256 cp conftest.in conftest.nl
3258 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3259 cmp -s conftest.out conftest.nl || break
3260 # 10000 chars as input seems more than enough
3261 test $lt_ac_count -gt 10 && break
3262 lt_ac_count=`expr $lt_ac_count + 1`
3263 if test $lt_ac_count -gt $lt_ac_max; then
3264 lt_ac_max=$lt_ac_count
3265 lt_cv_path_SED=$lt_ac_sed
3273 echo "$as_me:$LINENO: result: $SED" >&5
3274 echo "${ECHO_T}$SED" >&6
3276 echo "$as_me:$LINENO: checking for egrep" >&5
3277 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3278 if test "${ac_cv_prog_egrep+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3282 then ac_cv_prog_egrep='grep -E'
3283 else ac_cv_prog_egrep='egrep'
3286 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3287 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3288 EGREP=$ac_cv_prog_egrep
3292 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3293 if test "${with_gnu_ld+set}" = set; then
3294 withval="$with_gnu_ld"
3295 test "$withval" = no || with_gnu_ld=yes
3300 if test "$GCC" = yes; then
3301 # Check if gcc -print-prog-name=ld gives a path.
3302 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3303 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3306 # gcc leaves a trailing carriage return which upsets mingw
3307 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3309 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3312 # Accept absolute paths.
3314 re_direlt='/[^/][^/]*/\.\./'
3315 # Canonicalize the pathname of ld
3316 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3317 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3318 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3320 test -z "$LD" && LD="$ac_prog"
3323 # If it fails, then pretend we aren't using GCC.
3327 # If it is relative, then search for the first ld in PATH.
3331 elif test "$with_gnu_ld" = yes; then
3332 echo "$as_me:$LINENO: checking for GNU ld" >&5
3333 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3335 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3336 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3338 if test "${lt_cv_path_LD+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 if test -z "$LD"; then
3342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3343 for ac_dir in $PATH; do
3345 test -z "$ac_dir" && ac_dir=.
3346 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3347 lt_cv_path_LD="$ac_dir/$ac_prog"
3348 # Check to see if the program is GNU ld. I'd rather use --version,
3349 # but apparently some GNU ld's only accept -v.
3350 # Break only if it was the GNU/non-GNU ld that we prefer.
3351 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3352 *GNU* | *'with BFD'*)
3353 test "$with_gnu_ld" != no && break
3356 test "$with_gnu_ld" != yes && break
3363 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3368 if test -n "$LD"; then
3369 echo "$as_me:$LINENO: result: $LD" >&5
3370 echo "${ECHO_T}$LD" >&6
3372 echo "$as_me:$LINENO: result: no" >&5
3373 echo "${ECHO_T}no" >&6
3375 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3376 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3377 { (exit 1); exit 1; }; }
3378 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3379 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3380 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3384 case `$LD -v 2>&1 </dev/null` in
3385 *GNU* | *'with BFD'*)
3386 lt_cv_prog_gnu_ld=yes
3389 lt_cv_prog_gnu_ld=no
3393 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3394 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3395 with_gnu_ld=$lt_cv_prog_gnu_ld
3398 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3399 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3400 if test "${lt_cv_ld_reload_flag+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 lt_cv_ld_reload_flag='-r'
3405 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3406 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3407 reload_flag=$lt_cv_ld_reload_flag
3408 case $reload_flag in
3410 *) reload_flag=" $reload_flag" ;;
3412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3414 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3415 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3416 if test "${lt_cv_path_NM+set}" = set; then
3417 echo $ECHO_N "(cached) $ECHO_C" >&6
3419 if test -n "$NM"; then
3420 # Let the user override the test.
3423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3424 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3426 test -z "$ac_dir" && ac_dir=.
3427 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
3428 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3429 # Check to see if the nm accepts a BSD-compat flag.
3430 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3431 # nm: unknown option "B" ignored
3432 # Tru64's nm complains that /dev/null is an invalid object file
3433 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3434 */dev/null* | *'Invalid file or object type'*)
3435 lt_cv_path_NM="$tmp_nm -B"
3439 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3441 lt_cv_path_NM="$tmp_nm -p"
3445 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3446 continue # so that we can try to find one that supports BSD flags
3453 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3456 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3457 echo "${ECHO_T}$lt_cv_path_NM" >&6
3460 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3461 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3463 if test "$LN_S" = "ln -s"; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3467 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3468 echo "${ECHO_T}no, using $LN_S" >&6
3471 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3472 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3473 if test "${lt_cv_deplibs_check_method+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 lt_cv_file_magic_cmd='$MAGIC_CMD'
3477 lt_cv_file_magic_test_file=
3478 lt_cv_deplibs_check_method='unknown'
3479 # Need to set the preceding variable on all platforms that support
3480 # interlibrary dependencies.
3481 # 'none' -- dependencies not supported.
3482 # `unknown' -- same as none, but documents that we really don't know.
3483 # 'pass_all' -- all dependencies passed with no checks.
3484 # 'test_compile' -- check by making test program.
3485 # 'file_magic [[regex]]' -- check by looking for files in library path
3486 # which responds to the $file_magic_cmd with a given extended regex.
3487 # If you have `file' or equivalent on your system and you're not sure
3488 # whether `pass_all' will *always* work, you probably want this one.
3492 lt_cv_deplibs_check_method=pass_all
3496 lt_cv_deplibs_check_method=pass_all
3500 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3501 lt_cv_file_magic_cmd='/usr/bin/file -L'
3502 lt_cv_file_magic_test_file=/shlib/libc.so
3506 # func_win32_libid is a shell function defined in ltmain.sh
3507 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3508 lt_cv_file_magic_cmd='func_win32_libid'
3512 # Base MSYS/MinGW do not provide the 'file' command needed by
3513 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3514 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3515 lt_cv_file_magic_cmd='$OBJDUMP -f'
3518 darwin* | rhapsody*)
3519 lt_cv_deplibs_check_method=pass_all
3522 freebsd* | kfreebsd*-gnu)
3523 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3526 # Not sure whether the presence of OpenBSD here was a mistake.
3527 # Let's accept both of them until this is cleared up.
3528 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3529 lt_cv_file_magic_cmd=/usr/bin/file
3530 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3534 lt_cv_deplibs_check_method=pass_all
3539 lt_cv_deplibs_check_method=pass_all
3542 hpux10.20* | hpux11*)
3543 lt_cv_file_magic_cmd=/usr/bin/file
3546 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3547 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3550 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]'
3551 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3554 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3555 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3560 irix5* | irix6* | nonstopux*)
3562 *-32|*"-32 ") libmagic=32-bit;;
3563 *-n32|*"-n32 ") libmagic=N32;;
3564 *-64|*"-64 ") libmagic=64-bit;;
3565 *) libmagic=never-match;;
3567 lt_cv_deplibs_check_method=pass_all
3570 # This must be Linux ELF.
3572 lt_cv_deplibs_check_method=pass_all
3575 netbsd* | knetbsd*-gnu)
3576 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3577 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3579 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
3584 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3585 lt_cv_file_magic_cmd=/usr/bin/file
3586 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3590 lt_cv_deplibs_check_method=unknown
3594 lt_cv_file_magic_cmd=/usr/bin/file
3595 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3596 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3599 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3603 osf3* | osf4* | osf5*)
3604 lt_cv_deplibs_check_method=pass_all
3608 lt_cv_deplibs_check_method=pass_all
3612 lt_cv_deplibs_check_method=pass_all
3615 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3616 case $host_vendor in
3618 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]'
3619 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3622 lt_cv_deplibs_check_method=pass_all
3625 lt_cv_file_magic_cmd='/bin/file'
3626 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3629 lt_cv_file_magic_cmd='/bin/file'
3630 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3631 lt_cv_file_magic_test_file=/lib/libc.so
3634 lt_cv_deplibs_check_method=pass_all
3639 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
3640 lt_cv_deplibs_check_method=pass_all
3645 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3646 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3647 file_magic_cmd=$lt_cv_file_magic_cmd
3648 deplibs_check_method=$lt_cv_deplibs_check_method
3649 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3654 # If no C compiler was specified, use CC.
3657 # Allow CC to be a program name with arguments.
3661 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3662 if test "${enable_libtool_lock+set}" = set; then
3663 enableval="$enable_libtool_lock"
3666 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3668 # Some flags need to be propagated to the compiler or linker for good
3672 # Find out which ABI we are using.
3673 echo 'int i;' > conftest.$ac_ext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3675 (eval $ac_compile) 2>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; then
3679 case `/usr/bin/file conftest.$ac_objext` in
3691 # Find out which ABI we are using.
3692 echo '#line 3692 "configure"' > conftest.$ac_ext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; then
3698 if test "$lt_cv_prog_gnu_ld" = yes; then
3699 case `/usr/bin/file conftest.$ac_objext` in
3701 LD="${LD-ld} -melf32bsmip"
3704 LD="${LD-ld} -melf32bmipn32"
3707 LD="${LD-ld} -melf64bmip"
3711 case `/usr/bin/file conftest.$ac_objext` in
3727 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3728 # Find out which ABI we are using.
3729 echo 'int i;' > conftest.$ac_ext
3730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3731 (eval $ac_compile) 2>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; then
3735 case "`/usr/bin/file conftest.o`" in
3739 LD="${LD-ld} -m elf_i386"
3741 ppc64-*linux*|powerpc64-*linux*)
3742 LD="${LD-ld} -m elf32ppclinux"
3745 LD="${LD-ld} -m elf_s390"
3748 LD="${LD-ld} -m elf32_sparc"
3755 LD="${LD-ld} -m elf_x86_64"
3757 ppc*-*linux*|powerpc*-*linux*)
3758 LD="${LD-ld} -m elf64ppc"
3761 LD="${LD-ld} -m elf64_s390"
3764 LD="${LD-ld} -m elf64_sparc"
3774 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3775 SAVE_CFLAGS="$CFLAGS"
3776 CFLAGS="$CFLAGS -belf"
3777 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3778 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3779 if test "${lt_cv_cc_needs_belf+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 ac_cpp='$CPP $CPPFLAGS'
3784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3803 rm -f conftest.$ac_objext conftest$ac_exeext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3805 (eval $ac_link) 2>conftest.er1
3807 grep -v '^ *+' conftest.er1 >conftest.err
3809 cat conftest.err >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } &&
3812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest$ac_exeext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 lt_cv_cc_needs_belf=yes
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3829 lt_cv_cc_needs_belf=no
3831 rm -f conftest.err conftest.$ac_objext \
3832 conftest$ac_exeext conftest.$ac_ext
3834 ac_cpp='$CPP $CPPFLAGS'
3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3841 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3842 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3843 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3844 CFLAGS="$SAVE_CFLAGS"
3850 need_locks="$enable_libtool_lock"
3854 ac_cpp='$CPP $CPPFLAGS'
3855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3858 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3859 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3860 # On Suns, sometimes $CPP names a directory.
3861 if test -n "$CPP" && test -d "$CPP"; then
3864 if test -z "$CPP"; then
3865 if test "${ac_cv_prog_CPP+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 # Double quotes because CPP needs to be expanded
3869 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3872 for ac_c_preproc_warn_flag in '' yes
3874 # Use a header file that comes with gcc, so configuring glibc
3875 # with a fresh cross-compiler works.
3876 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3877 # <limits.h> exists even on freestanding compilers.
3878 # On the NeXT, cc -E runs the code through the compiler's parser,
3879 # not just through cpp. "Syntax error" is here to catch this case.
3880 cat >conftest.$ac_ext <<_ACEOF
3883 cat confdefs.h >>conftest.$ac_ext
3884 cat >>conftest.$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3887 # include <limits.h>
3889 # include <assert.h>
3893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3894 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1 >conftest.err
3898 cat conftest.err >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } >/dev/null; then
3901 if test -s conftest.err; then
3902 ac_cpp_err=$ac_c_preproc_warn_flag
3903 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3910 if test -z "$ac_cpp_err"; then
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3916 # Broken: fails on valid input.
3919 rm -f conftest.err conftest.$ac_ext
3921 # OK, works on sane cases. Now check whether non-existent headers
3922 # can be detected and how.
3923 cat >conftest.$ac_ext <<_ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h. */
3929 #include <ac_nonexistent.h>
3931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3934 grep -v '^ *+' conftest.er1 >conftest.err
3936 cat conftest.err >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); } >/dev/null; then
3939 if test -s conftest.err; then
3940 ac_cpp_err=$ac_c_preproc_warn_flag
3941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3948 if test -z "$ac_cpp_err"; then
3949 # Broken: success on invalid input.
3952 echo "$as_me: failed program was:" >&5
3953 sed 's/^/| /' conftest.$ac_ext >&5
3955 # Passes both tests.
3959 rm -f conftest.err conftest.$ac_ext
3962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3963 rm -f conftest.err conftest.$ac_ext
3964 if $ac_preproc_ok; then
3976 echo "$as_me:$LINENO: result: $CPP" >&5
3977 echo "${ECHO_T}$CPP" >&6
3979 for ac_c_preproc_warn_flag in '' yes
3981 # Use a header file that comes with gcc, so configuring glibc
3982 # with a fresh cross-compiler works.
3983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3984 # <limits.h> exists even on freestanding compilers.
3985 # On the NeXT, cc -E runs the code through the compiler's parser,
3986 # not just through cpp. "Syntax error" is here to catch this case.
3987 cat >conftest.$ac_ext <<_ACEOF
3990 cat confdefs.h >>conftest.$ac_ext
3991 cat >>conftest.$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
3994 # include <limits.h>
3996 # include <assert.h>
4000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4003 grep -v '^ *+' conftest.er1 >conftest.err
4005 cat conftest.err >&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } >/dev/null; then
4008 if test -s conftest.err; then
4009 ac_cpp_err=$ac_c_preproc_warn_flag
4010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4017 if test -z "$ac_cpp_err"; then
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 # Broken: fails on valid input.
4026 rm -f conftest.err conftest.$ac_ext
4028 # OK, works on sane cases. Now check whether non-existent headers
4029 # can be detected and how.
4030 cat >conftest.$ac_ext <<_ACEOF
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 #include <ac_nonexistent.h>
4038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } >/dev/null; then
4046 if test -s conftest.err; then
4047 ac_cpp_err=$ac_c_preproc_warn_flag
4048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4055 if test -z "$ac_cpp_err"; then
4056 # Broken: success on invalid input.
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.$ac_ext >&5
4062 # Passes both tests.
4066 rm -f conftest.err conftest.$ac_ext
4069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070 rm -f conftest.err conftest.$ac_ext
4071 if $ac_preproc_ok; then
4074 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4075 See \`config.log' for more details." >&5
4076 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4077 See \`config.log' for more details." >&2;}
4078 { (exit 1); exit 1; }; }
4082 ac_cpp='$CPP $CPPFLAGS'
4083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4089 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4090 if test "${ac_cv_header_stdc+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 cat >conftest.$ac_ext <<_ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4112 rm -f conftest.$ac_objext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114 (eval $ac_compile) 2>conftest.er1
4116 grep -v '^ *+' conftest.er1 >conftest.err
4118 cat conftest.err >&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); }; } &&
4127 { ac_try='test -s conftest.$ac_objext'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; }; then
4133 ac_cv_header_stdc=yes
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 ac_cv_header_stdc=no
4140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4142 if test $ac_cv_header_stdc = yes; then
4143 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4144 cat >conftest.$ac_ext <<_ACEOF
4147 cat confdefs.h >>conftest.$ac_ext
4148 cat >>conftest.$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4154 $EGREP "memchr" >/dev/null 2>&1; then
4157 ac_cv_header_stdc=no
4163 if test $ac_cv_header_stdc = yes; then
4164 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4165 cat >conftest.$ac_ext <<_ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4175 $EGREP "free" >/dev/null 2>&1; then
4178 ac_cv_header_stdc=no
4184 if test $ac_cv_header_stdc = yes; then
4185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4186 if test "$cross_compiling" = yes; then
4189 cat >conftest.$ac_ext <<_ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4196 #if ((' ' & 0x0FF) == 0x020)
4197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4200 # define ISLOWER(c) \
4201 (('a' <= (c) && (c) <= 'i') \
4202 || ('j' <= (c) && (c) <= 'r') \
4203 || ('s' <= (c) && (c) <= 'z'))
4204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4212 for (i = 0; i < 256; i++)
4213 if (XOR (islower (i), ISLOWER (i))
4214 || toupper (i) != TOUPPER (i))
4219 rm -f conftest$ac_exeext
4220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4221 (eval $ac_link) 2>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4232 echo "$as_me: program exited with status $ac_status" >&5
4233 echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4237 ac_cv_header_stdc=no
4239 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4243 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4244 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4245 if test $ac_cv_header_stdc = yes; then
4247 cat >>confdefs.h <<\_ACEOF
4248 #define STDC_HEADERS 1
4253 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4263 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4264 inttypes.h stdint.h unistd.h
4266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4267 echo "$as_me:$LINENO: checking for $ac_header" >&5
4268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 cat >conftest.$ac_ext <<_ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 $ac_includes_default
4280 #include <$ac_header>
4282 rm -f conftest.$ac_objext
4283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4284 (eval $ac_compile) 2>conftest.er1
4286 grep -v '^ *+' conftest.er1 >conftest.err
4288 cat conftest.err >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); } &&
4291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; } &&
4297 { ac_try='test -s conftest.$ac_objext'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; }; then
4303 eval "$as_ac_Header=yes"
4305 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4308 eval "$as_ac_Header=no"
4310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4315 cat >>confdefs.h <<_ACEOF
4316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4325 for ac_header in dlfcn.h
4327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4329 echo "$as_me:$LINENO: checking for $ac_header" >&5
4330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4337 # Is the header compilable?
4338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4340 cat >conftest.$ac_ext <<_ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4346 $ac_includes_default
4347 #include <$ac_header>
4349 rm -f conftest.$ac_objext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4351 (eval $ac_compile) 2>conftest.er1
4353 grep -v '^ *+' conftest.er1 >conftest.err
4355 cat conftest.err >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; } &&
4364 { ac_try='test -s conftest.$ac_objext'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; }; then
4370 ac_header_compiler=yes
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_header_compiler=no
4377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4378 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4379 echo "${ECHO_T}$ac_header_compiler" >&6
4381 # Is the header present?
4382 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4383 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4384 cat >conftest.$ac_ext <<_ACEOF
4387 cat confdefs.h >>conftest.$ac_ext
4388 cat >>conftest.$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4390 #include <$ac_header>
4392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4395 grep -v '^ *+' conftest.er1 >conftest.err
4397 cat conftest.err >&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } >/dev/null; then
4400 if test -s conftest.err; then
4401 ac_cpp_err=$ac_c_preproc_warn_flag
4402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4409 if test -z "$ac_cpp_err"; then
4410 ac_header_preproc=yes
4412 echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.$ac_ext >&5
4415 ac_header_preproc=no
4417 rm -f conftest.err conftest.$ac_ext
4418 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4419 echo "${ECHO_T}$ac_header_preproc" >&6
4421 # So? What about this header?
4422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4424 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4425 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4427 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4428 ac_header_preproc=yes
4431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4432 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4434 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4435 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4436 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4437 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4438 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4442 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4445 ## ----------------------------------------- ##
4446 ## Report this to martin.quinson@ens-lyon.fr ##
4447 ## ----------------------------------------- ##
4450 sed "s/^/$as_me: WARNING: /" >&2
4453 echo "$as_me:$LINENO: checking for $ac_header" >&5
4454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 eval "$as_ac_Header=\$ac_header_preproc"
4460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4465 cat >>confdefs.h <<_ACEOF
4466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4474 ac_cpp='$CXXCPP $CPPFLAGS'
4475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4478 if test -n "$ac_tool_prefix"; then
4479 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4483 echo "$as_me:$LINENO: checking for $ac_word" >&5
4484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4485 if test "${ac_cv_prog_CXX+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 if test -n "$CXX"; then
4489 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir=.
4496 for ac_exec_ext in '' $ac_executable_extensions; do
4497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4498 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 if test -n "$CXX"; then
4509 echo "$as_me:$LINENO: result: $CXX" >&5
4510 echo "${ECHO_T}$CXX" >&6
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4516 test -n "$CXX" && break
4519 if test -z "$CXX"; then
4521 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4523 # Extract the first word of "$ac_prog", so it can be a program name with args.
4524 set dummy $ac_prog; ac_word=$2
4525 echo "$as_me:$LINENO: checking for $ac_word" >&5
4526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4527 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 if test -n "$ac_ct_CXX"; then
4531 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4540 ac_cv_prog_ac_ct_CXX="$ac_prog"
4541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4550 if test -n "$ac_ct_CXX"; then
4551 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4552 echo "${ECHO_T}$ac_ct_CXX" >&6
4554 echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6
4558 test -n "$ac_ct_CXX" && break
4560 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4566 # Provide some information about the compiler.
4567 echo "$as_me:$LINENO:" \
4568 "checking for C++ compiler version" >&5
4569 ac_compiler=`set X $ac_compile; echo $2`
4570 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4571 (eval $ac_compiler --version </dev/null >&5) 2>&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }
4575 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4576 (eval $ac_compiler -v </dev/null >&5) 2>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); }
4580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4581 (eval $ac_compiler -V </dev/null >&5) 2>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }
4586 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4587 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4588 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 cat >conftest.$ac_ext <<_ACEOF
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4609 rm -f conftest.$ac_objext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4611 (eval $ac_compile) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1 >conftest.err
4615 cat conftest.err >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; } &&
4624 { ac_try='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.$ac_ext >&5
4637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4638 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4641 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4642 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4643 GXX=`test $ac_compiler_gnu = yes && echo yes`
4644 ac_test_CXXFLAGS=${CXXFLAGS+set}
4645 ac_save_CXXFLAGS=$CXXFLAGS
4647 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4648 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4649 if test "${ac_cv_prog_cxx_g+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 cat >conftest.$ac_ext <<_ACEOF
4655 cat confdefs.h >>conftest.$ac_ext
4656 cat >>conftest.$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4667 rm -f conftest.$ac_objext
4668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4669 (eval $ac_compile) 2>conftest.er1
4671 grep -v '^ *+' conftest.er1 >conftest.err
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } &&
4676 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; } &&
4682 { ac_try='test -s conftest.$ac_objext'
4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }; }; then
4688 ac_cv_prog_cxx_g=yes
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4697 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4698 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4699 if test "$ac_test_CXXFLAGS" = set; then
4700 CXXFLAGS=$ac_save_CXXFLAGS
4701 elif test $ac_cv_prog_cxx_g = yes; then
4702 if test "$GXX" = yes; then
4708 if test "$GXX" = yes; then
4714 for ac_declaration in \
4716 'extern "C" void std::exit (int) throw (); using std::exit;' \
4717 'extern "C" void std::exit (int); using std::exit;' \
4718 'extern "C" void exit (int) throw ();' \
4719 'extern "C" void exit (int);' \
4722 cat >conftest.$ac_ext <<_ACEOF
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4738 rm -f conftest.$ac_objext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 (eval $ac_compile) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1 >conftest.err
4744 cat conftest.err >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4767 cat >conftest.$ac_ext <<_ACEOF
4770 cat confdefs.h >>conftest.$ac_ext
4771 cat >>conftest.$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4782 rm -f conftest.$ac_objext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>conftest.er1
4786 grep -v '^ *+' conftest.er1 >conftest.err
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; } &&
4797 { ac_try='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4812 if test -n "$ac_declaration"; then
4813 echo '#ifdef __cplusplus' >>confdefs.h
4814 echo $ac_declaration >>confdefs.h
4815 echo '#endif' >>confdefs.h
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4824 depcc="$CXX" am_compiler_list=
4826 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4827 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4828 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4832 # We make a subdir and do the tests there. Otherwise we can end up
4833 # making bogus files that we don't know about and never remove. For
4834 # instance it was reported that on HP-UX the gcc test will end up
4835 # making a dummy file named `D' -- because `-MD' means `put the output
4838 # Copy depcomp to subdir because otherwise we won't find it if we're
4839 # using a relative directory.
4840 cp "$am_depcomp" conftest.dir
4842 # We will build objects and dependencies in a subdirectory because
4843 # it helps to detect inapplicable dependency modes. For instance
4844 # both Tru64's cc and ICC support -MD to output dependencies as a
4845 # side effect of compilation, but ICC will put the dependencies in
4846 # the current directory while Tru64 will put them in the object
4850 am_cv_CXX_dependencies_compiler_type=none
4851 if test "$am_compiler_list" = ""; then
4852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4854 for depmode in $am_compiler_list; do
4855 # Setup a source with many dependencies, because some compilers
4856 # like to wrap large dependency lists on column 80 (with \), and
4857 # we should not choose a depcomp mode which is confused by this.
4859 # We need to recreate these files for each test, as the compiler may
4860 # overwrite some of them when testing with obscure command lines.
4861 # This happens at least with the AIX C compiler.
4863 for i in 1 2 3 4 5 6; do
4864 echo '#include "conftst'$i'.h"' >> sub/conftest.c