2 # From configure.ac Revision: 1.7 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for GRAS 0.0.040304.
6 # Report bugs to <martin.quinson@ens-lyon.fr>.
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/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 -n "`(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
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
237 # We need space, tab and new line, in precisely that order.
246 # Find the correct PATH separator. Usually this is `:', but
247 # DJGPP uses `;' like DOS.
248 if test "X${PATH_SEPARATOR+set}" != Xset; then
249 UNAME=${UNAME-`uname 2>/dev/null`}
251 *-DOS) lt_cv_sys_path_separator=';' ;;
252 *) lt_cv_sys_path_separator=':' ;;
254 PATH_SEPARATOR=$lt_cv_sys_path_separator
258 # Check that we are running under the correct shell.
259 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Remove one level of quotation (which was required for Make).
264 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
269 if test "X$1" = X--no-reexec; then
270 # Discard the --no-reexec flag, and continue.
272 elif test "X$1" = X--fallback-echo; then
273 # Avoid inline document here, it may be left over
275 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
276 # Yippee, $echo works!
279 # Restart under the correct shell.
280 exec $SHELL "$0" --no-reexec ${1+"$@"}
283 if test "X$1" = X--fallback-echo; then
284 # used as fallback echo
292 # The HP-UX ksh and POSIX shell print the target directory to stdout
294 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
296 if test -z "$ECHO"; then
297 if test "X${echo_test_string+set}" != Xset; then
298 # find a string as large as possible, as long as the shell can cope with it
299 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
300 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
301 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
302 echo_test_string="`eval $cmd`" &&
303 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
310 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
311 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
312 test "X$echo_testing_string" = "X$echo_test_string"; then
315 # The Solaris, AIX, and Digital Unix default echo programs unquote
316 # backslashes. This makes it impossible to quote backslashes using
317 # echo "$something" | sed 's/\\/\\\\/g'
319 # So, first we look for a working echo in the user's PATH.
321 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
322 for dir in $PATH /usr/ucb; do
323 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
324 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
333 if test "X$echo" = Xecho; then
334 # We didn't find a better echo, so look for alternatives.
335 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
336 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
337 test "X$echo_testing_string" = "X$echo_test_string"; then
338 # This shell has a builtin print -r that does the trick.
340 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
341 test "X$CONFIG_SHELL" != X/bin/ksh; then
342 # If we have ksh, try running configure again with it.
343 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
344 export ORIGINAL_CONFIG_SHELL
345 CONFIG_SHELL=/bin/ksh
347 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
351 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
352 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
353 test "X$echo_testing_string" = "X$echo_test_string"; then
356 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
357 test "X$echo_testing_string" = 'X\t' &&
358 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
359 test "X$echo_testing_string" = "X$echo_test_string"; then
360 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
362 SHELL="$CONFIG_SHELL"
364 echo="$CONFIG_SHELL $0 --fallback-echo"
365 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
366 test "X$echo_testing_string" = 'X\t' &&
367 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
368 test "X$echo_testing_string" = "X$echo_test_string"; then
369 echo="$CONFIG_SHELL $0 --fallback-echo"
371 # maybe with a smaller string...
374 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
375 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
382 if test "$prev" != 'sed 50q "$0"'; then
383 echo_test_string=`eval $prev`
384 export echo_test_string
385 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
387 # Oops. We lost completely, so just stick with echo.
396 # Copy echo and quote the copy suitably for passing to libtool from
397 # the Makefile, instead of quoting the original, which is used later.
399 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
400 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
406 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
407 # so uname gets run too.
408 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
415 ac_default_prefix=/usr/local
416 ac_config_libobj_dir=.
421 SHELL=${CONFIG_SHELL-/bin/sh}
423 # Maximum number of lines to put in a shell here document.
424 # This variable seems obsolete. It should probably be removed, and
425 # only ac_max_sed_lines should be used.
426 : ${ac_max_here_lines=38}
428 # Identity of this package.
430 PACKAGE_TARNAME='gras'
431 PACKAGE_VERSION='0.0.040304'
432 PACKAGE_STRING='GRAS 0.0.040304'
433 PACKAGE_BUGREPORT='martin.quinson@ens-lyon.fr'
435 ac_unique_file="src/include/gras.h"
436 # Factoring default headers for most tests.
437 ac_includes_default="\
440 # include <sys/types.h>
443 # include <sys/stat.h>
454 # if !STDC_HEADERS && HAVE_MEMORY_H
460 # include <strings.h>
463 # include <inttypes.h>
473 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 AWK SET_MAKE 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 LN_S ECHO RANLIB ac_ct_RANLIB CPP EGREP LIBTOOL LIBOBJS GTKDOC HAVE_GTK_DOC_TRUE HAVE_GTK_DOC_FALSE HAVE_GTK_DOC ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT cflags_set BASH WARNING LTLIBOBJS'
476 # Initialize some variables set by options.
478 ac_init_version=false
479 # The variables have the same names as the options, with
480 # dashes changed to underlines.
488 program_transform_name=s,x,x,
496 # Installation directory options.
497 # These are left unexpanded so users can "make install exec_prefix=/foo"
498 # and all the variables that are supposed to be based on exec_prefix
499 # by default will actually change.
500 # Use braces instead of parens because sh, perl, etc. also accept them.
501 bindir='${exec_prefix}/bin'
502 sbindir='${exec_prefix}/sbin'
503 libexecdir='${exec_prefix}/libexec'
504 datadir='${prefix}/share'
505 sysconfdir='${prefix}/etc'
506 sharedstatedir='${prefix}/com'
507 localstatedir='${prefix}/var'
508 libdir='${exec_prefix}/lib'
509 includedir='${prefix}/include'
510 oldincludedir='/usr/include'
511 infodir='${prefix}/info'
512 mandir='${prefix}/man'
517 # If the previous option needs an argument, assign it.
518 if test -n "$ac_prev"; then
519 eval "$ac_prev=\$ac_option"
524 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
526 # Accept the important Cygnus configure options, so we can diagnose typos.
530 -bindir | --bindir | --bindi | --bind | --bin | --bi)
532 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
535 -build | --build | --buil | --bui | --bu)
536 ac_prev=build_alias ;;
537 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
538 build_alias=$ac_optarg ;;
540 -cache-file | --cache-file | --cache-fil | --cache-fi \
541 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
542 ac_prev=cache_file ;;
543 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
544 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
545 cache_file=$ac_optarg ;;
548 cache_file=config.cache ;;
550 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
552 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
554 datadir=$ac_optarg ;;
556 -disable-* | --disable-*)
557 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
558 # Reject names that are not valid shell variable names.
559 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
560 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
561 { (exit 1); exit 1; }; }
562 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
563 eval "enable_$ac_feature=no" ;;
565 -enable-* | --enable-*)
566 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
567 # Reject names that are not valid shell variable names.
568 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
569 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
570 { (exit 1); exit 1; }; }
571 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
573 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
576 eval "enable_$ac_feature='$ac_optarg'" ;;
578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
580 | --exec | --exe | --ex)
581 ac_prev=exec_prefix ;;
582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
584 | --exec=* | --exe=* | --ex=*)
585 exec_prefix=$ac_optarg ;;
587 -gas | --gas | --ga | --g)
588 # Obsolete; use --with-gas.
591 -help | --help | --hel | --he | -h)
593 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
594 ac_init_help=recursive ;;
595 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
596 ac_init_help=short ;;
598 -host | --host | --hos | --ho)
599 ac_prev=host_alias ;;
600 -host=* | --host=* | --hos=* | --ho=*)
601 host_alias=$ac_optarg ;;
603 -includedir | --includedir | --includedi | --included | --include \
604 | --includ | --inclu | --incl | --inc)
605 ac_prev=includedir ;;
606 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
607 | --includ=* | --inclu=* | --incl=* | --inc=*)
608 includedir=$ac_optarg ;;
610 -infodir | --infodir | --infodi | --infod | --info | --inf)
612 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
613 infodir=$ac_optarg ;;
615 -libdir | --libdir | --libdi | --libd)
617 -libdir=* | --libdir=* | --libdi=* | --libd=*)
620 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
621 | --libexe | --libex | --libe)
622 ac_prev=libexecdir ;;
623 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
624 | --libexe=* | --libex=* | --libe=*)
625 libexecdir=$ac_optarg ;;
627 -localstatedir | --localstatedir | --localstatedi | --localstated \
628 | --localstate | --localstat | --localsta | --localst \
629 | --locals | --local | --loca | --loc | --lo)
630 ac_prev=localstatedir ;;
631 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
632 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
633 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
634 localstatedir=$ac_optarg ;;
636 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
638 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
642 # Obsolete; use --without-fp.
645 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
646 | --no-cr | --no-c | -n)
649 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
650 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
653 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
654 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
655 | --oldin | --oldi | --old | --ol | --o)
656 ac_prev=oldincludedir ;;
657 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
658 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
659 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
660 oldincludedir=$ac_optarg ;;
662 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
664 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
667 -program-prefix | --program-prefix | --program-prefi | --program-pref \
668 | --program-pre | --program-pr | --program-p)
669 ac_prev=program_prefix ;;
670 -program-prefix=* | --program-prefix=* | --program-prefi=* \
671 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
672 program_prefix=$ac_optarg ;;
674 -program-suffix | --program-suffix | --program-suffi | --program-suff \
675 | --program-suf | --program-su | --program-s)
676 ac_prev=program_suffix ;;
677 -program-suffix=* | --program-suffix=* | --program-suffi=* \
678 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
679 program_suffix=$ac_optarg ;;
681 -program-transform-name | --program-transform-name \
682 | --program-transform-nam | --program-transform-na \
683 | --program-transform-n | --program-transform- \
684 | --program-transform | --program-transfor \
685 | --program-transfo | --program-transf \
686 | --program-trans | --program-tran \
687 | --progr-tra | --program-tr | --program-t)
688 ac_prev=program_transform_name ;;
689 -program-transform-name=* | --program-transform-name=* \
690 | --program-transform-nam=* | --program-transform-na=* \
691 | --program-transform-n=* | --program-transform-=* \
692 | --program-transform=* | --program-transfor=* \
693 | --program-transfo=* | --program-transf=* \
694 | --program-trans=* | --program-tran=* \
695 | --progr-tra=* | --program-tr=* | --program-t=*)
696 program_transform_name=$ac_optarg ;;
698 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
699 | -silent | --silent | --silen | --sile | --sil)
702 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
704 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
706 sbindir=$ac_optarg ;;
708 -sharedstatedir | --sharedstatedir | --sharedstatedi \
709 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
710 | --sharedst | --shareds | --shared | --share | --shar \
712 ac_prev=sharedstatedir ;;
713 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
714 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
715 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
717 sharedstatedir=$ac_optarg ;;
719 -site | --site | --sit)
721 -site=* | --site=* | --sit=*)
724 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
726 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
729 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
730 | --syscon | --sysco | --sysc | --sys | --sy)
731 ac_prev=sysconfdir ;;
732 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
733 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
734 sysconfdir=$ac_optarg ;;
736 -target | --target | --targe | --targ | --tar | --ta | --t)
737 ac_prev=target_alias ;;
738 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
739 target_alias=$ac_optarg ;;
741 -v | -verbose | --verbose | --verbos | --verbo | --verb)
744 -version | --version | --versio | --versi | --vers | -V)
748 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package=`echo $ac_package| sed 's/-/_/g'`
755 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
758 eval "with_$ac_package='$ac_optarg'" ;;
760 -without-* | --without-*)
761 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
762 # Reject names that are not valid shell variable names.
763 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
764 { echo "$as_me: error: invalid package name: $ac_package" >&2
765 { (exit 1); exit 1; }; }
766 ac_package=`echo $ac_package | sed 's/-/_/g'`
767 eval "with_$ac_package=no" ;;
770 # Obsolete; use --with-x.
773 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
774 | --x-incl | --x-inc | --x-in | --x-i)
775 ac_prev=x_includes ;;
776 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
777 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
778 x_includes=$ac_optarg ;;
780 -x-libraries | --x-libraries | --x-librarie | --x-librari \
781 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
782 ac_prev=x_libraries ;;
783 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
784 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
785 x_libraries=$ac_optarg ;;
787 -*) { echo "$as_me: error: unrecognized option: $ac_option
788 Try \`$0 --help' for more information." >&2
789 { (exit 1); exit 1; }; }
793 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
794 # Reject names that are not valid shell variable names.
795 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
796 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
797 { (exit 1); exit 1; }; }
798 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
799 eval "$ac_envvar='$ac_optarg'"
803 # FIXME: should be removed in autoconf 3.0.
804 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
805 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
806 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
807 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
813 if test -n "$ac_prev"; then
814 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
815 { echo "$as_me: error: missing argument to $ac_option" >&2
816 { (exit 1); exit 1; }; }
819 # Be sure to have absolute paths.
820 for ac_var in exec_prefix prefix
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # Be sure to have absolute paths.
831 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
832 localstatedir libdir includedir oldincludedir infodir mandir
834 eval ac_val=$`echo $ac_var`
836 [\\/$]* | ?:[\\/]* ) ;;
837 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
838 { (exit 1); exit 1; }; };;
842 # There might be people who depend on the old broken behavior: `$host'
843 # used to hold the argument of --host etc.
844 # FIXME: To remove some day.
849 # FIXME: To remove some day.
850 if test "x$host_alias" != x; then
851 if test "x$build_alias" = x; then
852 cross_compiling=maybe
853 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
854 If a cross compiler is detected then cross compile mode will be used." >&2
855 elif test "x$build_alias" != "x$host_alias"; then
861 test -n "$host_alias" && ac_tool_prefix=$host_alias-
863 test "$silent" = yes && exec 6>/dev/null
866 # Find the source files, if location was not specified.
867 if test -z "$srcdir"; then
868 ac_srcdir_defaulted=yes
869 # Try the directory containing this script, then its parent.
870 ac_confdir=`(dirname "$0") 2>/dev/null ||
871 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
872 X"$0" : 'X\(//\)[^/]' \| \
873 X"$0" : 'X\(//\)$' \| \
874 X"$0" : 'X\(/\)' \| \
875 . : '\(.\)' 2>/dev/null ||
877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
878 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
879 /^X\(\/\/\)$/{ s//\1/; q; }
880 /^X\(\/\).*/{ s//\1/; q; }
883 if test ! -r $srcdir/$ac_unique_file; then
887 ac_srcdir_defaulted=no
889 if test ! -r $srcdir/$ac_unique_file; then
890 if test "$ac_srcdir_defaulted" = yes; then
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
892 { (exit 1); exit 1; }; }
894 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
895 { (exit 1); exit 1; }; }
898 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
899 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
900 { (exit 1); exit 1; }; }
901 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
902 ac_env_build_alias_set=${build_alias+set}
903 ac_env_build_alias_value=$build_alias
904 ac_cv_env_build_alias_set=${build_alias+set}
905 ac_cv_env_build_alias_value=$build_alias
906 ac_env_host_alias_set=${host_alias+set}
907 ac_env_host_alias_value=$host_alias
908 ac_cv_env_host_alias_set=${host_alias+set}
909 ac_cv_env_host_alias_value=$host_alias
910 ac_env_target_alias_set=${target_alias+set}
911 ac_env_target_alias_value=$target_alias
912 ac_cv_env_target_alias_set=${target_alias+set}
913 ac_cv_env_target_alias_value=$target_alias
914 ac_env_CC_set=${CC+set}
916 ac_cv_env_CC_set=${CC+set}
917 ac_cv_env_CC_value=$CC
918 ac_env_CFLAGS_set=${CFLAGS+set}
919 ac_env_CFLAGS_value=$CFLAGS
920 ac_cv_env_CFLAGS_set=${CFLAGS+set}
921 ac_cv_env_CFLAGS_value=$CFLAGS
922 ac_env_LDFLAGS_set=${LDFLAGS+set}
923 ac_env_LDFLAGS_value=$LDFLAGS
924 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
925 ac_cv_env_LDFLAGS_value=$LDFLAGS
926 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
927 ac_env_CPPFLAGS_value=$CPPFLAGS
928 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
929 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
930 ac_env_CPP_set=${CPP+set}
931 ac_env_CPP_value=$CPP
932 ac_cv_env_CPP_set=${CPP+set}
933 ac_cv_env_CPP_value=$CPP
936 # Report the --help message.
938 if test "$ac_init_help" = "long"; then
939 # Omit some internal or obsolete options to make the list less imposing.
940 # This message is too long to be a string in the A/UX 3.1 sh.
942 \`configure' configures GRAS 0.0.040304 to adapt to many kinds of systems.
944 Usage: $0 [OPTION]... [VAR=VALUE]...
946 To assign environment variables (e.g., CC, CFLAGS...), specify them as
947 VAR=VALUE. See below for descriptions of some of the useful variables.
949 Defaults for the options are specified in brackets.
952 -h, --help display this help and exit
953 --help=short display options specific to this package
954 --help=recursive display the short help of all the included packages
955 -V, --version display version information and exit
956 -q, --quiet, --silent do not print \`checking...' messages
957 --cache-file=FILE cache test results in FILE [disabled]
958 -C, --config-cache alias for \`--cache-file=config.cache'
959 -n, --no-create do not create output files
960 --srcdir=DIR find the sources in DIR [configure dir or \`..']
965 Installation directories:
966 --prefix=PREFIX install architecture-independent files in PREFIX
968 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
971 By default, \`make install' will install all the files in
972 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
973 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
974 for instance \`--prefix=\$HOME'.
976 For better control, use the options below.
978 Fine tuning of the installation directories:
979 --bindir=DIR user executables [EPREFIX/bin]
980 --sbindir=DIR system admin executables [EPREFIX/sbin]
981 --libexecdir=DIR program executables [EPREFIX/libexec]
982 --datadir=DIR read-only architecture-independent data [PREFIX/share]
983 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
984 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
985 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
986 --libdir=DIR object code libraries [EPREFIX/lib]
987 --includedir=DIR C header files [PREFIX/include]
988 --oldincludedir=DIR C header files for non-gcc [/usr/include]
989 --infodir=DIR info documentation [PREFIX/info]
990 --mandir=DIR man documentation [PREFIX/man]
996 --program-prefix=PREFIX prepend PREFIX to installed program names
997 --program-suffix=SUFFIX append SUFFIX to installed program names
998 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1001 --build=BUILD configure for building on BUILD [guessed]
1002 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1003 --target=TARGET configure for building compilers for TARGET [HOST]
1007 if test -n "$ac_init_help"; then
1008 case $ac_init_help in
1009 short | recursive ) echo "Configuration of GRAS 0.0.040304:";;
1014 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1015 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1016 --enable-shared=PKGS build shared libraries default=yes
1017 --enable-static=PKGS build static libraries default=yes
1018 --enable-fast-install=PKGS optimize for fast installation default=yes
1019 --disable-dependency-tracking Speeds up one-time builds
1020 --enable-dependency-tracking Do not reject slow dependency extractors
1021 --disable-libtool-lock avoid locking (might break parallel builds)
1022 --enable-gtk-doc Use gtk-doc to build documentation default=auto
1023 --enable-maintainer-mode enable make rules and dependencies not useful
1024 (and sometimes confusing) to the casual installer
1025 --enable-compile-warnings=no/minimum/yes Turn on compiler warnings.
1026 --enable-iso-c Try to warn if code is not ISO C
1029 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1030 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1031 --with-gnu-ld assume the C compiler uses GNU ld default=no
1032 --with-pic try to use only PIC/non-PIC objects default=use both
1033 --with-SimGrid=DIR root directory of the SimGrid simulator installation
1034 --with-SimGrid-includes=DIR
1035 specify exact include dir for the SimGrid simulator headers
1036 --with-SimGrid-libraries=DIR
1037 specify exact library dir for the SimGrid simulator library
1038 --with-SimGrid-extra=ARG
1039 specify extra args to pass to the linker to get the
1040 the SimGrid simulator library (with no space. A sed to change "!"
1043 Some influential environment variables:
1044 CC C compiler command
1045 CFLAGS C compiler flags
1046 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1047 nonstandard directory <lib dir>
1048 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1049 headers in a nonstandard directory <include dir>
1052 Use these variables to override the choices made by `configure' or to help
1053 it to find libraries and programs with nonstandard names/locations.
1055 Report bugs to <martin.quinson@ens-lyon.fr>.
1059 if test "$ac_init_help" = "recursive"; then
1060 # If there are subdirs, report their specific --help.
1062 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1063 test -d $ac_dir || continue
1066 if test "$ac_dir" != .; then
1067 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1068 # A "../" for each directory in $ac_dir_suffix.
1069 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1071 ac_dir_suffix= ac_top_builddir=
1075 .) # No --srcdir option. We are building in place.
1077 if test -z "$ac_top_builddir"; then
1080 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1082 [\\/]* | ?:[\\/]* ) # Absolute path.
1083 ac_srcdir=$srcdir$ac_dir_suffix;
1084 ac_top_srcdir=$srcdir ;;
1086 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1087 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1089 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1091 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1092 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1093 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1094 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1097 # Check for guested configure; otherwise get Cygnus style configure.
1098 if test -f $ac_srcdir/configure.gnu; then
1100 $SHELL $ac_srcdir/configure.gnu --help=recursive
1101 elif test -f $ac_srcdir/configure; then
1103 $SHELL $ac_srcdir/configure --help=recursive
1104 elif test -f $ac_srcdir/configure.ac ||
1105 test -f $ac_srcdir/configure.in; then
1107 $ac_configure --help
1109 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1115 test -n "$ac_init_help" && exit 0
1116 if $ac_init_version; then
1118 GRAS configure 0.0.040304
1119 generated by GNU Autoconf 2.57
1121 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1122 Free Software Foundation, Inc.
1123 This configure script is free software; the Free Software Foundation
1124 gives unlimited permission to copy, distribute and modify it.
1130 This file contains any messages produced by compilers while
1131 running configure, to aid debugging if configure makes a mistake.
1133 It was created by GRAS $as_me 0.0.040304, which was
1134 generated by GNU Autoconf 2.57. Invocation command line was
1145 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1146 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1147 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1148 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1149 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1151 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1152 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1154 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1155 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1156 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1157 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1158 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1159 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1160 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1168 test -z "$as_dir" && as_dir=.
1169 echo "PATH: $as_dir"
1184 # Keep a trace of the command line.
1185 # Strip out --no-create and --no-recursion so they do not pile up.
1186 # Strip out --silent because we don't want to record it for future runs.
1187 # Also quote any args containing shell meta-characters.
1188 # Make two passes to allow for proper duplicate-argument suppression.
1193 ac_must_keep_next=false
1199 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1203 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1204 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1207 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1209 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1210 if test $ac_must_keep_next = true; then
1211 ac_must_keep_next=false # Got value, back to normal.
1214 *=* | --config-cache | -C | -disable-* | --disable-* \
1215 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1216 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1217 | -with-* | --with-* | -without-* | --without-* | --x)
1218 case "$ac_configure_args0 " in
1219 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1222 -* ) ac_must_keep_next=true ;;
1225 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1226 # Get rid of the leading space.
1232 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1233 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1235 # When interrupted or exit'd, cleanup temporary files, and complete
1236 # config.log. We remove comments because anyway the quotes in there
1237 # would cause problems or look ugly.
1238 # WARNING: Be sure not to use single quotes in there, as some shells,
1239 # such as our DU 5.0 friend, will then `close' the trap.
1240 trap 'exit_status=$?
1241 # Save into config.log some information that might help in debugging.
1246 ## ---------------- ##
1247 ## Cache variables. ##
1248 ## ---------------- ##
1251 # The following way of writing the cache mishandles newlines in values,
1254 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1257 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1262 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1269 ## ----------------- ##
1270 ## Output variables. ##
1271 ## ----------------- ##
1274 for ac_var in $ac_subst_vars
1276 eval ac_val=$`echo $ac_var`
1277 echo "$ac_var='"'"'$ac_val'"'"'"
1281 if test -n "$ac_subst_files"; then
1288 for ac_var in $ac_subst_files
1290 eval ac_val=$`echo $ac_var`
1291 echo "$ac_var='"'"'$ac_val'"'"'"
1296 if test -s confdefs.h; then
1303 sed "/^$/d" confdefs.h | sort
1306 test "$ac_signal" != 0 &&
1307 echo "$as_me: caught signal $ac_signal"
1308 echo "$as_me: exit $exit_status"
1310 rm -f core core.* *.core &&
1311 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1314 for ac_signal in 1 2 13 15; do
1315 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1320 rm -rf conftest* confdefs.h
1321 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1324 # Predefined preprocessor variables.
1326 cat >>confdefs.h <<_ACEOF
1327 #define PACKAGE_NAME "$PACKAGE_NAME"
1331 cat >>confdefs.h <<_ACEOF
1332 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1336 cat >>confdefs.h <<_ACEOF
1337 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1341 cat >>confdefs.h <<_ACEOF
1342 #define PACKAGE_STRING "$PACKAGE_STRING"
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1351 # Let the site file select an alternate cache file if it wants to.
1352 # Prefer explicitly selected file to automatically selected ones.
1353 if test -z "$CONFIG_SITE"; then
1354 if test "x$prefix" != xNONE; then
1355 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1357 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1360 for ac_site_file in $CONFIG_SITE; do
1361 if test -r "$ac_site_file"; then
1362 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1363 echo "$as_me: loading site script $ac_site_file" >&6;}
1364 sed 's/^/| /' "$ac_site_file" >&5
1369 if test -r "$cache_file"; then
1370 # Some versions of bash will fail to source /dev/null (special
1371 # files actually), so we avoid doing that.
1372 if test -f "$cache_file"; then
1373 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1374 echo "$as_me: loading cache $cache_file" >&6;}
1376 [\\/]* | ?:[\\/]* ) . $cache_file;;
1377 *) . ./$cache_file;;
1381 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1382 echo "$as_me: creating cache $cache_file" >&6;}
1386 # Check that the precious variables saved in the cache have kept the same
1388 ac_cache_corrupted=false
1389 for ac_var in `(set) 2>&1 |
1390 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1392 eval ac_new_set=\$ac_env_${ac_var}_set
1393 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1394 eval ac_new_val="\$ac_env_${ac_var}_value"
1395 case $ac_old_set,$ac_new_set in
1397 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1399 ac_cache_corrupted=: ;;
1401 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1403 ac_cache_corrupted=: ;;
1406 if test "x$ac_old_val" != "x$ac_new_val"; then
1407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1408 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1410 echo "$as_me: former value: $ac_old_val" >&2;}
1411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1412 echo "$as_me: current value: $ac_new_val" >&2;}
1413 ac_cache_corrupted=:
1416 # Pass precious variables to config.status.
1417 if test "$ac_new_set" = set; then
1419 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1420 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1421 *) ac_arg=$ac_var=$ac_new_val ;;
1423 case " $ac_configure_args " in
1424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1425 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1429 if $ac_cache_corrupted; then
1430 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1431 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1432 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1433 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1434 { (exit 1); exit 1; }; }
1438 ac_cpp='$CPP $CPPFLAGS'
1439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1473 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1474 if test -f $ac_dir/install-sh; then
1476 ac_install_sh="$ac_aux_dir/install-sh -c"
1478 elif test -f $ac_dir/install.sh; then
1480 ac_install_sh="$ac_aux_dir/install.sh -c"
1482 elif test -f $ac_dir/shtool; then
1484 ac_install_sh="$ac_aux_dir/shtool install -c"
1488 if test -z "$ac_aux_dir"; then
1489 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1490 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1491 { (exit 1); exit 1; }; }
1493 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1494 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1495 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1497 # Make sure we can run config.sub.
1498 $ac_config_sub sun4 >/dev/null 2>&1 ||
1499 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1500 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1501 { (exit 1); exit 1; }; }
1503 echo "$as_me:$LINENO: checking build system type" >&5
1504 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1505 if test "${ac_cv_build+set}" = set; then
1506 echo $ECHO_N "(cached) $ECHO_C" >&6
1508 ac_cv_build_alias=$build_alias
1509 test -z "$ac_cv_build_alias" &&
1510 ac_cv_build_alias=`$ac_config_guess`
1511 test -z "$ac_cv_build_alias" &&
1512 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1513 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1514 { (exit 1); exit 1; }; }
1515 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1516 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1517 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1518 { (exit 1); exit 1; }; }
1521 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1522 echo "${ECHO_T}$ac_cv_build" >&6
1524 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1525 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1526 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529 echo "$as_me:$LINENO: checking host system type" >&5
1530 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1531 if test "${ac_cv_host+set}" = set; then
1532 echo $ECHO_N "(cached) $ECHO_C" >&6
1534 ac_cv_host_alias=$host_alias
1535 test -z "$ac_cv_host_alias" &&
1536 ac_cv_host_alias=$ac_cv_build_alias
1537 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1543 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1544 echo "${ECHO_T}$ac_cv_host" >&6
1546 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551 echo "$as_me:$LINENO: checking target system type" >&5
1552 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1553 if test "${ac_cv_target+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 ac_cv_target_alias=$target_alias
1557 test "x$ac_cv_target_alias" = "x" &&
1558 ac_cv_target_alias=$ac_cv_host_alias
1559 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1565 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1566 echo "${ECHO_T}$ac_cv_target" >&6
1567 target=$ac_cv_target
1568 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573 # The aliases save the names the user supplied, while $host etc.
1574 # will get canonicalized.
1575 test -n "$target_alias" &&
1576 test "$program_prefix$program_suffix$program_transform_name" = \
1578 program_prefix=${target_alias}-
1580 ac_cpp='$CPP $CPPFLAGS'
1581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1586 ac_config_headers="$ac_config_headers src/gras_config.h"
1588 am__api_version="1.7"
1589 # Find a good install program. We prefer a C program (faster),
1590 # so one script is as good as another. But avoid the broken or
1591 # incompatible versions:
1592 # SysV /etc/install, /usr/sbin/install
1593 # SunOS /usr/etc/install
1594 # IRIX /sbin/install
1596 # AmigaOS /C/install, which installs bootblocks on floppy discs
1597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1600 # ./install, which can be erroneously created by make from ./install.sh.
1601 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1602 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1603 if test -z "$INSTALL"; then
1604 if test "${ac_cv_path_install+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 test -z "$as_dir" && as_dir=.
1612 # Account for people who put trailing slashes in PATH elements.
1614 ./ | .// | /cC/* | \
1615 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1618 # OSF1 and SCO ODT 3.0 have their own names for install.
1619 # Don't use installbsd from OSF since it installs stuff as root
1621 for ac_prog in ginstall scoinst install; do
1622 for ac_exec_ext in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1624 if test $ac_prog = install &&
1625 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1626 # AIX install. It has an incompatible calling convention.
1628 elif test $ac_prog = install &&
1629 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1630 # program-specific install script used by HP pwplus--don't use.
1633 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1645 if test "${ac_cv_path_install+set}" = set; then
1646 INSTALL=$ac_cv_path_install
1648 # As a last resort, use the slow shell script. We don't cache a
1649 # path for INSTALL within a source directory, because that will
1650 # break other packages using the cache if that directory is
1651 # removed, or if the path is relative.
1652 INSTALL=$ac_install_sh
1655 echo "$as_me:$LINENO: result: $INSTALL" >&5
1656 echo "${ECHO_T}$INSTALL" >&6
1658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1659 # It thinks the first close brace ends the variable substitution.
1660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1666 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1667 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1670 echo timestamp > conftest.file
1671 # Do `set' in a subshell so we don't clobber the current shell's
1672 # arguments. Must try -L first in case configure is actually a
1673 # symlink; some systems play weird games with the mod time of symlinks
1674 # (eg FreeBSD returns the mod time of the symlink's containing
1677 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1678 if test "$*" = "X"; then
1680 set X `ls -t $srcdir/configure conftest.file`
1683 if test "$*" != "X $srcdir/configure conftest.file" \
1684 && test "$*" != "X conftest.file $srcdir/configure"; then
1686 # If neither matched, then we have a broken ls. This can happen
1687 # if, for instance, CONFIG_SHELL is bash and it inherits a
1688 # broken ls alias from the environment. This has actually
1689 # happened. Such a system could not be considered "sane".
1690 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1691 alias in your environment" >&5
1692 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1693 alias in your environment" >&2;}
1694 { (exit 1); exit 1; }; }
1697 test "$2" = conftest.file
1703 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1704 Check your system clock" >&5
1705 echo "$as_me: error: newly created file is older than distributed files!
1706 Check your system clock" >&2;}
1707 { (exit 1); exit 1; }; }
1709 echo "$as_me:$LINENO: result: yes" >&5
1710 echo "${ECHO_T}yes" >&6
1711 test "$program_prefix" != NONE &&
1712 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1713 # Use a double $ so make ignores it.
1714 test "$program_suffix" != NONE &&
1715 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1716 # Double any \ or $. echo might interpret backslashes.
1717 # By default was `s,x,x', remove it if useless.
1718 cat <<\_ACEOF >conftest.sed
1719 s/[\\$]/&&/g;s/;s,x,x,$//
1721 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1725 # expand $ac_aux_dir to an absolute path
1726 am_aux_dir=`cd $ac_aux_dir && pwd`
1728 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1729 # Use eval to expand $SHELL
1730 if eval "$MISSING --run true"; then
1731 am_missing_run="$MISSING --run "
1734 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1735 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1738 for ac_prog in gawk mawk nawk awk
1740 # Extract the first word of "$ac_prog", so it can be a program name with args.
1741 set dummy $ac_prog; ac_word=$2
1742 echo "$as_me:$LINENO: checking for $ac_word" >&5
1743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1744 if test "${ac_cv_prog_AWK+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 if test -n "$AWK"; then
1748 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 test -z "$as_dir" && as_dir=.
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1757 ac_cv_prog_AWK="$ac_prog"
1758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 if test -n "$AWK"; then
1768 echo "$as_me:$LINENO: result: $AWK" >&5
1769 echo "${ECHO_T}$AWK" >&6
1771 echo "$as_me:$LINENO: result: no" >&5
1772 echo "${ECHO_T}no" >&6
1775 test -n "$AWK" && break
1778 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1779 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1780 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1781 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 cat >conftest.make <<\_ACEOF
1786 @echo 'ac_maketemp="$(MAKE)"'
1788 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1789 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1790 if test -n "$ac_maketemp"; then
1791 eval ac_cv_prog_make_${ac_make}_set=yes
1793 eval ac_cv_prog_make_${ac_make}_set=no
1797 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1798 echo "$as_me:$LINENO: result: yes" >&5
1799 echo "${ECHO_T}yes" >&6
1802 echo "$as_me:$LINENO: result: no" >&5
1803 echo "${ECHO_T}no" >&6
1804 SET_MAKE="MAKE=${MAKE-make}"
1807 # test to see if srcdir already configured
1808 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1809 test -f $srcdir/config.status; then
1810 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1811 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1812 { (exit 1); exit 1; }; }
1815 # test whether we have cygpath
1816 if test -z "$CYGPATH_W"; then
1817 if (cygpath --version) >/dev/null 2>/dev/null; then
1818 CYGPATH_W='cygpath -w'
1825 # Define the identity of the package.
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE "$PACKAGE"
1835 cat >>confdefs.h <<_ACEOF
1836 #define VERSION "$VERSION"
1839 # Some tools Automake needs.
1841 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1844 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1847 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1850 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1853 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1856 AMTAR=${AMTAR-"${am_missing_run}tar"}
1858 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1860 # Installed binaries are usually stripped using `strip' when the user
1861 # run `make install-strip'. However `strip' might not be the right
1862 # tool to use in cross-compilation environments, therefore Automake
1863 # will honor the `STRIP' environment variable to overrule this program.
1864 if test "$cross_compiling" != no; then
1865 if test -n "$ac_tool_prefix"; then
1866 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1867 set dummy ${ac_tool_prefix}strip; ac_word=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_STRIP+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$STRIP"; then
1874 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 STRIP=$ac_cv_prog_STRIP
1893 if test -n "$STRIP"; then
1894 echo "$as_me:$LINENO: result: $STRIP" >&5
1895 echo "${ECHO_T}$STRIP" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1902 if test -z "$ac_cv_prog_STRIP"; then
1904 # Extract the first word of "strip", so it can be a program name with args.
1905 set dummy strip; ac_word=$2
1906 echo "$as_me:$LINENO: checking for $ac_word" >&5
1907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 if test -n "$ac_ct_STRIP"; then
1912 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 test -z "$as_dir" && as_dir=.
1919 for ac_exec_ext in '' $ac_executable_extensions; do
1920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921 ac_cv_prog_ac_ct_STRIP="strip"
1922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1931 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1932 if test -n "$ac_ct_STRIP"; then
1933 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1934 echo "${ECHO_T}$ac_ct_STRIP" >&6
1936 echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6
1942 STRIP="$ac_cv_prog_STRIP"
1946 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1948 # We need awk for the "check" target. The system "awk" is bad on
1954 # Check whether --enable-shared or --disable-shared was given.
1955 if test "${enable_shared+set}" = set; then
1956 enableval="$enable_shared"
1957 p=${PACKAGE-default}
1959 yes) enable_shared=yes ;;
1960 no) enable_shared=no ;;
1963 # Look at the argument we got. We use all the common list separators.
1964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1965 for pkg in $enableval; do
1966 if test "X$pkg" = "X$p"; then
1976 # Check whether --enable-static or --disable-static was given.
1977 if test "${enable_static+set}" = set; then
1978 enableval="$enable_static"
1979 p=${PACKAGE-default}
1981 yes) enable_static=yes ;;
1982 no) enable_static=no ;;
1985 # Look at the argument we got. We use all the common list separators.
1986 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1987 for pkg in $enableval; do
1988 if test "X$pkg" = "X$p"; then
1998 # Check whether --enable-fast-install or --disable-fast-install was given.
1999 if test "${enable_fast_install+set}" = set; then
2000 enableval="$enable_fast_install"
2001 p=${PACKAGE-default}
2003 yes) enable_fast_install=yes ;;
2004 no) enable_fast_install=no ;;
2006 enable_fast_install=no
2007 # Look at the argument we got. We use all the common list separators.
2008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2009 for pkg in $enableval; do
2010 if test "X$pkg" = "X$p"; then
2011 enable_fast_install=yes
2018 enable_fast_install=yes
2020 rm -f .deps 2>/dev/null
2021 mkdir .deps 2>/dev/null
2022 if test -d .deps; then
2025 # MS-DOS does not allow filenames that begin with a dot.
2028 rmdir .deps 2>/dev/null
2031 ac_config_commands="$ac_config_commands depfiles"
2034 am_make=${MAKE-make}
2035 cat > confinc << 'END'
2039 # If we don't find an include directive, just comment out the code.
2040 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2041 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2045 # First try GNU make style include.
2046 echo "include confinc" > confmf
2047 # We grep out `Entering directory' and `Leaving directory'
2048 # messages which can occur if `w' ends up in MAKEFLAGS.
2049 # In particular we don't look at `^make:' because GNU make might
2050 # be invoked under some other name (usually "gmake"), in which
2051 # case it prints its new name instead of `make'.
2052 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2057 # Now try BSD make style include.
2058 if test "$am__include" = "#"; then
2059 echo '.include "confinc"' > confmf
2060 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2061 am__include=.include
2068 echo "$as_me:$LINENO: result: $_am_result" >&5
2069 echo "${ECHO_T}$_am_result" >&6
2070 rm -f confinc confmf
2072 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2073 if test "${enable_dependency_tracking+set}" = set; then
2074 enableval="$enable_dependency_tracking"
2077 if test "x$enable_dependency_tracking" != xno; then
2078 am_depcomp="$ac_aux_dir/depcomp"
2083 if test "x$enable_dependency_tracking" != xno; then
2094 ac_cpp='$CPP $CPPFLAGS'
2095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2098 if test -n "$ac_tool_prefix"; then
2099 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2100 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2106 if test -n "$CC"; then
2107 ac_cv_prog_CC="$CC" # Let the user override the test.
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 if test -n "$CC"; then
2127 echo "$as_me:$LINENO: result: $CC" >&5
2128 echo "${ECHO_T}$CC" >&6
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2135 if test -z "$ac_cv_prog_CC"; then
2137 # Extract the first word of "gcc", so it can be a program name with args.
2138 set dummy gcc; ac_word=$2
2139 echo "$as_me:$LINENO: checking for $ac_word" >&5
2140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2141 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2142 echo $ECHO_N "(cached) $ECHO_C" >&6
2144 if test -n "$ac_ct_CC"; then
2145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_ac_ct_CC="gcc"
2155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2164 if test -n "$ac_ct_CC"; then
2165 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2166 echo "${ECHO_T}$ac_ct_CC" >&6
2168 echo "$as_me:$LINENO: result: no" >&5
2169 echo "${ECHO_T}no" >&6
2177 if test -z "$CC"; then
2178 if test -n "$ac_tool_prefix"; then
2179 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2180 set dummy ${ac_tool_prefix}cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$CC"; then
2187 ac_cv_prog_CC="$CC" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_CC="${ac_tool_prefix}cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 if test -n "$CC"; then
2207 echo "$as_me:$LINENO: result: $CC" >&5
2208 echo "${ECHO_T}$CC" >&6
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2215 if test -z "$ac_cv_prog_CC"; then
2217 # Extract the first word of "cc", so it can be a program name with args.
2218 set dummy cc; ac_word=$2
2219 echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test -n "$ac_ct_CC"; then
2225 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 test -z "$as_dir" && as_dir=.
2232 for ac_exec_ext in '' $ac_executable_extensions; do
2233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2234 ac_cv_prog_ac_ct_CC="cc"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2244 if test -n "$ac_ct_CC"; then
2245 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2246 echo "${ECHO_T}$ac_ct_CC" >&6
2248 echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6
2258 if test -z "$CC"; then
2259 # Extract the first word of "cc", so it can be a program name with args.
2260 set dummy cc; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CC+set}" = set; then
2264 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2278 ac_prog_rejected=yes
2282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test $ac_prog_rejected = yes; then
2289 # We found a bogon in the path, so make sure we never use it.
2290 set dummy $ac_cv_prog_CC
2292 if test $# != 0; then
2293 # We chose a different compiler from the bogus one.
2294 # However, it has the same basename, so the bogon will be chosen
2295 # first if we set CC to just the basename; use the full file name.
2297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2303 if test -n "$CC"; then
2304 echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2312 if test -z "$CC"; then
2313 if test -n "$ac_tool_prefix"; then
2316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2318 echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320 if test "${ac_cv_prog_CC+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$CC"; then
2324 ac_cv_prog_CC="$CC" # Let the user override the test.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test -n "$CC"; then
2344 echo "$as_me:$LINENO: result: $CC" >&5
2345 echo "${ECHO_T}$CC" >&6
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2351 test -n "$CC" && break
2354 if test -z "$CC"; then
2358 # Extract the first word of "$ac_prog", so it can be a program name with args.
2359 set dummy $ac_prog; ac_word=$2
2360 echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2362 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_CC"; then
2366 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375 ac_cv_prog_ac_ct_CC="$ac_prog"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2385 if test -n "$ac_ct_CC"; then
2386 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2387 echo "${ECHO_T}$ac_ct_CC" >&6
2389 echo "$as_me:$LINENO: result: no" >&5
2390 echo "${ECHO_T}no" >&6
2393 test -n "$ac_ct_CC" && break
2402 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: no acceptable C compiler found in \$PATH
2405 See \`config.log' for more details." >&2;}
2406 { (exit 1); exit 1; }; }
2408 # Provide some information about the compiler.
2409 echo "$as_me:$LINENO:" \
2410 "checking for C compiler version" >&5
2411 ac_compiler=`set X $ac_compile; echo $2`
2412 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2413 (eval $ac_compiler --version </dev/null >&5) 2>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }
2417 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2418 (eval $ac_compiler -v </dev/null >&5) 2>&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }
2422 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2423 (eval $ac_compiler -V </dev/null >&5) 2>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }
2428 cat >conftest.$ac_ext <<_ACEOF
2429 #line $LINENO "configure"
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2444 ac_clean_files_save=$ac_clean_files
2445 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2446 # Try to create an executable without -o first, disregard a.out.
2447 # It will help us diagnose broken compilers, and finding out an intuition
2449 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2450 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2451 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2452 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2453 (eval $ac_link_default) 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; then
2457 # Find the output, starting from the most likely. This scheme is
2458 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2461 # Be careful to initialize this variable, since it used to be cached.
2462 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2464 # b.out is created by i960 compilers.
2465 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2467 test -f "$ac_file" || continue
2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2472 # This is the source file.
2475 # We found the default executable, but exeext='' is most
2479 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2480 # FIXME: I believe we export ac_cv_exeext for Libtool,
2481 # but it would be cool to find out if it's true. Does anybody
2482 # maintain Libtool? --akim.
2490 echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.$ac_ext >&5
2493 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2494 See \`config.log' for more details." >&5
2495 echo "$as_me: error: C compiler cannot create executables
2496 See \`config.log' for more details." >&2;}
2497 { (exit 77); exit 77; }; }
2500 ac_exeext=$ac_cv_exeext
2501 echo "$as_me:$LINENO: result: $ac_file" >&5
2502 echo "${ECHO_T}$ac_file" >&6
2504 # Check the compiler produces executables we can run. If not, either
2505 # the compiler is broken, or we cross compile.
2506 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2507 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2508 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2509 # If not cross compiling, check that we can run a simple program.
2510 if test "$cross_compiling" != yes; then
2511 if { ac_try='./$ac_file'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; }; then
2519 if test "$cross_compiling" = maybe; then
2522 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2523 If you meant to cross compile, use \`--host'.
2524 See \`config.log' for more details." >&5
2525 echo "$as_me: error: cannot run C compiled programs.
2526 If you meant to cross compile, use \`--host'.
2527 See \`config.log' for more details." >&2;}
2528 { (exit 1); exit 1; }; }
2532 echo "$as_me:$LINENO: result: yes" >&5
2533 echo "${ECHO_T}yes" >&6
2535 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2536 ac_clean_files=$ac_clean_files_save
2537 # Check the compiler produces executables we can run. If not, either
2538 # the compiler is broken, or we cross compile.
2539 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2540 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2541 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2542 echo "${ECHO_T}$cross_compiling" >&6
2544 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2545 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2547 (eval $ac_link) 2>&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; then
2551 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2552 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2553 # work properly (i.e., refer to `conftest.exe'), while it won't with
2555 for ac_file in conftest.exe conftest conftest.*; do
2556 test -f "$ac_file" || continue
2558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2559 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2566 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2567 See \`config.log' for more details." >&5
2568 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2569 See \`config.log' for more details." >&2;}
2570 { (exit 1); exit 1; }; }
2573 rm -f conftest$ac_cv_exeext
2574 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2575 echo "${ECHO_T}$ac_cv_exeext" >&6
2577 rm -f conftest.$ac_ext
2578 EXEEXT=$ac_cv_exeext
2580 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2581 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2582 if test "${ac_cv_objext+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 cat >conftest.$ac_ext <<_ACEOF
2586 #line $LINENO "configure"
2589 cat confdefs.h >>conftest.$ac_ext
2590 cat >>conftest.$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2601 rm -f conftest.o conftest.obj
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603 (eval $ac_compile) 2>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; then
2607 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details." >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2627 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2628 echo "${ECHO_T}$ac_cv_objext" >&6
2629 OBJEXT=$ac_cv_objext
2631 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2632 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2636 cat >conftest.$ac_ext <<_ACEOF
2637 #line $LINENO "configure"
2640 cat confdefs.h >>conftest.$ac_ext
2641 cat >>conftest.$ac_ext <<_ACEOF
2642 /* end confdefs.h. */
2655 rm -f conftest.$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } &&
2661 { ac_try='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2674 rm -f conftest.$ac_objext conftest.$ac_ext
2675 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2678 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2679 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2680 GCC=`test $ac_compiler_gnu = yes && echo yes`
2681 ac_test_CFLAGS=${CFLAGS+set}
2682 ac_save_CFLAGS=$CFLAGS
2684 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 cat >conftest.$ac_ext <<_ACEOF
2690 #line $LINENO "configure"
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.$ac_objext
2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2707 (eval $ac_compile) 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } &&
2711 { ac_try='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.$ac_ext >&5
2724 rm -f conftest.$ac_objext conftest.$ac_ext
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2728 if test "$ac_test_CFLAGS" = set; then
2729 CFLAGS=$ac_save_CFLAGS
2730 elif test $ac_cv_prog_cc_g = yes; then
2731 if test "$GCC" = yes; then
2737 if test "$GCC" = yes; then
2743 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2744 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2745 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 ac_cv_prog_cc_stdc=no
2750 cat >conftest.$ac_ext <<_ACEOF
2751 #line $LINENO "configure"
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2759 #include <sys/types.h>
2760 #include <sys/stat.h>
2761 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2762 struct buf { int x; };
2763 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2764 static char *e (p, i)
2770 static char *f (char * (*g) (char **, int), char **p, ...)
2775 s = g (p, va_arg (v,int));
2779 int test (int i, double x);
2780 struct s1 {int (*f) (int a);};
2781 struct s2 {int (*f) (double a);};
2782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2788 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2793 # Don't try gcc -ansi; that turns off useful extensions and
2794 # breaks some systems' header files.
2795 # AIX -qlanglvl=ansi
2796 # Ultrix and OSF/1 -std1
2797 # HP-UX 10.20 and later -Ae
2798 # HP-UX older versions -Aa -D_HPUX_SOURCE
2799 # SVR4 -Xc -D__EXTENSIONS__
2800 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2802 CC="$ac_save_CC $ac_arg"
2803 rm -f conftest.$ac_objext
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805 (eval $ac_compile) 2>&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } &&
2809 { ac_try='test -s conftest.$ac_objext'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; }; then
2815 ac_cv_prog_cc_stdc=$ac_arg
2818 echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.$ac_ext >&5
2822 rm -f conftest.$ac_objext
2824 rm -f conftest.$ac_ext conftest.$ac_objext
2829 case "x$ac_cv_prog_cc_stdc" in
2831 echo "$as_me:$LINENO: result: none needed" >&5
2832 echo "${ECHO_T}none needed" >&6 ;;
2834 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2835 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2836 CC="$CC $ac_cv_prog_cc_stdc" ;;
2839 # Some people use a C++ compiler to compile C. Since we use `exit',
2840 # in C++ we need to declare it. In case someone uses the same compiler
2841 # for both compiling C and C++ we need to have the C++ compiler decide
2842 # the declaration of exit, since it's the most demanding environment.
2843 cat >conftest.$ac_ext <<_ACEOF
2848 rm -f conftest.$ac_objext
2849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2850 (eval $ac_compile) 2>&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } &&
2854 { ac_try='test -s conftest.$ac_objext'
2855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859 (exit $ac_status); }; }; then
2860 for ac_declaration in \
2862 '#include <stdlib.h>' \
2863 'extern "C" void std::exit (int) throw (); using std::exit;' \
2864 'extern "C" void std::exit (int); using std::exit;' \
2865 'extern "C" void exit (int) throw ();' \
2866 'extern "C" void exit (int);' \
2869 cat >conftest.$ac_ext <<_ACEOF
2870 #line $LINENO "configure"
2873 cat confdefs.h >>conftest.$ac_ext
2874 cat >>conftest.$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2886 rm -f conftest.$ac_objext
2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2888 (eval $ac_compile) 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } &&
2892 { ac_try='test -s conftest.$ac_objext'
2893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); }; }; then
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2905 rm -f conftest.$ac_objext conftest.$ac_ext
2906 cat >conftest.$ac_ext <<_ACEOF
2907 #line $LINENO "configure"
2910 cat confdefs.h >>conftest.$ac_ext
2911 cat >>conftest.$ac_ext <<_ACEOF
2912 /* end confdefs.h. */
2922 rm -f conftest.$ac_objext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2924 (eval $ac_compile) 2>&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); } &&
2928 { ac_try='test -s conftest.$ac_objext'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2940 rm -f conftest.$ac_objext conftest.$ac_ext
2943 if test -n "$ac_declaration"; then
2944 echo '#ifdef __cplusplus' >>confdefs.h
2945 echo $ac_declaration >>confdefs.h
2946 echo '#endif' >>confdefs.h
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2954 rm -f conftest.$ac_objext conftest.$ac_ext
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 depcc="$CC" am_compiler_list=
2963 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2964 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2965 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2969 # We make a subdir and do the tests there. Otherwise we can end up
2970 # making bogus files that we don't know about and never remove. For
2971 # instance it was reported that on HP-UX the gcc test will end up
2972 # making a dummy file named `D' -- because `-MD' means `put the output
2975 # Copy depcomp to subdir because otherwise we won't find it if we're
2976 # using a relative directory.
2977 cp "$am_depcomp" conftest.dir
2980 am_cv_CC_dependencies_compiler_type=none
2981 if test "$am_compiler_list" = ""; then
2982 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2984 for depmode in $am_compiler_list; do
2985 # We need to recreate these files for each test, as the compiler may
2986 # overwrite some of them when testing with obscure command lines.
2987 # This happens at least with the AIX C compiler.
2988 echo '#include "conftest.h"' > conftest.c
2989 echo 'int i;' > conftest.h
2990 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2994 # after this tag, mechanisms are not by side-effect, so they'll
2995 # only be used when explicitly requested
2996 if test "x$enable_dependency_tracking" = xyes; then
3004 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3005 # mode. It turns out that the SunPro C++ compiler does not properly
3006 # handle `-M -o', and we need to detect this.
3007 if depmode=$depmode \
3008 source=conftest.c object=conftest.o \
3009 depfile=conftest.Po tmpdepfile=conftest.TPo \
3010 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
3011 grep conftest.h conftest.Po > /dev/null 2>&1 &&
3012 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3013 am_cv_CC_dependencies_compiler_type=$depmode
3021 am_cv_CC_dependencies_compiler_type=none
3025 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3026 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3027 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3032 test "x$enable_dependency_tracking" != xno \
3033 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3035 am__fastdepCC_FALSE='#'
3037 am__fastdepCC_TRUE='#'
3038 am__fastdepCC_FALSE=
3042 # Find the correct PATH separator. Usually this is `:', but
3043 # DJGPP uses `;' like DOS.
3044 if test "X${PATH_SEPARATOR+set}" != Xset; then
3045 UNAME=${UNAME-`uname 2>/dev/null`}
3047 *-DOS) lt_cv_sys_path_separator=';' ;;
3048 *) lt_cv_sys_path_separator=':' ;;
3050 PATH_SEPARATOR=$lt_cv_sys_path_separator
3054 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3055 if test "${with_gnu_ld+set}" = set; then
3056 withval="$with_gnu_ld"
3057 test "$withval" = no || with_gnu_ld=yes
3062 if test "$GCC" = yes; then
3063 # Check if gcc -print-prog-name=ld gives a path.
3064 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3065 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3068 # gcc leaves a trailing carriage return which upsets mingw
3069 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3071 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3074 # Accept absolute paths.
3075 [\\/]* | [A-Za-z]:[\\/]*)
3076 re_direlt='/[^/][^/]*/\.\./'
3077 # Canonicalize the path of ld
3078 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3079 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3080 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3082 test -z "$LD" && LD="$ac_prog"
3085 # If it fails, then pretend we aren't using GCC.
3089 # If it is relative, then search for the first ld in PATH.
3093 elif test "$with_gnu_ld" = yes; then
3094 echo "$as_me:$LINENO: checking for GNU ld" >&5
3095 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3097 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3098 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3100 if test "${lt_cv_path_LD+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 if test -z "$LD"; then
3104 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3105 for ac_dir in $PATH; do
3106 test -z "$ac_dir" && ac_dir=.
3107 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3108 lt_cv_path_LD="$ac_dir/$ac_prog"
3109 # Check to see if the program is GNU ld. I'd rather use --version,
3110 # but apparently some GNU ld's only accept -v.
3111 # Break only if it was the GNU/non-GNU ld that we prefer.
3112 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3113 test "$with_gnu_ld" != no && break
3115 test "$with_gnu_ld" != yes && break
3121 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3126 if test -n "$LD"; then
3127 echo "$as_me:$LINENO: result: $LD" >&5
3128 echo "${ECHO_T}$LD" >&6
3130 echo "$as_me:$LINENO: result: no" >&5
3131 echo "${ECHO_T}no" >&6
3133 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3134 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3135 { (exit 1); exit 1; }; }
3136 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3137 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3138 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3139 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3142 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3143 lt_cv_prog_gnu_ld=yes
3145 lt_cv_prog_gnu_ld=no
3148 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3149 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3150 with_gnu_ld=$lt_cv_prog_gnu_ld
3153 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3154 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3155 if test "${lt_cv_ld_reload_flag+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 lt_cv_ld_reload_flag='-r'
3160 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3161 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3162 reload_flag=$lt_cv_ld_reload_flag
3163 test -n "$reload_flag" && reload_flag=" $reload_flag"
3165 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3166 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3167 if test "${lt_cv_path_NM+set}" = set; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 if test -n "$NM"; then
3171 # Let the user override the test.
3174 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3175 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3176 test -z "$ac_dir" && ac_dir=.
3177 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3178 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3179 # Check to see if the nm accepts a BSD-compat flag.
3180 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3181 # nm: unknown option "B" ignored
3182 # Tru64's nm complains that /dev/null is an invalid object file
3183 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3184 lt_cv_path_NM="$tmp_nm -B"
3186 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3187 lt_cv_path_NM="$tmp_nm -p"
3190 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3191 continue # so that we can try to find one that supports BSD flags
3196 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3201 echo "$as_me:$LINENO: result: $NM" >&5
3202 echo "${ECHO_T}$NM" >&6
3204 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3205 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3207 if test "$LN_S" = "ln -s"; then
3208 echo "$as_me:$LINENO: result: yes" >&5
3209 echo "${ECHO_T}yes" >&6
3211 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3212 echo "${ECHO_T}no, using $LN_S" >&6
3215 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3216 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3217 if test "${lt_cv_deplibs_check_method+set}" = set; then
3218 echo $ECHO_N "(cached) $ECHO_C" >&6
3220 lt_cv_file_magic_cmd='$MAGIC_CMD'
3221 lt_cv_file_magic_test_file=
3222 lt_cv_deplibs_check_method='unknown'
3223 # Need to set the preceding variable on all platforms that support
3224 # interlibrary dependencies.
3225 # 'none' -- dependencies not supported.
3226 # `unknown' -- same as none, but documents that we really don't know.
3227 # 'pass_all' -- all dependencies passed with no checks.
3228 # 'test_compile' -- check by making test program.
3229 # 'file_magic [[regex]]' -- check by looking for files in library path
3230 # which responds to the $file_magic_cmd with a given egrep regex.
3231 # If you have `file' or equivalent on your system and you're not sure
3232 # whether `pass_all' will *always* work, you probably want this one.
3236 lt_cv_deplibs_check_method=pass_all
3240 lt_cv_deplibs_check_method=pass_all
3244 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3245 lt_cv_file_magic_cmd='/usr/bin/file -L'
3246 lt_cv_file_magic_test_file=/shlib/libc.so
3249 cygwin* | mingw* | pw32*)
3250 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3251 lt_cv_file_magic_cmd='$OBJDUMP -f'
3254 darwin* | rhapsody*)
3255 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3256 lt_cv_file_magic_cmd='/usr/bin/file -L'
3258 rhapsody* | darwin1.[012])
3259 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
3262 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3268 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3271 # Not sure whether the presence of OpenBSD here was a mistake.
3272 # Let's accept both of them until this is cleared up.
3273 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3274 lt_cv_file_magic_cmd=/usr/bin/file
3275 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3279 lt_cv_deplibs_check_method=pass_all
3284 lt_cv_deplibs_check_method=pass_all
3288 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3289 lt_cv_file_magic_cmd=/usr/bin/file
3290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3296 # this will be overridden with pass_all, but let us keep it just in case
3297 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3301 *-32|*"-32 ") libmagic=32-bit;;
3302 *-n32|*"-n32 ") libmagic=N32;;
3303 *-64|*"-64 ") libmagic=64-bit;;
3304 *) libmagic=never-match;;
3306 # this will be overridden with pass_all, but let us keep it just in case
3307 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3310 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3311 lt_cv_deplibs_check_method=pass_all
3314 # This must be Linux ELF.
3317 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* )
3318 lt_cv_deplibs_check_method=pass_all ;;
3320 # glibc up to 2.1.1 does not perform some relocations on ARM
3321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3323 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3327 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3328 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3330 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3335 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3336 lt_cv_file_magic_cmd=/usr/bin/file
3337 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3341 lt_cv_file_magic_cmd=/usr/bin/file
3342 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3343 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
3344 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
3346 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
3350 osf3* | osf4* | osf5*)
3351 # this will be overridden with pass_all, but let us keep it just in case
3352 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3353 lt_cv_file_magic_test_file=/shlib/libc.so
3354 lt_cv_deplibs_check_method=pass_all
3358 lt_cv_deplibs_check_method=pass_all
3362 lt_cv_deplibs_check_method=pass_all
3363 lt_cv_file_magic_test_file=/lib/libc.so
3366 sysv5uw[78]* | sysv4*uw2*)
3367 lt_cv_deplibs_check_method=pass_all
3370 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3371 case $host_vendor in
3373 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]'
3374 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3377 lt_cv_deplibs_check_method=pass_all
3380 lt_cv_file_magic_cmd='/bin/file'
3381 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
3384 lt_cv_file_magic_cmd='/bin/file'
3385 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
3386 lt_cv_file_magic_test_file=/lib/libc.so
3393 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3394 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3395 file_magic_cmd=$lt_cv_file_magic_cmd
3396 deplibs_check_method=$lt_cv_deplibs_check_method
3405 # Check for command to grab the raw symbol name followed by C symbol from nm.
3406 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
3407 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
3408 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 # These are sane defaults that work on at least a few old systems.
3413 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
3415 # Character class describing NM global symbol codes.
3416 symcode='[BCDEGRST]'
3418 # Regexp to match symbols that can be accessed directly from C.
3419 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
3421 # Transform the above into a raw symbol and a C symbol.
3422 symxfrm='\1 \2\3 \3'
3424 # Transform an extracted symbol line into a proper C declaration
3425 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
3427 # Transform an extracted symbol line into symbol name and symbol address
3428 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3430 # Define system-specific variables.
3435 cygwin* | mingw* | pw32*)
3436 symcode='[ABCDGISTW]'
3438 hpux*) # Its linker distinguishes data from code symbols
3439 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
3440 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
3443 symcode='[BCDEGRST]'
3453 # Handle CRLF in mingw tool chain
3457 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
3461 # If we're using GNU nm, then use its standard symbol codes.
3462 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
3463 symcode='[ABCDGISTW]'
3466 # Try without a prefix undercore, then with it.
3467 for ac_symprfx in "" "_"; do
3469 # Write the raw and C identifiers.
3470 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
3472 # Check to see that the pipe works correctly.
3475 cat > conftest.$ac_ext <<EOF
3480 void nm_test_func(){}
3484 int main(){nm_test_var='a';nm_test_func();return(0);}
3487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3488 (eval $ac_compile) 2>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; then
3492 # Now try to grab the symbols.
3494 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
3495 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); } && test -s "$nlist"; then
3499 # Try sorting and uniquifying the output.
3500 if sort "$nlist" | uniq > "$nlist"T; then
3501 mv -f "$nlist"T "$nlist"
3506 # Make sure that we snagged all the symbols we need.
3507 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
3508 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
3509 cat <<EOF > conftest.$ac_ext
3515 # Now generate the symbol file.
3516 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
3518 cat <<EOF >> conftest.$ac_ext
3519 #if defined (__STDC__) && __STDC__
3520 # define lt_ptr void *
3522 # define lt_ptr char *
3526 /* The mapping between symbol names and symbols. */
3531 lt_preloaded_symbols[] =
3534 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
3535 cat <<\EOF >> conftest.$ac_ext
3543 # Now try linking the two files.
3544 mv conftest.$ac_objext conftstm.$ac_objext
3546 save_CFLAGS="$CFLAGS"
3547 LIBS="conftstm.$ac_objext"
3548 CFLAGS="$CFLAGS$no_builtin_flag"
3549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3550 (eval $ac_link) 2>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && test -s conftest; then
3557 CFLAGS="$save_CFLAGS"
3559 echo "cannot find nm_test_func in $nlist" >&5
3562 echo "cannot find nm_test_var in $nlist" >&5
3565 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
3568 echo "$progname: failed program was:" >&5
3569 cat conftest.$ac_ext >&5
3571 rm -f conftest* conftst*
3573 # Do not use the global_symbol_pipe unless it works.
3574 if test "$pipe_works" = yes; then
3577 lt_cv_sys_global_symbol_pipe=
3583 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
3584 if test -z "$lt_cv_sys_global_symbol_pipe"; then
3585 global_symbol_to_cdecl=
3586 global_symbol_to_c_name_address=
3588 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
3589 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
3591 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
3593 echo "$as_me:$LINENO: result: failed" >&5
3594 echo "${ECHO_T}failed" >&6
3596 echo "$as_me:$LINENO: result: ok" >&5
3597 echo "${ECHO_T}ok" >&6
3601 ac_cpp='$CPP $CPPFLAGS'
3602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3606 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3607 # On Suns, sometimes $CPP names a directory.
3608 if test -n "$CPP" && test -d "$CPP"; then
3611 if test -z "$CPP"; then
3612 if test "${ac_cv_prog_CPP+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 # Double quotes because CPP needs to be expanded
3616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3619 for ac_c_preproc_warn_flag in '' yes
3621 # Use a header file that comes with gcc, so configuring glibc
3622 # with a fresh cross-compiler works.
3623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3624 # <limits.h> exists even on freestanding compilers.
3625 # On the NeXT, cc -E runs the code through the compiler's parser,
3626 # not just through cpp. "Syntax error" is here to catch this case.
3627 cat >conftest.$ac_ext <<_ACEOF
3628 #line $LINENO "configure"
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3635 # include <limits.h>
3637 # include <assert.h>
3641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3644 grep -v '^ *+' conftest.er1 >conftest.err
3646 cat conftest.err >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); } >/dev/null; then
3649 if test -s conftest.err; then
3650 ac_cpp_err=$ac_c_preproc_warn_flag
3657 if test -z "$ac_cpp_err"; then
3660 echo "$as_me: failed program was:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3663 # Broken: fails on valid input.
3666 rm -f conftest.err conftest.$ac_ext
3668 # OK, works on sane cases. Now check whether non-existent headers
3669 # can be detected and how.
3670 cat >conftest.$ac_ext <<_ACEOF
3671 #line $LINENO "configure"
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3677 #include <ac_nonexistent.h>
3679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1 >conftest.err
3684 cat conftest.err >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } >/dev/null; then
3687 if test -s conftest.err; then
3688 ac_cpp_err=$ac_c_preproc_warn_flag
3695 if test -z "$ac_cpp_err"; then
3696 # Broken: success on invalid input.
3699 echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3702 # Passes both tests.
3706 rm -f conftest.err conftest.$ac_ext
3709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3710 rm -f conftest.err conftest.$ac_ext
3711 if $ac_preproc_ok; then
3723 echo "$as_me:$LINENO: result: $CPP" >&5
3724 echo "${ECHO_T}$CPP" >&6
3726 for ac_c_preproc_warn_flag in '' yes
3728 # Use a header file that comes with gcc, so configuring glibc
3729 # with a fresh cross-compiler works.
3730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3731 # <limits.h> exists even on freestanding compilers.
3732 # On the NeXT, cc -E runs the code through the compiler's parser,
3733 # not just through cpp. "Syntax error" is here to catch this case.
3734 cat >conftest.$ac_ext <<_ACEOF
3735 #line $LINENO "configure"
3738 cat confdefs.h >>conftest.$ac_ext
3739 cat >>conftest.$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3742 # include <limits.h>
3744 # include <assert.h>
3748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3751 grep -v '^ *+' conftest.er1 >conftest.err
3753 cat conftest.err >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); } >/dev/null; then
3756 if test -s conftest.err; then
3757 ac_cpp_err=$ac_c_preproc_warn_flag
3764 if test -z "$ac_cpp_err"; then
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.$ac_ext >&5
3770 # Broken: fails on valid input.
3773 rm -f conftest.err conftest.$ac_ext
3775 # OK, works on sane cases. Now check whether non-existent headers
3776 # can be detected and how.
3777 cat >conftest.$ac_ext <<_ACEOF
3778 #line $LINENO "configure"
3781 cat confdefs.h >>conftest.$ac_ext
3782 cat >>conftest.$ac_ext <<_ACEOF
3783 /* end confdefs.h. */
3784 #include <ac_nonexistent.h>
3786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3789 grep -v '^ *+' conftest.er1 >conftest.err
3791 cat conftest.err >&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } >/dev/null; then
3794 if test -s conftest.err; then
3795 ac_cpp_err=$ac_c_preproc_warn_flag
3802 if test -z "$ac_cpp_err"; then
3803 # Broken: success on invalid input.
3806 echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.$ac_ext >&5
3809 # Passes both tests.
3813 rm -f conftest.err conftest.$ac_ext
3816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3817 rm -f conftest.err conftest.$ac_ext
3818 if $ac_preproc_ok; then
3821 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3822 See \`config.log' for more details." >&5
3823 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3824 See \`config.log' for more details." >&2;}
3825 { (exit 1); exit 1; }; }
3829 ac_cpp='$CPP $CPPFLAGS'
3830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 echo "$as_me:$LINENO: checking for egrep" >&5
3836 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3837 if test "${ac_cv_prog_egrep+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3841 then ac_cv_prog_egrep='grep -E'
3842 else ac_cv_prog_egrep='egrep'
3845 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3846 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3847 EGREP=$ac_cv_prog_egrep
3850 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3851 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3852 if test "${ac_cv_header_stdc+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 cat >conftest.$ac_ext <<_ACEOF
3856 #line $LINENO "configure"
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h. */
3875 rm -f conftest.$ac_objext
3876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3877 (eval $ac_compile) 2>&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } &&
3881 { ac_try='test -s conftest.$ac_objext'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then
3887 ac_cv_header_stdc=yes
3889 echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3892 ac_cv_header_stdc=no
3894 rm -f conftest.$ac_objext conftest.$ac_ext
3896 if test $ac_cv_header_stdc = yes; then
3897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3898 cat >conftest.$ac_ext <<_ACEOF
3899 #line $LINENO "configure"
3902 cat confdefs.h >>conftest.$ac_ext
3903 cat >>conftest.$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3909 $EGREP "memchr" >/dev/null 2>&1; then
3912 ac_cv_header_stdc=no
3918 if test $ac_cv_header_stdc = yes; then
3919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3920 cat >conftest.$ac_ext <<_ACEOF
3921 #line $LINENO "configure"
3924 cat confdefs.h >>conftest.$ac_ext
3925 cat >>conftest.$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3931 $EGREP "free" >/dev/null 2>&1; then
3934 ac_cv_header_stdc=no
3940 if test $ac_cv_header_stdc = yes; then
3941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3942 if test "$cross_compiling" = yes; then
3945 cat >conftest.$ac_ext <<_ACEOF
3946 #line $LINENO "configure"
3949 cat confdefs.h >>conftest.$ac_ext
3950 cat >>conftest.$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3953 #if ((' ' & 0x0FF) == 0x020)
3954 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3955 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3957 # define ISLOWER(c) \
3958 (('a' <= (c) && (c) <= 'i') \
3959 || ('j' <= (c) && (c) <= 'r') \
3960 || ('s' <= (c) && (c) <= 'z'))
3961 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3964 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3969 for (i = 0; i < 256; i++)
3970 if (XOR (islower (i), ISLOWER (i))
3971 || toupper (i) != TOUPPER (i))
3976 rm -f conftest$ac_exeext
3977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3978 (eval $ac_link) 2>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3989 echo "$as_me: program exited with status $ac_status" >&5
3990 echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3994 ac_cv_header_stdc=no
3996 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4000 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4001 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4002 if test $ac_cv_header_stdc = yes; then
4004 cat >>confdefs.h <<\_ACEOF
4005 #define STDC_HEADERS 1
4010 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4020 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4021 inttypes.h stdint.h unistd.h
4023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4024 echo "$as_me:$LINENO: checking for $ac_header" >&5
4025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 cat >conftest.$ac_ext <<_ACEOF
4030 #line $LINENO "configure"
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h. */
4036 $ac_includes_default
4038 #include <$ac_header>
4040 rm -f conftest.$ac_objext
4041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4042 (eval $ac_compile) 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } &&
4046 { ac_try='test -s conftest.$ac_objext'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; }; then
4052 eval "$as_ac_Header=yes"
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 eval "$as_ac_Header=no"
4059 rm -f conftest.$ac_objext conftest.$ac_ext
4061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4064 cat >>confdefs.h <<_ACEOF
4065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4074 for ac_header in dlfcn.h
4076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4078 echo "$as_me:$LINENO: checking for $ac_header" >&5
4079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4086 # Is the header compilable?
4087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4089 cat >conftest.$ac_ext <<_ACEOF
4090 #line $LINENO "configure"
4093 cat confdefs.h >>conftest.$ac_ext
4094 cat >>conftest.$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 $ac_includes_default
4097 #include <$ac_header>
4099 rm -f conftest.$ac_objext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } &&
4105 { ac_try='test -s conftest.$ac_objext'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; }; then
4111 ac_header_compiler=yes
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 ac_header_compiler=no
4118 rm -f conftest.$ac_objext conftest.$ac_ext
4119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4120 echo "${ECHO_T}$ac_header_compiler" >&6
4122 # Is the header present?
4123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4125 cat >conftest.$ac_ext <<_ACEOF
4126 #line $LINENO "configure"
4129 cat confdefs.h >>conftest.$ac_ext
4130 cat >>conftest.$ac_ext <<_ACEOF
4131 /* end confdefs.h. */
4132 #include <$ac_header>
4134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } >/dev/null; then
4142 if test -s conftest.err; then
4143 ac_cpp_err=$ac_c_preproc_warn_flag
4150 if test -z "$ac_cpp_err"; then
4151 ac_header_preproc=yes
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.$ac_ext >&5
4156 ac_header_preproc=no
4158 rm -f conftest.err conftest.$ac_ext
4159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4160 echo "${ECHO_T}$ac_header_preproc" >&6
4162 # So? What about this header?
4163 case $ac_header_compiler:$ac_header_preproc in
4165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4171 ## ------------------------------------ ##
4172 ## Report this to bug-autoconf@gnu.org. ##
4173 ## ------------------------------------ ##
4176 sed "s/^/$as_me: WARNING: /" >&2
4179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4187 ## ------------------------------------ ##
4188 ## Report this to bug-autoconf@gnu.org. ##
4189 ## ------------------------------------ ##
4192 sed "s/^/$as_me: WARNING: /" >&2
4195 echo "$as_me:$LINENO: checking for $ac_header" >&5
4196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 eval "$as_ac_Header=$ac_header_preproc"
4202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4207 cat >>confdefs.h <<_ACEOF
4208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4219 # Only perform the check for file, if the check method requires it
4220 case $deplibs_check_method in
4222 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4223 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4224 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4225 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4233 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4236 ac_save_MAGIC_CMD="$MAGIC_CMD"
4237 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4238 ac_dummy="/usr/bin:$PATH"
4239 for ac_dir in $ac_dummy; do
4240 test -z "$ac_dir" && ac_dir=.
4241 if test -f $ac_dir/${ac_tool_prefix}file; then
4242 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4243 if test -n "$file_magic_test_file"; then
4244 case $deplibs_check_method in
4246 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4247 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4248 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4249 egrep "$file_magic_regex" > /dev/null; then
4254 *** Warning: the command libtool uses to detect shared libraries,
4255 *** $file_magic_cmd, produces output that libtool cannot recognize.
4256 *** The result is that libtool may fail to recognize shared libraries
4257 *** as such. This will affect the creation of libtool libraries that
4258 *** depend on shared libraries, but programs linked with such libtool
4259 *** libraries will work regardless of this problem. Nevertheless, you
4260 *** may want to report the problem to your system manager and/or to
4261 *** bug-libtool@gnu.org
4271 MAGIC_CMD="$ac_save_MAGIC_CMD"
4276 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4277 if test -n "$MAGIC_CMD"; then
4278 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4279 echo "${ECHO_T}$MAGIC_CMD" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4285 if test -z "$lt_cv_path_MAGIC_CMD"; then
4286 if test -n "$ac_tool_prefix"; then
4287 echo "$as_me:$LINENO: checking for file" >&5
4288 echo $ECHO_N "checking for file... $ECHO_C" >&6
4289 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4297 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4300 ac_save_MAGIC_CMD="$MAGIC_CMD"
4301 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4302 ac_dummy="/usr/bin:$PATH"
4303 for ac_dir in $ac_dummy; do
4304 test -z "$ac_dir" && ac_dir=.
4305 if test -f $ac_dir/file; then
4306 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4307 if test -n "$file_magic_test_file"; then
4308 case $deplibs_check_method in
4310 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4312 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4313 egrep "$file_magic_regex" > /dev/null; then
4318 *** Warning: the command libtool uses to detect shared libraries,
4319 *** $file_magic_cmd, produces output that libtool cannot recognize.
4320 *** The result is that libtool may fail to recognize shared libraries
4321 *** as such. This will affect the creation of libtool libraries that
4322 *** depend on shared libraries, but programs linked with such libtool
4323 *** libraries will work regardless of this problem. Nevertheless, you
4324 *** may want to report the problem to your system manager and/or to
4325 *** bug-libtool@gnu.org
4335 MAGIC_CMD="$ac_save_MAGIC_CMD"
4340 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4341 if test -n "$MAGIC_CMD"; then
4342 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4343 echo "${ECHO_T}$MAGIC_CMD" >&6
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4358 if test -n "$ac_tool_prefix"; then
4359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4361 echo "$as_me:$LINENO: checking for $ac_word" >&5
4362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4363 if test "${ac_cv_prog_RANLIB+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 if test -n "$RANLIB"; then
4367 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 test -z "$as_dir" && as_dir=.
4374 for ac_exec_ext in '' $ac_executable_extensions; do
4375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4376 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 RANLIB=$ac_cv_prog_RANLIB
4386 if test -n "$RANLIB"; then
4387 echo "$as_me:$LINENO: result: $RANLIB" >&5
4388 echo "${ECHO_T}$RANLIB" >&6
4390 echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6
4395 if test -z "$ac_cv_prog_RANLIB"; then
4396 ac_ct_RANLIB=$RANLIB
4397 # Extract the first word of "ranlib", so it can be a program name with args.
4398 set dummy ranlib; ac_word=$2
4399 echo "$as_me:$LINENO: checking for $ac_word" >&5
4400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if test -n "$ac_ct_RANLIB"; then
4405 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir=.
4412 for ac_exec_ext in '' $ac_executable_extensions; do
4413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4414 ac_cv_prog_ac_ct_RANLIB="ranlib"
4415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4424 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4425 if test -n "$ac_ct_RANLIB"; then
4426 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4427 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4433 RANLIB=$ac_ct_RANLIB
4435 RANLIB="$ac_cv_prog_RANLIB"
4438 if test -n "$ac_tool_prefix"; then
4439 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4440 set dummy ${ac_tool_prefix}strip; ac_word=$2
4441 echo "$as_me:$LINENO: checking for $ac_word" >&5
4442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4443 if test "${ac_cv_prog_STRIP+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 if test -n "$STRIP"; then
4447 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4456 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 STRIP=$ac_cv_prog_STRIP
4466 if test -n "$STRIP"; then
4467 echo "$as_me:$LINENO: result: $STRIP" >&5
4468 echo "${ECHO_T}$STRIP" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4475 if test -z "$ac_cv_prog_STRIP"; then
4477 # Extract the first word of "strip", so it can be a program name with args.
4478 set dummy strip; ac_word=$2
4479 echo "$as_me:$LINENO: checking for $ac_word" >&5
4480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 if test -n "$ac_ct_STRIP"; then
4485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4494 ac_cv_prog_ac_ct_STRIP="strip"
4495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4505 if test -n "$ac_ct_STRIP"; then
4506 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4507 echo "${ECHO_T}$ac_ct_STRIP" >&6
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4515 STRIP="$ac_cv_prog_STRIP"
4522 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4523 if test "${enable_libtool_lock+set}" = set; then
4524 enableval="$enable_libtool_lock"
4527 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4529 # Some flags need to be propagated to the compiler or linker for good
4533 # Find out which ABI we are using.
4534 echo '#line 4534 "configure"' > conftest.$ac_ext
4535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4536 (eval $ac_compile) 2>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); }; then
4540 case `/usr/bin/file conftest.$ac_objext` in
4556 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4557 SAVE_CFLAGS="$CFLAGS"
4558 CFLAGS="$CFLAGS -belf"
4559 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4560 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4561 if test "${lt_cv_cc_needs_belf+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 ac_cpp='$CPP $CPPFLAGS'
4568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4572 cat >conftest.$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4588 rm -f conftest.$ac_objext conftest$ac_exeext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4590 (eval $ac_link) 2>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } &&
4594 { ac_try='test -s conftest$ac_exeext'
4595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); }; }; then
4600 lt_cv_cc_needs_belf=yes
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 lt_cv_cc_needs_belf=no
4607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4615 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4616 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4617 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4618 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4619 CFLAGS="$SAVE_CFLAGS"
4626 # Sed substitution that helps us do robust quoting. It backslashifies
4627 # metacharacters that are still active within double-quoted strings.
4628 Xsed='sed -e s/^X//'
4629 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
4631 # Same as above, but do not quote variable references.
4632 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
4634 # Sed substitution to delay expansion of an escaped shell variable in a
4635 # double_quote_subst'ed string.
4636 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4642 default_ofile=libtool
4643 can_build_shared=yes
4645 # All known linkers require a `.a' archive for static linking (except M$VC,
4646 # which needs '.lib').
4648 ltmain="$ac_aux_dir/ltmain.sh"
4649 ofile="$default_ofile"
4650 with_gnu_ld="$lt_cv_prog_gnu_ld"
4651 need_locks="$enable_libtool_lock"
4654 old_CFLAGS="$CFLAGS"
4656 # Set sane defaults for various variables
4657 test -z "$AR" && AR=ar
4658 test -z "$AR_FLAGS" && AR_FLAGS=cru
4659 test -z "$AS" && AS=as
4660 test -z "$CC" && CC=cc
4661 test -z "$DLLTOOL" && DLLTOOL=dlltool
4662 test -z "$LD" && LD=ld
4663 test -z "$LN_S" && LN_S="ln -s"
4664 test -z "$MAGIC_CMD" && MAGIC_CMD=file
4665 test -z "$NM" && NM=nm
4666 test -z "$OBJDUMP" && OBJDUMP=objdump
4667 test -z "$RANLIB" && RANLIB=:
4668 test -z "$STRIP" && STRIP=:
4669 test -z "$ac_objext" && ac_objext=o
4671 if test x"$host" != x"$build"; then
4672 ac_tool_prefix=${host_alias}-
4677 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
4680 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
4685 # AIX sometimes has problems with the GCC collect2 program. For some
4686 # reason, if we set the COLLECT_NAMES environment variable, the problems
4687 # vanish in a puff of smoke.
4688 if test "X${COLLECT_NAMES+set}" != Xset; then
4690 export COLLECT_NAMES
4695 # Determine commands to create old-style static archives.
4696 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4697 old_postinstall_cmds='chmod 644 $oldlib'
4698 old_postuninstall_cmds=
4700 if test -n "$RANLIB"; then
4703 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
4706 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
4709 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4712 # Allow CC to be a program name with arguments.
4716 echo "$as_me:$LINENO: checking for objdir" >&5
4717 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
4718 rm -f .libs 2>/dev/null
4719 mkdir .libs 2>/dev/null
4720 if test -d .libs; then
4723 # MS-DOS does not allow filenames that begin with a dot.
4726 rmdir .libs 2>/dev/null
4727 echo "$as_me:$LINENO: result: $objdir" >&5
4728 echo "${ECHO_T}$objdir" >&6
4732 # Check whether --with-pic or --without-pic was given.
4733 if test "${with_pic+set}" = set; then
4739 test -z "$pic_mode" && pic_mode=default
4741 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
4742 # in isolation, and that seeing it set (from the cache) indicates that
4743 # the associated values are set (in the cache) correctly too.
4744 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
4745 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
4746 if test "${lt_cv_prog_cc_pic+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 lt_cv_prog_cc_shlib=
4752 lt_cv_prog_cc_static=
4753 lt_cv_prog_cc_no_builtin=
4754 lt_cv_prog_cc_can_build_shared=$can_build_shared
4756 if test "$GCC" = yes; then
4757 lt_cv_prog_cc_wl='-Wl,'
4758 lt_cv_prog_cc_static='-static'
4762 # Below there is a dirty hack to force normal static linking with -ldl
4763 # The problem is because libdl dynamically linked with both libc and
4764 # libC (AIX C++ library), which obviously doesn't included in libraries
4765 # list by gcc. This cause undefined symbols with -static flags.
4766 # This hack allows C programs to be linked with "-static -ldl", but
4767 # not sure about C++ programs.
4768 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
4771 # FIXME: we need at least 68020 code to build shared libraries, but
4772 # adding the `-m68020' flag to GCC prevents building anything better,
4774 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
4776 beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
4777 # PIC is the default for these OSes.
4779 darwin* | rhapsody*)
4780 # PIC is the default on this platform
4781 # Common symbols not allowed in MH_DYLIB files
4782 lt_cv_prog_cc_pic='-fno-common'
4784 cygwin* | mingw* | pw32* | os2*)
4785 # This hack is so that the source file can tell whether it is being
4786 # built for inclusion in a dll (and should export symbols for example).
4787 lt_cv_prog_cc_pic='-DDLL_EXPORT'
4790 if test -d /usr/nec; then
4791 lt_cv_prog_cc_pic=-Kconform_pic
4795 lt_cv_prog_cc_pic='-fPIC'
4799 # PORTME Check for PIC flags for the system compiler.
4801 aix3* | aix4* | aix5*)
4802 lt_cv_prog_cc_wl='-Wl,'
4803 # All AIX code is PIC.
4804 if test "$host_cpu" = ia64; then
4805 # AIX 5 now supports IA64 processor
4806 lt_cv_prog_cc_static='-Bstatic'
4808 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
4812 hpux9* | hpux10* | hpux11*)
4813 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
4814 lt_cv_prog_cc_wl='-Wl,'
4815 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
4816 lt_cv_prog_cc_pic='+Z'
4820 lt_cv_prog_cc_wl='-Wl,'
4821 lt_cv_prog_cc_static='-non_shared'
4822 # PIC (with -KPIC) is the default.
4825 cygwin* | mingw* | pw32* | os2*)
4826 # This hack is so that the source file can tell whether it is being
4827 # built for inclusion in a dll (and should export symbols for example).
4828 lt_cv_prog_cc_pic='-DDLL_EXPORT'
4832 lt_cv_prog_cc_pic='-KPIC'
4833 lt_cv_prog_cc_static='-Bstatic'
4836 osf3* | osf4* | osf5*)
4837 # All OSF/1 code is PIC.
4838 lt_cv_prog_cc_wl='-Wl,'
4839 lt_cv_prog_cc_static='-non_shared'
4843 lt_cv_prog_cc_pic='-Kpic'
4844 lt_cv_prog_cc_static='-dn'
4845 lt_cv_prog_cc_shlib='-belf'
4849 lt_cv_prog_cc_pic='-KPIC'
4850 lt_cv_prog_cc_static='-Bstatic'
4851 lt_cv_prog_cc_wl='-Wl,'
4855 lt_cv_prog_cc_pic='-PIC'
4856 lt_cv_prog_cc_static='-Bstatic'
4857 lt_cv_prog_cc_wl='-Qoption ld '
4860 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4861 lt_cv_prog_cc_pic='-KPIC'
4862 lt_cv_prog_cc_static='-Bstatic'
4863 if test "x$host_vendor" = xsni; then
4864 lt_cv_prog_cc_wl='-LD'
4866 lt_cv_prog_cc_wl='-Wl,'
4871 lt_cv_prog_cc_pic='-pic'
4872 lt_cv_prog_cc_static='-Bstatic'
4876 if test -d /usr/nec ;then
4877 lt_cv_prog_cc_pic='-Kconform_pic'
4878 lt_cv_prog_cc_static='-Bstatic'
4883 lt_cv_prog_cc_can_build_shared=no
4890 if test -z "$lt_cv_prog_cc_pic"; then
4891 echo "$as_me:$LINENO: result: none" >&5
4892 echo "${ECHO_T}none" >&6
4894 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
4895 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
4897 # Check to make sure the pic_flag actually works.
4898 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
4899 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
4900 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4903 save_CFLAGS="$CFLAGS"
4904 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
4905 cat >conftest.$ac_ext <<_ACEOF
4906 #line $LINENO "configure"
4909 cat confdefs.h >>conftest.$ac_ext
4910 cat >>conftest.$ac_ext <<_ACEOF
4911 /* end confdefs.h. */
4921 rm -f conftest.$ac_objext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try='test -s conftest.$ac_objext'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4934 hpux9* | hpux10* | hpux11*)
4935 # On HP-UX, both CC and GCC only warn that PIC is supported... then
4936 # they create non-PIC objects. So, if there were any warnings, we
4937 # assume that PIC is not supported.
4938 if test -s conftest.err; then
4939 lt_cv_prog_cc_pic_works=no
4941 lt_cv_prog_cc_pic_works=yes
4945 lt_cv_prog_cc_pic_works=yes
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.$ac_ext >&5
4953 lt_cv_prog_cc_pic_works=no
4956 rm -f conftest.$ac_objext conftest.$ac_ext
4957 CFLAGS="$save_CFLAGS"
4962 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
4964 lt_cv_prog_cc_can_build_shared=no
4966 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
4969 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
4970 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
4973 # Check for any special shared library compilation flags.
4974 if test -n "$lt_cv_prog_cc_shlib"; then
4975 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
4976 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
4977 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
4979 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
4980 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
4981 lt_cv_prog_cc_can_build_shared=no
4985 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
4986 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
4987 if test "${lt_cv_prog_cc_static_works+set}" = set; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4990 lt_cv_prog_cc_static_works=no
4991 save_LDFLAGS="$LDFLAGS"
4992 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
4993 cat >conftest.$ac_ext <<_ACEOF
4994 #line $LINENO "configure"
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5009 rm -f conftest.$ac_objext conftest$ac_exeext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5011 (eval $ac_link) 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } &&
5015 { ac_try='test -s conftest$ac_exeext'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; }; then
5021 lt_cv_prog_cc_static_works=yes
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.$ac_ext >&5
5027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5028 LDFLAGS="$save_LDFLAGS"
5033 # Belt *and* braces to stop my trousers falling down:
5034 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5035 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5036 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5038 pic_flag="$lt_cv_prog_cc_pic"
5039 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5040 wl="$lt_cv_prog_cc_wl"
5041 link_static_flag="$lt_cv_prog_cc_static"
5042 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5043 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5046 # Check to see if options -o and -c are simultaneously supported by compiler
5047 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5048 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5049 if test "${lt_cv_compiler_c_o+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 $rm -r conftest 2>/dev/null
5056 echo "int some_variable = 0;" > conftest.$ac_ext
5058 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5059 # that will create temporary files in the current directory regardless of
5060 # the output directory. Thus, making CWD read-only will cause this test
5061 # to fail, enabling locking or at least warning the user not to do parallel
5064 save_CFLAGS="$CFLAGS"
5065 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5067 if { (eval echo configure:5067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5068 # The compiler can only warn and ignore the option if not recognized
5069 # So say no if there are warnings
5070 if test -s out/conftest.err; then
5071 lt_cv_compiler_c_o=no
5073 lt_cv_compiler_c_o=yes
5076 # Append any errors to the config.log.
5077 cat out/conftest.err 1>&5
5078 lt_cv_compiler_c_o=no
5080 CFLAGS="$save_CFLAGS"
5086 $rm -r conftest 2>/dev/null
5090 compiler_c_o=$lt_cv_compiler_c_o
5091 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5092 echo "${ECHO_T}$compiler_c_o" >&6
5094 if test x"$compiler_c_o" = x"yes"; then
5095 # Check to see if we can write to a .lo
5096 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5097 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5098 if test "${lt_cv_compiler_o_lo+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 lt_cv_compiler_o_lo=no
5103 save_CFLAGS="$CFLAGS"
5104 CFLAGS="$CFLAGS -c -o conftest.lo"
5105 save_objext="$ac_objext"
5107 cat >conftest.$ac_ext <<_ACEOF
5108 #line $LINENO "configure"
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5118 int some_variable = 0;
5123 rm -f conftest.$ac_objext
5124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5125 (eval $ac_compile) 2>&5
5127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128 (exit $ac_status); } &&
5129 { ac_try='test -s conftest.$ac_objext'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; }; then
5135 # The compiler can only warn and ignore the option if not recognized
5136 # So say no if there are warnings
5137 if test -s conftest.err; then
5138 lt_cv_compiler_o_lo=no
5140 lt_cv_compiler_o_lo=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5148 rm -f conftest.$ac_objext conftest.$ac_ext
5149 ac_objext="$save_objext"
5150 CFLAGS="$save_CFLAGS"
5154 compiler_o_lo=$lt_cv_compiler_o_lo
5155 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5156 echo "${ECHO_T}$compiler_o_lo" >&6
5161 # Check to see if we can do hard links to lock some files if needed
5162 hard_links="nottested"
5163 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5164 # do not overwrite the value of need_locks provided by the user
5165 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5166 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5169 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5171 ln conftest.a conftest.b 2>&5 || hard_links=no
5172 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5173 echo "$as_me:$LINENO: result: $hard_links" >&5
5174 echo "${ECHO_T}$hard_links" >&6
5175 if test "$hard_links" = no; then
5176 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5177 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5184 if test "$GCC" = yes; then
5185 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5186 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5187 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5188 echo "int some_variable = 0;" > conftest.$ac_ext
5189 save_CFLAGS="$CFLAGS"
5190 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5191 compiler_rtti_exceptions=no
5192 cat >conftest.$ac_ext <<_ACEOF
5193 #line $LINENO "configure"
5196 cat confdefs.h >>conftest.$ac_ext
5197 cat >>conftest.$ac_ext <<_ACEOF
5198 /* end confdefs.h. */
5203 int some_variable = 0;
5208 rm -f conftest.$ac_objext
5209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5210 (eval $ac_compile) 2>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } &&
5214 { ac_try='test -s conftest.$ac_objext'
5215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); }; }; then
5220 # The compiler can only warn and ignore the option if not recognized
5221 # So say no if there are warnings
5222 if test -s conftest.err; then
5223 compiler_rtti_exceptions=no
5225 compiler_rtti_exceptions=yes
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.$ac_ext >&5
5233 rm -f conftest.$ac_objext conftest.$ac_ext
5234 CFLAGS="$save_CFLAGS"
5235 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
5236 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5238 if test "$compiler_rtti_exceptions" = "yes"; then
5239 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5241 no_builtin_flag=' -fno-builtin'
5245 # See if the linker supports building shared libraries.
5246 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
5247 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5249 allow_undefined_flag=
5251 need_lib_prefix=unknown
5252 need_version=unknown
5253 # when you set need_version to no, make sure it does not cause -set_version
5254 # flags to be left without arguments
5256 archive_expsym_cmds=
5257 old_archive_from_new_cmds=
5258 old_archive_from_expsyms_cmds=
5259 export_dynamic_flag_spec=
5260 whole_archive_flag_spec=
5261 thread_safe_flag_spec=
5262 hardcode_into_libs=no
5263 hardcode_libdir_flag_spec=
5264 hardcode_libdir_separator=
5267 hardcode_shlibpath_var=unsupported
5269 link_all_deplibs=unknown
5270 always_export_symbols=no
5271 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5272 # include_expsyms should be a list of space-separated symbols to be *always*
5273 # included in the symbol list
5275 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5276 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5277 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5278 # as well as any symbol that contains `d'.
5279 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5280 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5281 # platforms (ab)use it in PIC code, but their linkers get confused if
5282 # the symbol is explicitly referenced. Since portable code cannot
5283 # rely on this symbol name, it's probably fine to never include it in
5284 # preloaded symbol tables.
5285 extract_expsyms_cmds=
5288 cygwin* | mingw* | pw32*)
5289 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5290 # When not using gcc, we currently assume that we are using
5291 # Microsoft Visual C++.
5292 if test "$GCC" != yes; then
5302 if test "$with_gnu_ld" = yes; then
5303 # If archive_cmds runs LD, not CC, wlarc should be empty
5306 # See if GNU ld supports shared libraries.
5308 aix3* | aix4* | aix5*)
5309 # On AIX, the GNU linker is very broken
5310 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
5314 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5315 *** to be unable to reliably create shared libraries on AIX.
5316 *** Therefore, libtool is disabling shared libraries support. If you
5317 *** really care for shared libraries, you may want to modify your PATH
5318 *** so that a non-GNU linker is found, and then restart.
5324 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5325 hardcode_libdir_flag_spec='-L$libdir'
5326 hardcode_minus_L=yes
5328 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5329 # that the semantics of dynamic libraries on AmigaOS, at least up
5330 # to version 4, is to share data among multiple programs linked
5331 # with the same dynamic library. Since this doesn't match the
5332 # behavior of shared libraries on other platforms, we can use
5338 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5339 allow_undefined_flag=unsupported
5340 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5341 # support --undefined. This deserves some investigation. FIXME
5342 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5348 cygwin* | mingw* | pw32*)
5349 # hardcode_libdir_flag_spec is actually meaningless, as there is
5350 # no search path for DLLs.
5351 hardcode_libdir_flag_spec='-L$libdir'
5352 allow_undefined_flag=unsupported
5353 always_export_symbols=yes
5355 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
5356 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
5357 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
5358 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
5359 else $CC -o impgen impgen.c ; fi)~
5360 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
5362 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
5364 # cygwin and mingw dlls have different entry points and sets of symbols
5366 # FIXME: what about values for MSVC?
5367 dll_entry=__cygwin_dll_entry@12
5368 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
5372 dll_entry=_DllMainCRTStartup@12
5373 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
5377 # mingw and cygwin differ, and it's simplest to just exclude the union
5378 # of the two symbol sets.
5379 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
5381 # recent cygwin and mingw systems supply a stub DllMain which the user
5382 # can override, but on older systems we have to supply one (in ltdll.c)
5383 if test "x$lt_cv_need_dllmain" = "xyes"; then
5384 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
5385 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
5386 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
5392 # Extract the symbol export list from an `--export-all' def file,
5393 # then regenerate the def file from the symbol export list, so that
5394 # the compiled dll only exports the symbol export list.
5395 # Be careful not to strip the DATA tag left be newer dlltools.
5396 export_symbols_cmds="$ltdll_cmds"'
5397 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
5398 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
5400 # If the export-symbols file already is a .def file (1st line
5401 # is EXPORTS), use it as is.
5402 # If DATA tags from a recent dlltool are present, honour them!
5403 archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
5404 cp $export_symbols $output_objdir/$soname-def;
5406 echo EXPORTS > $output_objdir/$soname-def;
5408 cat $export_symbols | while read symbol; do
5411 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
5412 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
5414 _lt_hint=`expr 1 + \$_lt_hint`;
5418 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5419 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
5420 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5421 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
5422 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
5426 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5430 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5431 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5436 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
5440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5441 *** create shared libraries on Solaris systems. Therefore, libtool
5442 *** is disabling shared libraries support. We urge you to upgrade GNU
5443 *** binutils to release 2.9.1 or newer. Another option is to modify
5444 *** your PATH or compiler configuration so that the native linker is
5445 *** used, and then restart.
5448 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5457 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5460 hardcode_shlibpath_var=no
5464 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5465 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5466 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5473 if test "$ld_shlibs" = yes; then
5474 runpath_var=LD_RUN_PATH
5475 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
5476 export_dynamic_flag_spec='${wl}--export-dynamic'
5478 cygwin* | mingw* | pw32*)
5479 # dlltool doesn't understand --whole-archive et. al.
5480 whole_archive_flag_spec=
5483 # ancient GNU ld didn't support --whole-archive et. al.
5484 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
5485 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
5487 whole_archive_flag_spec=
5493 # PORTME fill in a description of your system's linker (not GNU ld)
5496 allow_undefined_flag=unsupported
5497 always_export_symbols=yes
5498 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
5499 # Note: this linker hardcodes the directories in LIBPATH if there
5500 # are no directories specified by -L.
5501 hardcode_minus_L=yes
5502 if test "$GCC" = yes && test -z "$link_static_flag"; then
5503 # Neither direct hardcoding nor static linking is supported with a
5505 hardcode_direct=unsupported
5510 if test "$host_cpu" = ia64; then
5511 # On IA64, the linker does run time linking by default, so we don't
5512 # have to do anything special.
5513 aix_use_runtimelinking=no
5514 exp_sym_flag='-Bexport'
5517 aix_use_runtimelinking=no
5519 # Test if we are trying to use run time linking or normal
5520 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
5521 # need to do runtime linking.
5522 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
5523 for ld_flag in $LDFLAGS; do
5524 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
5525 aix_use_runtimelinking=yes
5531 exp_sym_flag='-bexport'
5532 no_entry_flag='-bnoentry'
5535 # When large executables or shared objects are built, AIX ld can
5536 # have problems creating the table of contents. If linking a library
5537 # or program results in "error TOC overflow" add -mminimal-toc to
5538 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
5539 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
5543 hardcode_libdir_separator=':'
5544 if test "$GCC" = yes; then
5545 case $host_os in aix4.[012]|aix4.[012].*)
5546 collect2name=`${CC} -print-prog-name=collect2`
5547 if test -f "$collect2name" && \
5548 strings "$collect2name" | grep resolve_lib_name >/dev/null
5550 # We have reworked collect2
5553 # We have old collect2
5554 hardcode_direct=unsupported
5555 # It fails to find uninstalled libraries when the uninstalled
5556 # path is not listed in the libpath. Setting hardcode_minus_L
5557 # to unsupported forces relinking
5558 hardcode_minus_L=yes
5559 hardcode_libdir_flag_spec='-L$libdir'
5560 hardcode_libdir_separator=
5564 shared_flag='-shared'
5567 if test "$host_cpu" = ia64; then
5568 shared_flag='${wl}-G'
5570 if test "$aix_use_runtimelinking" = yes; then
5571 shared_flag='${wl}-G'
5573 shared_flag='${wl}-bM:SRE'
5578 # It seems that -bexpall can do strange things, so it is better to
5579 # generate a list of symbols to export.
5580 always_export_symbols=yes
5581 if test "$aix_use_runtimelinking" = yes; then
5582 # Warning - without using the other runtime loading flags (-brtl),
5583 # -berok will link without error, but may produce a broken library.
5584 allow_undefined_flag='-berok'
5585 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
5586 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5588 if test "$host_cpu" = ia64; then
5589 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
5590 allow_undefined_flag="-z nodefs"
5591 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
5593 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
5594 # Warning - without using the other run time loading flags,
5595 # -berok will link without error, but may produce a broken library.
5596 allow_undefined_flag='${wl}-berok'
5597 # This is a bit strange, but is similar to how AIX traditionally builds
5598 # it's shared libraries.
5599 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
5605 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5606 hardcode_libdir_flag_spec='-L$libdir'
5607 hardcode_minus_L=yes
5608 # see comment about different semantics on the GNU ld section
5612 cygwin* | mingw* | pw32*)
5613 # When not using gcc, we currently assume that we are using
5614 # Microsoft Visual C++.
5615 # hardcode_libdir_flag_spec is actually meaningless, as there is
5616 # no search path for DLLs.
5617 hardcode_libdir_flag_spec=' '
5618 allow_undefined_flag=unsupported
5619 # Tell ltmain to make .lib files, not .a files.
5621 # FIXME: Setting linknames here is a bad hack.
5622 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
5623 # The linker will automatically build a .lib file if we build a DLL.
5624 old_archive_from_new_cmds='true'
5625 # FIXME: Should let the user specify the lib program.
5626 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
5627 fix_srcfile_path='`cygpath -w "$srcfile"`'
5630 darwin* | rhapsody*)
5632 rhapsody* | darwin1.[012])
5633 allow_undefined_flag='-undefined suppress'
5636 allow_undefined_flag='-flat_namespace -undefined suppress'
5639 # FIXME: Relying on posixy $() will cause problems for
5640 # cross-compilation, but unfortunately the echo tests do not
5641 # yet detect zsh echo's removal of \ escapes.
5642 archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
5643 # We need to add '_' to the symbols in $export_symbols first
5644 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
5646 hardcode_shlibpath_var=no
5647 whole_archive_flag_spec='-all_load $convenience'
5654 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
5655 # support. Future versions do this automatically, but an explicit c++rt0.o
5656 # does not break anything, and helps significantly (at the cost of a little
5659 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
5660 hardcode_libdir_flag_spec='-R$libdir'
5662 hardcode_shlibpath_var=no
5665 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
5667 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5669 hardcode_minus_L=yes
5670 hardcode_shlibpath_var=no
5673 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5675 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
5676 hardcode_libdir_flag_spec='-R$libdir'
5678 hardcode_shlibpath_var=no
5681 hpux9* | hpux10* | hpux11*)
5683 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
5684 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
5686 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
5687 hardcode_libdir_separator=:
5689 hardcode_minus_L=yes # Not in the search PATH, but as the default
5690 # location of the library.
5691 export_dynamic_flag_spec='${wl}-E'
5695 if test "$GCC" = yes; then
5696 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5698 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5700 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5701 hardcode_libdir_separator=:
5702 link_all_deplibs=yes
5706 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5709 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
5711 hardcode_libdir_flag_spec='-R$libdir'
5713 hardcode_shlibpath_var=no
5717 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5719 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5720 hardcode_libdir_separator=:
5721 hardcode_shlibpath_var=no
5726 hardcode_shlibpath_var=no
5727 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5728 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
5729 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
5730 export_dynamic_flag_spec='${wl}-E'
5733 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
5734 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5735 hardcode_libdir_flag_spec='-R$libdir'
5738 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
5739 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
5746 hardcode_libdir_flag_spec='-L$libdir'
5747 hardcode_minus_L=yes
5748 allow_undefined_flag=unsupported
5749 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5750 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5754 if test "$GCC" = yes; then
5755 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
5756 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5758 allow_undefined_flag=' -expect_unresolved \*'
5759 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5761 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5762 hardcode_libdir_separator=:
5765 osf4* | osf5*) # as osf3* with the addition of -msym flag
5766 if test "$GCC" = yes; then
5767 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
5768 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
5771 allow_undefined_flag=' -expect_unresolved \*'
5772 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
5773 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
5774 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
5776 #Both c and cxx compiler support -rpath directly
5777 hardcode_libdir_flag_spec='-rpath $libdir'
5779 hardcode_libdir_separator=:
5783 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5784 hardcode_shlibpath_var=no
5785 runpath_var=LD_RUN_PATH
5786 hardcode_runpath_var=yes
5787 export_dynamic_flag_spec='${wl}-Bexport'
5791 # gcc --version < 3.0 without binutils cannot create self contained
5792 # shared libraries reliably, requiring libgcc.a to resolve some of
5793 # the object symbols generated in some cases. Libraries that use
5794 # assert need libgcc.a to resolve __eprintf, for example. Linking
5795 # a copy of libgcc.a into every shared library to guarantee resolving
5796 # such symbols causes other problems: According to Tim Van Holder
5797 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
5798 # (to the application) exception stack for one thing.
5799 no_undefined_flag=' -z defs'
5800 if test "$GCC" = yes; then
5801 case `$CC --version 2>/dev/null` in
5805 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
5806 *** create self contained shared libraries on Solaris systems, without
5807 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
5808 *** -no-undefined support, which will at least allow you to build shared
5809 *** libraries. However, you may find that when you link such libraries
5810 *** into an application without using GCC, you have to manually add
5811 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
5812 *** upgrade to a newer version of GCC. Another option is to rebuild your
5813 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
5820 # $CC -shared without GNU ld will not create a library from C++
5821 # object files and a static libstdc++, better avoid it by now
5822 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5823 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5824 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5825 hardcode_libdir_flag_spec='-R$libdir'
5826 hardcode_shlibpath_var=no
5828 solaris2.[0-5] | solaris2.[0-5].*) ;;
5829 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
5830 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
5832 link_all_deplibs=yes
5836 if test "x$host_vendor" = xsequent; then
5837 # Use $CC to link under sequent, because it throws in some extra .o
5838 # files that make .init and .fini sections work.
5839 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
5841 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
5843 hardcode_libdir_flag_spec='-L$libdir'
5845 hardcode_minus_L=yes
5846 hardcode_shlibpath_var=no
5850 if test "x$host_vendor" = xsno; then
5851 archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
5852 hardcode_direct=yes # is this really true???
5854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5855 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
5857 runpath_var='LD_RUN_PATH'
5858 hardcode_shlibpath_var=no
5862 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5863 hardcode_shlibpath_var=no
5864 export_dynamic_flag_spec='-Bexport'
5868 no_undefined_flag=' -z text'
5869 # $CC -shared without GNU ld will not create a library from C++
5870 # object files and a static libstdc++, better avoid it by now
5871 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
5872 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
5873 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
5874 hardcode_libdir_flag_spec=
5875 hardcode_shlibpath_var=no
5876 runpath_var='LD_RUN_PATH'
5880 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5881 hardcode_libdir_flag_spec='-L$libdir'
5882 hardcode_shlibpath_var=no
5886 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5887 hardcode_libdir_flag_spec='-L$libdir'
5888 hardcode_shlibpath_var=no
5892 if test -d /usr/nec; then
5893 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
5894 hardcode_shlibpath_var=no
5895 runpath_var=LD_RUN_PATH
5896 hardcode_runpath_var=yes
5902 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
5905 hardcode_shlibpath_var=no
5906 hardcode_runpath_var=yes
5907 runpath_var=LD_RUN_PATH
5910 sysv5uw7* | unixware7*)
5911 no_undefined_flag='${wl}-z ${wl}text'
5912 if test "$GCC" = yes; then
5913 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5915 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5917 runpath_var='LD_RUN_PATH'
5918 hardcode_shlibpath_var=no
5926 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
5927 echo "${ECHO_T}$ld_shlibs" >&6
5928 test "$ld_shlibs" = no && can_build_shared=no
5930 # Check hardcoding attributes.
5931 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
5932 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
5934 if test -n "$hardcode_libdir_flag_spec" || \
5935 test -n "$runpath_var"; then
5937 # We can hardcode non-existant directories.
5938 if test "$hardcode_direct" != no &&
5939 # If the only mechanism to avoid hardcoding is shlibpath_var, we
5940 # have to relink, otherwise we might link with an installed library
5941 # when we should be linking with a yet-to-be-installed one
5942 ## test "$hardcode_shlibpath_var" != no &&
5943 test "$hardcode_minus_L" != no; then
5944 # Linking always hardcodes the temporary library directory.
5945 hardcode_action=relink
5947 # We can link without hardcoding, and we can hardcode nonexisting dirs.
5948 hardcode_action=immediate
5951 # We cannot hardcode anything, or else we can only hardcode existing
5953 hardcode_action=unsupported
5955 echo "$as_me:$LINENO: result: $hardcode_action" >&5
5956 echo "${ECHO_T}$hardcode_action" >&6
5960 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
5961 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
5962 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
5963 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
5964 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5972 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5973 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5975 # PORTME Fill in your ld.so characteristics
5976 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
5977 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
5979 libname_spec='lib$name'
5986 shlibpath_overrides_runpath=unknown
5988 dynamic_linker="$host_os ld.so"
5989 sys_lib_dlsearch_path_spec="/lib /usr/lib"
5990 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
5995 library_names_spec='${libname}${release}.so$versuffix $libname.a'
5996 shlibpath_var=LIBPATH
5998 # AIX has no versioning support, so we append a major version to the name.
5999 soname_spec='${libname}${release}.so$major'
6004 if test "$host_cpu" = ia64; then
6005 # AIX 5 supports IA64
6006 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6007 shlibpath_var=LD_LIBRARY_PATH
6009 # With GCC up to 2.95.x, collect2 would create an import file
6010 # for dependence libraries. The import file would start with
6011 # the line `#! .'. This would cause the generated library to
6012 # depend on `.', always an invalid library. This was fixed in
6013 # development snapshots of GCC prior to 3.0.
6015 aix4 | aix4.[01] | aix4.[01].*)
6016 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6018 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6025 # AIX (on Power*) has no versioning support, so currently we can
6026 # not hardcode correct soname into executable. Probably we can
6027 # add versioning support to collect2, so additional links can
6028 # be useful in future.
6029 if test "$aix_use_runtimelinking" = yes; then
6030 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6031 # instead of lib<name>.a to let people know that these are not
6032 # typical AIX shared libraries.
6033 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6035 # We preserve .a as extension for shared libraries through AIX4.2
6036 # and later when we are not doing run time linking.
6037 library_names_spec='${libname}${release}.a $libname.a'
6038 soname_spec='${libname}${release}.so$major'
6040 shlibpath_var=LIBPATH
6045 library_names_spec='$libname.ixlibrary $libname.a'
6046 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6047 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
6051 library_names_spec='${libname}.so'
6052 dynamic_linker="$host_os ld.so"
6053 shlibpath_var=LIBRARY_PATH
6059 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6060 soname_spec='${libname}${release}.so$major'
6061 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6062 shlibpath_var=LD_LIBRARY_PATH
6063 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6064 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6065 export_dynamic_flag_spec=-rdynamic
6066 # the default ld.so.conf also contains /usr/contrib/lib and
6067 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6068 # libtool to hard-code these into programs
6071 cygwin* | mingw* | pw32*)
6072 version_type=windows
6075 case $GCC,$host_os in
6077 library_names_spec='$libname.dll.a'
6078 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6079 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6080 dldir=$destdir/`dirname \$dlpath`~
6081 test -d \$dldir || mkdir -p \$dldir~
6082 $install_prog .libs/$dlname \$dldir/$dlname'
6083 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6084 dlpath=$dir/\$dldll~
6088 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6089 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
6092 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6095 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6098 dynamic_linker='Win32 ld.exe'
6099 # FIXME: first we should search . and the directory the executable is in
6103 darwin* | rhapsody*)
6104 dynamic_linker="$host_os dyld"
6108 # FIXME: Relying on posixy $() will cause problems for
6109 # cross-compilation, but unfortunately the echo tests do not
6110 # yet detect zsh echo's removal of \ escapes.
6111 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
6112 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6113 shlibpath_overrides_runpath=yes
6114 shlibpath_var=DYLD_LIBRARY_PATH
6122 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6123 version_type=freebsd-$objformat
6124 case $version_type in
6126 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6131 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6135 shlibpath_var=LD_LIBRARY_PATH
6138 shlibpath_overrides_runpath=yes
6141 shlibpath_overrides_runpath=no
6142 hardcode_into_libs=yes
6151 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6152 soname_spec='${libname}${release}.so$major'
6153 shlibpath_var=LD_LIBRARY_PATH
6154 hardcode_into_libs=yes
6157 hpux9* | hpux10* | hpux11*)
6158 # Give a soname corresponding to the major version so that dld.sl refuses to
6159 # link against other versions.
6160 dynamic_linker="$host_os dld.sl"
6164 shlibpath_var=SHLIB_PATH
6165 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6166 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6167 soname_spec='${libname}${release}.sl$major'
6168 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6169 postinstall_cmds='chmod 555 $lib'
6176 soname_spec='${libname}${release}.so$major'
6177 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6183 case $LD in # libtool.m4 will add one of these switches to LD
6184 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6185 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6186 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6187 *) libsuff= shlibsuff= libmagic=never-match;;
6191 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6192 shlibpath_overrides_runpath=no
6193 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6194 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6197 # No shared lib support for Linux oldld, aout, or coff.
6198 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6202 # This must be Linux ELF.
6207 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6208 soname_spec='${libname}${release}.so$major'
6209 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6210 shlibpath_var=LD_LIBRARY_PATH
6211 shlibpath_overrides_runpath=no
6212 # This implies no fast_install, which is unacceptable.
6213 # Some rework will be needed to allow for fast_install
6214 # before this can be enabled.
6215 hardcode_into_libs=yes
6217 # We used to test for /lib/ld.so.1 and disable shared libraries on
6218 # powerpc, because MkLinux only supported shared libraries with the
6219 # GNU dynamic linker. Since this was broken with cross compilers,
6220 # most powerpc-linux boxes support dynamic linking these days and
6221 # people can always --disable-shared, the test was removed, and we
6222 # assume the GNU/Linux dynamic linker is in use.
6223 dynamic_linker='GNU/Linux ld.so'
6230 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6231 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6232 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6233 dynamic_linker='NetBSD (a.out) ld.so'
6235 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6236 soname_spec='${libname}${release}.so$major'
6237 dynamic_linker='NetBSD ld.elf_so'
6239 shlibpath_var=LD_LIBRARY_PATH
6240 shlibpath_overrides_runpath=yes
6241 hardcode_into_libs=yes
6246 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6247 shlibpath_var=LD_LIBRARY_PATH
6248 shlibpath_overrides_runpath=yes
6255 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6257 openbsd2.[89] | openbsd2.[89].*)
6258 shlibpath_overrides_runpath=no
6261 shlibpath_overrides_runpath=yes
6265 shlibpath_overrides_runpath=yes
6267 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6268 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6269 shlibpath_var=LD_LIBRARY_PATH
6273 libname_spec='$name'
6275 library_names_spec='$libname.dll $libname.a'
6276 dynamic_linker='OS/2 ld.exe'
6277 shlibpath_var=LIBPATH
6280 osf3* | osf4* | osf5*)
6283 soname_spec='${libname}${release}.so'
6284 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6285 shlibpath_var=LD_LIBRARY_PATH
6286 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6287 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6292 soname_spec='${libname}${release}.so$major'
6293 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6294 shlibpath_var=LD_LIBRARY_PATH
6301 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6302 soname_spec='${libname}${release}.so$major'
6303 shlibpath_var=LD_LIBRARY_PATH
6304 shlibpath_overrides_runpath=yes
6305 hardcode_into_libs=yes
6306 # ldd complains unless libraries are executable
6307 postinstall_cmds='chmod +x $lib'
6312 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6313 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6314 shlibpath_var=LD_LIBRARY_PATH
6315 shlibpath_overrides_runpath=yes
6316 if test "$with_gnu_ld" = yes; then
6322 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6324 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6325 soname_spec='${libname}${release}.so$major'
6326 shlibpath_var=LD_LIBRARY_PATH
6327 case $host_vendor in
6329 shlibpath_overrides_runpath=no
6334 shlibpath_overrides_runpath=no
6335 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6342 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6343 soname_spec='${libname}${release}.so$major'
6344 shlibpath_var=LD_LIBRARY_PATH
6351 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6352 soname_spec='${libname}${release}.so$major'
6353 shlibpath_var=LD_LIBRARY_PATH
6357 if test -d /usr/nec ;then
6359 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
6360 soname_spec='$libname.so.$major'
6361 shlibpath_var=LD_LIBRARY_PATH
6369 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6370 echo "${ECHO_T}$dynamic_linker" >&6
6371 test "$dynamic_linker" = no && can_build_shared=no
6373 # Report the final consequences.
6374 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6375 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6376 echo "$as_me:$LINENO: result: $can_build_shared" >&5
6377 echo "${ECHO_T}$can_build_shared" >&6
6379 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6380 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6381 test "$can_build_shared" = "no" && enable_shared=no
6383 # On AIX, shared libraries and static libraries use the same namespace, and
6384 # are all built from PIC.
6387 test "$enable_shared" = yes && enable_static=no
6388 if test -n "$RANLIB"; then
6389 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6390 postinstall_cmds='$RANLIB $lib'
6395 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6396 test "$enable_shared" = yes && enable_static=no
6400 echo "$as_me:$LINENO: result: $enable_shared" >&5
6401 echo "${ECHO_T}$enable_shared" >&6
6403 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6404 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6405 # Make sure either enable_shared or enable_static is yes.
6406 test "$enable_shared" = yes || enable_static=yes
6407 echo "$as_me:$LINENO: result: $enable_static" >&5
6408 echo "${ECHO_T}$enable_static" >&6
6410 if test "$hardcode_action" = relink; then
6411 # Fast installation is not supported
6412 enable_fast_install=no
6413 elif test "$shlibpath_overrides_runpath" = yes ||
6414 test "$enable_shared" = no; then
6415 # Fast installation is not necessary
6416 enable_fast_install=needless
6419 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6420 if test "$GCC" = yes; then
6421 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6424 if test "x$enable_dlopen" != xyes; then
6425 enable_dlopen=unknown
6426 enable_dlopen_self=unknown
6427 enable_dlopen_self_static=unknown
6434 lt_cv_dlopen="load_add_on"
6436 lt_cv_dlopen_self=yes
6439 cygwin* | mingw* | pw32*)
6440 lt_cv_dlopen="LoadLibrary"
6445 echo "$as_me:$LINENO: checking for shl_load" >&5
6446 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
6447 if test "${ac_cv_func_shl_load+set}" = set; then
6448 echo $ECHO_N "(cached) $ECHO_C" >&6
6450 cat >conftest.$ac_ext <<_ACEOF
6451 #line $LINENO "configure"
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6457 /* System header to define __stub macros and hopefully few prototypes,
6458 which can conflict with char shl_load (); below.
6459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6460 <limits.h> exists even on freestanding compilers. */
6462 # include <limits.h>
6464 # include <assert.h>
6466 /* Override any gcc2 internal prototype to avoid an error. */
6471 /* We use char because int might match the return type of a gcc2
6472 builtin and then its argument prototype would still apply. */
6474 /* The GNU C library defines this for functions which it implements
6475 to always fail with ENOSYS. Some functions are actually named
6476 something starting with __ and the normal name is an alias. */
6477 #if defined (__stub_shl_load) || defined (__stub___shl_load)
6480 char (*f) () = shl_load;
6489 return f != shl_load;
6494 rm -f conftest.$ac_objext conftest$ac_exeext
6495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6496 (eval $ac_link) 2>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } &&
6500 { ac_try='test -s conftest$ac_exeext'
6501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); }; }; then
6506 ac_cv_func_shl_load=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 ac_cv_func_shl_load=no
6513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6515 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
6516 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
6517 if test $ac_cv_func_shl_load = yes; then
6518 lt_cv_dlopen="shl_load"
6520 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
6521 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
6522 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 ac_check_lib_save_LIBS=$LIBS
6527 cat >conftest.$ac_ext <<_ACEOF
6528 #line $LINENO "configure"
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6535 /* Override any gcc2 internal prototype to avoid an error. */
6539 /* We use char because int might match the return type of a gcc2
6540 builtin and then its argument prototype would still apply. */
6550 rm -f conftest.$ac_objext conftest$ac_exeext
6551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6552 (eval $ac_link) 2>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try='test -s conftest$ac_exeext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6562 ac_cv_lib_dld_shl_load=yes
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_cv_lib_dld_shl_load=no
6569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
6573 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
6574 if test $ac_cv_lib_dld_shl_load = yes; then
6575 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
6577 echo "$as_me:$LINENO: checking for dlopen" >&5
6578 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
6579 if test "${ac_cv_func_dlopen+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6582 cat >conftest.$ac_ext <<_ACEOF
6583 #line $LINENO "configure"
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 /* System header to define __stub macros and hopefully few prototypes,
6590 which can conflict with char dlopen (); below.
6591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6592 <limits.h> exists even on freestanding compilers. */
6594 # include <limits.h>
6596 # include <assert.h>
6598 /* Override any gcc2 internal prototype to avoid an error. */
6603 /* We use char because int might match the return type of a gcc2
6604 builtin and then its argument prototype would still apply. */
6606 /* The GNU C library defines this for functions which it implements
6607 to always fail with ENOSYS. Some functions are actually named
6608 something starting with __ and the normal name is an alias. */
6609 #if defined (__stub_dlopen) || defined (__stub___dlopen)
6612 char (*f) () = dlopen;
6626 rm -f conftest.$ac_objext conftest$ac_exeext
6627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628 (eval $ac_link) 2>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } &&
6632 { ac_try='test -s conftest$ac_exeext'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then
6638 ac_cv_func_dlopen=yes
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.$ac_ext >&5
6643 ac_cv_func_dlopen=no
6645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6647 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
6648 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
6649 if test $ac_cv_func_dlopen = yes; then
6650 lt_cv_dlopen="dlopen"
6652 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6653 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
6654 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 ac_check_lib_save_LIBS=$LIBS
6659 cat >conftest.$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6667 /* Override any gcc2 internal prototype to avoid an error. */
6671 /* We use char because int might match the return type of a gcc2
6672 builtin and then its argument prototype would still apply. */
6682 rm -f conftest.$ac_objext conftest$ac_exeext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6684 (eval $ac_link) 2>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } &&
6688 { ac_try='test -s conftest$ac_exeext'
6689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6693 (exit $ac_status); }; }; then
6694 ac_cv_lib_dl_dlopen=yes
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 ac_cv_lib_dl_dlopen=no
6701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6702 LIBS=$ac_check_lib_save_LIBS
6704 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6705 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
6706 if test $ac_cv_lib_dl_dlopen = yes; then
6707 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
6709 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
6710 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
6711 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6714 ac_check_lib_save_LIBS=$LIBS
6716 cat >conftest.$ac_ext <<_ACEOF
6717 #line $LINENO "configure"
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6724 /* Override any gcc2 internal prototype to avoid an error. */
6728 /* We use char because int might match the return type of a gcc2
6729 builtin and then its argument prototype would still apply. */
6739 rm -f conftest.$ac_objext conftest$ac_exeext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6741 (eval $ac_link) 2>&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try='test -s conftest$ac_exeext'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; }; then
6751 ac_cv_lib_svld_dlopen=yes
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 ac_cv_lib_svld_dlopen=no
6758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6759 LIBS=$ac_check_lib_save_LIBS
6761 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
6762 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
6763 if test $ac_cv_lib_svld_dlopen = yes; then
6764 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
6766 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
6767 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
6768 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
6769 echo $ECHO_N "(cached) $ECHO_C" >&6
6771 ac_check_lib_save_LIBS=$LIBS
6773 cat >conftest.$ac_ext <<_ACEOF
6774 #line $LINENO "configure"
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h. */
6781 /* Override any gcc2 internal prototype to avoid an error. */
6785 /* We use char because int might match the return type of a gcc2
6786 builtin and then its argument prototype would still apply. */
6796 rm -f conftest.$ac_objext conftest$ac_exeext
6797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6798 (eval $ac_link) 2>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try='test -s conftest$ac_exeext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6808 ac_cv_lib_dld_dld_link=yes
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6813 ac_cv_lib_dld_dld_link=no
6815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6816 LIBS=$ac_check_lib_save_LIBS
6818 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
6819 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
6820 if test $ac_cv_lib_dld_dld_link = yes; then
6821 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
6842 if test "x$lt_cv_dlopen" != xno; then
6848 case $lt_cv_dlopen in
6850 save_CPPFLAGS="$CPPFLAGS"
6851 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
6853 save_LDFLAGS="$LDFLAGS"
6854 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
6857 LIBS="$lt_cv_dlopen_libs $LIBS"
6859 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
6860 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
6861 if test "${lt_cv_dlopen_self+set}" = set; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 if test "$cross_compiling" = yes; then :
6865 lt_cv_dlopen_self=cross
6867 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6868 lt_status=$lt_dlunknown
6869 cat > conftest.$ac_ext <<EOF
6870 #line 6870 "configure"
6871 #include "confdefs.h"
6880 # define LT_DLGLOBAL RTLD_GLOBAL
6883 # define LT_DLGLOBAL DL_GLOBAL
6885 # define LT_DLGLOBAL 0
6889 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6890 find out it does not work in some platform. */
6891 #ifndef LT_DLLAZY_OR_NOW
6893 # define LT_DLLAZY_OR_NOW RTLD_LAZY
6896 # define LT_DLLAZY_OR_NOW DL_LAZY
6899 # define LT_DLLAZY_OR_NOW RTLD_NOW
6902 # define LT_DLLAZY_OR_NOW DL_NOW
6904 # define LT_DLLAZY_OR_NOW 0
6912 extern "C" void exit (int);
6915 void fnord() { int i=42;}
6918 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
6919 int status = $lt_dlunknown;
6923 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
6924 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
6925 /* dlclose (self); */
6931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6932 (eval $ac_link) 2>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
6936 (./conftest; exit; ) 2>/dev/null
6939 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
6940 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
6941 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
6944 # compilation failed
6945 lt_cv_dlopen_self=no
6952 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
6953 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
6955 if test "x$lt_cv_dlopen_self" = xyes; then
6956 LDFLAGS="$LDFLAGS $link_static_flag"
6957 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
6958 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
6959 if test "${lt_cv_dlopen_self_static+set}" = set; then
6960 echo $ECHO_N "(cached) $ECHO_C" >&6
6962 if test "$cross_compiling" = yes; then :
6963 lt_cv_dlopen_self_static=cross
6965 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6966 lt_status=$lt_dlunknown
6967 cat > conftest.$ac_ext <<EOF
6968 #line 6968 "configure"
6969 #include "confdefs.h"
6978 # define LT_DLGLOBAL RTLD_GLOBAL
6981 # define LT_DLGLOBAL DL_GLOBAL
6983 # define LT_DLGLOBAL 0
6987 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
6988 find out it does not work in some platform. */
6989 #ifndef LT_DLLAZY_OR_NOW
6991 # define LT_DLLAZY_OR_NOW RTLD_LAZY
6994 # define LT_DLLAZY_OR_NOW DL_LAZY
6997 # define LT_DLLAZY_OR_NOW RTLD_NOW
7000 # define LT_DLLAZY_OR_NOW DL_NOW
7002 # define LT_DLLAZY_OR_NOW 0
7010 extern "C" void exit (int);
7013 void fnord() { int i=42;}
7016 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7017 int status = $lt_dlunknown;
7021 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7022 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7023 /* dlclose (self); */
7029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7030 (eval $ac_link) 2>&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7034 (./conftest; exit; ) 2>/dev/null
7037 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7038 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7039 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7042 # compilation failed
7043 lt_cv_dlopen_self_static=no
7050 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7051 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7054 CPPFLAGS="$save_CPPFLAGS"
7055 LDFLAGS="$save_LDFLAGS"
7060 case $lt_cv_dlopen_self in
7061 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7062 *) enable_dlopen_self=unknown ;;
7065 case $lt_cv_dlopen_self_static in
7066 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7067 *) enable_dlopen_self_static=unknown ;;
7072 if test "$enable_shared" = yes && test "$GCC" = yes; then
7073 case $archive_cmds in
7075 # FIXME: we may have to deal with multi-command sequences.
7078 # Test whether the compiler implicitly links with -lc since on some
7079 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7080 # to ld, don't add -lc before -lgcc.
7081 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7082 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7083 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 echo 'static int dummy;' > conftest.$ac_ext
7089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7090 (eval $ac_compile) 2>&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; then
7096 libobjs=conftest.$ac_objext
7098 wl=$lt_cv_prog_cc_wl
7104 save_allow_undefined_flag=$allow_undefined_flag
7105 allow_undefined_flag=
7106 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7107 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); }
7112 lt_cv_archive_cmds_need_lc=no
7114 lt_cv_archive_cmds_need_lc=yes
7116 allow_undefined_flag=$save_allow_undefined_flag
7118 cat conftest.err 1>&5
7122 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7123 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7127 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7129 # The second clause should only fire when bootstrapping the
7130 # libtool distribution, otherwise you forgot to ship ltmain.sh
7131 # with your package, and you will get complaints that there are
7132 # no rules to generate ltmain.sh.
7133 if test -f "$ltmain"; then
7136 # If there is no Makefile yet, we rely on a make rule to execute
7137 # `config.status --recheck' to rerun these tests and create the
7138 # libtool script then.
7139 test -f Makefile && make "$ltmain"
7142 if test -f "$ltmain"; then
7143 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7146 echo creating $ofile
7148 # Now quote all the things that may contain metacharacters while being
7149 # careful not to overquote the AC_SUBSTed values. We take copies of the
7150 # variables and quote the copies for generation of the libtool script.
7151 for var in echo old_CC old_CFLAGS \
7152 AR AR_FLAGS CC LD LN_S NM SHELL \
7153 reload_flag reload_cmds wl \
7154 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7155 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7156 library_names_spec soname_spec \
7157 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7158 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7159 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7160 old_striplib striplib file_magic_cmd export_symbols_cmds \
7161 deplibs_check_method allow_undefined_flag no_undefined_flag \
7162 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7163 global_symbol_to_c_name_address \
7164 hardcode_libdir_flag_spec hardcode_libdir_separator \
7165 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7166 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7169 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7170 old_postinstall_cmds | old_postuninstall_cmds | \
7171 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7172 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7173 postinstall_cmds | postuninstall_cmds | \
7174 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7175 # Double-quote double-evaled strings.
7176 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7179 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7184 cat <<__EOF__ > "${ofile}T"
7187 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7188 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7191 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7192 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7194 # This program is free software; you can redistribute it and/or modify
7195 # it under the terms of the GNU General Public License as published by
7196 # the Free Software Foundation; either version 2 of the License, or
7197 # (at your option) any later version.
7199 # This program is distributed in the hope that it will be useful, but
7200 # WITHOUT ANY WARRANTY; without even the implied warranty of
7201 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7202 # General Public License for more details.
7204 # You should have received a copy of the GNU General Public License
7205 # along with this program; if not, write to the Free Software
7206 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7208 # As a special exception to the GNU General Public License, if you
7209 # distribute this file as part of a program that contains a
7210 # configuration script generated by Autoconf, you may include it under
7211 # the same distribution terms that you use for the rest of that program.
7213 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7214 Xsed="sed -e s/^X//"
7216 # The HP-UX ksh and POSIX shell print the target directory to stdout
7218 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7220 # ### BEGIN LIBTOOL CONFIG
7222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7224 # Shell to use when invoking shell scripts.
7227 # Whether or not to build shared libraries.
7228 build_libtool_libs=$enable_shared
7230 # Whether or not to build static libraries.
7231 build_old_libs=$enable_static
7233 # Whether or not to add -lc for building shared libraries.
7234 build_libtool_need_lc=$need_lc
7236 # Whether or not to optimize for fast installation.
7237 fast_install=$enable_fast_install
7240 host_alias=$host_alias
7243 # An echo program that does not interpret backslashes.
7248 AR_FLAGS=$lt_AR_FLAGS
7250 # The default C compiler.
7253 # Is the compiler the GNU C compiler?
7256 # The linker used to build libraries.
7259 # Whether we need hard or soft links.
7262 # A BSD-compatible nm program.
7265 # A symbol stripping program
7268 # Used to examine libraries when file_magic_cmd begins "file"
7269 MAGIC_CMD=$MAGIC_CMD
7271 # Used on cygwin: DLL creation program.
7274 # Used on cygwin: object dumper.
7277 # Used on cygwin: assembler.
7280 # The name of the directory that contains temporary libtool files.
7283 # How to create reloadable object files.
7284 reload_flag=$lt_reload_flag
7285 reload_cmds=$lt_reload_cmds
7287 # How to pass a linker flag through the compiler.
7290 # Object file suffix (normally "o").
7293 # Old archive suffix (normally "a").
7296 # Executable file suffix (normally "").
7299 # Additional compiler flags for building library objects.
7300 pic_flag=$lt_pic_flag
7303 # Does compiler simultaneously support -c and -o options?
7304 compiler_c_o=$lt_compiler_c_o
7306 # Can we write directly to a .lo ?
7307 compiler_o_lo=$lt_compiler_o_lo
7309 # Must we lock files when doing compilation ?
7310 need_locks=$lt_need_locks
7312 # Do we need the lib prefix for modules?
7313 need_lib_prefix=$need_lib_prefix
7315 # Do we need a version for libraries?
7316 need_version=$need_version
7318 # Whether dlopen is supported.
7319 dlopen_support=$enable_dlopen
7321 # Whether dlopen of programs is supported.
7322 dlopen_self=$enable_dlopen_self
7324 # Whether dlopen of statically linked programs is supported.
7325 dlopen_self_static=$enable_dlopen_self_static
7327 # Compiler flag to prevent dynamic linking.
7328 link_static_flag=$lt_link_static_flag
7330 # Compiler flag to turn off builtin functions.
7331 no_builtin_flag=$lt_no_builtin_flag
7333 # Compiler flag to allow reflexive dlopens.
7334 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
7336 # Compiler flag to generate shared objects directly from archives.
7337 whole_archive_flag_spec=$lt_whole_archive_flag_spec
7339 # Compiler flag to generate thread-safe objects.
7340 thread_safe_flag_spec=$lt_thread_safe_flag_spec
7342 # Library versioning type.
7343 version_type=$version_type
7345 # Format of library name prefix.
7346 libname_spec=$lt_libname_spec
7348 # List of archive names. First name is the real one, the rest are links.
7349 # The last name is the one that the linker finds with -lNAME.
7350 library_names_spec=$lt_library_names_spec
7352 # The coded name of the library, if different from the real name.
7353 soname_spec=$lt_soname_spec
7355 # Commands used to build and install an old-style archive.
7357 old_archive_cmds=$lt_old_archive_cmds
7358 old_postinstall_cmds=$lt_old_postinstall_cmds
7359 old_postuninstall_cmds=$lt_old_postuninstall_cmds
7361 # Create an old-style archive from a shared archive.
7362 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
7364 # Create a temporary old-style archive to link instead of a shared archive.
7365 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
7367 # Commands used to build and install a shared archive.
7368 archive_cmds=$lt_archive_cmds
7369 archive_expsym_cmds=$lt_archive_expsym_cmds
7370 postinstall_cmds=$lt_postinstall_cmds
7371 postuninstall_cmds=$lt_postuninstall_cmds
7373 # Commands to strip libraries.
7374 old_striplib=$lt_old_striplib
7375 striplib=$lt_striplib
7377 # Method to check whether dependent libraries are shared objects.
7378 deplibs_check_method=$lt_deplibs_check_method
7380 # Command to use when deplibs_check_method == file_magic.
7381 file_magic_cmd=$lt_file_magic_cmd
7383 # Flag that allows shared libraries with undefined symbols to be built.
7384 allow_undefined_flag=$lt_allow_undefined_flag
7386 # Flag that forces no undefined symbols.
7387 no_undefined_flag=$lt_no_undefined_flag
7389 # Commands used to finish a libtool library installation in a directory.
7390 finish_cmds=$lt_finish_cmds
7392 # Same as above, but a single script fragment to be evaled but not shown.
7393 finish_eval=$lt_finish_eval
7395 # Take the output of nm and produce a listing of raw symbols and C names.
7396 global_symbol_pipe=$lt_global_symbol_pipe
7398 # Transform the output of nm in a proper C declaration
7399 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7401 # Transform the output of nm in a C name address pair
7402 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7404 # This is the shared library runtime path variable.
7405 runpath_var=$runpath_var
7407 # This is the shared library path variable.
7408 shlibpath_var=$shlibpath_var
7410 # Is shlibpath searched before the hard-coded library search path?
7411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7413 # How to hardcode a shared library path into an executable.
7414 hardcode_action=$hardcode_action
7416 # Whether we should hardcode library paths into libraries.
7417 hardcode_into_libs=$hardcode_into_libs
7419 # Flag to hardcode \$libdir into a binary during linking.
7420 # This must work even if \$libdir does not exist.
7421 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7423 # Whether we need a single -rpath flag with a separated argument.
7424 hardcode_libdir_separator=$lt_hardcode_libdir_separator
7426 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
7428 hardcode_direct=$hardcode_direct
7430 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
7432 hardcode_minus_L=$hardcode_minus_L
7434 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
7435 # the resulting binary.
7436 hardcode_shlibpath_var=$hardcode_shlibpath_var
7438 # Variables whose values should be saved in libtool wrapper scripts and
7439 # restored at relink time.
7440 variables_saved_for_relink="$variables_saved_for_relink"
7442 # Whether libtool must link a program against all its dependency libraries.
7443 link_all_deplibs=$link_all_deplibs
7445 # Compile-time system search path for libraries
7446 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
7448 # Run-time system search path for libraries
7449 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
7451 # Fix the shell variable \$srcfile for the compiler.
7452 fix_srcfile_path="$fix_srcfile_path"
7454 # Set to yes if exported symbols are required.
7455 always_export_symbols=$always_export_symbols
7457 # The commands to list exported symbols.
7458 export_symbols_cmds=$lt_export_symbols_cmds
7460 # The commands to extract the exported symbol list from a shared archive.
7461 extract_expsyms_cmds=$lt_extract_expsyms_cmds
7463 # Symbols that should not be listed in the preloaded symbols.
7464 exclude_expsyms=$lt_exclude_expsyms
7466 # Symbols that must always be exported.
7467 include_expsyms=$lt_include_expsyms
7469 # ### END LIBTOOL CONFIG
7475 cat <<\EOF >> "${ofile}T"
7477 # AIX sometimes has problems with the GCC collect2 program. For some
7478 # reason, if we set the COLLECT_NAMES environment variable, the problems
7479 # vanish in a puff of smoke.
7480 if test "X${COLLECT_NAMES+set}" != Xset; then
7482 export COLLECT_NAMES
7489 cygwin* | mingw* | pw32* | os2*)
7490 cat <<'EOF' >> "${ofile}T"
7491 # This is a source program that is used to create dlls on Windows
7492 # Don't remove nor modify the starting and closing comments
7493 # /* ltdll.c starts here */
7494 # #define WIN32_LEAN_AND_MEAN
7495 # #include <windows.h>
7496 # #undef WIN32_LEAN_AND_MEAN
7497 # #include <stdio.h>
7499 # #ifndef __CYGWIN__
7500 # # ifdef __CYGWIN32__
7501 # # define __CYGWIN__ __CYGWIN32__
7505 # #ifdef __cplusplus
7508 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
7509 # #ifdef __cplusplus
7514 # #include <cygwin/cygwin_dll.h>
7515 # DECLARE_CYGWIN_DLL( DllMain );
7517 # HINSTANCE __hDllInstance_base;
7520 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
7522 # __hDllInstance_base = hInst;
7525 # /* ltdll.c ends here */
7526 # This is a source program that is used to create import libraries
7527 # on Windows for dlls which lack them. Don't remove nor modify the
7528 # starting and closing comments
7529 # /* impgen.c starts here */
7530 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
7532 # This file is part of GNU libtool.
7534 # This program is free software; you can redistribute it and/or modify
7535 # it under the terms of the GNU General Public License as published by
7536 # the Free Software Foundation; either version 2 of the License, or
7537 # (at your option) any later version.
7539 # This program is distributed in the hope that it will be useful,
7540 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7541 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7542 # GNU General Public License for more details.
7544 # You should have received a copy of the GNU General Public License
7545 # along with this program; if not, write to the Free Software
7546 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7549 # #include <stdio.h> /* for printf() */
7550 # #include <unistd.h> /* for open(), lseek(), read() */
7551 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
7552 # #include <string.h> /* for strdup() */
7554 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
7556 # #define O_BINARY 0
7559 # static unsigned int
7560 # pe_get16 (fd, offset)
7564 # unsigned char b[2];
7565 # lseek (fd, offset, SEEK_SET);
7567 # return b[0] + (b[1]<<8);
7570 # static unsigned int
7571 # pe_get32 (fd, offset)
7575 # unsigned char b[4];
7576 # lseek (fd, offset, SEEK_SET);
7578 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7581 # static unsigned int
7585 # unsigned char *b = ptr;
7586 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
7595 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
7596 # unsigned long export_rva, export_size, nsections, secptr, expptr;
7597 # unsigned long name_rvas, nexp;
7598 # unsigned char *expdata, *erva;
7599 # char *filename, *dll_name;
7601 # filename = argv[1];
7603 # dll = open(filename, O_RDONLY|O_BINARY);
7607 # dll_name = filename;
7609 # for (i=0; filename[i]; i++)
7610 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
7611 # dll_name = filename + i +1;
7613 # pe_header_offset = pe_get32 (dll, 0x3c);
7614 # opthdr_ofs = pe_header_offset + 4 + 20;
7615 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
7617 # if (num_entries < 1) /* no exports */
7620 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
7621 # export_size = pe_get32 (dll, opthdr_ofs + 100);
7622 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
7623 # secptr = (pe_header_offset + 4 + 20 +
7624 # pe_get16 (dll, pe_header_offset + 4 + 16));
7627 # for (i = 0; i < nsections; i++)
7630 # unsigned long secptr1 = secptr + 40 * i;
7631 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
7632 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
7633 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
7634 # lseek(dll, secptr1, SEEK_SET);
7635 # read(dll, sname, 8);
7636 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
7638 # expptr = fptr + (export_rva - vaddr);
7639 # if (export_rva + export_size > vaddr + vsize)
7640 # export_size = vsize - (export_rva - vaddr);
7645 # expdata = (unsigned char*)malloc(export_size);
7646 # lseek (dll, expptr, SEEK_SET);
7647 # read (dll, expdata, export_size);
7648 # erva = expdata - export_rva;
7650 # nexp = pe_as32 (expdata+24);
7651 # name_rvas = pe_as32 (expdata+32);
7653 # printf ("EXPORTS\n");
7654 # for (i = 0; i<nexp; i++)
7656 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
7657 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
7662 # /* impgen.c ends here */
7668 # We use sed instead of cat because bash on DJGPP gets confused if
7669 # if finds mixed CR/LF and LF-only lines. Since sed operates in
7670 # text mode, it properly converts lines to CR/LF. This bash problem
7671 # is reportedly fixed, but why not run on old versions too?
7672 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
7674 mv -f "${ofile}T" "$ofile" || \
7675 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
7683 # This can be used to rebuild libtool when needed
7684 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7686 # Always use our own libtool.
7687 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7689 # Prevent multiple expansion
7693 # declare the modules (no optional module)
7695 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
7696 ACLOCAL="$ACLOCAL -I acmacro"
7700 ac_cpp='$CPP $CPPFLAGS'
7701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7704 if test -n "$ac_tool_prefix"; then
7705 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7706 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7707 echo "$as_me:$LINENO: checking for $ac_word" >&5
7708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7709 if test "${ac_cv_prog_CC+set}" = set; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7712 if test -n "$CC"; then
7713 ac_cv_prog_CC="$CC" # Let the user override the test.
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_CC="${ac_tool_prefix}gcc"
7723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 if test -n "$CC"; then
7733 echo "$as_me:$LINENO: result: $CC" >&5
7734 echo "${ECHO_T}$CC" >&6
7736 echo "$as_me:$LINENO: result: no" >&5
7737 echo "${ECHO_T}no" >&6
7741 if test -z "$ac_cv_prog_CC"; then
7743 # Extract the first word of "gcc", so it can be a program name with args.
7744 set dummy gcc; ac_word=$2
7745 echo "$as_me:$LINENO: checking for $ac_word" >&5
7746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7747 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 if test -n "$ac_ct_CC"; then
7751 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7760 ac_cv_prog_ac_ct_CC="gcc"
7761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7770 if test -n "$ac_ct_CC"; then
7771 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7772 echo "${ECHO_T}$ac_ct_CC" >&6
7774 echo "$as_me:$LINENO: result: no" >&5
7775 echo "${ECHO_T}no" >&6
7783 if test -z "$CC"; then
7784 if test -n "$ac_tool_prefix"; then
7785 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7786 set dummy ${ac_tool_prefix}cc; ac_word=$2
7787 echo "$as_me:$LINENO: checking for $ac_word" >&5
7788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7789 if test "${ac_cv_prog_CC+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 if test -n "$CC"; then
7793 ac_cv_prog_CC="$CC" # Let the user override the test.
7795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7799 test -z "$as_dir" && as_dir=.
7800 for ac_exec_ext in '' $ac_executable_extensions; do
7801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7802 ac_cv_prog_CC="${ac_tool_prefix}cc"
7803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7812 if test -n "$CC"; then
7813 echo "$as_me:$LINENO: result: $CC" >&5
7814 echo "${ECHO_T}$CC" >&6
7816 echo "$as_me:$LINENO: result: no" >&5
7817 echo "${ECHO_T}no" >&6
7821 if test -z "$ac_cv_prog_CC"; then
7823 # Extract the first word of "cc", so it can be a program name with args.
7824 set dummy cc; ac_word=$2
7825 echo "$as_me:$LINENO: checking for $ac_word" >&5
7826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7830 if test -n "$ac_ct_CC"; then
7831 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 test -z "$as_dir" && as_dir=.
7838 for ac_exec_ext in '' $ac_executable_extensions; do
7839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7840 ac_cv_prog_ac_ct_CC="cc"
7841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7850 if test -n "$ac_ct_CC"; then
7851 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7852 echo "${ECHO_T}$ac_ct_CC" >&6
7854 echo "$as_me:$LINENO: result: no" >&5
7855 echo "${ECHO_T}no" >&6
7864 if test -z "$CC"; then
7865 # Extract the first word of "cc", so it can be a program name with args.
7866 set dummy cc; ac_word=$2
7867 echo "$as_me:$LINENO: checking for $ac_word" >&5
7868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7869 if test "${ac_cv_prog_CC+set}" = set; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 if test -n "$CC"; then
7873 ac_cv_prog_CC="$CC" # Let the user override the test.
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir=.
7881 for ac_exec_ext in '' $ac_executable_extensions; do
7882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
7884 ac_prog_rejected=yes
7888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 if test $ac_prog_rejected = yes; then
7895 # We found a bogon in the path, so make sure we never use it.
7896 set dummy $ac_cv_prog_CC
7898 if test $# != 0; then
7899 # We chose a different compiler from the bogus one.
7900 # However, it has the same basename, so the bogon will be chosen
7901 # first if we set CC to just the basename; use the full file name.
7903 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
7909 if test -n "$CC"; then
7910 echo "$as_me:$LINENO: result: $CC" >&5
7911 echo "${ECHO_T}$CC" >&6
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7918 if test -z "$CC"; then
7919 if test -n "$ac_tool_prefix"; then
7922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7924 echo "$as_me:$LINENO: checking for $ac_word" >&5
7925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7926 if test "${ac_cv_prog_CC+set}" = set; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 if test -n "$CC"; then
7930 ac_cv_prog_CC="$CC" # Let the user override the test.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7939 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
7940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 if test -n "$CC"; then
7950 echo "$as_me:$LINENO: result: $CC" >&5
7951 echo "${ECHO_T}$CC" >&6
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7957 test -n "$CC" && break
7960 if test -z "$CC"; then
7964 # Extract the first word of "$ac_prog", so it can be a program name with args.
7965 set dummy $ac_prog; ac_word=$2
7966 echo "$as_me:$LINENO: checking for $ac_word" >&5
7967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 if test -n "$ac_ct_CC"; then
7972 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir=.
7979 for ac_exec_ext in '' $ac_executable_extensions; do
7980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7981 ac_cv_prog_ac_ct_CC="$ac_prog"
7982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 ac_ct_CC=$ac_cv_prog_ac_ct_CC
7991 if test -n "$ac_ct_CC"; then
7992 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
7993 echo "${ECHO_T}$ac_ct_CC" >&6
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
7999 test -n "$ac_ct_CC" && break
8008 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
8009 See \`config.log' for more details." >&5
8010 echo "$as_me: error: no acceptable C compiler found in \$PATH
8011 See \`config.log' for more details." >&2;}
8012 { (exit 1); exit 1; }; }
8014 # Provide some information about the compiler.
8015 echo "$as_me:$LINENO:" \
8016 "checking for C compiler version" >&5
8017 ac_compiler=`set X $ac_compile; echo $2`
8018 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8019 (eval $ac_compiler --version </dev/null >&5) 2>&5
8021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8022 (exit $ac_status); }
8023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8024 (eval $ac_compiler -v </dev/null >&5) 2>&5
8026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027 (exit $ac_status); }
8028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8029 (eval $ac_compiler -V </dev/null >&5) 2>&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); }
8034 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
8035 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
8036 if test "${ac_cv_c_compiler_gnu+set}" = set; then
8037 echo $ECHO_N "(cached) $ECHO_C" >&6
8039 cat >conftest.$ac_ext <<_ACEOF
8040 #line $LINENO "configure"
8043 cat confdefs.h >>conftest.$ac_ext
8044 cat >>conftest.$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8058 rm -f conftest.$ac_objext
8059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8060 (eval $ac_compile) 2>&5
8062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8063 (exit $ac_status); } &&
8064 { ac_try='test -s conftest.$ac_objext'
8065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069 (exit $ac_status); }; }; then
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8077 rm -f conftest.$ac_objext conftest.$ac_ext
8078 ac_cv_c_compiler_gnu=$ac_compiler_gnu
8081 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
8082 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
8083 GCC=`test $ac_compiler_gnu = yes && echo yes`
8084 ac_test_CFLAGS=${CFLAGS+set}
8085 ac_save_CFLAGS=$CFLAGS
8087 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
8088 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
8089 if test "${ac_cv_prog_cc_g+set}" = set; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 cat >conftest.$ac_ext <<_ACEOF
8093 #line $LINENO "configure"
8096 cat confdefs.h >>conftest.$ac_ext
8097 cat >>conftest.$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8108 rm -f conftest.$ac_objext
8109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8110 (eval $ac_compile) 2>&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); } &&
8114 { ac_try='test -s conftest.$ac_objext'
8115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); }; }; then
8122 echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.$ac_ext >&5
8127 rm -f conftest.$ac_objext conftest.$ac_ext
8129 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
8130 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
8131 if test "$ac_test_CFLAGS" = set; then
8132 CFLAGS=$ac_save_CFLAGS
8133 elif test $ac_cv_prog_cc_g = yes; then
8134 if test "$GCC" = yes; then
8140 if test "$GCC" = yes; then
8146 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
8147 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
8148 if test "${ac_cv_prog_cc_stdc+set}" = set; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 ac_cv_prog_cc_stdc=no
8153 cat >conftest.$ac_ext <<_ACEOF
8154 #line $LINENO "configure"
8157 cat confdefs.h >>conftest.$ac_ext
8158 cat >>conftest.$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8162 #include <sys/types.h>
8163 #include <sys/stat.h>
8164 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8165 struct buf { int x; };
8166 FILE * (*rcsopen) (struct buf *, struct stat *, int);
8167 static char *e (p, i)
8173 static char *f (char * (*g) (char **, int), char **p, ...)
8178 s = g (p, va_arg (v,int));
8182 int test (int i, double x);
8183 struct s1 {int (*f) (int a);};
8184 struct s2 {int (*f) (double a);};
8185 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8191 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8196 # Don't try gcc -ansi; that turns off useful extensions and
8197 # breaks some systems' header files.
8198 # AIX -qlanglvl=ansi
8199 # Ultrix and OSF/1 -std1
8200 # HP-UX 10.20 and later -Ae
8201 # HP-UX older versions -Aa -D_HPUX_SOURCE
8202 # SVR4 -Xc -D__EXTENSIONS__
8203 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8205 CC="$ac_save_CC $ac_arg"
8206 rm -f conftest.$ac_objext
8207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8208 (eval $ac_compile) 2>&5
8210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211 (exit $ac_status); } &&
8212 { ac_try='test -s conftest.$ac_objext'
8213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8217 (exit $ac_status); }; }; then
8218 ac_cv_prog_cc_stdc=$ac_arg
8221 echo "$as_me: failed program was:" >&5
8222 sed 's/^/| /' conftest.$ac_ext >&5
8225 rm -f conftest.$ac_objext
8227 rm -f conftest.$ac_ext conftest.$ac_objext
8232 case "x$ac_cv_prog_cc_stdc" in
8234 echo "$as_me:$LINENO: result: none needed" >&5
8235 echo "${ECHO_T}none needed" >&6 ;;
8237 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
8238 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
8239 CC="$CC $ac_cv_prog_cc_stdc" ;;
8242 # Some people use a C++ compiler to compile C. Since we use `exit',
8243 # in C++ we need to declare it. In case someone uses the same compiler
8244 # for both compiling C and C++ we need to have the C++ compiler decide
8245 # the declaration of exit, since it's the most demanding environment.
8246 cat >conftest.$ac_ext <<_ACEOF
8251 rm -f conftest.$ac_objext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8253 (eval $ac_compile) 2>&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } &&
8257 { ac_try='test -s conftest.$ac_objext'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; }; then
8263 for ac_declaration in \
8265 '#include <stdlib.h>' \
8266 'extern "C" void std::exit (int) throw (); using std::exit;' \
8267 'extern "C" void std::exit (int); using std::exit;' \
8268 'extern "C" void exit (int) throw ();' \
8269 'extern "C" void exit (int);' \
8272 cat >conftest.$ac_ext <<_ACEOF
8273 #line $LINENO "configure"
8276 cat confdefs.h >>conftest.$ac_ext
8277 cat >>conftest.$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8289 rm -f conftest.$ac_objext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8291 (eval $ac_compile) 2>&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); } &&
8295 { ac_try='test -s conftest.$ac_objext'
8296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8300 (exit $ac_status); }; }; then
8303 echo "$as_me: failed program was:" >&5
8304 sed 's/^/| /' conftest.$ac_ext >&5
8308 rm -f conftest.$ac_objext conftest.$ac_ext
8309 cat >conftest.$ac_ext <<_ACEOF
8310 #line $LINENO "configure"
8313 cat confdefs.h >>conftest.$ac_ext
8314 cat >>conftest.$ac_ext <<_ACEOF
8315 /* end confdefs.h. */
8325 rm -f conftest.$ac_objext
8326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8327 (eval $ac_compile) 2>&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); } &&
8331 { ac_try='test -s conftest.$ac_objext'
8332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); }; }; then
8339 echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.$ac_ext >&5
8343 rm -f conftest.$ac_objext conftest.$ac_ext
8346 if test -n "$ac_declaration"; then
8347 echo '#ifdef __cplusplus' >>confdefs.h
8348 echo $ac_declaration >>confdefs.h
8349 echo '#endif' >>confdefs.h
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8357 rm -f conftest.$ac_objext conftest.$ac_ext
8359 ac_cpp='$CPP $CPPFLAGS'
8360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8364 depcc="$CC" am_compiler_list=
8366 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8367 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
8368 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8372 # We make a subdir and do the tests there. Otherwise we can end up
8373 # making bogus files that we don't know about and never remove. For
8374 # instance it was reported that on HP-UX the gcc test will end up
8375 # making a dummy file named `D' -- because `-MD' means `put the output
8378 # Copy depcomp to subdir because otherwise we won't find it if we're
8379 # using a relative directory.
8380 cp "$am_depcomp" conftest.dir
8383 am_cv_CC_dependencies_compiler_type=none
8384 if test "$am_compiler_list" = ""; then
8385 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8387 for depmode in $am_compiler_list; do
8388 # We need to recreate these files for each test, as the compiler may
8389 # overwrite some of them when testing with obscure command lines.
8390 # This happens at least with the AIX C compiler.
8391 echo '#include "conftest.h"' > conftest.c
8392 echo 'int i;' > conftest.h
8393 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
8397 # after this tag, mechanisms are not by side-effect, so they'll
8398 # only be used when explicitly requested
8399 if test "x$enable_dependency_tracking" = xyes; then
8407 # We check with `-c' and `-o' for the sake of the "dashmstdout"
8408 # mode. It turns out that the SunPro C++ compiler does not properly
8409 # handle `-M -o', and we need to detect this.
8410 if depmode=$depmode \
8411 source=conftest.c object=conftest.o \
8412 depfile=conftest.Po tmpdepfile=conftest.TPo \
8413 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
8414 grep conftest.h conftest.Po > /dev/null 2>&1 &&
8415 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8416 am_cv_CC_dependencies_compiler_type=$depmode
8424 am_cv_CC_dependencies_compiler_type=none
8428 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
8429 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
8430 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
8435 test "x$enable_dependency_tracking" != xno \
8436 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
8438 am__fastdepCC_FALSE='#'
8440 am__fastdepCC_TRUE='#'
8441 am__fastdepCC_FALSE=
8445 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
8446 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
8449 echo timestamp > conftest.file
8450 # Do `set' in a subshell so we don't clobber the current shell's
8451 # arguments. Must try -L first in case configure is actually a
8452 # symlink; some systems play weird games with the mod time of symlinks
8453 # (eg FreeBSD returns the mod time of the symlink's containing
8456 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8457 if test "$*" = "X"; then
8459 set X `ls -t $srcdir/configure conftest.file`
8462 if test "$*" != "X $srcdir/configure conftest.file" \
8463 && test "$*" != "X conftest.file $srcdir/configure"; then
8465 # If neither matched, then we have a broken ls. This can happen
8466 # if, for instance, CONFIG_SHELL is bash and it inherits a
8467 # broken ls alias from the environment. This has actually
8468 # happened. Such a system could not be considered "sane".
8469 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
8470 alias in your environment" >&5
8471 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
8472 alias in your environment" >&2;}
8473 { (exit 1); exit 1; }; }
8476 test "$2" = conftest.file
8482 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
8483 Check your system clock" >&5
8484 echo "$as_me: error: newly created file is older than distributed files!
8485 Check your system clock" >&2;}
8486 { (exit 1); exit 1; }; }
8488 echo "$as_me:$LINENO: result: yes" >&5
8489 echo "${ECHO_T}yes" >&6
8490 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8491 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8492 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
8493 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8494 echo $ECHO_N "(cached) $ECHO_C" >&6
8496 cat >conftest.make <<\_ACEOF
8498 @echo 'ac_maketemp="$(MAKE)"'
8500 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8501 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8502 if test -n "$ac_maketemp"; then
8503 eval ac_cv_prog_make_${ac_make}_set=yes
8505 eval ac_cv_prog_make_${ac_make}_set=no
8509 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8514 echo "$as_me:$LINENO: result: no" >&5
8515 echo "${ECHO_T}no" >&6
8516 SET_MAKE="MAKE=${MAKE-make}"
8520 # Check architecture signature
8522 # Check for the architecture
8523 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
8524 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
8525 if test "${ac_cv_c_bigendian+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8528 # See if sys/param.h defines the BYTE_ORDER macro.
8529 cat >conftest.$ac_ext <<_ACEOF
8530 #line $LINENO "configure"
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
8535 /* end confdefs.h. */
8536 #include <sys/types.h>
8537 #include <sys/param.h>
8542 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8550 rm -f conftest.$ac_objext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8552 (eval $ac_compile) 2>&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } &&
8556 { ac_try='test -s conftest.$ac_objext'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 # It does; now see whether it defined to BIG_ENDIAN or not.
8563 cat >conftest.$ac_ext <<_ACEOF
8564 #line $LINENO "configure"
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h. */
8570 #include <sys/types.h>
8571 #include <sys/param.h>
8576 #if BYTE_ORDER != BIG_ENDIAN
8584 rm -f conftest.$ac_objext
8585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8586 (eval $ac_compile) 2>&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); } &&
8590 { ac_try='test -s conftest.$ac_objext'
8591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8595 (exit $ac_status); }; }; then
8596 ac_cv_c_bigendian=yes
8598 echo "$as_me: failed program was:" >&5
8599 sed 's/^/| /' conftest.$ac_ext >&5
8601 ac_cv_c_bigendian=no
8603 rm -f conftest.$ac_objext conftest.$ac_ext
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.$ac_ext >&5
8608 # It does not; compile a test program.
8609 if test "$cross_compiling" = yes; then
8610 # try to guess the endianness by grepping values into an object file
8611 ac_cv_c_bigendian=unknown
8612 cat >conftest.$ac_ext <<_ACEOF
8613 #line $LINENO "configure"
8616 cat confdefs.h >>conftest.$ac_ext
8617 cat >>conftest.$ac_ext <<_ACEOF
8618 /* end confdefs.h. */
8619 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
8620 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
8621 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
8622 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
8623 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
8624 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
8628 _ascii (); _ebcdic ();
8633 rm -f conftest.$ac_objext
8634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8635 (eval $ac_compile) 2>&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } &&
8639 { ac_try='test -s conftest.$ac_objext'
8640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8644 (exit $ac_status); }; }; then
8645 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
8646 ac_cv_c_bigendian=yes
8648 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
8649 if test "$ac_cv_c_bigendian" = unknown; then
8650 ac_cv_c_bigendian=no
8652 # finding both strings is unlikely to happen, but who knows?
8653 ac_cv_c_bigendian=unknown
8657 echo "$as_me: failed program was:" >&5
8658 sed 's/^/| /' conftest.$ac_ext >&5
8661 rm -f conftest.$ac_objext conftest.$ac_ext
8663 cat >conftest.$ac_ext <<_ACEOF
8664 #line $LINENO "configure"
8667 cat confdefs.h >>conftest.$ac_ext
8668 cat >>conftest.$ac_ext <<_ACEOF
8669 /* end confdefs.h. */
8673 /* Are we little or big endian? From Harbison&Steele. */
8677 char c[sizeof (long)];
8680 exit (u.c[sizeof (long) - 1] == 1);
8683 rm -f conftest$ac_exeext
8684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8685 (eval $ac_link) 2>&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; }; then
8694 ac_cv_c_bigendian=no
8696 echo "$as_me: program exited with status $ac_status" >&5
8697 echo "$as_me: failed program was:" >&5
8698 sed 's/^/| /' conftest.$ac_ext >&5
8701 ac_cv_c_bigendian=yes
8703 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8706 rm -f conftest.$ac_objext conftest.$ac_ext
8708 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
8709 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
8710 case $ac_cv_c_bigendian in
8716 { { echo "$as_me:$LINENO: error: GRAS works only for little or big endian systems (yet)" >&5
8717 echo "$as_me: error: GRAS works only for little or big endian systems (yet)" >&2;}
8718 { (exit 1); exit 1; }; } ;;
8722 cat >>confdefs.h <<_ACEOF
8723 #define GRAS_BIGENDIAN $endian
8727 echo "$as_me:$LINENO: checking size of char" >&5
8728 echo $ECHO_N "checking size of char... $ECHO_C" >&6
8729 if test "${ac_cv_sizeof_char+set}" = set; then
8730 echo $ECHO_N "(cached) $ECHO_C" >&6
8732 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
8733 cat >conftest.$ac_ext <<_ACEOF
8734 #line $LINENO "configure"
8737 cat confdefs.h >>conftest.$ac_ext
8738 cat >>conftest.$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8740 #include "confdefs.h"
8741 #include <sys/types.h>
8747 switch (0) case 0: case (sizeof (char) == $ac_size):;
8752 rm -f conftest.$ac_objext
8753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8754 (eval $ac_compile) 2>&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } &&
8758 { ac_try='test -s conftest.$ac_objext'
8759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_sizeof_char=$ac_size
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.$ac_ext >&5
8770 rm -f conftest.$ac_objext conftest.$ac_ext
8771 if test x$ac_cv_sizeof_char != x ; then break; fi
8777 unspecif=$ac_cv_sizeof_char
8778 if test x$unspecif = x ; then
8779 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
8780 echo "$as_me: error: cannot determine a size for char" >&2;}
8781 { (exit 1); exit 1; }; }
8784 if test "${ac_cv_sizeof_signed_char+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
8788 cat >conftest.$ac_ext <<_ACEOF
8789 #line $LINENO "configure"
8792 cat confdefs.h >>conftest.$ac_ext
8793 cat >>conftest.$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8795 #include "confdefs.h"
8796 #include <sys/types.h>
8802 switch (0) case 0: case (sizeof (signed char) == $ac_size):;
8807 rm -f conftest.$ac_objext
8808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8809 (eval $ac_compile) 2>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try='test -s conftest.$ac_objext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 ac_cv_sizeof_signed_char=$ac_size
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.$ac_ext >&5
8825 rm -f conftest.$ac_objext conftest.$ac_ext
8826 if test x$ac_cv_sizeof_signed_char != x ; then break; fi
8832 signed=$ac_cv_sizeof_signed_char
8833 if test x$signed = x ; then
8834 { { echo "$as_me:$LINENO: error: cannot determine a size for signed char" >&5
8835 echo "$as_me: error: cannot determine a size for signed char" >&2;}
8836 { (exit 1); exit 1; }; }
8838 if test x$unspecif != x$signed ; then
8839 { { echo "$as_me:$LINENO: error: 'signed char' and 'char' have different sizes ! ($signed != $unspecif)" >&5
8840 echo "$as_me: error: 'signed char' and 'char' have different sizes ! ($signed != $unspecif)" >&2;}
8841 { (exit 1); exit 1; }; }
8844 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8847 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
8848 cat >conftest.$ac_ext <<_ACEOF
8849 #line $LINENO "configure"
8852 cat confdefs.h >>conftest.$ac_ext
8853 cat >>conftest.$ac_ext <<_ACEOF
8854 /* end confdefs.h. */
8855 #include "confdefs.h"
8856 #include <sys/types.h>
8862 switch (0) case 0: case (sizeof (unsigned char) == $ac_size):;
8867 rm -f conftest.$ac_objext
8868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8869 (eval $ac_compile) 2>&5
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); } &&
8873 { ac_try='test -s conftest.$ac_objext'
8874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); }; }; then
8879 ac_cv_sizeof_unsigned_char=$ac_size
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8885 rm -f conftest.$ac_objext conftest.$ac_ext
8886 if test x$ac_cv_sizeof_unsigned_char != x ; then break; fi
8892 unsigned=$ac_cv_sizeof_unsigned_char
8893 if test x$unsigned = x ; then
8894 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned char" >&5
8895 echo "$as_me: error: cannot determine a size for unsigned char" >&2;}
8896 { (exit 1); exit 1; }; }
8898 if test x$unsigned != x$signed ; then
8899 { { echo "$as_me:$LINENO: error: 'signed char' and 'unsigned char' have different sizes ! ($signed != $unsigned)" >&5
8900 echo "$as_me: error: 'signed char' and 'unsigned char' have different sizes ! ($signed != $unsigned)" >&2;}
8901 { (exit 1); exit 1; }; }
8904 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
8905 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
8907 cat >>confdefs.h <<_ACEOF
8908 #define SIZEOF_CHAR $ac_cv_sizeof_unsigned_char
8912 echo "$as_me:$LINENO: checking size of short int" >&5
8913 echo $ECHO_N "checking size of short int... $ECHO_C" >&6
8914 if test "${ac_cv_sizeof_short_int+set}" = set; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8917 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
8918 cat >conftest.$ac_ext <<_ACEOF
8919 #line $LINENO "configure"
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8925 #include "confdefs.h"
8926 #include <sys/types.h>
8932 switch (0) case 0: case (sizeof (short int) == $ac_size):;
8937 rm -f conftest.$ac_objext
8938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8939 (eval $ac_compile) 2>&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 (exit $ac_status); } &&
8943 { ac_try='test -s conftest.$ac_objext'
8944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); }; }; then
8949 ac_cv_sizeof_short_int=$ac_size
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8955 rm -f conftest.$ac_objext conftest.$ac_ext
8956 if test x$ac_cv_sizeof_short_int != x ; then break; fi
8962 unspecif=$ac_cv_sizeof_short_int
8963 if test x$unspecif = x ; then
8964 { { echo "$as_me:$LINENO: error: cannot determine a size for short int" >&5
8965 echo "$as_me: error: cannot determine a size for short int" >&2;}
8966 { (exit 1); exit 1; }; }
8969 if test "${ac_cv_sizeof_signed_short_int+set}" = set; then
8970 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
8973 cat >conftest.$ac_ext <<_ACEOF
8974 #line $LINENO "configure"
8977 cat confdefs.h >>conftest.$ac_ext
8978 cat >>conftest.$ac_ext <<_ACEOF
8979 /* end confdefs.h. */
8980 #include "confdefs.h"
8981 #include <sys/types.h>
8987 switch (0) case 0: case (sizeof (signed short int) == $ac_size):;
8992 rm -f conftest.$ac_objext
8993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8994 (eval $ac_compile) 2>&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } &&
8998 { ac_try='test -s conftest.$ac_objext'
8999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); }; }; then
9004 ac_cv_sizeof_signed_short_int=$ac_size
9006 echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.$ac_ext >&5
9010 rm -f conftest.$ac_objext conftest.$ac_ext
9011 if test x$ac_cv_sizeof_signed_short_int != x ; then break; fi
9017 signed=$ac_cv_sizeof_signed_short_int
9018 if test x$signed = x ; then
9019 { { echo "$as_me:$LINENO: error: cannot determine a size for signed short int" >&5
9020 echo "$as_me: error: cannot determine a size for signed short int" >&2;}
9021 { (exit 1); exit 1; }; }
9023 if test x$unspecif != x$signed ; then
9024 { { echo "$as_me:$LINENO: error: 'signed short int' and 'short int' have different sizes ! ($signed != $unspecif)" >&5
9025 echo "$as_me: error: 'signed short int' and 'short int' have different sizes ! ($signed != $unspecif)" >&2;}
9026 { (exit 1); exit 1; }; }
9029 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
9030 echo $ECHO_N "(cached) $ECHO_C" >&6
9032 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9033 cat >conftest.$ac_ext <<_ACEOF
9034 #line $LINENO "configure"
9037 cat confdefs.h >>conftest.$ac_ext
9038 cat >>conftest.$ac_ext <<_ACEOF
9039 /* end confdefs.h. */
9040 #include "confdefs.h"
9041 #include <sys/types.h>
9047 switch (0) case 0: case (sizeof (unsigned short int) == $ac_size):;
9052 rm -f conftest.$ac_objext
9053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9054 (eval $ac_compile) 2>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } &&
9058 { ac_try='test -s conftest.$ac_objext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; }; then
9064 ac_cv_sizeof_unsigned_short_int=$ac_size
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.$ac_ext >&5
9070 rm -f conftest.$ac_objext conftest.$ac_ext
9071 if test x$ac_cv_sizeof_unsigned_short_int != x ; then break; fi
9077 unsigned=$ac_cv_sizeof_unsigned_short_int
9078 if test x$unsigned = x ; then
9079 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned short int" >&5
9080 echo "$as_me: error: cannot determine a size for unsigned short int" >&2;}
9081 { (exit 1); exit 1; }; }
9083 if test x$unsigned != x$signed ; then
9084 { { echo "$as_me:$LINENO: error: 'signed short int' and 'unsigned short int' have different sizes ! ($signed != $unsigned)" >&5
9085 echo "$as_me: error: 'signed short int' and 'unsigned short int' have different sizes ! ($signed != $unsigned)" >&2;}
9086 { (exit 1); exit 1; }; }
9089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
9090 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6
9092 cat >>confdefs.h <<_ACEOF
9093 #define SIZEOF_SHORT_INT $ac_cv_sizeof_unsigned_short_int
9097 echo "$as_me:$LINENO: checking size of int" >&5
9098 echo $ECHO_N "checking size of int... $ECHO_C" >&6
9099 if test "${ac_cv_sizeof_int+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9103 cat >conftest.$ac_ext <<_ACEOF
9104 #line $LINENO "configure"
9107 cat confdefs.h >>conftest.$ac_ext
9108 cat >>conftest.$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9110 #include "confdefs.h"
9111 #include <sys/types.h>
9117 switch (0) case 0: case (sizeof (int) == $ac_size):;
9122 rm -f conftest.$ac_objext
9123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9124 (eval $ac_compile) 2>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try='test -s conftest.$ac_objext'
9129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 (exit $ac_status); }; }; then
9134 ac_cv_sizeof_int=$ac_size
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.$ac_ext >&5
9140 rm -f conftest.$ac_objext conftest.$ac_ext
9141 if test x$ac_cv_sizeof_int != x ; then break; fi
9147 unspecif=$ac_cv_sizeof_int
9148 if test x$unspecif = x ; then
9149 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
9150 echo "$as_me: error: cannot determine a size for int" >&2;}
9151 { (exit 1); exit 1; }; }
9154 if test "${ac_cv_sizeof_signed_int+set}" = set; then
9155 echo $ECHO_N "(cached) $ECHO_C" >&6
9157 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9158 cat >conftest.$ac_ext <<_ACEOF
9159 #line $LINENO "configure"
9162 cat confdefs.h >>conftest.$ac_ext
9163 cat >>conftest.$ac_ext <<_ACEOF
9164 /* end confdefs.h. */
9165 #include "confdefs.h"
9166 #include <sys/types.h>
9172 switch (0) case 0: case (sizeof (signed int) == $ac_size):;
9177 rm -f conftest.$ac_objext
9178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9179 (eval $ac_compile) 2>&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } &&
9183 { ac_try='test -s conftest.$ac_objext'
9184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 ac_cv_sizeof_signed_int=$ac_size
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9195 rm -f conftest.$ac_objext conftest.$ac_ext
9196 if test x$ac_cv_sizeof_signed_int != x ; then break; fi
9202 signed=$ac_cv_sizeof_signed_int
9203 if test x$signed = x ; then
9204 { { echo "$as_me:$LINENO: error: cannot determine a size for signed int" >&5
9205 echo "$as_me: error: cannot determine a size for signed int" >&2;}
9206 { (exit 1); exit 1; }; }
9208 if test x$unspecif != x$signed ; then
9209 { { echo "$as_me:$LINENO: error: 'signed int' and 'int' have different sizes ! ($signed != $unspecif)" >&5
9210 echo "$as_me: error: 'signed int' and 'int' have different sizes ! ($signed != $unspecif)" >&2;}
9211 { (exit 1); exit 1; }; }
9214 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
9215 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9218 cat >conftest.$ac_ext <<_ACEOF
9219 #line $LINENO "configure"
9222 cat confdefs.h >>conftest.$ac_ext
9223 cat >>conftest.$ac_ext <<_ACEOF
9224 /* end confdefs.h. */
9225 #include "confdefs.h"
9226 #include <sys/types.h>
9232 switch (0) case 0: case (sizeof (unsigned int) == $ac_size):;
9237 rm -f conftest.$ac_objext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9239 (eval $ac_compile) 2>&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -s conftest.$ac_objext'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 ac_cv_sizeof_unsigned_int=$ac_size
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.$ac_ext >&5
9255 rm -f conftest.$ac_objext conftest.$ac_ext
9256 if test x$ac_cv_sizeof_unsigned_int != x ; then break; fi
9262 unsigned=$ac_cv_sizeof_unsigned_int
9263 if test x$unsigned = x ; then
9264 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned int" >&5
9265 echo "$as_me: error: cannot determine a size for unsigned int" >&2;}
9266 { (exit 1); exit 1; }; }
9268 if test x$unsigned != x$signed ; then
9269 { { echo "$as_me:$LINENO: error: 'signed int' and 'unsigned int' have different sizes ! ($signed != $unsigned)" >&5
9270 echo "$as_me: error: 'signed int' and 'unsigned int' have different sizes ! ($signed != $unsigned)" >&2;}
9271 { (exit 1); exit 1; }; }
9274 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
9275 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
9277 cat >>confdefs.h <<_ACEOF
9278 #define SIZEOF_INT $ac_cv_sizeof_unsigned_int
9282 echo "$as_me:$LINENO: checking size of long int" >&5
9283 echo $ECHO_N "checking size of long int... $ECHO_C" >&6
9284 if test "${ac_cv_sizeof_long_int+set}" = set; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9288 cat >conftest.$ac_ext <<_ACEOF
9289 #line $LINENO "configure"
9292 cat confdefs.h >>conftest.$ac_ext
9293 cat >>conftest.$ac_ext <<_ACEOF
9294 /* end confdefs.h. */
9295 #include "confdefs.h"
9296 #include <sys/types.h>
9302 switch (0) case 0: case (sizeof (long int) == $ac_size):;
9307 rm -f conftest.$ac_objext
9308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9309 (eval $ac_compile) 2>&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -s conftest.$ac_objext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 ac_cv_sizeof_long_int=$ac_size
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9325 rm -f conftest.$ac_objext conftest.$ac_ext
9326 if test x$ac_cv_sizeof_long_int != x ; then break; fi
9332 unspecif=$ac_cv_sizeof_long_int
9333 if test x$unspecif = x ; then
9334 { { echo "$as_me:$LINENO: error: cannot determine a size for long int" >&5
9335 echo "$as_me: error: cannot determine a size for long int" >&2;}
9336 { (exit 1); exit 1; }; }
9339 if test "${ac_cv_sizeof_signed_long_int+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9343 cat >conftest.$ac_ext <<_ACEOF
9344 #line $LINENO "configure"
9347 cat confdefs.h >>conftest.$ac_ext
9348 cat >>conftest.$ac_ext <<_ACEOF
9349 /* end confdefs.h. */
9350 #include "confdefs.h"
9351 #include <sys/types.h>
9357 switch (0) case 0: case (sizeof (signed long int) == $ac_size):;
9362 rm -f conftest.$ac_objext
9363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9364 (eval $ac_compile) 2>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); } &&
9368 { ac_try='test -s conftest.$ac_objext'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; }; then
9374 ac_cv_sizeof_signed_long_int=$ac_size
9376 echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9380 rm -f conftest.$ac_objext conftest.$ac_ext
9381 if test x$ac_cv_sizeof_signed_long_int != x ; then break; fi
9387 signed=$ac_cv_sizeof_signed_long_int
9388 if test x$signed = x ; then
9389 { { echo "$as_me:$LINENO: error: cannot determine a size for signed long int" >&5
9390 echo "$as_me: error: cannot determine a size for signed long int" >&2;}
9391 { (exit 1); exit 1; }; }
9393 if test x$unspecif != x$signed ; then
9394 { { echo "$as_me:$LINENO: error: 'signed long int' and 'long int' have different sizes ! ($signed != $unspecif)" >&5
9395 echo "$as_me: error: 'signed long int' and 'long int' have different sizes ! ($signed != $unspecif)" >&2;}
9396 { (exit 1); exit 1; }; }
9399 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9402 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9403 cat >conftest.$ac_ext <<_ACEOF
9404 #line $LINENO "configure"
9407 cat confdefs.h >>conftest.$ac_ext
9408 cat >>conftest.$ac_ext <<_ACEOF
9409 /* end confdefs.h. */
9410 #include "confdefs.h"
9411 #include <sys/types.h>
9417 switch (0) case 0: case (sizeof (unsigned long int) == $ac_size):;
9422 rm -f conftest.$ac_objext
9423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 (eval $ac_compile) 2>&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } &&
9428 { ac_try='test -s conftest.$ac_objext'
9429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); }; }; then
9434 ac_cv_sizeof_unsigned_long_int=$ac_size
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.$ac_ext >&5
9440 rm -f conftest.$ac_objext conftest.$ac_ext
9441 if test x$ac_cv_sizeof_unsigned_long_int != x ; then break; fi
9447 unsigned=$ac_cv_sizeof_unsigned_long_int
9448 if test x$unsigned = x ; then
9449 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned long int" >&5
9450 echo "$as_me: error: cannot determine a size for unsigned long int" >&2;}
9451 { (exit 1); exit 1; }; }
9453 if test x$unsigned != x$signed ; then
9454 { { echo "$as_me:$LINENO: error: 'signed long int' and 'unsigned long int' have different sizes ! ($signed != $unsigned)" >&5
9455 echo "$as_me: error: 'signed long int' and 'unsigned long int' have different sizes ! ($signed != $unsigned)" >&2;}
9456 { (exit 1); exit 1; }; }
9459 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
9460 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6
9462 cat >>confdefs.h <<_ACEOF
9463 #define SIZEOF_LONG_INT $ac_cv_sizeof_unsigned_long_int
9467 echo "$as_me:$LINENO: checking size of long long int" >&5
9468 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
9469 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
9470 echo $ECHO_N "(cached) $ECHO_C" >&6
9472 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9473 cat >conftest.$ac_ext <<_ACEOF
9474 #line $LINENO "configure"
9477 cat confdefs.h >>conftest.$ac_ext
9478 cat >>conftest.$ac_ext <<_ACEOF
9479 /* end confdefs.h. */
9480 #include "confdefs.h"
9481 #include <sys/types.h>
9487 switch (0) case 0: case (sizeof (long long int) == $ac_size):;
9492 rm -f conftest.$ac_objext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9494 (eval $ac_compile) 2>&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 (exit $ac_status); } &&
9498 { ac_try='test -s conftest.$ac_objext'
9499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); }; }; then
9504 ac_cv_sizeof_long_long_int=$ac_size
9506 echo "$as_me: failed program was:" >&5
9507 sed 's/^/| /' conftest.$ac_ext >&5
9510 rm -f conftest.$ac_objext conftest.$ac_ext
9511 if test x$ac_cv_sizeof_long_long_int != x ; then break; fi
9517 unspecif=$ac_cv_sizeof_long_long_int
9518 if test x$unspecif = x ; then
9519 { { echo "$as_me:$LINENO: error: cannot determine a size for long long int" >&5
9520 echo "$as_me: error: cannot determine a size for long long int" >&2;}
9521 { (exit 1); exit 1; }; }
9524 if test "${ac_cv_sizeof_signed_long_long_int+set}" = set; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9528 cat >conftest.$ac_ext <<_ACEOF
9529 #line $LINENO "configure"
9532 cat confdefs.h >>conftest.$ac_ext
9533 cat >>conftest.$ac_ext <<_ACEOF
9534 /* end confdefs.h. */
9535 #include "confdefs.h"
9536 #include <sys/types.h>
9542 switch (0) case 0: case (sizeof (signed long long int) == $ac_size):;
9547 rm -f conftest.$ac_objext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9549 (eval $ac_compile) 2>&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } &&
9553 { ac_try='test -s conftest.$ac_objext'
9554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); }; }; then
9559 ac_cv_sizeof_signed_long_long_int=$ac_size
9561 echo "$as_me: failed program was:" >&5
9562 sed 's/^/| /' conftest.$ac_ext >&5
9565 rm -f conftest.$ac_objext conftest.$ac_ext
9566 if test x$ac_cv_sizeof_signed_long_long_int != x ; then break; fi
9572 signed=$ac_cv_sizeof_signed_long_long_int
9573 if test x$signed = x ; then
9574 { { echo "$as_me:$LINENO: error: cannot determine a size for signed long long int" >&5
9575 echo "$as_me: error: cannot determine a size for signed long long int" >&2;}
9576 { (exit 1); exit 1; }; }
9578 if test x$unspecif != x$signed ; then
9579 { { echo "$as_me:$LINENO: error: 'signed long long int' and 'long long int' have different sizes ! ($signed != $unspecif)" >&5
9580 echo "$as_me: error: 'signed long long int' and 'long long int' have different sizes ! ($signed != $unspecif)" >&2;}
9581 { (exit 1); exit 1; }; }
9584 if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then
9585 echo $ECHO_N "(cached) $ECHO_C" >&6
9587 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9588 cat >conftest.$ac_ext <<_ACEOF
9589 #line $LINENO "configure"
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 #include "confdefs.h"
9596 #include <sys/types.h>
9602 switch (0) case 0: case (sizeof (unsigned long long int) == $ac_size):;
9607 rm -f conftest.$ac_objext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9609 (eval $ac_compile) 2>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } &&
9613 { ac_try='test -s conftest.$ac_objext'
9614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9618 (exit $ac_status); }; }; then
9619 ac_cv_sizeof_unsigned_long_long_int=$ac_size
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9625 rm -f conftest.$ac_objext conftest.$ac_ext
9626 if test x$ac_cv_sizeof_unsigned_long_long_int != x ; then break; fi
9632 unsigned=$ac_cv_sizeof_unsigned_long_long_int
9633 if test x$unsigned = x ; then
9634 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned long long int" >&5
9635 echo "$as_me: error: cannot determine a size for unsigned long long int" >&2;}
9636 { (exit 1); exit 1; }; }
9638 if test x$unsigned != x$signed ; then
9639 { { echo "$as_me:$LINENO: error: 'signed long long int' and 'unsigned long long int' have different sizes ! ($signed != $unsigned)" >&5
9640 echo "$as_me: error: 'signed long long int' and 'unsigned long long int' have different sizes ! ($signed != $unsigned)" >&2;}
9641 { (exit 1); exit 1; }; }
9644 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
9645 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long_int" >&6
9647 cat >>confdefs.h <<_ACEOF
9648 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_unsigned_long_long_int
9654 echo "$as_me:$LINENO: checking size of void *" >&5
9655 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
9656 if test "${ac_cv_sizeof_void_p+set}" = set; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9660 cat >conftest.$ac_ext <<_ACEOF
9661 #line $LINENO "configure"
9664 cat confdefs.h >>conftest.$ac_ext
9665 cat >>conftest.$ac_ext <<_ACEOF
9666 /* end confdefs.h. */
9667 #include "confdefs.h"
9668 #include <sys/types.h>
9674 switch (0) case 0: case (sizeof (void *) == $ac_size):;
9679 rm -f conftest.$ac_objext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9681 (eval $ac_compile) 2>&5
9683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9684 (exit $ac_status); } &&
9685 { ac_try='test -s conftest.$ac_objext'
9686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 (exit $ac_status); }; }; then
9691 ac_cv_sizeof_void_p=$ac_size
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.$ac_ext >&5
9697 rm -f conftest.$ac_objext conftest.$ac_ext
9698 if test x$ac_cv_sizeof_void_p != x ; then break; fi
9704 if test x$ac_cv_sizeof_void_p = x ; then
9705 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
9706 echo "$as_me: error: cannot determine a size for void *" >&2;}
9707 { (exit 1); exit 1; }; }
9709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
9710 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
9712 cat >>confdefs.h <<_ACEOF
9713 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
9717 echo "$as_me:$LINENO: checking size of void (*) (void)" >&5
9718 echo $ECHO_N "checking size of void (*) (void)... $ECHO_C" >&6
9719 if test "${ac_cv_sizeof_void_LpR_LvoidR+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9723 cat >conftest.$ac_ext <<_ACEOF
9724 #line $LINENO "configure"
9727 cat confdefs.h >>conftest.$ac_ext
9728 cat >>conftest.$ac_ext <<_ACEOF
9729 /* end confdefs.h. */
9730 #include "confdefs.h"
9731 #include <sys/types.h>
9737 switch (0) case 0: case (sizeof (void (*) (void)) == $ac_size):;
9742 rm -f conftest.$ac_objext
9743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9744 (eval $ac_compile) 2>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } &&
9748 { ac_try='test -s conftest.$ac_objext'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; }; then
9754 ac_cv_sizeof_void_LpR_LvoidR=$ac_size
9756 echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.$ac_ext >&5
9760 rm -f conftest.$ac_objext conftest.$ac_ext
9761 if test x$ac_cv_sizeof_void_LpR_LvoidR != x ; then break; fi
9767 if test x$ac_cv_sizeof_void_LpR_LvoidR = x ; then
9768 { { echo "$as_me:$LINENO: error: cannot determine a size for void (*) (void)" >&5
9769 echo "$as_me: error: cannot determine a size for void (*) (void)" >&2;}
9770 { (exit 1); exit 1; }; }
9772 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_LpR_LvoidR" >&5
9773 echo "${ECHO_T}$ac_cv_sizeof_void_LpR_LvoidR" >&6
9775 cat >>confdefs.h <<_ACEOF
9776 #define SIZEOF_VOID__P___VOID_ $ac_cv_sizeof_void_LpR_LvoidR
9781 echo "$as_me:$LINENO: checking size of float" >&5
9782 echo $ECHO_N "checking size of float... $ECHO_C" >&6
9783 if test "${ac_cv_sizeof_float+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9787 cat >conftest.$ac_ext <<_ACEOF
9788 #line $LINENO "configure"
9791 cat confdefs.h >>conftest.$ac_ext
9792 cat >>conftest.$ac_ext <<_ACEOF
9793 /* end confdefs.h. */
9794 #include "confdefs.h"
9795 #include <sys/types.h>
9801 switch (0) case 0: case (sizeof (float) == $ac_size):;
9806 rm -f conftest.$ac_objext
9807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9808 (eval $ac_compile) 2>&5
9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9811 (exit $ac_status); } &&
9812 { ac_try='test -s conftest.$ac_objext'
9813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); }; }; then
9818 ac_cv_sizeof_float=$ac_size
9820 echo "$as_me: failed program was:" >&5
9821 sed 's/^/| /' conftest.$ac_ext >&5
9824 rm -f conftest.$ac_objext conftest.$ac_ext
9825 if test x$ac_cv_sizeof_float != x ; then break; fi
9831 if test x$ac_cv_sizeof_float = x ; then
9832 { { echo "$as_me:$LINENO: error: cannot determine a size for float" >&5
9833 echo "$as_me: error: cannot determine a size for float" >&2;}
9834 { (exit 1); exit 1; }; }
9836 echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
9837 echo "${ECHO_T}$ac_cv_sizeof_float" >&6
9839 cat >>confdefs.h <<_ACEOF
9840 #define SIZEOF_FLOAT $ac_cv_sizeof_float
9844 echo "$as_me:$LINENO: checking size of double" >&5
9845 echo $ECHO_N "checking size of double... $ECHO_C" >&6
9846 if test "${ac_cv_sizeof_double+set}" = set; then
9847 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
9850 cat >conftest.$ac_ext <<_ACEOF
9851 #line $LINENO "configure"
9854 cat confdefs.h >>conftest.$ac_ext
9855 cat >>conftest.$ac_ext <<_ACEOF
9856 /* end confdefs.h. */
9857 #include "confdefs.h"
9858 #include <sys/types.h>
9864 switch (0) case 0: case (sizeof (double) == $ac_size):;
9869 rm -f conftest.$ac_objext
9870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9871 (eval $ac_compile) 2>&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); } &&
9875 { ac_try='test -s conftest.$ac_objext'
9876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); }; }; then
9881 ac_cv_sizeof_double=$ac_size
9883 echo "$as_me: failed program was:" >&5
9884 sed 's/^/| /' conftest.$ac_ext >&5
9887 rm -f conftest.$ac_objext conftest.$ac_ext
9888 if test x$ac_cv_sizeof_double != x ; then break; fi
9894 if test x$ac_cv_sizeof_double = x ; then
9895 { { echo "$as_me:$LINENO: error: cannot determine a size for double" >&5
9896 echo "$as_me: error: cannot determine a size for double" >&2;}
9897 { (exit 1); exit 1; }; }
9899 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
9900 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
9902 cat >>confdefs.h <<_ACEOF
9903 #define SIZEOF_DOUBLE $ac_cv_sizeof_double
9907 echo "$as_me:$LINENO: checking if floating point datatypes are IEEE 754 compliant" >&5
9908 echo $ECHO_N "checking if floating point datatypes are IEEE 754 compliant... $ECHO_C" >&6
9909 cat >conftest.$ac_ext <<_ACEOF
9910 #line $LINENO "configure"
9913 cat confdefs.h >>conftest.$ac_ext
9914 cat >>conftest.$ac_ext <<_ACEOF
9915 /* end confdefs.h. */
9916 #include "confdefs.h"
9919 unsigned char bytes[sizeof(double)];
9923 unsigned char bytes[sizeof(float)];
9930 memset(&doubleTester, 0, sizeof(doubleTester));
9931 memset(&floatTester, 0, sizeof(floatTester));
9933 doubleTester.bytes[GRAS_BIGENDIAN ? sizeof(double) - 1 : 0]=192;
9934 doubleTester.bytes[GRAS_BIGENDIAN ? sizeof(double) - 2 : 1] =
9935 (sizeof(double) == 4) ? 128 :
9936 (sizeof(double) == 8) ? 16 :
9937 (sizeof(double) == 16) ? 1 : 0;
9938 if (doubleTester.testFP != -4.0) return 1;
9940 floatTester.bytes[GRAS_BIGENDIAN ? sizeof(float) - 1 : 0]=192;
9941 floatTester.bytes[GRAS_BIGENDIAN ? sizeof(float) - 2 : 1] =
9942 (sizeof(float) == 4) ? 128 :
9943 (sizeof(float) == 8) ? 16 :
9944 (sizeof(float) == 16) ? 1 : 0;
9945 if (floatTester.testFP != -4.0) return 1;
9952 rm -f conftest.$ac_objext
9953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9954 (eval $ac_compile) 2>&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try='test -s conftest.$ac_objext'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; }; then
9966 cat >>confdefs.h <<\_ACEOF
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9976 { { echo "$as_me:$LINENO: error: GRAS works only for little or big endian systems (yet)" >&5
9977 echo "$as_me: error: GRAS works only for little or big endian systems (yet)" >&2;}
9978 { (exit 1); exit 1; }; }
9980 rm -f conftest.$ac_objext conftest.$ac_extecho "$as_me:$LINENO: result: $IEEE_FP" >&5
9981 echo "${ECHO_T}$IEEE_FP" >&6
9984 echo "$as_me:$LINENO: checking the GRAS signature of this architecture" >&5
9985 echo $ECHO_N "checking the GRAS signature of this architecture... $ECHO_C" >&6
9986 if test x$endian = x1 ; then
9992 trace="$trace_endian"
9993 trace="${trace}:${ac_cv_sizeof_char}.${ac_cv_sizeof_short_int}.${ac_cv_sizeof_int}.${ac_cv_sizeof_long_int}.${ac_cv_sizeof_long_long_int}"
9994 trace="${trace}:${ac_cv_sizeof_void_p}.${ac_cv_sizeof_void_LpR_LvoidR}"
9995 trace="${trace}:${ac_cv_sizeof_float}.${ac_cv_sizeof_double}"
9997 l:1.2.4.4.8:4.4:4.8) gras_arch=0; gras_arch_name=i386;;
9999 if test x$gras_arch = xunknown ; then
10000 echo "$as_me:$LINENO: result: damnit ($trace)" >&5
10001 echo "${ECHO_T}damnit ($trace)" >&6
10002 { { echo "$as_me:$LINENO: error: Impossible to determine the GRAS architecture signature.
10003 Please report this architecture trace ($trace) and what it corresponds to." >&5
10004 echo "$as_me: error: Impossible to determine the GRAS architecture signature.
10005 Please report this architecture trace ($trace) and what it corresponds to." >&2;}
10006 { (exit 1); exit 1; }; }
10008 echo "$as_me:$LINENO: GRAS trace of this machine: $trace" >&5
10010 cat >>confdefs.h <<_ACEOF
10011 #define GRAS_THISARCH_NAME "$gras_arch_name"
10015 cat >>confdefs.h <<_ACEOF
10016 #define GRAS_THISARCH $gras_arch
10019 echo "$as_me:$LINENO: result: $gras_arch ($gras_arch_name)" >&5
10020 echo "${ECHO_T}$gras_arch ($gras_arch_name)" >&6
10023 # Checks for header files.
10024 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10025 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10026 if test "${ac_cv_header_stdc+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 cat >conftest.$ac_ext <<_ACEOF
10030 #line $LINENO "configure"
10033 cat confdefs.h >>conftest.$ac_ext
10034 cat >>conftest.$ac_ext <<_ACEOF
10035 /* end confdefs.h. */
10036 #include <stdlib.h>
10037 #include <stdarg.h>
10038 #include <string.h>
10049 rm -f conftest.$ac_objext
10050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10051 (eval $ac_compile) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } &&
10055 { ac_try='test -s conftest.$ac_objext'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_header_stdc=yes
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.$ac_ext >&5
10066 ac_cv_header_stdc=no
10068 rm -f conftest.$ac_objext conftest.$ac_ext
10070 if test $ac_cv_header_stdc = yes; then
10071 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10072 cat >conftest.$ac_ext <<_ACEOF
10073 #line $LINENO "configure"
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10079 #include <string.h>
10082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10083 $EGREP "memchr" >/dev/null 2>&1; then
10086 ac_cv_header_stdc=no
10092 if test $ac_cv_header_stdc = yes; then
10093 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10094 cat >conftest.$ac_ext <<_ACEOF
10095 #line $LINENO "configure"
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h. */
10101 #include <stdlib.h>
10104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10105 $EGREP "free" >/dev/null 2>&1; then
10108 ac_cv_header_stdc=no
10114 if test $ac_cv_header_stdc = yes; then
10115 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10116 if test "$cross_compiling" = yes; then
10119 cat >conftest.$ac_ext <<_ACEOF
10120 #line $LINENO "configure"
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10127 #if ((' ' & 0x0FF) == 0x020)
10128 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10129 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10131 # define ISLOWER(c) \
10132 (('a' <= (c) && (c) <= 'i') \
10133 || ('j' <= (c) && (c) <= 'r') \
10134 || ('s' <= (c) && (c) <= 'z'))
10135 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10138 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10143 for (i = 0; i < 256; i++)
10144 if (XOR (islower (i), ISLOWER (i))
10145 || toupper (i) != TOUPPER (i))
10150 rm -f conftest$ac_exeext
10151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10152 (eval $ac_link) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10157 (eval $ac_try) 2>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); }; }; then
10163 echo "$as_me: program exited with status $ac_status" >&5
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ( exit $ac_status )
10168 ac_cv_header_stdc=no
10170 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10174 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10175 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10176 if test $ac_cv_header_stdc = yes; then
10178 cat >>confdefs.h <<\_ACEOF
10179 #define STDC_HEADERS 1
10188 for ac_header in stddef.h stdlib.h string.h unistd.h
10190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10192 echo "$as_me:$LINENO: checking for $ac_header" >&5
10193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10200 # Is the header compilable?
10201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10203 cat >conftest.$ac_ext <<_ACEOF
10204 #line $LINENO "configure"
10207 cat confdefs.h >>conftest.$ac_ext
10208 cat >>conftest.$ac_ext <<_ACEOF
10209 /* end confdefs.h. */
10210 $ac_includes_default
10211 #include <$ac_header>
10213 rm -f conftest.$ac_objext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10215 (eval $ac_compile) 2>&5
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); } &&
10219 { ac_try='test -s conftest.$ac_objext'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; }; then
10225 ac_header_compiler=yes
10227 echo "$as_me: failed program was:" >&5
10228 sed 's/^/| /' conftest.$ac_ext >&5
10230 ac_header_compiler=no
10232 rm -f conftest.$ac_objext conftest.$ac_ext
10233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10234 echo "${ECHO_T}$ac_header_compiler" >&6
10236 # Is the header present?
10237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10239 cat >conftest.$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #include <$ac_header>
10248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10251 grep -v '^ *+' conftest.er1 >conftest.err
10253 cat conftest.err >&5
10254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10255 (exit $ac_status); } >/dev/null; then
10256 if test -s conftest.err; then
10257 ac_cpp_err=$ac_c_preproc_warn_flag
10264 if test -z "$ac_cpp_err"; then
10265 ac_header_preproc=yes
10267 echo "$as_me: failed program was:" >&5
10268 sed 's/^/| /' conftest.$ac_ext >&5
10270 ac_header_preproc=no
10272 rm -f conftest.err conftest.$ac_ext
10273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10274 echo "${ECHO_T}$ac_header_preproc" >&6
10276 # So? What about this header?
10277 case $ac_header_compiler:$ac_header_preproc in
10279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10285 ## ------------------------------------ ##
10286 ## Report this to bug-autoconf@gnu.org. ##
10287 ## ------------------------------------ ##
10290 sed "s/^/$as_me: WARNING: /" >&2
10293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10301 ## ------------------------------------ ##
10302 ## Report this to bug-autoconf@gnu.org. ##
10303 ## ------------------------------------ ##
10306 sed "s/^/$as_me: WARNING: /" >&2
10309 echo "$as_me:$LINENO: checking for $ac_header" >&5
10310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 eval "$as_ac_Header=$ac_header_preproc"
10316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10321 cat >>confdefs.h <<_ACEOF
10322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10330 # Checks for typedefs, structures, and compiler characteristics.
10331 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10332 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10333 if test "${ac_cv_c_const+set}" = set; then
10334 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 cat >conftest.$ac_ext <<_ACEOF
10337 #line $LINENO "configure"
10340 cat confdefs.h >>conftest.$ac_ext
10341 cat >>conftest.$ac_ext <<_ACEOF
10342 /* end confdefs.h. */
10347 /* FIXME: Include the comments suggested by Paul. */
10348 #ifndef __cplusplus
10349 /* Ultrix mips cc rejects this. */
10350 typedef int charset[2];
10352 /* SunOS 4.1.1 cc rejects this. */
10353 char const *const *ccp;
10355 /* NEC SVR4.0.2 mips cc rejects this. */
10356 struct point {int x, y;};
10357 static struct point const zero = {0,0};
10358 /* AIX XL C 1.02.0.0 rejects this.
10359 It does not let you subtract one const X* pointer from another in
10360 an arm of an if-expression whose if-part is not a constant
10362 const char *g = "string";
10363 ccp = &g + (g ? g-g : 0);
10364 /* HPUX 7.0 cc rejects these. */
10367 ccp = (char const *const *) p;
10368 { /* SCO 3.2v4 cc rejects this. */
10370 char const *s = 0 ? (char *) 0 : (char const *) 0;
10374 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10375 int x[] = {25, 17};
10376 const int *foo = &x[0];
10379 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10380 typedef const int *iptr;
10384 { /* AIX XL C 1.02.0.0 rejects this saying
10385 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10386 struct s { int j; const int *ap[3]; };
10387 struct s *b; b->j = 5;
10389 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10390 const int foo = 10;
10398 rm -f conftest.$ac_objext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400 (eval $ac_compile) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try='test -s conftest.$ac_objext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.$ac_ext >&5
10417 rm -f conftest.$ac_objext conftest.$ac_ext
10419 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10420 echo "${ECHO_T}$ac_cv_c_const" >&6
10421 if test $ac_cv_c_const = no; then
10423 cat >>confdefs.h <<\_ACEOF
10429 echo "$as_me:$LINENO: checking for inline" >&5
10430 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10431 if test "${ac_cv_c_inline+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10435 for ac_kw in inline __inline__ __inline; do
10436 cat >conftest.$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10443 #ifndef __cplusplus
10445 static $ac_kw foo_t static_foo () {return 0; }
10446 $ac_kw foo_t foo () {return 0; }
10450 rm -f conftest.$ac_objext
10451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10452 (eval $ac_compile) 2>&5
10454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10455 (exit $ac_status); } &&
10456 { ac_try='test -s conftest.$ac_objext'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; }; then
10462 ac_cv_c_inline=$ac_kw; break
10464 echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10468 rm -f conftest.$ac_objext conftest.$ac_ext
10472 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10473 echo "${ECHO_T}$ac_cv_c_inline" >&6
10474 case $ac_cv_c_inline in
10477 cat >>confdefs.h <<\_ACEOF
10481 *) cat >>confdefs.h <<_ACEOF
10482 #define inline $ac_cv_c_inline
10487 echo "$as_me:$LINENO: checking for size_t" >&5
10488 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10489 if test "${ac_cv_type_size_t+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 cat >conftest.$ac_ext <<_ACEOF
10493 #line $LINENO "configure"
10496 cat confdefs.h >>conftest.$ac_ext
10497 cat >>conftest.$ac_ext <<_ACEOF
10498 /* end confdefs.h. */
10499 $ac_includes_default
10505 if (sizeof (size_t))
10511 rm -f conftest.$ac_objext
10512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10513 (eval $ac_compile) 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try='test -s conftest.$ac_objext'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; }; then
10523 ac_cv_type_size_t=yes
10525 echo "$as_me: failed program was:" >&5
10526 sed 's/^/| /' conftest.$ac_ext >&5
10528 ac_cv_type_size_t=no
10530 rm -f conftest.$ac_objext conftest.$ac_ext
10532 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10533 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10534 if test $ac_cv_type_size_t = yes; then
10538 cat >>confdefs.h <<_ACEOF
10539 #define size_t unsigned
10545 # Checks for library functions.
10547 for ac_header in stdlib.h
10549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10551 echo "$as_me:$LINENO: checking for $ac_header" >&5
10552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10559 # Is the header compilable?
10560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10562 cat >conftest.$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 $ac_includes_default
10570 #include <$ac_header>
10572 rm -f conftest.$ac_objext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10574 (eval $ac_compile) 2>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); } &&
10578 { ac_try='test -s conftest.$ac_objext'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; }; then
10584 ac_header_compiler=yes
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.$ac_ext >&5
10589 ac_header_compiler=no
10591 rm -f conftest.$ac_objext conftest.$ac_ext
10592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10593 echo "${ECHO_T}$ac_header_compiler" >&6
10595 # Is the header present?
10596 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10598 cat >conftest.$ac_ext <<_ACEOF
10599 #line $LINENO "configure"
10602 cat confdefs.h >>conftest.$ac_ext
10603 cat >>conftest.$ac_ext <<_ACEOF
10604 /* end confdefs.h. */
10605 #include <$ac_header>
10607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10610 grep -v '^ *+' conftest.er1 >conftest.err
10612 cat conftest.err >&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); } >/dev/null; then
10615 if test -s conftest.err; then
10616 ac_cpp_err=$ac_c_preproc_warn_flag
10623 if test -z "$ac_cpp_err"; then
10624 ac_header_preproc=yes
10626 echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.$ac_ext >&5
10629 ac_header_preproc=no
10631 rm -f conftest.err conftest.$ac_ext
10632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10633 echo "${ECHO_T}$ac_header_preproc" >&6
10635 # So? What about this header?
10636 case $ac_header_compiler:$ac_header_preproc in
10638 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10639 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10644 ## ------------------------------------ ##
10645 ## Report this to bug-autoconf@gnu.org. ##
10646 ## ------------------------------------ ##
10649 sed "s/^/$as_me: WARNING: /" >&2
10652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10660 ## ------------------------------------ ##
10661 ## Report this to bug-autoconf@gnu.org. ##
10662 ## ------------------------------------ ##
10665 sed "s/^/$as_me: WARNING: /" >&2
10668 echo "$as_me:$LINENO: checking for $ac_header" >&5
10669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 eval "$as_ac_Header=$ac_header_preproc"
10675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10680 cat >>confdefs.h <<_ACEOF
10681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10688 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
10689 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
10690 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 if test "$cross_compiling" = yes; then
10694 ac_cv_func_malloc_0_nonnull=no
10696 cat >conftest.$ac_ext <<_ACEOF
10697 #line $LINENO "configure"
10700 cat confdefs.h >>conftest.$ac_ext
10701 cat >>conftest.$ac_ext <<_ACEOF
10702 /* end confdefs.h. */
10703 #if STDC_HEADERS || HAVE_STDLIB_H
10704 # include <stdlib.h>
10712 exit (malloc (0) ? 0 : 1);
10717 rm -f conftest$ac_exeext
10718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10719 (eval $ac_link) 2>&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then
10728 ac_cv_func_malloc_0_nonnull=yes
10730 echo "$as_me: program exited with status $ac_status" >&5
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10734 ( exit $ac_status )
10735 ac_cv_func_malloc_0_nonnull=no
10737 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10740 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
10741 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
10742 if test $ac_cv_func_malloc_0_nonnull = yes; then
10744 cat >>confdefs.h <<\_ACEOF
10745 #define HAVE_MALLOC 1
10749 cat >>confdefs.h <<\_ACEOF
10750 #define HAVE_MALLOC 0
10753 LIBOBJS="$LIBOBJS malloc.$ac_objext"
10755 cat >>confdefs.h <<\_ACEOF
10756 #define malloc rpl_malloc
10763 echo "$as_me:$LINENO: checking for working memcmp" >&5
10764 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
10765 if test "${ac_cv_func_memcmp_working+set}" = set; then
10766 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 if test "$cross_compiling" = yes; then
10769 ac_cv_func_memcmp_working=no
10771 cat >conftest.$ac_ext <<_ACEOF
10772 #line $LINENO "configure"
10775 cat confdefs.h >>conftest.$ac_ext
10776 cat >>conftest.$ac_ext <<_ACEOF
10777 /* end confdefs.h. */
10783 /* Some versions of memcmp are not 8-bit clean. */
10784 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
10785 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10788 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10789 or more and with at least one buffer not starting on a 4-byte boundary.
10790 William Lewis provided this test program. */
10795 for (i = 0; i < 4; i++)
10799 strcpy (a, "--------01111111");
10800 strcpy (b, "--------10000000");
10801 if (memcmp (a, b, 16) >= 0)
10811 rm -f conftest$ac_exeext
10812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10813 (eval $ac_link) 2>&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 ac_cv_func_memcmp_working=yes
10824 echo "$as_me: program exited with status $ac_status" >&5
10825 echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10828 ( exit $ac_status )
10829 ac_cv_func_memcmp_working=no
10831 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10834 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10835 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
10836 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
10842 for ac_func in memset strchr strerror usleep
10844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10845 echo "$as_me:$LINENO: checking for $ac_func" >&5
10846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10847 if eval "test \"\${$as_ac_var+set}\" = set"; then
10848 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 cat >conftest.$ac_ext <<_ACEOF
10851 #line $LINENO "configure"
10854 cat confdefs.h >>conftest.$ac_ext
10855 cat >>conftest.$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 /* System header to define __stub macros and hopefully few prototypes,
10858 which can conflict with char $ac_func (); below.
10859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10860 <limits.h> exists even on freestanding compilers. */
10862 # include <limits.h>
10864 # include <assert.h>
10866 /* Override any gcc2 internal prototype to avoid an error. */
10871 /* We use char because int might match the return type of a gcc2
10872 builtin and then its argument prototype would still apply. */
10874 /* The GNU C library defines this for functions which it implements
10875 to always fail with ENOSYS. Some functions are actually named
10876 something starting with __ and the normal name is an alias. */
10877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10880 char (*f) () = $ac_func;
10889 return f != $ac_func;
10894 rm -f conftest.$ac_objext conftest$ac_exeext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10896 (eval $ac_link) 2>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try='test -s conftest$ac_exeext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 eval "$as_ac_var=yes"
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.$ac_ext >&5
10911 eval "$as_ac_var=no"
10913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10917 if test `eval echo '${'$as_ac_var'}'` = yes; then
10918 cat >>confdefs.h <<_ACEOF
10919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10926 # Can we rebuild the documentation?
10928 # Extract the first word of "gtkdoc-mkdb", so it can be a program name with args.
10929 set dummy gtkdoc-mkdb; ac_word=$2
10930 echo "$as_me:$LINENO: checking for $ac_word" >&5
10931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10932 if test "${ac_cv_prog_GTKDOC+set}" = set; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 if test -n "$GTKDOC"; then
10936 ac_cv_prog_GTKDOC="$GTKDOC" # Let the user override the test.
10938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10939 for as_dir in $PATH
10942 test -z "$as_dir" && as_dir=.
10943 for ac_exec_ext in '' $ac_executable_extensions; do
10944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10945 ac_cv_prog_GTKDOC="true"
10946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10952 test -z "$ac_cv_prog_GTKDOC" && ac_cv_prog_GTKDOC="false"
10955 GTKDOC=$ac_cv_prog_GTKDOC
10956 if test -n "$GTKDOC"; then
10957 echo "$as_me:$LINENO: result: $GTKDOC" >&5
10958 echo "${ECHO_T}$GTKDOC" >&6
10960 echo "$as_me:$LINENO: result: no" >&5
10961 echo "${ECHO_T}no" >&6
10968 HAVE_GTK_DOC_FALSE='#'
10970 HAVE_GTK_DOC_TRUE='#'
10971 HAVE_GTK_DOC_FALSE=
10976 # Check whether --enable-gtk-doc or --disable-gtk-doc was given.
10977 if test "${enable_gtk_doc+set}" = set; then
10978 enableval="$enable_gtk_doc"
10979 enable_gtk_doc="$enableval"
10981 enable_gtk_doc=auto
10984 if test x$enable_gtk_doc = xauto ; then
10985 if test x$GTKDOC = xtrue ; then
10994 if test x$enable_gtk_doc = xyes; then
10995 ENABLE_GTK_DOC_TRUE=
10996 ENABLE_GTK_DOC_FALSE='#'
10998 ENABLE_GTK_DOC_TRUE='#'
10999 ENABLE_GTK_DOC_FALSE=
11005 echo "BEGINING OF ACI-PACKAGE-SAVED(XML)">&5;
11006 # Extract the first word of "xml2-config", so it can be a program name with args.
11007 set dummy xml2-config; ac_word=$2
11008 echo "$as_me:$LINENO: checking for $ac_word" >&5
11009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11010 if test "${ac_cv_path_ACI_CACHE_PROG+set}" = set; then
11011 echo $ECHO_N "(cached) $ECHO_C" >&6
11013 case $ACI_CACHE_PROG in
11015 ac_cv_path_ACI_CACHE_PROG="$ACI_CACHE_PROG" # Let the user override the test with a path.
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_path_ACI_CACHE_PROG="$as_dir/$ac_word$ac_exec_ext"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11032 test -z "$ac_cv_path_ACI_CACHE_PROG" && ac_cv_path_ACI_CACHE_PROG="no"
11036 ACI_CACHE_PROG=$ac_cv_path_ACI_CACHE_PROG
11038 if test -n "$ACI_CACHE_PROG"; then
11039 echo "$as_me:$LINENO: result: $ACI_CACHE_PROG" >&5
11040 echo "${ECHO_T}$ACI_CACHE_PROG" >&6
11042 echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6
11046 aci_module_desc_XML="XML library (version XML2)"
11047 aci_pkg_config_XML=xml2-config
11048 aci_packages="$aci_packages XML"
11049 if test x$ACI_CACHE_PROG = xno; then
11056 CFLAGS_XML=`$ACI_CACHE_PROG --cflags `
11057 LIBS_XML=`$ACI_CACHE_PROG --libs `
11060 echo "END OF ACI-PACKAGE-SAVED(XML)">&5;
11071 aci_nameok=`echo SimGrid|sed 'y/-/./'`
11072 if test "xSimGrid" != "x$aci_nameok" ; then
11073 { { echo "$as_me:$LINENO: error: ACI error: Please no '-' in package name. (ie, SimGrid is not a valid name)" >&5
11074 echo "$as_me: error: ACI error: Please no '-' in package name. (ie, SimGrid is not a valid name)" >&2;}
11075 { (exit 1); exit 1; }; }
11077 echo "BEGINING OF ACI-PACKAGE(SimGrid)">&5;
11078 aci_module_desc_SimGrid="the SimGrid simulator"
11079 aci_packages="$aci_packages SimGrid"
11082 # Check whether --with-SimGrid or --without-SimGrid was given.
11083 if test "${with_SimGrid+set}" = set; then
11084 withval="$with_SimGrid"
11085 with_SimGrid=$withval
11087 if test "$withval" = yes ; then good=no; fi
11088 if test "$withval" = no ; then good=no; fi
11089 if test $good = no ; then
11090 { { echo "$as_me:$LINENO: error: You gave me --with-SimGrid=$withval. I wait for a location, not yes or no (use --enable-the SimGrid simulator or --disable-the SimGrid simulator for that)" >&5
11091 echo "$as_me: error: You gave me --with-SimGrid=$withval. I wait for a location, not yes or no (use --enable-the SimGrid simulator or --disable-the SimGrid simulator for that)" >&2;}
11092 { (exit 1); exit 1; }; }
11094 aci_pkg_prefix_SimGrid="$withval"
11095 CFLAGS_SimGrid="-I$withval/include $CFLAGS_SimGrid"
11096 LIBS_SimGrid="-L$withval/lib $LIBS_SimGrid"
11101 # Check whether --with-SimGrid-includes or --without-SimGrid-includes was given.
11102 if test "${with_SimGrid_includes+set}" = set; then
11103 withval="$with_SimGrid_includes"
11104 CFLAGS_SimGrid="-I$withval $CFLAGS_SimGrid"
11105 aci_pkg_inc_SimGrid="$withval"
11110 # Check whether --with-SimGrid-libraries or --without-SimGrid-libraries was given.
11111 if test "${with_SimGrid_libraries+set}" = set; then
11112 withval="$with_SimGrid_libraries"
11113 LIBS_SimGrid="-L$withval $LIBS_SimGrid"
11114 aci_pkg_lib_SimGrid="$withval"
11118 # Check whether --with-SimGrid-extra or --without-SimGrid-extra was given.
11119 if test "${with_SimGrid_extra+set}" = set; then
11120 withval="$with_SimGrid_extra"
11121 LIBS_SimGrid=`echo $withval|sed 's/!/ /g'`" $LIBS_SimGrid"
11122 aci_pkg_extra_SimGrid="$withval"
11126 OLD_LDFLAGS=$LDFLAGS
11128 OLD_CPPFLAGS=$CPPFLAGS
11130 i=`echo -lsimgrid|wc -l`
11131 if test $i != 1 && test $i != 0 ; then
11132 { { echo "$as_me:$LINENO: error: Badly formed args for function ACI-PACKAGE.
11133 please no newline and no tab." >&5
11134 echo "$as_me: error: Badly formed args for function ACI-PACKAGE.
11135 please no newline and no tab." >&2;}
11136 { (exit 1); exit 1; }; }
11139 ac_func_search_save_LIBS="$LIBS"
11140 ac_func_search_save_this_LIBS="$LIBS_SimGrid"
11142 echo "----------------------------------------" >&5
11143 echo "$as_me:$LINENO: checking for SimGrid. Can I access SG_init without new libs" >&5
11144 echo $ECHO_N "checking for SimGrid. Can I access SG_init without new libs... $ECHO_C" >&6
11145 cat >conftest.$ac_ext <<_ACEOF
11146 #line $LINENO "configure"
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11153 /* Override any gcc2 internal prototype to avoid an error. */
11157 /* We use char because int might match the return type of a gcc2
11158 builtin and then its argument prototype would still apply. */
11168 rm -f conftest.$ac_objext conftest$ac_exeext
11169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11170 (eval $ac_link) 2>&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } &&
11174 { ac_try='test -s conftest$ac_exeext'
11175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11176 (eval $ac_try) 2>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; }; then
11180 echo "$as_me:$LINENO: result: yes" >&5
11181 echo "${ECHO_T}yes" >&6 aci_found="yes"
11183 echo "$as_me: failed program was:" >&5
11184 sed 's/^/| /' conftest.$ac_ext >&5
11186 echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6
11189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11190 if test "$aci_found" = "no"; then
11191 if test -n "$LIBS_SimGrid" ; then
11192 LIBS="$LIBS_SimGrid"
11193 echo "----------------------------------------" >&5
11194 echo "$as_me:$LINENO: checking for SimGrid. Can I access SG_init the specified extra args" >&5
11195 echo $ECHO_N "checking for SimGrid. Can I access SG_init the specified extra args... $ECHO_C" >&6
11196 cat >conftest.$ac_ext <<_ACEOF
11197 #line $LINENO "configure"
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11204 /* Override any gcc2 internal prototype to avoid an error. */
11208 /* We use char because int might match the return type of a gcc2
11209 builtin and then its argument prototype would still apply. */
11219 rm -f conftest.$ac_objext conftest$ac_exeext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11221 (eval $ac_link) 2>&5
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); } &&
11225 { ac_try='test -s conftest$ac_exeext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11239 echo "$as_me:$LINENO: result: $aci_found" >&5
11240 echo "${ECHO_T}$aci_found" >&6
11245 if test "x$aci_found" = "xno"; then
11246 LIBS_SimGrid=`echo "$i $ac_func_search_save_this_LIBS"|sed 's/!/ /g'`
11247 LIBS="$LIBS_SimGrid $ac_func_search_save_LIBS"
11248 echo "----------------------------------------" >&5
11249 echo "$as_me:$LINENO: checking for SimGrid. Can I access SG_init with $LIBS_SimGrid" >&5
11250 echo $ECHO_N "checking for SimGrid. Can I access SG_init with $LIBS_SimGrid... $ECHO_C" >&6
11251 cat >conftest.$ac_ext <<_ACEOF
11252 #line $LINENO "configure"
11255 cat confdefs.h >>conftest.$ac_ext
11256 cat >>conftest.$ac_ext <<_ACEOF
11257 /* end confdefs.h. */
11259 /* Override any gcc2 internal prototype to avoid an error. */
11263 /* We use char because int might match the return type of a gcc2
11264 builtin and then its argument prototype would still apply. */
11274 rm -f conftest.$ac_objext conftest$ac_exeext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11276 (eval $ac_link) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); } &&
11280 { ac_try='test -s conftest$ac_exeext'
11281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11282 (eval $ac_try) 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; }; then
11288 echo "$as_me: failed program was:" >&5
11289 sed 's/^/| /' conftest.$ac_ext >&5
11293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11294 echo "$as_me:$LINENO: result: $aci_found" >&5
11295 echo "${ECHO_T}$aci_found" >&6
11298 LIBS="$ac_func_search_save_LIBS"
11300 if test "x$aci_found" = "xyes" && test "x"simgrid.h != "x" ; then
11301 CPPFLAGS="$CPPFLAGS $CFLAGS_SimGrid"
11302 echo "CPPFLAGS=$CPPFLAGS">&5;
11303 if test "${ac_cv_header_simgrid_h+set}" = set; then
11304 echo "$as_me:$LINENO: checking for simgrid.h" >&5
11305 echo $ECHO_N "checking for simgrid.h... $ECHO_C" >&6
11306 if test "${ac_cv_header_simgrid_h+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11309 echo "$as_me:$LINENO: result: $ac_cv_header_simgrid_h" >&5
11310 echo "${ECHO_T}$ac_cv_header_simgrid_h" >&6
11312 # Is the header compilable?
11313 echo "$as_me:$LINENO: checking simgrid.h usability" >&5
11314 echo $ECHO_N "checking simgrid.h usability... $ECHO_C" >&6
11315 cat >conftest.$ac_ext <<_ACEOF
11316 #line $LINENO "configure"
11319 cat confdefs.h >>conftest.$ac_ext
11320 cat >>conftest.$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 $ac_includes_default
11323 #include <simgrid.h>
11325 rm -f conftest.$ac_objext
11326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11327 (eval $ac_compile) 2>&5
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); } &&
11331 { ac_try='test -s conftest.$ac_objext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_header_compiler=yes
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 ac_header_compiler=no
11344 rm -f conftest.$ac_objext conftest.$ac_ext
11345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11346 echo "${ECHO_T}$ac_header_compiler" >&6
11348 # Is the header present?
11349 echo "$as_me:$LINENO: checking simgrid.h presence" >&5
11350 echo $ECHO_N "checking simgrid.h presence... $ECHO_C" >&6
11351 cat >conftest.$ac_ext <<_ACEOF
11352 #line $LINENO "configure"
11355 cat confdefs.h >>conftest.$ac_ext
11356 cat >>conftest.$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11358 #include <simgrid.h>
11360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11363 grep -v '^ *+' conftest.er1 >conftest.err
11365 cat conftest.err >&5
11366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); } >/dev/null; then
11368 if test -s conftest.err; then
11369 ac_cpp_err=$ac_c_preproc_warn_flag
11376 if test -z "$ac_cpp_err"; then
11377 ac_header_preproc=yes
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.$ac_ext >&5
11382 ac_header_preproc=no
11384 rm -f conftest.err conftest.$ac_ext
11385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11386 echo "${ECHO_T}$ac_header_preproc" >&6
11388 # So? What about this header?
11389 case $ac_header_compiler:$ac_header_preproc in
11391 { echo "$as_me:$LINENO: WARNING: simgrid.h: accepted by the compiler, rejected by the preprocessor!" >&5
11392 echo "$as_me: WARNING: simgrid.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11393 { echo "$as_me:$LINENO: WARNING: simgrid.h: proceeding with the preprocessor's result" >&5
11394 echo "$as_me: WARNING: simgrid.h: proceeding with the preprocessor's result" >&2;}
11397 ## ------------------------------------ ##
11398 ## Report this to bug-autoconf@gnu.org. ##
11399 ## ------------------------------------ ##
11402 sed "s/^/$as_me: WARNING: /" >&2
11405 { echo "$as_me:$LINENO: WARNING: simgrid.h: present but cannot be compiled" >&5
11406 echo "$as_me: WARNING: simgrid.h: present but cannot be compiled" >&2;}
11407 { echo "$as_me:$LINENO: WARNING: simgrid.h: check for missing prerequisite headers?" >&5
11408 echo "$as_me: WARNING: simgrid.h: check for missing prerequisite headers?" >&2;}
11409 { echo "$as_me:$LINENO: WARNING: simgrid.h: proceeding with the preprocessor's result" >&5
11410 echo "$as_me: WARNING: simgrid.h: proceeding with the preprocessor's result" >&2;}
11413 ## ------------------------------------ ##
11414 ## Report this to bug-autoconf@gnu.org. ##
11415 ## ------------------------------------ ##
11418 sed "s/^/$as_me: WARNING: /" >&2
11421 echo "$as_me:$LINENO: checking for simgrid.h" >&5
11422 echo $ECHO_N "checking for simgrid.h... $ECHO_C" >&6
11423 if test "${ac_cv_header_simgrid_h+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 ac_cv_header_simgrid_h=$ac_header_preproc
11428 echo "$as_me:$LINENO: result: $ac_cv_header_simgrid_h" >&5
11429 echo "${ECHO_T}$ac_cv_header_simgrid_h" >&6
11432 if test $ac_cv_header_simgrid_h = yes; then
11440 if test "x$aci_found" = "xno" ; then
11441 { { echo "$as_me:$LINENO: error: Can't find the package SimGrid. Please install it, or if it is installed, tell me where with the --with-SimGrid argument (see ./configure --help=short)." >&5
11442 echo "$as_me: error: Can't find the package SimGrid. Please install it, or if it is installed, tell me where with the --with-SimGrid argument (see ./configure --help=short)." >&2;}
11443 { (exit 1); exit 1; }; }
11448 if test "x$HAVE_SimGrid" != "xyes" ; then
11456 echo "END OF ACI-PACKAGE(SimGrid)">&5;
11457 LDFLAGS=$OLDLDFLAGS
11458 CPPFLAGS=$OLDCPPFLAGS
11463 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11464 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11465 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11466 if test "${enable_maintainer_mode+set}" = set; then
11467 enableval="$enable_maintainer_mode"
11468 USE_MAINTAINER_MODE=$enableval
11470 USE_MAINTAINER_MODE=no
11472 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11473 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11476 if test $USE_MAINTAINER_MODE = yes; then
11477 MAINTAINER_MODE_TRUE=
11478 MAINTAINER_MODE_FALSE='#'
11480 MAINTAINER_MODE_TRUE='#'
11481 MAINTAINER_MODE_FALSE=
11484 MAINT=$MAINTAINER_MODE_TRUE
11487 if test x$USE_MAINTAINER_MODE = xyes
11490 # Check whether --enable-compile-warnings or --disable-compile-warnings was given.
11491 if test "${enable_compile_warnings+set}" = set; then
11492 enableval="$enable_compile_warnings"
11495 enable_compile_warnings=yes
11498 echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
11499 echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6
11501 if test "x$GCC" != xyes; then
11502 enable_compile_warnings=no
11505 if test "x$enable_compile_warnings" != "xno"; then
11506 if test "x$GCC" = "xyes"; then
11507 case " $CFLAGS " in
11509 *) warnCFLAGS="-g -Wall -Wunused" ;;
11512 ## -W is not all that useful. And it cannot be controlled
11513 ## with individual -Wno-xxx flags, unlike -Wall
11514 if test "x$enable_compile_warnings" = "xyes"; then
11515 warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations\
11516 -finline-functions -Wshadow -Wpointer-arith \
11517 -Wwrite-strings -Wno-unused-function -Werror"
11521 echo "$as_me:$LINENO: result: $warnCFLAGS" >&5
11522 echo "${ECHO_T}$warnCFLAGS" >&6
11524 # Check whether --enable-iso-c or --disable-iso-c was given.
11525 if test "${enable_iso_c+set}" = set; then
11526 enableval="$enable_iso_c"
11532 echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
11533 echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6
11535 if test "x$enable_iso_c" != "xno"; then
11536 if test "x$GCC" = "xyes"; then
11537 case " $CFLAGS " in
11539 *) complCFLAGS="$complCFLAGS -ansi" ;;
11542 case " $CFLAGS " in
11544 *) complCFLAGS="$complCFLAGS -pedantic" ;;
11548 echo "$as_me:$LINENO: result: $complCFLAGS" >&5
11549 echo "${ECHO_T}$complCFLAGS" >&6
11550 if test "x$cflags_set" != "xyes"; then
11551 CFLAGS="$CFLAGS $warnCFLAGS $complCFLAGS"
11562 # Extract the first word of "bash", so it can be a program name with args.
11563 set dummy bash; ac_word=$2
11564 echo "$as_me:$LINENO: checking for $ac_word" >&5
11565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11566 if test "${ac_cv_prog_BASH+set}" = set; then
11567 echo $ECHO_N "(cached) $ECHO_C" >&6
11569 if test -n "$BASH"; then
11570 ac_cv_prog_BASH="$BASH" # Let the user override the test.
11572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11573 for as_dir in $PATH
11576 test -z "$as_dir" && as_dir=.
11577 for ac_exec_ext in '' $ac_executable_extensions; do
11578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11579 ac_cv_prog_BASH="`which bash`"
11580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11586 test -z "$ac_cv_prog_BASH" && ac_cv_prog_BASH="/bin/sh"
11589 BASH=$ac_cv_prog_BASH
11590 if test -n "$BASH"; then
11591 echo "$as_me:$LINENO: result: $BASH" >&5
11592 echo "${ECHO_T}$BASH" >&6
11594 echo "$as_me:$LINENO: result: no" >&5
11595 echo "${ECHO_T}no" >&6
11598 WARNING="This file is generated, do not edit"
11601 ac_config_files="$ac_config_files Makefile src/Makefile src/include/Makefile src/include/modules/Makefile src/base/Makefile src/base/Tests/Makefile src/base/Tests/run_tests src/base/Tests/trp_tcp_usage src/base/Tests/trp_file_usage src/modules/Makefile src/examples/Makefile src/examples/ping/Makefile src/examples/bandwidth/Makefile src/examples/saturate/Makefile src/examples/alnem/Makefile doc/Makefile"
11604 cat >confcache <<\_ACEOF
11605 # This file is a shell script that caches the results of configure
11606 # tests run on this system so they can be shared between configure
11607 # scripts and configure runs, see configure's option --config-cache.
11608 # It is not useful on other systems. If it contains results you don't
11609 # want to keep, you may remove or edit it.
11611 # config.status only pays attention to the cache file if you give it
11612 # the --recheck option to rerun configure.
11614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11616 # following values.
11620 # The following way of writing the cache mishandles newlines in values,
11621 # but we know of no workaround that is simple, portable, and efficient.
11622 # So, don't put newlines in cache variables' values.
11623 # Ultrix sh set writes to stderr and can't be redirected directly,
11624 # and sets the high bit in the cache file unless we assign to the vars.
11627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11629 # `set' does not quote correctly, so add quotes (double-quote
11630 # substitution turns \\\\ into \\, and sed turns \\ into \).
11633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11636 # `set' quotes correctly as required by POSIX, so do not add quotes.
11638 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11647 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11649 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11650 if test -w $cache_file; then
11651 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11652 cat confcache >$cache_file
11654 echo "not updating unwritable cache $cache_file"
11659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11660 # Let make expand exec_prefix.
11661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11663 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11664 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11665 # trailing colons and then remove the whole line if VPATH becomes empty
11666 # (actually we leave an empty line to preserve line numbers).
11667 if test "x$srcdir" = x.; then
11668 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11669 s/:*\$(srcdir):*/:/;
11670 s/:*\${srcdir}:*/:/;
11672 s/^\([^=]*=[ ]*\):*/\1/;
11678 DEFS=-DHAVE_CONFIG_H
11682 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11683 # 1. Remove the extension, and $U if already installed.
11684 ac_i=`echo "$ac_i" |
11685 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
11687 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
11688 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
11690 LIBOBJS=$ac_libobjs
11692 LTLIBOBJS=$ac_ltlibobjs
11695 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11696 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11697 Usually this means the macro was only invoked conditionally." >&5
11698 echo "$as_me: error: conditional \"AMDEP\" was never defined.
11699 Usually this means the macro was only invoked conditionally." >&2;}
11700 { (exit 1); exit 1; }; }
11702 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11703 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11704 Usually this means the macro was only invoked conditionally." >&5
11705 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11706 Usually this means the macro was only invoked conditionally." >&2;}
11707 { (exit 1); exit 1; }; }
11709 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11710 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11711 Usually this means the macro was only invoked conditionally." >&5
11712 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11713 Usually this means the macro was only invoked conditionally." >&2;}
11714 { (exit 1); exit 1; }; }
11716 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
11717 { { echo "$as_me:$LINENO: error: conditional \"HAVE_GTK_DOC\" was never defined.
11718 Usually this means the macro was only invoked conditionally." >&5
11719 echo "$as_me: error: conditional \"HAVE_GTK_DOC\" was never defined.
11720 Usually this means the macro was only invoked conditionally." >&2;}
11721 { (exit 1); exit 1; }; }
11723 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
11724 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
11725 Usually this means the macro was only invoked conditionally." >&5
11726 echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
11727 Usually this means the macro was only invoked conditionally." >&2;}
11728 { (exit 1); exit 1; }; }
11730 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11731 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11732 Usually this means the macro was only invoked conditionally." >&5
11733 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11734 Usually this means the macro was only invoked conditionally." >&2;}
11735 { (exit 1); exit 1; }; }
11738 : ${CONFIG_STATUS=./config.status}
11739 ac_clean_files_save=$ac_clean_files
11740 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11741 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11742 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11743 cat >$CONFIG_STATUS <<_ACEOF
11745 # Generated by $as_me.
11746 # Run this file to recreate the current configuration.
11747 # Compiler output produced by configure, useful for debugging
11748 # configure, is in config.log if it exists.
11751 ac_cs_recheck=false
11753 SHELL=\${CONFIG_SHELL-$SHELL}
11756 cat >>$CONFIG_STATUS <<\_ACEOF
11757 ## --------------------- ##
11758 ## M4sh Initialization. ##
11759 ## --------------------- ##
11761 # Be Bourne compatible
11762 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11765 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11766 # is contrary to our usage. Disable this feature.
11767 alias -g '${1+"$@"}'='"$@"'
11768 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
11772 # Support unset when possible.
11773 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
11780 # Work around bugs in pre-3.0 UWIN ksh.
11781 $as_unset ENV MAIL MAILPATH
11788 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11789 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11790 LC_TELEPHONE LC_TIME
11792 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
11793 eval $as_var=C; export $as_var
11799 # Required to use basename.
11800 if expr a : '\(a\)' >/dev/null 2>&1; then
11806 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
11807 as_basename=basename
11813 # Name of the executable.
11814 as_me=`$as_basename "$0" ||
11815 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11816 X"$0" : 'X\(//\)$' \| \
11817 X"$0" : 'X\(/\)$' \| \
11818 . : '\(.\)' 2>/dev/null ||
11820 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
11821 /^X\/\(\/\/\)$/{ s//\1/; q; }
11822 /^X\/\(\/\).*/{ s//\1/; q; }
11826 # PATH needs CR, and LINENO needs CR and PATH.
11827 # Avoid depending upon Character Ranges.
11828 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11829 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11830 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11831 as_cr_digits='0123456789'
11832 as_cr_alnum=$as_cr_Letters$as_cr_digits
11834 # The user is always right.
11835 if test "${PATH_SEPARATOR+set}" != set; then
11836 echo "#! /bin/sh" >conf$$.sh
11837 echo "exit 0" >>conf$$.sh
11839 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11848 as_lineno_1=$LINENO
11849 as_lineno_2=$LINENO
11850 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11851 test "x$as_lineno_1" != "x$as_lineno_2" &&
11852 test "x$as_lineno_3" = "x$as_lineno_2" || {
11853 # Find who we are. Look in the path if we contain no path at all
11856 *[\\/]* ) as_myself=$0 ;;
11857 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858 for as_dir in $PATH
11861 test -z "$as_dir" && as_dir=.
11862 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11867 # We did not find ourselves, most probably we were run as `sh COMMAND'
11868 # in which case we are not to be found in the path.
11869 if test "x$as_myself" = x; then
11872 if test ! -f "$as_myself"; then
11873 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
11874 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
11875 { (exit 1); exit 1; }; }
11877 case $CONFIG_SHELL in
11879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11880 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
11883 test -z "$as_dir" && as_dir=.
11884 for as_base in sh bash ksh sh5; do
11887 if ("$as_dir/$as_base" -c '
11888 as_lineno_1=$LINENO
11889 as_lineno_2=$LINENO
11890 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
11891 test "x$as_lineno_1" != "x$as_lineno_2" &&
11892 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
11893 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
11894 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
11895 CONFIG_SHELL=$as_dir/$as_base
11896 export CONFIG_SHELL
11897 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
11905 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11906 # uniformly replaced by the line number. The first 'sed' inserts a
11907 # line-number line before each line; the second 'sed' does the real
11908 # work. The second script uses 'N' to pair each line-number line
11909 # with the numbered line, and appends trailing '-' during
11910 # substitution so that $LINENO is not a special case at line end.
11911 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11912 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
11913 sed '=' <$as_myself |
11918 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
11921 s,^['$as_cr_digits']*\n,,
11922 ' >$as_me.lineno &&
11923 chmod +x $as_me.lineno ||
11924 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
11925 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
11926 { (exit 1); exit 1; }; }
11928 # Don't try to exec as it changes $[0], causing all sort of problems
11929 # (the dirname of $[0] is not the place where we might find the
11930 # original and so on. Autoconf is especially sensible to this).
11932 # Exit status is that of the last command.
11937 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
11938 *c*,-n*) ECHO_N= ECHO_C='
11940 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
11941 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
11944 if expr a : '\(a\)' >/dev/null 2>&1; then
11950 rm -f conf$$ conf$$.exe conf$$.file
11952 if ln -s conf$$.file conf$$ 2>/dev/null; then
11953 # We could just check for DJGPP; but this test a) works b) is more generic
11954 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
11955 if test -f conf$$.exe; then
11956 # Don't use ln at all; we don't have any links
11961 elif ln conf$$.file conf$$ 2>/dev/null; then
11966 rm -f conf$$ conf$$.exe conf$$.file
11968 if mkdir -p . 2>/dev/null; then
11974 as_executable_p="test -f"
11976 # Sed expression to map a string onto a valid CPP name.
11977 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
11979 # Sed expression to map a string onto a valid variable name.
11980 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
11984 # We need space, tab and new line, in precisely that order.
11994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
11995 # report actual input values of CONFIG_FILES etc. instead of their
11996 # values after options handling. Logging --version etc. is OK.
12000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12001 ## Running $as_me. ##
12006 This file was extended by GRAS $as_me 0.0.040304, which was
12007 generated by GNU Autoconf 2.57. Invocation command line was
12009 CONFIG_FILES = $CONFIG_FILES
12010 CONFIG_HEADERS = $CONFIG_HEADERS
12011 CONFIG_LINKS = $CONFIG_LINKS
12012 CONFIG_COMMANDS = $CONFIG_COMMANDS
12016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
12020 # Files that config.status was made for.
12021 if test -n "$ac_config_files"; then
12022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
12025 if test -n "$ac_config_headers"; then
12026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
12029 if test -n "$ac_config_links"; then
12030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
12033 if test -n "$ac_config_commands"; then
12034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
12037 cat >>$CONFIG_STATUS <<\_ACEOF
12040 \`$as_me' instantiates files from templates according to the
12041 current configuration.
12043 Usage: $0 [OPTIONS] [FILE]...
12045 -h, --help print this help, then exit
12046 -V, --version print version number, then exit
12047 -q, --quiet do not print progress messages
12048 -d, --debug don't remove temporary files
12049 --recheck update $as_me by reconfiguring in the same conditions
12050 --file=FILE[:TEMPLATE]
12051 instantiate the configuration file FILE
12052 --header=FILE[:TEMPLATE]
12053 instantiate the configuration header FILE
12055 Configuration files:
12058 Configuration headers:
12061 Configuration commands:
12064 Report bugs to <bug-autoconf@gnu.org>."
12067 cat >>$CONFIG_STATUS <<_ACEOF
12069 GRAS config.status 0.0.040304
12070 configured by $0, generated by GNU Autoconf 2.57,
12071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
12073 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
12074 Free Software Foundation, Inc.
12075 This config.status script is free software; the Free Software Foundation
12076 gives unlimited permission to copy, distribute and modify it."
12081 cat >>$CONFIG_STATUS <<\_ACEOF
12082 # If no file are specified by the user, then we need to provide default
12083 # value. By we need to know if files were specified by the user.
12089 ac_option=`expr "x$1" : 'x\([^=]*\)='`
12090 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
12098 *) # This is not an option, so the user has probably given explicit
12101 ac_need_defaults=false;;
12105 # Handling of the options.
12107 cat >>$CONFIG_STATUS <<\_ACEOF
12108 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12110 --version | --vers* | -V )
12111 echo "$ac_cs_version"; exit 0 ;;
12113 # Conflict between --help and --header
12114 { { echo "$as_me:$LINENO: error: ambiguous option: $1
12115 Try \`$0 --help' for more information." >&5
12116 echo "$as_me: error: ambiguous option: $1
12117 Try \`$0 --help' for more information." >&2;}
12118 { (exit 1); exit 1; }; };;
12119 --help | --hel | -h )
12120 echo "$ac_cs_usage"; exit 0 ;;
12121 --debug | --d* | -d )
12123 --file | --fil | --fi | --f )
12125 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12126 ac_need_defaults=false;;
12127 --header | --heade | --head | --hea )
12129 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12130 ac_need_defaults=false;;
12131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12135 # This is an error.
12136 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
12137 Try \`$0 --help' for more information." >&5
12138 echo "$as_me: error: unrecognized option: $1
12139 Try \`$0 --help' for more information." >&2;}
12140 { (exit 1); exit 1; }; } ;;
12142 *) ac_config_targets="$ac_config_targets $1" ;;
12148 ac_configure_extra_args=
12150 if $ac_cs_silent; then
12152 ac_configure_extra_args="$ac_configure_extra_args --silent"
12156 cat >>$CONFIG_STATUS <<_ACEOF
12157 if \$ac_cs_recheck; then
12158 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12159 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12164 cat >>$CONFIG_STATUS <<_ACEOF
12166 # INIT-COMMANDS section.
12169 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12175 cat >>$CONFIG_STATUS <<\_ACEOF
12176 for ac_config_target in $ac_config_targets
12178 case "$ac_config_target" in
12179 # Handling of arguments.
12180 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12181 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12182 "src/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
12183 "src/include/modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/include/modules/Makefile" ;;
12184 "src/base/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
12185 "src/base/Tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/base/Tests/Makefile" ;;
12186 "src/base/Tests/run_tests" ) CONFIG_FILES="$CONFIG_FILES src/base/Tests/run_tests" ;;
12187 "src/base/Tests/trp_tcp_usage" ) CONFIG_FILES="$CONFIG_FILES src/base/Tests/trp_tcp_usage" ;;
12188 "src/base/Tests/trp_file_usage" ) CONFIG_FILES="$CONFIG_FILES src/base/Tests/trp_file_usage" ;;
12189 "src/modules/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
12190 "src/examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
12191 "src/examples/ping/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/examples/ping/Makefile" ;;
12192 "src/examples/bandwidth/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/examples/bandwidth/Makefile" ;;
12193 "src/examples/saturate/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/examples/saturate/Makefile" ;;
12194 "src/examples/alnem/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/examples/alnem/Makefile" ;;
12195 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12196 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12197 "src/gras_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/gras_config.h" ;;
12198 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12199 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12200 { (exit 1); exit 1; }; };;
12204 # If the user did not use the arguments to specify the items to instantiate,
12205 # then the envvar interface is used. Set only those that are not.
12206 # We use the long form for the default assignment because of an extremely
12207 # bizarre bug on SunOS 4.1.3.
12208 if $ac_need_defaults; then
12209 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12210 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12214 # Have a temporary directory for convenience. Make it in the build tree
12215 # simply because there is no reason to put it here, and in addition,
12216 # creating and moving files from /tmp can sometimes cause problems.
12217 # Create a temporary directory, and hook for its removal unless debugging.
12220 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
12221 trap '{ (exit 1); exit 1; }' 1 2 13 15
12224 # Create a (secure) tmp directory for tmp files.
12227 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
12228 test -n "$tmp" && test -d "$tmp"
12231 tmp=./confstat$$-$RANDOM
12232 (umask 077 && mkdir $tmp)
12235 echo "$me: cannot create a temporary directory in ." >&2
12236 { (exit 1); exit 1; }
12241 cat >>$CONFIG_STATUS <<_ACEOF
12244 # CONFIG_FILES section.
12247 # No need to generate the scripts if there are no CONFIG_FILES.
12248 # This happens for instance when ./config.status config.h
12249 if test -n "\$CONFIG_FILES"; then
12250 # Protect against being on the right side of a sed subst in config.status.
12251 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
12252 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
12253 s,@SHELL@,$SHELL,;t t
12254 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
12255 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
12256 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
12257 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
12258 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
12259 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
12260 s,@exec_prefix@,$exec_prefix,;t t
12261 s,@prefix@,$prefix,;t t
12262 s,@program_transform_name@,$program_transform_name,;t t
12263 s,@bindir@,$bindir,;t t
12264 s,@sbindir@,$sbindir,;t t
12265 s,@libexecdir@,$libexecdir,;t t
12266 s,@datadir@,$datadir,;t t
12267 s,@sysconfdir@,$sysconfdir,;t t
12268 s,@sharedstatedir@,$sharedstatedir,;t t
12269 s,@localstatedir@,$localstatedir,;t t
12270 s,@libdir@,$libdir,;t t
12271 s,@includedir@,$includedir,;t t
12272 s,@oldincludedir@,$oldincludedir,;t t
12273 s,@infodir@,$infodir,;t t
12274 s,@mandir@,$mandir,;t t
12275 s,@build_alias@,$build_alias,;t t
12276 s,@host_alias@,$host_alias,;t t
12277 s,@target_alias@,$target_alias,;t t
12278 s,@DEFS@,$DEFS,;t t
12279 s,@ECHO_C@,$ECHO_C,;t t
12280 s,@ECHO_N@,$ECHO_N,;t t
12281 s,@ECHO_T@,$ECHO_T,;t t
12282 s,@LIBS@,$LIBS,;t t
12283 s,@build@,$build,;t t
12284 s,@build_cpu@,$build_cpu,;t t
12285 s,@build_vendor@,$build_vendor,;t t
12286 s,@build_os@,$build_os,;t t
12287 s,@host@,$host,;t t
12288 s,@host_cpu@,$host_cpu,;t t
12289 s,@host_vendor@,$host_vendor,;t t
12290 s,@host_os@,$host_os,;t t
12291 s,@target@,$target,;t t
12292 s,@target_cpu@,$target_cpu,;t t
12293 s,@target_vendor@,$target_vendor,;t t
12294 s,@target_os@,$target_os,;t t
12295 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
12296 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
12297 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
12298 s,@CYGPATH_W@,$CYGPATH_W,;t t
12299 s,@PACKAGE@,$PACKAGE,;t t
12300 s,@VERSION@,$VERSION,;t t
12301 s,@ACLOCAL@,$ACLOCAL,;t t
12302 s,@AUTOCONF@,$AUTOCONF,;t t
12303 s,@AUTOMAKE@,$AUTOMAKE,;t t
12304 s,@AUTOHEADER@,$AUTOHEADER,;t t
12305 s,@MAKEINFO@,$MAKEINFO,;t t
12306 s,@AMTAR@,$AMTAR,;t t
12307 s,@install_sh@,$install_sh,;t t
12308 s,@STRIP@,$STRIP,;t t
12309 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
12310 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
12312 s,@SET_MAKE@,$SET_MAKE,;t t
12314 s,@CFLAGS@,$CFLAGS,;t t
12315 s,@LDFLAGS@,$LDFLAGS,;t t
12316 s,@CPPFLAGS@,$CPPFLAGS,;t t
12317 s,@ac_ct_CC@,$ac_ct_CC,;t t
12318 s,@EXEEXT@,$EXEEXT,;t t
12319 s,@OBJEXT@,$OBJEXT,;t t
12320 s,@DEPDIR@,$DEPDIR,;t t
12321 s,@am__include@,$am__include,;t t
12322 s,@am__quote@,$am__quote,;t t
12323 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
12324 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
12325 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
12326 s,@CCDEPMODE@,$CCDEPMODE,;t t
12327 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
12328 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
12329 s,@LN_S@,$LN_S,;t t
12330 s,@ECHO@,$ECHO,;t t
12331 s,@RANLIB@,$RANLIB,;t t
12332 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
12334 s,@EGREP@,$EGREP,;t t
12335 s,@LIBTOOL@,$LIBTOOL,;t t
12336 s,@LIBOBJS@,$LIBOBJS,;t t
12337 s,@GTKDOC@,$GTKDOC,;t t
12338 s,@HAVE_GTK_DOC_TRUE@,$HAVE_GTK_DOC_TRUE,;t t
12339 s,@HAVE_GTK_DOC_FALSE@,$HAVE_GTK_DOC_FALSE,;t t
12340 s,@HAVE_GTK_DOC@,$HAVE_GTK_DOC,;t t
12341 s,@ENABLE_GTK_DOC_TRUE@,$ENABLE_GTK_DOC_TRUE,;t t
12342 s,@ENABLE_GTK_DOC_FALSE@,$ENABLE_GTK_DOC_FALSE,;t t
12343 s,@ACI_CACHE_PROG@,$ACI_CACHE_PROG,;t t
12344 s,@aci_module_desc_XML@,$aci_module_desc_XML,;t t
12345 s,@aci_pkg_config_XML@,$aci_pkg_config_XML,;t t
12346 s,@HAVE_XML@,$HAVE_XML,;t t
12347 s,@CFLAGS_XML@,$CFLAGS_XML,;t t
12348 s,@LIBS_XML@,$LIBS_XML,;t t
12349 s,@aci_module_desc_SimGrid@,$aci_module_desc_SimGrid,;t t
12350 s,@aci_pkg_prefix_SimGrid@,$aci_pkg_prefix_SimGrid,;t t
12351 s,@aci_pkg_inc_SimGrid@,$aci_pkg_inc_SimGrid,;t t
12352 s,@aci_pkg_lib_SimGrid@,$aci_pkg_lib_SimGrid,;t t
12353 s,@aci_pkg_extra_SimGrid@,$aci_pkg_extra_SimGrid,;t t
12354 s,@HAVE_SimGrid@,$HAVE_SimGrid,;t t
12355 s,@CFLAGS_SimGrid@,$CFLAGS_SimGrid,;t t
12356 s,@LIBS_SimGrid@,$LIBS_SimGrid,;t t
12357 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
12358 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
12359 s,@MAINT@,$MAINT,;t t
12360 s,@cflags_set@,$cflags_set,;t t
12361 s,@BASH@,$BASH,;t t
12362 s,@WARNING@,$WARNING,;t t
12363 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
12368 cat >>$CONFIG_STATUS <<\_ACEOF
12369 # Split the substitutions into bite-sized pieces for seds with
12370 # small command number limits, like on Digital OSF/1 and HP-UX.
12371 ac_max_sed_lines=48
12372 ac_sed_frag=1 # Number of current file.
12373 ac_beg=1 # First line for current file.
12374 ac_end=$ac_max_sed_lines # Line after last line for current file.
12377 while $ac_more_lines; do
12378 if test $ac_beg -gt 1; then
12379 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12381 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
12383 if test ! -s $tmp/subs.frag; then
12384 ac_more_lines=false
12386 # The purpose of the label and of the branching condition is to
12387 # speed up the sed processing (if there are no `@' at all, there
12388 # is no need to browse any of the substitutions).
12389 # These are the two extra sed commands mentioned above.
12391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
12392 if test -z "$ac_sed_cmds"; then
12393 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
12395 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
12397 ac_sed_frag=`expr $ac_sed_frag + 1`
12399 ac_end=`expr $ac_end + $ac_max_sed_lines`
12402 if test -z "$ac_sed_cmds"; then
12405 fi # test -n "$CONFIG_FILES"
12408 cat >>$CONFIG_STATUS <<\_ACEOF
12409 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
12410 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12412 - | *:- | *:-:* ) # input from stdin
12414 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12415 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12416 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12417 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12418 * ) ac_file_in=$ac_file.in ;;
12421 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
12422 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12423 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12424 X"$ac_file" : 'X\(//\)[^/]' \| \
12425 X"$ac_file" : 'X\(//\)$' \| \
12426 X"$ac_file" : 'X\(/\)' \| \
12427 . : '\(.\)' 2>/dev/null ||
12429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12431 /^X\(\/\/\)$/{ s//\1/; q; }
12432 /^X\(\/\).*/{ s//\1/; q; }
12434 { if $as_mkdir_p; then
12439 while test ! -d "$as_dir"; do
12440 as_dirs="$as_dir $as_dirs"
12441 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12443 X"$as_dir" : 'X\(//\)[^/]' \| \
12444 X"$as_dir" : 'X\(//\)$' \| \
12445 X"$as_dir" : 'X\(/\)' \| \
12446 . : '\(.\)' 2>/dev/null ||
12448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12449 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12450 /^X\(\/\/\)$/{ s//\1/; q; }
12451 /^X\(\/\).*/{ s//\1/; q; }
12454 test ! -n "$as_dirs" || mkdir $as_dirs
12455 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12456 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12457 { (exit 1); exit 1; }; }; }
12461 if test "$ac_dir" != .; then
12462 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12463 # A "../" for each directory in $ac_dir_suffix.
12464 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12466 ac_dir_suffix= ac_top_builddir=
12470 .) # No --srcdir option. We are building in place.
12472 if test -z "$ac_top_builddir"; then
12475 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12477 [\\/]* | ?:[\\/]* ) # Absolute path.
12478 ac_srcdir=$srcdir$ac_dir_suffix;
12479 ac_top_srcdir=$srcdir ;;
12480 *) # Relative path.
12481 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12482 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12484 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12486 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12487 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12488 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12489 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12493 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12494 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
12497 if test x"$ac_file" != x-; then
12498 { echo "$as_me:$LINENO: creating $ac_file" >&5
12499 echo "$as_me: creating $ac_file" >&6;}
12502 # Let's still pretend it is `configure' which instantiates (i.e., don't
12503 # use $as_me), people would be surprised to read:
12504 # /* config.h. Generated by config.status. */
12505 if test x"$ac_file" = x-; then
12508 configure_input="$ac_file. "
12510 configure_input=$configure_input"Generated from `echo $ac_file_in |
12511 sed 's,.*/,,'` by configure."
12513 # First look for the input files in the build tree, otherwise in the
12515 ac_file_inputs=`IFS=:
12516 for f in $ac_file_in; do
12518 -) echo $tmp/stdin ;;
12520 # Absolute (can't be DOS-style, as IFS=:)
12521 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12522 echo "$as_me: error: cannot find input file: $f" >&2;}
12523 { (exit 1); exit 1; }; }
12526 if test -f "$f"; then
12529 elif test -f "$srcdir/$f"; then
12534 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12535 echo "$as_me: error: cannot find input file: $f" >&2;}
12536 { (exit 1); exit 1; }; }
12539 done` || { (exit 1); exit 1; }
12541 cat >>$CONFIG_STATUS <<_ACEOF
12545 cat >>$CONFIG_STATUS <<\_ACEOF
12547 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12548 s,@configure_input@,$configure_input,;t t
12549 s,@srcdir@,$ac_srcdir,;t t
12550 s,@abs_srcdir@,$ac_abs_srcdir,;t t
12551 s,@top_srcdir@,$ac_top_srcdir,;t t
12552 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
12553 s,@builddir@,$ac_builddir,;t t
12554 s,@abs_builddir@,$ac_abs_builddir,;t t
12555 s,@top_builddir@,$ac_top_builddir,;t t
12556 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
12557 s,@INSTALL@,$ac_INSTALL,;t t
12558 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
12560 if test x"$ac_file" != x-; then
12561 mv $tmp/out $ac_file
12567 # Run the commands associated with the file.
12569 Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12570 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12571 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12572 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12573 src/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12574 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12575 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12576 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12577 src/include/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12578 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12579 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12580 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12581 src/include/modules/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12582 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12583 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12584 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12585 src/base/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12586 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12587 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12588 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12589 src/base/Tests/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12590 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12591 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12592 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12593 src/base/Tests/run_tests ) ( cd src/include ; test -e gras || ln -s . gras )
12594 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12595 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12596 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12597 src/base/Tests/trp_tcp_usage ) ( cd src/include ; test -e gras || ln -s . gras )
12598 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12599 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12600 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12601 src/base/Tests/trp_file_usage ) ( cd src/include ; test -e gras || ln -s . gras )
12602 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12603 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12604 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12605 src/modules/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12606 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12607 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12608 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12609 src/examples/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12610 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12611 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12612 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12613 src/examples/ping/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12614 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12615 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12616 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12617 src/examples/bandwidth/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12618 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12619 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12620 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12621 src/examples/saturate/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12622 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12623 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12624 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12625 src/examples/alnem/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12626 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12627 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12628 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12629 doc/Makefile ) ( cd src/include ; test -e gras || ln -s . gras )
12630 test -e src/base/Tests/trp_tcp_usage && chmod +x src/base/Tests/trp_tcp_usage;
12631 test -e src/base/Tests/trp_file_usage && chmod +x src/base/Tests/trp_file_usage;
12632 test -e src/base/Tests/run_tests && chmod +x src/base/Tests/run_tests ;;
12636 cat >>$CONFIG_STATUS <<\_ACEOF
12639 # CONFIG_HEADER section.
12642 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12643 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12645 # ac_d sets the value in "#define NAME VALUE" lines.
12646 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12647 ac_dB='[ ].*$,\1#\2'
12650 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12651 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12652 ac_uB='$,\1#\2define\3'
12656 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
12657 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12659 - | *:- | *:-:* ) # input from stdin
12661 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12662 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12663 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
12664 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
12665 * ) ac_file_in=$ac_file.in ;;
12668 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
12669 echo "$as_me: creating $ac_file" >&6;}
12671 # First look for the input files in the build tree, otherwise in the
12673 ac_file_inputs=`IFS=:
12674 for f in $ac_file_in; do
12676 -) echo $tmp/stdin ;;
12678 # Absolute (can't be DOS-style, as IFS=:)
12679 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12680 echo "$as_me: error: cannot find input file: $f" >&2;}
12681 { (exit 1); exit 1; }; }
12684 if test -f "$f"; then
12687 elif test -f "$srcdir/$f"; then
12692 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
12693 echo "$as_me: error: cannot find input file: $f" >&2;}
12694 { (exit 1); exit 1; }; }
12697 done` || { (exit 1); exit 1; }
12698 # Remove the trailing spaces.
12699 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
12703 # Transform confdefs.h into two sed scripts, `conftest.defines' and
12704 # `conftest.undefs', that substitutes the proper values into
12705 # config.h.in to produce config.h. The first handles `#define'
12706 # templates, and the second `#undef' templates.
12707 # And first: Protect against being on the right side of a sed subst in
12708 # config.status. Protect against being in an unquoted here document
12709 # in config.status.
12710 rm -f conftest.defines conftest.undefs
12711 # Using a here document instead of a string reduces the quoting nightmare.
12712 # Putting comments in sed scripts is not portable.
12714 # `end' is used to avoid that the second main sed command (meant for
12715 # 0-ary CPP macros) applies to n-ary macro definitions.
12716 # See the Autoconf documentation for `clear'.
12717 cat >confdef2sed.sed <<\_ACEOF
12722 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
12724 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
12727 # If some macros were called several times there might be several times
12728 # the same #defines, which is useless. Nevertheless, we may not want to
12729 # sort them, since we want the *last* AC-DEFINE to be honored.
12730 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
12731 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
12732 rm -f confdef2sed.sed
12734 # This sed command replaces #undef with comments. This is necessary, for
12735 # example, in the case of _POSIX_SOURCE, which is predefined and required
12736 # on some systems where configure will not decide to define it.
12737 cat >>conftest.undefs <<\_ACEOF
12738 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
12741 # Break up conftest.defines because some shells have a limit on the size
12742 # of here documents, and old seds have small limits too (100 cmds).
12743 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
12744 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
12745 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
12746 echo ' :' >>$CONFIG_STATUS
12747 rm -f conftest.tail
12748 while grep . conftest.defines >/dev/null
12750 # Write a limited-size here document to $tmp/defines.sed.
12751 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
12752 # Speed up: don't consider the non `#define' lines.
12753 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
12754 # Work around the forget-to-reset-the-flag bug.
12755 echo 't clr' >>$CONFIG_STATUS
12756 echo ': clr' >>$CONFIG_STATUS
12757 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
12759 sed -f $tmp/defines.sed $tmp/in >$tmp/out
12761 mv $tmp/out $tmp/in
12763 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
12764 rm -f conftest.defines
12765 mv conftest.tail conftest.defines
12767 rm -f conftest.defines
12768 echo ' fi # grep' >>$CONFIG_STATUS
12769 echo >>$CONFIG_STATUS
12771 # Break up conftest.undefs because some shells have a limit on the size
12772 # of here documents, and old seds have small limits too (100 cmds).
12773 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
12774 rm -f conftest.tail
12775 while grep . conftest.undefs >/dev/null
12777 # Write a limited-size here document to $tmp/undefs.sed.
12778 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
12779 # Speed up: don't consider the non `#undef'
12780 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
12781 # Work around the forget-to-reset-the-flag bug.
12782 echo 't clr' >>$CONFIG_STATUS
12783 echo ': clr' >>$CONFIG_STATUS
12784 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
12786 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
12788 mv $tmp/out $tmp/in
12790 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
12791 rm -f conftest.undefs
12792 mv conftest.tail conftest.undefs
12794 rm -f conftest.undefs
12796 cat >>$CONFIG_STATUS <<\_ACEOF
12797 # Let's still pretend it is `configure' which instantiates (i.e., don't
12798 # use $as_me), people would be surprised to read:
12799 # /* config.h. Generated by config.status. */
12800 if test x"$ac_file" = x-; then
12801 echo "/* Generated by configure. */" >$tmp/config.h
12803 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
12805 cat $tmp/in >>$tmp/config.h
12807 if test x"$ac_file" != x-; then
12808 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
12809 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12810 echo "$as_me: $ac_file is unchanged" >&6;}
12812 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
12813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12814 X"$ac_file" : 'X\(//\)[^/]' \| \
12815 X"$ac_file" : 'X\(//\)$' \| \
12816 X"$ac_file" : 'X\(/\)' \| \
12817 . : '\(.\)' 2>/dev/null ||
12819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12820 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12821 /^X\(\/\/\)$/{ s//\1/; q; }
12822 /^X\(\/\).*/{ s//\1/; q; }
12824 { if $as_mkdir_p; then
12829 while test ! -d "$as_dir"; do
12830 as_dirs="$as_dir $as_dirs"
12831 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12832 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12833 X"$as_dir" : 'X\(//\)[^/]' \| \
12834 X"$as_dir" : 'X\(//\)$' \| \
12835 X"$as_dir" : 'X\(/\)' \| \
12836 . : '\(.\)' 2>/dev/null ||
12838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12840 /^X\(\/\/\)$/{ s//\1/; q; }
12841 /^X\(\/\).*/{ s//\1/; q; }
12844 test ! -n "$as_dirs" || mkdir $as_dirs
12845 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12846 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12847 { (exit 1); exit 1; }; }; }
12850 mv $tmp/config.h $ac_file
12854 rm -f $tmp/config.h
12856 _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
12857 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
12858 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12859 X$ac_file : 'X\(//\)[^/]' \| \
12860 X$ac_file : 'X\(//\)$' \| \
12861 X$ac_file : 'X\(/\)' \| \
12862 . : '\(.\)' 2>/dev/null ||
12864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12866 /^X\(\/\/\)$/{ s//\1/; q; }
12867 /^X\(\/\).*/{ s//\1/; q; }
12868 s/.*/./; q'`/stamp-h$_am_stamp_count
12871 cat >>$CONFIG_STATUS <<\_ACEOF
12874 # CONFIG_COMMANDS section.
12876 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
12877 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
12878 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
12879 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
12880 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12881 X"$ac_dest" : 'X\(//\)[^/]' \| \
12882 X"$ac_dest" : 'X\(//\)$' \| \
12883 X"$ac_dest" : 'X\(/\)' \| \
12884 . : '\(.\)' 2>/dev/null ||
12886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12887 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12888 /^X\(\/\/\)$/{ s//\1/; q; }
12889 /^X\(\/\).*/{ s//\1/; q; }
12893 if test "$ac_dir" != .; then
12894 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12895 # A "../" for each directory in $ac_dir_suffix.
12896 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12898 ac_dir_suffix= ac_top_builddir=
12902 .) # No --srcdir option. We are building in place.
12904 if test -z "$ac_top_builddir"; then
12907 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12909 [\\/]* | ?:[\\/]* ) # Absolute path.
12910 ac_srcdir=$srcdir$ac_dir_suffix;
12911 ac_top_srcdir=$srcdir ;;
12912 *) # Relative path.
12913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12916 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
12918 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
12919 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
12920 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
12921 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
12924 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
12925 echo "$as_me: executing $ac_dest commands" >&6;}
12927 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12928 # Strip MF so we end up with the name of the file.
12929 mf=`echo "$mf" | sed -e 's/:.*$//'`
12930 # Check whether this is an Automake generated Makefile or not.
12931 # We used to match only the files named `Makefile.in', but
12932 # some people rename them; so instead we look at the file content.
12933 # Grep'ing the first line is not enough: some people post-process
12934 # each Makefile.in and add a new line on top of each file to say so.
12935 # So let's grep whole file.
12936 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
12937 dirpart=`(dirname "$mf") 2>/dev/null ||
12938 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12939 X"$mf" : 'X\(//\)[^/]' \| \
12940 X"$mf" : 'X\(//\)$' \| \
12941 X"$mf" : 'X\(/\)' \| \
12942 . : '\(.\)' 2>/dev/null ||
12944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12946 /^X\(\/\/\)$/{ s//\1/; q; }
12947 /^X\(\/\).*/{ s//\1/; q; }
12952 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
12953 # Extract the definition of DEP_FILES from the Makefile without
12955 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
12956 test -z "$DEPDIR" && continue
12957 # When using ansi2knr, U may be empty or an underscore; expand it
12958 U=`sed -n -e '/^U = / s///p' < "$mf"`
12959 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
12960 # We invoke sed twice because it is the simplest approach to
12961 # changing $(DEPDIR) to its actual value in the expansion.
12962 for file in `sed -n -e '
12963 /^DEP_FILES = .*\\\\$/ {
12972 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
12973 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12974 # Make sure the directory exists.
12975 test -f "$dirpart/$file" && continue
12976 fdir=`(dirname "$file") 2>/dev/null ||
12977 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12978 X"$file" : 'X\(//\)[^/]' \| \
12979 X"$file" : 'X\(//\)$' \| \
12980 X"$file" : 'X\(/\)' \| \
12981 . : '\(.\)' 2>/dev/null ||
12983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12985 /^X\(\/\/\)$/{ s//\1/; q; }
12986 /^X\(\/\).*/{ s//\1/; q; }
12988 { if $as_mkdir_p; then
12989 mkdir -p $dirpart/$fdir
12991 as_dir=$dirpart/$fdir
12993 while test ! -d "$as_dir"; do
12994 as_dirs="$as_dir $as_dirs"
12995 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12997 X"$as_dir" : 'X\(//\)[^/]' \| \
12998 X"$as_dir" : 'X\(//\)$' \| \
12999 X"$as_dir" : 'X\(/\)' \| \
13000 . : '\(.\)' 2>/dev/null ||
13002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
13003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
13004 /^X\(\/\/\)$/{ s//\1/; q; }
13005 /^X\(\/\).*/{ s//\1/; q; }
13008 test ! -n "$as_dirs" || mkdir $as_dirs
13009 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
13010 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
13011 { (exit 1); exit 1; }; }; }
13013 # echo "creating $dirpart/$file"
13014 echo '# dummy' > "$dirpart/$file"
13022 cat >>$CONFIG_STATUS <<\_ACEOF
13024 { (exit 0); exit 0; }
13026 chmod +x $CONFIG_STATUS
13027 ac_clean_files=$ac_clean_files_save
13030 # configure is writing to config.log, and then calls config.status.
13031 # config.status does its own redirection, appending to config.log.
13032 # Unfortunately, on DOS this fails, as config.log is still kept open
13033 # by configure, so config.status won't be able to write to it; its
13034 # output is simply discarded. So we exec the FD to /dev/null,
13035 # effectively closing config.log, so it can be properly (re)opened and
13036 # appended to by config.status. When coming back to configure, we
13037 # need to make the FD available again.
13038 if test "$no_create" != yes; then
13040 ac_config_status_args=
13041 test "$silent" = yes &&
13042 ac_config_status_args="$ac_config_status_args --quiet"
13044 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13046 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13047 # would make configure fail if this is the last instruction.
13048 $ac_cs_success || { (exit 1); exit 1; }
13054 Configuration of package \`${PACKAGE}':
13059 LDFlags: ${LDFLAGS}