2 # From configure.ac Revision: 1.136 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for simgrid 3.1.1-cvs.
6 # Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 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 more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir=.
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
261 CONFIG_SHELL=$as_shell
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
289 as_func_ret_success () {
292 as_func_ret_failure () {
297 if as_func_success; then
301 echo as_func_success failed.
304 if as_func_failure; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure; then
318 echo as_func_ret_failure succeeded.
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
475 ECHO_C= ECHO_N= ECHO_T=
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
509 elif ln conf$$.file conf$$ 2>/dev/null; then
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
517 if mkdir -p . 2>/dev/null; then
520 test -d ./-p && rmdir ./-p
524 if test -x / >/dev/null 2>&1; then
527 if ls -dL / >/dev/null 2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 # Check that we are running under the correct shell.
557 SHELL=${CONFIG_SHELL-/bin/sh}
561 # Remove one level of quotation (which was required for Make).
562 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
567 if test "X$1" = X--no-reexec; then
568 # Discard the --no-reexec flag, and continue.
570 elif test "X$1" = X--fallback-echo; then
571 # Avoid inline document here, it may be left over
573 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
574 # Yippee, $echo works!
577 # Restart under the correct shell.
578 exec $SHELL "$0" --no-reexec ${1+"$@"}
581 if test "X$1" = X--fallback-echo; then
582 # used as fallback echo
590 # The HP-UX ksh and POSIX shell print the target directory to stdout
592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
594 if test -z "$ECHO"; then
595 if test "X${echo_test_string+set}" != Xset; then
596 # find a string as large as possible, as long as the shell can cope with it
597 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
599 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
600 echo_test_string=`eval $cmd` &&
601 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
608 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
609 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # The Solaris, AIX, and Digital Unix default echo programs unquote
614 # backslashes. This makes it impossible to quote backslashes using
615 # echo "$something" | sed 's/\\/\\\\/g'
617 # So, first we look for a working echo in the user's PATH.
619 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
620 for dir in $PATH /usr/ucb; do
622 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
623 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
632 if test "X$echo" = Xecho; then
633 # We didn't find a better echo, so look for alternatives.
634 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
635 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 # This shell has a builtin print -r that does the trick.
639 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
640 test "X$CONFIG_SHELL" != X/bin/ksh; then
641 # If we have ksh, try running configure again with it.
642 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
643 export ORIGINAL_CONFIG_SHELL
644 CONFIG_SHELL=/bin/ksh
646 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
650 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
651 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
652 test "X$echo_testing_string" = "X$echo_test_string"; then
655 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
656 test "X$echo_testing_string" = 'X\t' &&
657 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
661 SHELL="$CONFIG_SHELL"
663 echo="$CONFIG_SHELL $0 --fallback-echo"
664 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
665 test "X$echo_testing_string" = 'X\t' &&
666 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
667 test "X$echo_testing_string" = "X$echo_test_string"; then
668 echo="$CONFIG_SHELL $0 --fallback-echo"
670 # maybe with a smaller string...
673 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
674 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
681 if test "$prev" != 'sed 50q "$0"'; then
682 echo_test_string=`eval $prev`
683 export echo_test_string
684 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
686 # Oops. We lost completely, so just stick with echo.
695 # Copy echo and quote the copy suitably for passing to libtool from
696 # the Makefile, instead of quoting the original, which is used later.
698 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
699 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
705 tagnames=${tagnames+${tagnames},}CXX
707 tagnames=${tagnames+${tagnames},}F77
709 exec 7<&0 </dev/null 6>&1
712 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
713 # so uname gets run too.
714 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
719 ac_default_prefix=/usr/local
721 ac_config_libobj_dir=.
727 SHELL=${CONFIG_SHELL-/bin/sh}
729 # Identity of this package.
730 PACKAGE_NAME='simgrid'
731 PACKAGE_TARNAME='simgrid'
732 PACKAGE_VERSION='3.1.1-cvs'
733 PACKAGE_STRING='simgrid 3.1.1-cvs'
734 PACKAGE_BUGREPORT='simgrid-devel@lists.gforge.inria.fr'
736 ac_unique_file="include/gras.h"
737 # Factoring default headers for most tests.
738 ac_includes_default="\
740 #ifdef HAVE_SYS_TYPES_H
741 # include <sys/types.h>
743 #ifdef HAVE_SYS_STAT_H
744 # include <sys/stat.h>
750 # ifdef HAVE_STDLIB_H
755 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
760 #ifdef HAVE_STRINGS_H
761 # include <strings.h>
763 #ifdef HAVE_INTTYPES_H
764 # include <inttypes.h>
782 program_transform_name
835 INSTALL_STRIP_PROGRAM
882 pth_skaddr_makecontext
883 pth_sksize_makecontext
889 MAINTAINER_MODE_FALSE
911 ac_precious_vars='build_alias
928 # Initialize some variables set by options.
930 ac_init_version=false
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
940 program_transform_name=s,x,x,
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir='${exec_prefix}/bin'
955 sbindir='${exec_prefix}/sbin'
956 libexecdir='${exec_prefix}/libexec'
957 datarootdir='${prefix}/share'
958 datadir='${datarootdir}'
959 sysconfdir='${prefix}/etc'
960 sharedstatedir='${prefix}/com'
961 localstatedir='${prefix}/var'
962 includedir='${prefix}/include'
963 oldincludedir='/usr/include'
964 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
965 infodir='${datarootdir}/info'
970 libdir='${exec_prefix}/lib'
971 localedir='${datarootdir}/locale'
972 mandir='${datarootdir}/man'
978 # If the previous option needs an argument, assign it.
979 if test -n "$ac_prev"; then
980 eval $ac_prev=\$ac_option
986 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990 # Accept the important Cygnus configure options, so we can diagnose typos.
992 case $ac_dashdash$ac_option in
996 -bindir | --bindir | --bindi | --bind | --bin | --bi)
998 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1001 -build | --build | --buil | --bui | --bu)
1002 ac_prev=build_alias ;;
1003 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1004 build_alias=$ac_optarg ;;
1006 -cache-file | --cache-file | --cache-fil | --cache-fi \
1007 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1008 ac_prev=cache_file ;;
1009 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1010 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1011 cache_file=$ac_optarg ;;
1013 --config-cache | -C)
1014 cache_file=config.cache ;;
1016 -datadir | --datadir | --datadi | --datad)
1018 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1019 datadir=$ac_optarg ;;
1021 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1022 | --dataroo | --dataro | --datar)
1023 ac_prev=datarootdir ;;
1024 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1025 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1026 datarootdir=$ac_optarg ;;
1028 -disable-* | --disable-*)
1029 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1035 eval enable_$ac_feature=no ;;
1037 -docdir | --docdir | --docdi | --doc | --do)
1039 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1040 docdir=$ac_optarg ;;
1042 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1044 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1045 dvidir=$ac_optarg ;;
1047 -enable-* | --enable-*)
1048 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1051 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1052 { (exit 1); exit 1; }; }
1053 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1054 eval enable_$ac_feature=\$ac_optarg ;;
1056 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058 | --exec | --exe | --ex)
1059 ac_prev=exec_prefix ;;
1060 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062 | --exec=* | --exe=* | --ex=*)
1063 exec_prefix=$ac_optarg ;;
1065 -gas | --gas | --ga | --g)
1066 # Obsolete; use --with-gas.
1069 -help | --help | --hel | --he | -h)
1070 ac_init_help=long ;;
1071 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072 ac_init_help=recursive ;;
1073 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074 ac_init_help=short ;;
1076 -host | --host | --hos | --ho)
1077 ac_prev=host_alias ;;
1078 -host=* | --host=* | --hos=* | --ho=*)
1079 host_alias=$ac_optarg ;;
1081 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1083 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1085 htmldir=$ac_optarg ;;
1087 -includedir | --includedir | --includedi | --included | --include \
1088 | --includ | --inclu | --incl | --inc)
1089 ac_prev=includedir ;;
1090 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091 | --includ=* | --inclu=* | --incl=* | --inc=*)
1092 includedir=$ac_optarg ;;
1094 -infodir | --infodir | --infodi | --infod | --info | --inf)
1096 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097 infodir=$ac_optarg ;;
1099 -libdir | --libdir | --libdi | --libd)
1101 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102 libdir=$ac_optarg ;;
1104 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105 | --libexe | --libex | --libe)
1106 ac_prev=libexecdir ;;
1107 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108 | --libexe=* | --libex=* | --libe=*)
1109 libexecdir=$ac_optarg ;;
1111 -localedir | --localedir | --localedi | --localed | --locale)
1112 ac_prev=localedir ;;
1113 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114 localedir=$ac_optarg ;;
1116 -localstatedir | --localstatedir | --localstatedi | --localstated \
1117 | --localstate | --localstat | --localsta | --localst | --locals)
1118 ac_prev=localstatedir ;;
1119 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121 localstatedir=$ac_optarg ;;
1123 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1125 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126 mandir=$ac_optarg ;;
1128 -nfp | --nfp | --nf)
1129 # Obsolete; use --without-fp.
1132 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133 | --no-cr | --no-c | -n)
1136 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142 | --oldin | --oldi | --old | --ol | --o)
1143 ac_prev=oldincludedir ;;
1144 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147 oldincludedir=$ac_optarg ;;
1149 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1151 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152 prefix=$ac_optarg ;;
1154 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155 | --program-pre | --program-pr | --program-p)
1156 ac_prev=program_prefix ;;
1157 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159 program_prefix=$ac_optarg ;;
1161 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162 | --program-suf | --program-su | --program-s)
1163 ac_prev=program_suffix ;;
1164 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166 program_suffix=$ac_optarg ;;
1168 -program-transform-name | --program-transform-name \
1169 | --program-transform-nam | --program-transform-na \
1170 | --program-transform-n | --program-transform- \
1171 | --program-transform | --program-transfor \
1172 | --program-transfo | --program-transf \
1173 | --program-trans | --program-tran \
1174 | --progr-tra | --program-tr | --program-t)
1175 ac_prev=program_transform_name ;;
1176 -program-transform-name=* | --program-transform-name=* \
1177 | --program-transform-nam=* | --program-transform-na=* \
1178 | --program-transform-n=* | --program-transform-=* \
1179 | --program-transform=* | --program-transfor=* \
1180 | --program-transfo=* | --program-transf=* \
1181 | --program-trans=* | --program-tran=* \
1182 | --progr-tra=* | --program-tr=* | --program-t=*)
1183 program_transform_name=$ac_optarg ;;
1185 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1187 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188 pdfdir=$ac_optarg ;;
1190 -psdir | --psdir | --psdi | --psd | --ps)
1192 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196 | -silent | --silent | --silen | --sile | --sil)
1199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1203 sbindir=$ac_optarg ;;
1205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207 | --sharedst | --shareds | --shared | --share | --shar \
1209 ac_prev=sharedstatedir ;;
1210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1214 sharedstatedir=$ac_optarg ;;
1216 -site | --site | --sit)
1218 -site=* | --site=* | --sit=*)
1221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224 srcdir=$ac_optarg ;;
1226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227 | --syscon | --sysco | --sysc | --sys | --sy)
1228 ac_prev=sysconfdir ;;
1229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231 sysconfdir=$ac_optarg ;;
1233 -target | --target | --targe | --targ | --tar | --ta | --t)
1234 ac_prev=target_alias ;;
1235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236 target_alias=$ac_optarg ;;
1238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 -version | --version | --versio | --versi | --vers | -V)
1242 ac_init_version=: ;;
1245 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248 { echo "$as_me: error: invalid package name: $ac_package" >&2
1249 { (exit 1); exit 1; }; }
1250 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1251 eval with_$ac_package=\$ac_optarg ;;
1253 -without-* | --without-*)
1254 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257 { echo "$as_me: error: invalid package name: $ac_package" >&2
1258 { (exit 1); exit 1; }; }
1259 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1260 eval with_$ac_package=no ;;
1263 # Obsolete; use --with-x.
1266 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1267 | --x-incl | --x-inc | --x-in | --x-i)
1268 ac_prev=x_includes ;;
1269 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1270 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1271 x_includes=$ac_optarg ;;
1273 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1274 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1275 ac_prev=x_libraries ;;
1276 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1277 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1278 x_libraries=$ac_optarg ;;
1280 -*) { echo "$as_me: error: unrecognized option: $ac_option
1281 Try \`$0 --help' for more information." >&2
1282 { (exit 1); exit 1; }; }
1286 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1289 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1290 { (exit 1); exit 1; }; }
1291 eval $ac_envvar=\$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305 if test -n "$ac_prev"; then
1306 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1307 { echo "$as_me: error: missing argument to $ac_option" >&2
1308 { (exit 1); exit 1; }; }
1311 # Be sure to have absolute directory names.
1312 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val=\$$ac_var
1319 [\\/$]* | ?:[\\/]* ) continue;;
1320 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1322 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1323 { (exit 1); exit 1; }; }
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x; then
1335 if test "x$build_alias" = x; then
1336 cross_compiling=maybe
1337 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used." >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347 test "$silent" = yes && exec 6>/dev/null
1350 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di=`ls -di .` &&
1352 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353 { echo "$as_me: error: Working directory cannot be determined" >&2
1354 { (exit 1); exit 1; }; }
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 { echo "$as_me: error: pwd does not report name of working directory" >&2
1357 { (exit 1); exit 1; }; }
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir=`$as_dirname -- "$0" ||
1365 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$0" : 'X\(//\)[^/]' \| \
1367 X"$0" : 'X\(//\)$' \| \
1368 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1397 { (exit 1); exit 1; }; }
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1402 { (exit 1); exit 1; }; }
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var in $ac_precious_vars; do
1415 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_${ac_var}_value=\$${ac_var}
1417 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures simgrid 3.1.1-cvs to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/simgrid]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --program-prefix=PREFIX prepend PREFIX to installed program names
1487 --program-suffix=SUFFIX append SUFFIX to installed program names
1488 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1491 --build=BUILD configure for building on BUILD [guessed]
1492 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1493 --target=TARGET configure for building compilers for TARGET [HOST]
1497 if test -n "$ac_init_help"; then
1498 case $ac_init_help in
1499 short | recursive ) echo "Configuration of simgrid 3.1.1-cvs:";;
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-shared[=PKGS] build shared libraries [default=yes]
1507 --enable-static[=PKGS] build static libraries [default=yes]
1508 --enable-fast-install[=PKGS]
1509 optimize for fast installation [default=yes]
1510 --disable-dependency-tracking speeds up one-time build
1511 --enable-dependency-tracking do not reject slow dependency extractors
1512 --disable-libtool-lock avoid locking (might break parallel builds)
1513 --enable-maintainer-mode enable make rules and dependencies not useful
1514 (and sometimes confusing) to the casual installer
1515 --enable-compile-warnings
1516 use compiler warnings (default=no, unless in
1518 --disable-compile-optimizations
1519 use compiler optimizations (default=yes, unless if
1520 CFLAGS is explicitly set)
1523 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1524 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1525 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1526 --with-pic try to use only PIC/non-PIC objects [default=use
1528 --with-tags[=TAGS] include additional configurations [automatic]
1529 --with-pthread Use pthread instead of ucontext.
1530 --with-context=ucontext/pthread Use either (System V) swapcontext or pthread [default=auto].
1532 Some influential environment variables:
1533 CC C compiler command
1534 CFLAGS C compiler flags
1535 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1536 nonstandard directory <lib dir>
1537 LIBS libraries to pass to the linker, e.g. -l<library>
1538 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1539 you have headers in a nonstandard directory <include dir>
1541 CXX C++ compiler command
1542 CXXFLAGS C++ compiler flags
1543 CXXCPP C++ preprocessor
1544 F77 Fortran 77 compiler command
1545 FFLAGS Fortran 77 compiler flags
1547 Use these variables to override the choices made by `configure' or to help
1548 it to find libraries and programs with nonstandard names/locations.
1550 Report bugs to <simgrid-devel@lists.gforge.inria.fr>.
1555 if test "$ac_init_help" = "recursive"; then
1556 # If there are subdirs, report their specific --help.
1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1558 test -d "$ac_dir" || continue
1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1565 # A ".." for each directory in $ac_dir_suffix.
1566 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1567 case $ac_top_builddir_sub in
1568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1572 ac_abs_top_builddir=$ac_pwd
1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1574 # for backward compatibility:
1575 ac_top_builddir=$ac_top_build_prefix
1578 .) # We are building in place.
1580 ac_top_srcdir=$ac_top_builddir_sub
1581 ac_abs_top_srcdir=$ac_pwd ;;
1582 [\\/]* | ?:[\\/]* ) # Absolute name.
1583 ac_srcdir=$srcdir$ac_dir_suffix;
1584 ac_top_srcdir=$srcdir
1585 ac_abs_top_srcdir=$srcdir ;;
1587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1588 ac_top_srcdir=$ac_top_build_prefix$srcdir
1589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1593 cd "$ac_dir" || { ac_status=$?; continue; }
1594 # Check for guested configure.
1595 if test -f "$ac_srcdir/configure.gnu"; then
1597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1598 elif test -f "$ac_srcdir/configure"; then
1600 $SHELL "$ac_srcdir/configure" --help=recursive
1602 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1604 cd "$ac_pwd" || { ac_status=$?; break; }
1608 test -n "$ac_init_help" && exit $ac_status
1609 if $ac_init_version; then
1611 simgrid configure 3.1.1-cvs
1612 generated by GNU Autoconf 2.61
1614 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1615 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1616 This configure script is free software; the Free Software Foundation
1617 gives unlimited permission to copy, distribute and modify it.
1621 cat >config.log <<_ACEOF
1622 This file contains any messages produced by compilers while
1623 running configure, to aid debugging if configure makes a mistake.
1625 It was created by simgrid $as_me 3.1.1-cvs, which was
1626 generated by GNU Autoconf 2.61. Invocation command line was
1638 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1639 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1640 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1641 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1642 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1644 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1645 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1647 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1648 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1649 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1650 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1651 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1652 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1653 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 echo "PATH: $as_dir"
1678 # Keep a trace of the command line.
1679 # Strip out --no-create and --no-recursion so they do not pile up.
1680 # Strip out --silent because we don't want to record it for future runs.
1681 # Also quote any args containing shell meta-characters.
1682 # Make two passes to allow for proper duplicate-argument suppression.
1686 ac_must_keep_next=false
1692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1694 | -silent | --silent | --silen | --sile | --sil)
1697 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1700 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1702 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1703 if test $ac_must_keep_next = true; then
1704 ac_must_keep_next=false # Got value, back to normal.
1707 *=* | --config-cache | -C | -disable-* | --disable-* \
1708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1710 | -with-* | --with-* | -without-* | --without-* | --x)
1711 case "$ac_configure_args0 " in
1712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1715 -* ) ac_must_keep_next=true ;;
1718 ac_configure_args="$ac_configure_args '$ac_arg'"
1723 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1724 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1726 # When interrupted or exit'd, cleanup temporary files, and complete
1727 # config.log. We remove comments because anyway the quotes in there
1728 # would cause problems or look ugly.
1729 # WARNING: Use '\'' to represent an apostrophe within the trap.
1730 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1731 trap 'exit_status=$?
1732 # Save into config.log some information that might help in debugging.
1737 ## ---------------- ##
1738 ## Cache variables. ##
1739 ## ---------------- ##
1742 # The following way of writing the cache mishandles newlines in values,
1744 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1745 eval ac_val=\$$ac_var
1749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1753 _ | IFS | as_nl) ;; #(
1754 *) $as_unset $ac_var ;;
1759 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1760 *${as_nl}ac_space=\ *)
1762 "s/'\''/'\''\\\\'\'''\''/g;
1763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1774 ## ----------------- ##
1775 ## Output variables. ##
1776 ## ----------------- ##
1779 for ac_var in $ac_subst_vars
1781 eval ac_val=\$$ac_var
1783 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1785 echo "$ac_var='\''$ac_val'\''"
1789 if test -n "$ac_subst_files"; then
1791 ## ------------------- ##
1792 ## File substitutions. ##
1793 ## ------------------- ##
1796 for ac_var in $ac_subst_files
1798 eval ac_val=\$$ac_var
1800 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 echo "$ac_var='\''$ac_val'\''"
1807 if test -s confdefs.h; then
1817 test "$ac_signal" != 0 &&
1818 echo "$as_me: caught signal $ac_signal"
1819 echo "$as_me: exit $exit_status"
1821 rm -f core *.core core.conftest.* &&
1822 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1825 for ac_signal in 1 2 13 15; do
1826 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1830 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1831 rm -f -r conftest* confdefs.h
1833 # Predefined preprocessor variables.
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_NAME "$PACKAGE_NAME"
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_STRING "$PACKAGE_STRING"
1855 cat >>confdefs.h <<_ACEOF
1856 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1860 # Let the site file select an alternate cache file if it wants to.
1861 # Prefer explicitly selected file to automatically selected ones.
1862 if test -n "$CONFIG_SITE"; then
1863 set x "$CONFIG_SITE"
1864 elif test "x$prefix" != xNONE; then
1865 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1867 set x "$ac_default_prefix/share/config.site" \
1868 "$ac_default_prefix/etc/config.site"
1873 if test -r "$ac_site_file"; then
1874 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1875 echo "$as_me: loading site script $ac_site_file" >&6;}
1876 sed 's/^/| /' "$ac_site_file" >&5
1881 if test -r "$cache_file"; then
1882 # Some versions of bash will fail to source /dev/null (special
1883 # files actually), so we avoid doing that.
1884 if test -f "$cache_file"; then
1885 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1886 echo "$as_me: loading cache $cache_file" >&6;}
1888 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1889 *) . "./$cache_file";;
1893 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1894 echo "$as_me: creating cache $cache_file" >&6;}
1898 # Check that the precious variables saved in the cache have kept the same
1900 ac_cache_corrupted=false
1901 for ac_var in $ac_precious_vars; do
1902 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1903 eval ac_new_set=\$ac_env_${ac_var}_set
1904 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1905 eval ac_new_val=\$ac_env_${ac_var}_value
1906 case $ac_old_set,$ac_new_set in
1908 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1909 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1910 ac_cache_corrupted=: ;;
1912 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1913 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1914 ac_cache_corrupted=: ;;
1917 if test "x$ac_old_val" != "x$ac_new_val"; then
1918 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1919 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1920 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1921 echo "$as_me: former value: $ac_old_val" >&2;}
1922 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1923 echo "$as_me: current value: $ac_new_val" >&2;}
1924 ac_cache_corrupted=:
1927 # Pass precious variables to config.status.
1928 if test "$ac_new_set" = set; then
1930 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1931 *) ac_arg=$ac_var=$ac_new_val ;;
1933 case " $ac_configure_args " in
1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1935 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1939 if $ac_cache_corrupted; then
1940 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1941 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1942 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1943 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1944 { (exit 1); exit 1; }; }
1972 ac_cpp='$CPP $CPPFLAGS'
1973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1979 ac_config_headers="$ac_config_headers src/gras_config.h"
1981 # A CI_PREREQ(2003.01.16) # We need a recent ACI when having sub-modules
1985 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1986 if test -f "$ac_dir/install-sh"; then
1988 ac_install_sh="$ac_aux_dir/install-sh -c"
1990 elif test -f "$ac_dir/install.sh"; then
1992 ac_install_sh="$ac_aux_dir/install.sh -c"
1994 elif test -f "$ac_dir/shtool"; then
1996 ac_install_sh="$ac_aux_dir/shtool install -c"
2000 if test -z "$ac_aux_dir"; then
2001 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2002 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2003 { (exit 1); exit 1; }; }
2006 # These three variables are undocumented and unsupported,
2007 # and are intended to be withdrawn in a future Autoconf release.
2008 # They can cause serious problems if a builder's source tree is in a directory
2009 # whose full name contains unusual characters.
2010 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2011 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2012 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2015 # Make sure we can run config.sub.
2016 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2017 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2018 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2019 { (exit 1); exit 1; }; }
2021 { echo "$as_me:$LINENO: checking build system type" >&5
2022 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2023 if test "${ac_cv_build+set}" = set; then
2024 echo $ECHO_N "(cached) $ECHO_C" >&6
2026 ac_build_alias=$build_alias
2027 test "x$ac_build_alias" = x &&
2028 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2029 test "x$ac_build_alias" = x &&
2030 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2031 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2032 { (exit 1); exit 1; }; }
2033 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2034 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2035 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2036 { (exit 1); exit 1; }; }
2039 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2040 echo "${ECHO_T}$ac_cv_build" >&6; }
2041 case $ac_cv_build in
2043 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2044 echo "$as_me: error: invalid value of canonical build" >&2;}
2045 { (exit 1); exit 1; }; };;
2048 ac_save_IFS=$IFS; IFS='-'
2054 # Remember, the first character of IFS is used to create $*,
2055 # except with old shells:
2058 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2061 { echo "$as_me:$LINENO: checking host system type" >&5
2062 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2063 if test "${ac_cv_host+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 if test "x$host_alias" = x; then
2067 ac_cv_host=$ac_cv_build
2069 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2070 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2071 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2072 { (exit 1); exit 1; }; }
2076 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2077 echo "${ECHO_T}$ac_cv_host" >&6; }
2080 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2081 echo "$as_me: error: invalid value of canonical host" >&2;}
2082 { (exit 1); exit 1; }; };;
2085 ac_save_IFS=$IFS; IFS='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2098 { echo "$as_me:$LINENO: checking target system type" >&5
2099 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2100 if test "${ac_cv_target+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test "x$target_alias" = x; then
2104 ac_cv_target=$ac_cv_host
2106 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2107 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2108 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2109 { (exit 1); exit 1; }; }
2113 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2114 echo "${ECHO_T}$ac_cv_target" >&6; }
2115 case $ac_cv_target in
2117 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2118 echo "$as_me: error: invalid value of canonical target" >&2;}
2119 { (exit 1); exit 1; }; };;
2121 target=$ac_cv_target
2122 ac_save_IFS=$IFS; IFS='-'
2128 # Remember, the first character of IFS is used to create $*,
2129 # except with old shells:
2132 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2135 # The aliases save the names the user supplied, while $host etc.
2136 # will get canonicalized.
2137 test -n "$target_alias" &&
2138 test "$program_prefix$program_suffix$program_transform_name" = \
2140 program_prefix=${target_alias}-
2142 ac_cpp='$CPP $CPPFLAGS'
2143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2148 am__api_version="1.9"
2149 # Find a good install program. We prefer a C program (faster),
2150 # so one script is as good as another. But avoid the broken or
2151 # incompatible versions:
2152 # SysV /etc/install, /usr/sbin/install
2153 # SunOS /usr/etc/install
2154 # IRIX /sbin/install
2156 # AmigaOS /C/install, which installs bootblocks on floppy discs
2157 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2158 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2159 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2160 # OS/2's system install, which has a completely different semantic
2161 # ./install, which can be erroneously created by make from ./install.sh.
2162 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2163 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2164 if test -z "$INSTALL"; then
2165 if test "${ac_cv_path_install+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 # Account for people who put trailing slashes in PATH elements.
2175 ./ | .// | /cC/* | \
2176 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2177 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2180 # OSF1 and SCO ODT 3.0 have their own names for install.
2181 # Don't use installbsd from OSF since it installs stuff as root
2183 for ac_prog in ginstall scoinst install; do
2184 for ac_exec_ext in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2186 if test $ac_prog = install &&
2187 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2188 # AIX install. It has an incompatible calling convention.
2190 elif test $ac_prog = install &&
2191 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2192 # program-specific install script used by HP pwplus--don't use.
2195 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2208 if test "${ac_cv_path_install+set}" = set; then
2209 INSTALL=$ac_cv_path_install
2211 # As a last resort, use the slow shell script. Don't cache a
2212 # value for INSTALL within a source directory, because that will
2213 # break other packages using the cache if that directory is
2214 # removed, or if the value is a relative name.
2215 INSTALL=$ac_install_sh
2218 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2219 echo "${ECHO_T}$INSTALL" >&6; }
2221 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2222 # It thinks the first close brace ends the variable substitution.
2223 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2225 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2227 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2229 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2230 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2233 echo timestamp > conftest.file
2234 # Do `set' in a subshell so we don't clobber the current shell's
2235 # arguments. Must try -L first in case configure is actually a
2236 # symlink; some systems play weird games with the mod time of symlinks
2237 # (eg FreeBSD returns the mod time of the symlink's containing
2240 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2241 if test "$*" = "X"; then
2243 set X `ls -t $srcdir/configure conftest.file`
2246 if test "$*" != "X $srcdir/configure conftest.file" \
2247 && test "$*" != "X conftest.file $srcdir/configure"; then
2249 # If neither matched, then we have a broken ls. This can happen
2250 # if, for instance, CONFIG_SHELL is bash and it inherits a
2251 # broken ls alias from the environment. This has actually
2252 # happened. Such a system could not be considered "sane".
2253 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2254 alias in your environment" >&5
2255 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2256 alias in your environment" >&2;}
2257 { (exit 1); exit 1; }; }
2260 test "$2" = conftest.file
2266 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2267 Check your system clock" >&5
2268 echo "$as_me: error: newly created file is older than distributed files!
2269 Check your system clock" >&2;}
2270 { (exit 1); exit 1; }; }
2272 { echo "$as_me:$LINENO: result: yes" >&5
2273 echo "${ECHO_T}yes" >&6; }
2274 test "$program_prefix" != NONE &&
2275 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2276 # Use a double $ so make ignores it.
2277 test "$program_suffix" != NONE &&
2278 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2279 # Double any \ or $. echo might interpret backslashes.
2280 # By default was `s,x,x', remove it if useless.
2281 cat <<\_ACEOF >conftest.sed
2282 s/[\\$]/&&/g;s/;s,x,x,$//
2284 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2287 # expand $ac_aux_dir to an absolute path
2288 am_aux_dir=`cd $ac_aux_dir && pwd`
2290 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2291 # Use eval to expand $SHELL
2292 if eval "$MISSING --run true"; then
2293 am_missing_run="$MISSING --run "
2296 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2297 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2300 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2301 # We used to keeping the `.' as first argument, in order to
2302 # allow $(mkdir_p) to be used without argument. As in
2303 # $(mkdir_p) $(somedir)
2304 # where $(somedir) is conditionally defined. However this is wrong
2306 # 1. if the package is installed by a user who cannot write `.'
2307 # make install will fail,
2308 # 2. the above comment should most certainly read
2309 # $(mkdir_p) $(DESTDIR)$(somedir)
2310 # so it does not work when $(somedir) is undefined and
2311 # $(DESTDIR) is not.
2312 # To support the latter case, we have to write
2313 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2314 # so the `.' trick is pointless.
2315 mkdir_p='mkdir -p --'
2317 # On NextStep and OpenStep, the `mkdir' command does not
2318 # recognize any option. It will interpret all options as
2319 # directories to create, and then abort because `.' already
2321 for d in ./-p ./--version;
2323 test -d $d && rmdir $d
2325 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2326 if test -f "$ac_aux_dir/mkinstalldirs"; then
2327 mkdir_p='$(mkinstalldirs)'
2329 mkdir_p='$(install_sh) -d'
2333 for ac_prog in gawk mawk nawk awk
2335 # Extract the first word of "$ac_prog", so it can be a program name with args.
2336 set dummy $ac_prog; ac_word=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_AWK+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$AWK"; then
2343 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_AWK="$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2363 if test -n "$AWK"; then
2364 { echo "$as_me:$LINENO: result: $AWK" >&5
2365 echo "${ECHO_T}$AWK" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2372 test -n "$AWK" && break
2375 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2376 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2377 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2378 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 cat >conftest.make <<\_ACEOF
2384 @echo '@@@%%%=$(MAKE)=@@@%%%'
2386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2387 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2389 eval ac_cv_prog_make_${ac_make}_set=yes;;
2391 eval ac_cv_prog_make_${ac_make}_set=no;;
2395 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2396 { echo "$as_me:$LINENO: result: yes" >&5
2397 echo "${ECHO_T}yes" >&6; }
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2402 SET_MAKE="MAKE=${MAKE-make}"
2405 rm -rf .tst 2>/dev/null
2406 mkdir .tst 2>/dev/null
2407 if test -d .tst; then
2412 rmdir .tst 2>/dev/null
2414 # test to see if srcdir already configured
2415 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2416 test -f $srcdir/config.status; then
2417 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2418 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2419 { (exit 1); exit 1; }; }
2422 # test whether we have cygpath
2423 if test -z "$CYGPATH_W"; then
2424 if (cygpath --version) >/dev/null 2>/dev/null; then
2425 CYGPATH_W='cygpath -w'
2432 # Define the identity of the package.
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE "$PACKAGE"
2442 cat >>confdefs.h <<_ACEOF
2443 #define VERSION "$VERSION"
2446 # Some tools Automake needs.
2448 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2451 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2454 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2457 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2460 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2462 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2464 # Installed binaries are usually stripped using `strip' when the user
2465 # run `make install-strip'. However `strip' might not be the right
2466 # tool to use in cross-compilation environments, therefore Automake
2467 # will honor the `STRIP' environment variable to overrule this program.
2468 if test "$cross_compiling" != no; then
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2471 set dummy ${ac_tool_prefix}strip; ac_word=$2
2472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474 if test "${ac_cv_prog_STRIP+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$STRIP"; then
2478 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir=.
2485 for ac_exec_ext in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 STRIP=$ac_cv_prog_STRIP
2498 if test -n "$STRIP"; then
2499 { echo "$as_me:$LINENO: result: $STRIP" >&5
2500 echo "${ECHO_T}$STRIP" >&6; }
2502 { echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6; }
2508 if test -z "$ac_cv_prog_STRIP"; then
2510 # Extract the first word of "strip", so it can be a program name with args.
2511 set dummy strip; ac_word=$2
2512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2514 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test -n "$ac_ct_STRIP"; then
2518 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir=.
2525 for ac_exec_ext in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 ac_cv_prog_ac_ct_STRIP="strip"
2528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2538 if test -n "$ac_ct_STRIP"; then
2539 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2540 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2542 { echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6; }
2546 if test "x$ac_ct_STRIP" = x; then
2549 case $cross_compiling:$ac_tool_warned in
2551 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2552 whose name does not start with the host triplet. If you think this
2553 configuration is useful to you, please write to autoconf@gnu.org." >&5
2554 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2555 whose name does not start with the host triplet. If you think this
2556 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2557 ac_tool_warned=yes ;;
2562 STRIP="$ac_cv_prog_STRIP"
2566 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2568 # We need awk for the "check" target. The system "awk" is bad on
2570 # Always define AMTAR for backward compatibility.
2572 AMTAR=${AMTAR-"${am_missing_run}tar"}
2574 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2581 ACLOCAL="$ACLOCAL -I acmacro"
2584 # Check whether --enable-shared was given.
2585 if test "${enable_shared+set}" = set; then
2586 enableval=$enable_shared; p=${PACKAGE-default}
2588 yes) enable_shared=yes ;;
2589 no) enable_shared=no ;;
2592 # Look at the argument we got. We use all the common list separators.
2593 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2594 for pkg in $enableval; do
2596 if test "X$pkg" = "X$p"; then
2608 # Check whether --enable-static was given.
2609 if test "${enable_static+set}" = set; then
2610 enableval=$enable_static; p=${PACKAGE-default}
2612 yes) enable_static=yes ;;
2613 no) enable_static=no ;;
2616 # Look at the argument we got. We use all the common list separators.
2617 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2618 for pkg in $enableval; do
2620 if test "X$pkg" = "X$p"; then
2632 # Check whether --enable-fast-install was given.
2633 if test "${enable_fast_install+set}" = set; then
2634 enableval=$enable_fast_install; p=${PACKAGE-default}
2636 yes) enable_fast_install=yes ;;
2637 no) enable_fast_install=no ;;
2639 enable_fast_install=no
2640 # Look at the argument we got. We use all the common list separators.
2641 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2642 for pkg in $enableval; do
2644 if test "X$pkg" = "X$p"; then
2645 enable_fast_install=yes
2652 enable_fast_install=yes
2656 DEPDIR="${am__leading_dot}deps"
2658 ac_config_commands="$ac_config_commands depfiles"
2661 am_make=${MAKE-make}
2662 cat > confinc << 'END'
2667 # If we don't find an include directive, just comment out the code.
2668 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2669 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2673 # First try GNU make style include.
2674 echo "include confinc" > confmf
2675 # We grep out `Entering directory' and `Leaving directory'
2676 # messages which can occur if `w' ends up in MAKEFLAGS.
2677 # In particular we don't look at `^make:' because GNU make might
2678 # be invoked under some other name (usually "gmake"), in which
2679 # case it prints its new name instead of `make'.
2680 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2685 # Now try BSD make style include.
2686 if test "$am__include" = "#"; then
2687 echo '.include "confinc"' > confmf
2688 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2689 am__include=.include
2696 { echo "$as_me:$LINENO: result: $_am_result" >&5
2697 echo "${ECHO_T}$_am_result" >&6; }
2698 rm -f confinc confmf
2700 # Check whether --enable-dependency-tracking was given.
2701 if test "${enable_dependency_tracking+set}" = set; then
2702 enableval=$enable_dependency_tracking;
2705 if test "x$enable_dependency_tracking" != xno; then
2706 am_depcomp="$ac_aux_dir/depcomp"
2711 if test "x$enable_dependency_tracking" != xno; then
2722 ac_cpp='$CPP $CPPFLAGS'
2723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2726 if test -n "$ac_tool_prefix"; then
2727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_CC+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 if test -n "$CC"; then
2735 ac_cv_prog_CC="$CC" # Let the user override the test.
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2744 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 if test -n "$CC"; then
2756 { echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6; }
2759 { echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6; }
2765 if test -z "$ac_cv_prog_CC"; then
2767 # Extract the first word of "gcc", so it can be a program name with args.
2768 set dummy gcc; ac_word=$2
2769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 if test -n "$ac_ct_CC"; then
2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784 ac_cv_prog_ac_ct_CC="gcc"
2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2795 if test -n "$ac_ct_CC"; then
2796 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2797 echo "${ECHO_T}$ac_ct_CC" >&6; }
2799 { echo "$as_me:$LINENO: result: no" >&5
2800 echo "${ECHO_T}no" >&6; }
2803 if test "x$ac_ct_CC" = x; then
2806 case $cross_compiling:$ac_tool_warned in
2808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2809 whose name does not start with the host triplet. If you think this
2810 configuration is useful to you, please write to autoconf@gnu.org." >&5
2811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2812 whose name does not start with the host triplet. If you think this
2813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2814 ac_tool_warned=yes ;;
2822 if test -z "$CC"; then
2823 if test -n "$ac_tool_prefix"; then
2824 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2825 set dummy ${ac_tool_prefix}cc; ac_word=$2
2826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2828 if test "${ac_cv_prog_CC+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$CC"; then
2832 ac_cv_prog_CC="$CC" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841 ac_cv_prog_CC="${ac_tool_prefix}cc"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$CC"; then
2853 { echo "$as_me:$LINENO: result: $CC" >&5
2854 echo "${ECHO_T}$CC" >&6; }
2856 { echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6; }
2863 if test -z "$CC"; then
2864 # Extract the first word of "cc", so it can be a program name with args.
2865 set dummy cc; ac_word=$2
2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2868 if test "${ac_cv_prog_CC+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC="$CC" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2883 ac_prog_rejected=yes
2887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 if test $ac_prog_rejected = yes; then
2895 # We found a bogon in the path, so make sure we never use it.
2896 set dummy $ac_cv_prog_CC
2898 if test $# != 0; then
2899 # We chose a different compiler from the bogus one.
2900 # However, it has the same basename, so the bogon will be chosen
2901 # first if we set CC to just the basename; use the full file name.
2903 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2909 if test -n "$CC"; then
2910 { echo "$as_me:$LINENO: result: $CC" >&5
2911 echo "${ECHO_T}$CC" >&6; }
2913 { echo "$as_me:$LINENO: result: no" >&5
2914 echo "${ECHO_T}no" >&6; }
2919 if test -z "$CC"; then
2920 if test -n "$ac_tool_prefix"; then
2921 for ac_prog in cl.exe
2923 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2924 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_CC+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 if test -n "$CC"; then
2931 ac_cv_prog_CC="$CC" # Let the user override the test.
2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir=.
2938 for ac_exec_ext in '' $ac_executable_extensions; do
2939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 if test -n "$CC"; then
2952 { echo "$as_me:$LINENO: result: $CC" >&5
2953 echo "${ECHO_T}$CC" >&6; }
2955 { echo "$as_me:$LINENO: result: no" >&5
2956 echo "${ECHO_T}no" >&6; }
2960 test -n "$CC" && break
2963 if test -z "$CC"; then
2965 for ac_prog in cl.exe
2967 # Extract the first word of "$ac_prog", so it can be a program name with args.
2968 set dummy $ac_prog; ac_word=$2
2969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 if test -n "$ac_ct_CC"; then
2975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 test -z "$as_dir" && as_dir=.
2982 for ac_exec_ext in '' $ac_executable_extensions; do
2983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984 ac_cv_prog_ac_ct_CC="$ac_prog"
2985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2995 if test -n "$ac_ct_CC"; then
2996 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2997 echo "${ECHO_T}$ac_ct_CC" >&6; }
2999 { echo "$as_me:$LINENO: result: no" >&5
3000 echo "${ECHO_T}no" >&6; }
3004 test -n "$ac_ct_CC" && break
3007 if test "x$ac_ct_CC" = x; then
3010 case $cross_compiling:$ac_tool_warned in
3012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3013 whose name does not start with the host triplet. If you think this
3014 configuration is useful to you, please write to autoconf@gnu.org." >&5
3015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3016 whose name does not start with the host triplet. If you think this
3017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3018 ac_tool_warned=yes ;;
3027 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3028 See \`config.log' for more details." >&5
3029 echo "$as_me: error: no acceptable C compiler found in \$PATH
3030 See \`config.log' for more details." >&2;}
3031 { (exit 1); exit 1; }; }
3033 # Provide some information about the compiler.
3034 echo "$as_me:$LINENO: checking for C compiler version" >&5
3035 ac_compiler=`set X $ac_compile; echo $2`
3036 { (ac_try="$ac_compiler --version >&5"
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3042 (eval "$ac_compiler --version >&5") 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }
3046 { (ac_try="$ac_compiler -v >&5"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_compiler -v >&5") 2>&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }
3056 { (ac_try="$ac_compiler -V >&5"
3058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3062 (eval "$ac_compiler -V >&5") 2>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); }
3067 cat >conftest.$ac_ext <<_ACEOF
3070 cat confdefs.h >>conftest.$ac_ext
3071 cat >>conftest.$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3082 ac_clean_files_save=$ac_clean_files
3083 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3084 # Try to create an executable without -o first, disregard a.out.
3085 # It will help us diagnose broken compilers, and finding out an intuition
3087 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3088 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3089 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3091 # List of possible output files, starting from the most likely.
3092 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3093 # only as a last resort. b.out is created by i960 compilers.
3094 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3096 # The IRIX 6 linker writes into existing files which may not be
3097 # executable, retaining their permissions. Remove them first so a
3098 # subsequent execution test works.
3100 for ac_file in $ac_files
3103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3104 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3109 if { (ac_try="$ac_link_default"
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3115 (eval "$ac_link_default") 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; then
3119 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3120 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3121 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3122 # so that the user can short-circuit this test for compilers unknown to
3124 for ac_file in $ac_files ''
3126 test -f "$ac_file" || continue
3128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3131 # We found the default executable, but exeext='' is most
3135 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3137 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3139 # We set ac_cv_exeext here because the later test for it is not
3140 # safe: cross compilers may not add the suffix if given an `-o'
3141 # argument, so we may need to know it at that point already.
3142 # Even if this section looks crufty: it has the advantage of
3149 test "$ac_cv_exeext" = no && ac_cv_exeext=
3155 { echo "$as_me:$LINENO: result: $ac_file" >&5
3156 echo "${ECHO_T}$ac_file" >&6; }
3157 if test -z "$ac_file"; then
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3162 See \`config.log' for more details." >&5
3163 echo "$as_me: error: C compiler cannot create executables
3164 See \`config.log' for more details." >&2;}
3165 { (exit 77); exit 77; }; }
3168 ac_exeext=$ac_cv_exeext
3170 # Check that the compiler produces executables we can run. If not, either
3171 # the compiler is broken, or we cross compile.
3172 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3173 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3174 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3175 # If not cross compiling, check that we can run a simple program.
3176 if test "$cross_compiling" != yes; then
3177 if { ac_try='./$ac_file'
3178 { (case "(($ac_try" in
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_try") 2>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; }; then
3189 if test "$cross_compiling" = maybe; then
3192 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3193 If you meant to cross compile, use \`--host'.
3194 See \`config.log' for more details." >&5
3195 echo "$as_me: error: cannot run C compiled programs.
3196 If you meant to cross compile, use \`--host'.
3197 See \`config.log' for more details." >&2;}
3198 { (exit 1); exit 1; }; }
3202 { echo "$as_me:$LINENO: result: yes" >&5
3203 echo "${ECHO_T}yes" >&6; }
3205 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3206 ac_clean_files=$ac_clean_files_save
3207 # Check that the compiler produces executables we can run. If not, either
3208 # the compiler is broken, or we cross compile.
3209 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3210 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3211 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3212 echo "${ECHO_T}$cross_compiling" >&6; }
3214 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3215 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3216 if { (ac_try="$ac_link"
3218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3219 *) ac_try_echo=$ac_try;;
3221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3222 (eval "$ac_link") 2>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; then
3226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3228 # work properly (i.e., refer to `conftest.exe'), while it won't with
3230 for ac_file in conftest.exe conftest conftest.*; do
3231 test -f "$ac_file" || continue
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3240 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3241 See \`config.log' for more details." >&5
3242 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3243 See \`config.log' for more details." >&2;}
3244 { (exit 1); exit 1; }; }
3247 rm -f conftest$ac_cv_exeext
3248 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3249 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3251 rm -f conftest.$ac_ext
3252 EXEEXT=$ac_cv_exeext
3254 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3255 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3256 if test "${ac_cv_objext+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.o conftest.obj
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compile") 2>&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; then
3285 for ac_file in conftest.o conftest.obj conftest.*; do
3286 test -f "$ac_file" || continue;
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3297 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3298 See \`config.log' for more details." >&5
3299 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3300 See \`config.log' for more details." >&2;}
3301 { (exit 1); exit 1; }; }
3304 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3306 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3307 echo "${ECHO_T}$ac_cv_objext" >&6; }
3308 OBJEXT=$ac_cv_objext
3310 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3311 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3312 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 cat >conftest.$ac_ext <<_ACEOF
3318 cat confdefs.h >>conftest.$ac_ext
3319 cat >>conftest.$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3333 rm -f conftest.$ac_objext
3334 if { (ac_try="$ac_compile"
3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3337 *) ac_try_echo=$ac_try;;
3339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3340 (eval "$ac_compile") 2>conftest.er1
3342 grep -v '^ *+' conftest.er1 >conftest.err
3344 cat conftest.err >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && {
3347 test -z "$ac_c_werror_flag" ||
3348 test ! -s conftest.err
3349 } && test -s conftest.$ac_objext; then
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.$ac_ext >&5
3358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3359 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3362 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3363 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3364 GCC=`test $ac_compiler_gnu = yes && echo yes`
3365 ac_test_CFLAGS=${CFLAGS+set}
3366 ac_save_CFLAGS=$CFLAGS
3367 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3368 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3369 if test "${ac_cv_prog_cc_g+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 ac_save_c_werror_flag=$ac_c_werror_flag
3373 ac_c_werror_flag=yes
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3391 rm -f conftest.$ac_objext
3392 if { (ac_try="$ac_compile"
3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3398 (eval "$ac_compile") 2>conftest.er1
3400 grep -v '^ *+' conftest.er1 >conftest.err
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } && {
3405 test -z "$ac_c_werror_flag" ||
3406 test ! -s conftest.err
3407 } && test -s conftest.$ac_objext; then
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3414 cat >conftest.$ac_ext <<_ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3429 rm -f conftest.$ac_objext
3430 if { (ac_try="$ac_compile"
3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3436 (eval "$ac_compile") 2>conftest.er1
3438 grep -v '^ *+' conftest.er1 >conftest.err
3440 cat conftest.err >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); } && {
3443 test -z "$ac_c_werror_flag" ||
3444 test ! -s conftest.err
3445 } && test -s conftest.$ac_objext; then
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3451 ac_c_werror_flag=$ac_save_c_werror_flag
3453 cat >conftest.$ac_ext <<_ACEOF
3456 cat confdefs.h >>conftest.$ac_ext
3457 cat >>conftest.$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3468 rm -f conftest.$ac_objext
3469 if { (ac_try="$ac_compile"
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 (eval "$ac_compile") 2>conftest.er1
3477 grep -v '^ *+' conftest.er1 >conftest.err
3479 cat conftest.err >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } && {
3482 test -z "$ac_c_werror_flag" ||
3483 test ! -s conftest.err
3484 } && test -s conftest.$ac_objext; then
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.$ac_ext >&5
3493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_c_werror_flag=$ac_save_c_werror_flag
3502 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3503 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3504 if test "$ac_test_CFLAGS" = set; then
3505 CFLAGS=$ac_save_CFLAGS
3506 elif test $ac_cv_prog_cc_g = yes; then
3507 if test "$GCC" = yes; then
3513 if test "$GCC" = yes; then
3519 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3520 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3521 if test "${ac_cv_prog_cc_c89+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 ac_cv_prog_cc_c89=no
3526 cat >conftest.$ac_ext <<_ACEOF
3529 cat confdefs.h >>conftest.$ac_ext
3530 cat >>conftest.$ac_ext <<_ACEOF
3531 /* end confdefs.h. */
3534 #include <sys/types.h>
3535 #include <sys/stat.h>
3536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3537 struct buf { int x; };
3538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3539 static char *e (p, i)
3545 static char *f (char * (*g) (char **, int), char **p, ...)
3550 s = g (p, va_arg (v,int));
3555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3556 function prototypes and stuff, but not '\xHH' hex character constants.
3557 These don't provoke an error unfortunately, instead are silently treated
3558 as 'x'. The following induces an error, until -std is added to get
3559 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3560 array size at least. It's necessary to write '\x00'==0 to get something
3561 that's true only with -std. */
3562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3565 inside strings and character constants. */
3567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3569 int test (int i, double x);
3570 struct s1 {int (*f) (int a);};
3571 struct s2 {int (*f) (double a);};
3572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3578 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3584 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3586 CC="$ac_save_CC $ac_arg"
3587 rm -f conftest.$ac_objext
3588 if { (ac_try="$ac_compile"
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3594 (eval "$ac_compile") 2>conftest.er1
3596 grep -v '^ *+' conftest.er1 >conftest.err
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } && {
3601 test -z "$ac_c_werror_flag" ||
3602 test ! -s conftest.err
3603 } && test -s conftest.$ac_objext; then
3604 ac_cv_prog_cc_c89=$ac_arg
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3612 rm -f core conftest.err conftest.$ac_objext
3613 test "x$ac_cv_prog_cc_c89" != "xno" && break
3615 rm -f conftest.$ac_ext
3620 case "x$ac_cv_prog_cc_c89" in
3622 { echo "$as_me:$LINENO: result: none needed" >&5
3623 echo "${ECHO_T}none needed" >&6; } ;;
3625 { echo "$as_me:$LINENO: result: unsupported" >&5
3626 echo "${ECHO_T}unsupported" >&6; } ;;
3628 CC="$CC $ac_cv_prog_cc_c89"
3629 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3630 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3635 ac_cpp='$CPP $CPPFLAGS'
3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3640 depcc="$CC" am_compiler_list=
3642 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3643 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3644 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3648 # We make a subdir and do the tests there. Otherwise we can end up
3649 # making bogus files that we don't know about and never remove. For
3650 # instance it was reported that on HP-UX the gcc test will end up
3651 # making a dummy file named `D' -- because `-MD' means `put the output
3654 # Copy depcomp to subdir because otherwise we won't find it if we're
3655 # using a relative directory.
3656 cp "$am_depcomp" conftest.dir
3658 # We will build objects and dependencies in a subdirectory because
3659 # it helps to detect inapplicable dependency modes. For instance
3660 # both Tru64's cc and ICC support -MD to output dependencies as a
3661 # side effect of compilation, but ICC will put the dependencies in
3662 # the current directory while Tru64 will put them in the object
3666 am_cv_CC_dependencies_compiler_type=none
3667 if test "$am_compiler_list" = ""; then
3668 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3670 for depmode in $am_compiler_list; do
3671 # Setup a source with many dependencies, because some compilers
3672 # like to wrap large dependency lists on column 80 (with \), and
3673 # we should not choose a depcomp mode which is confused by this.
3675 # We need to recreate these files for each test, as the compiler may
3676 # overwrite some of them when testing with obscure command lines.
3677 # This happens at least with the AIX C compiler.
3679 for i in 1 2 3 4 5 6; do
3680 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3681 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3682 # Solaris 8's {/usr,}/bin/sh.
3683 touch sub/conftst$i.h
3685 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3689 # after this tag, mechanisms are not by side-effect, so they'll
3690 # only be used when explicitly requested
3691 if test "x$enable_dependency_tracking" = xyes; then
3699 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3700 # mode. It turns out that the SunPro C++ compiler does not properly
3701 # handle `-M -o', and we need to detect this.
3702 if depmode=$depmode \
3703 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3704 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3705 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3706 >/dev/null 2>conftest.err &&
3707 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3708 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3709 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3710 # icc doesn't choke on unknown options, it will just issue warnings
3711 # or remarks (even with -Werror). So we grep stderr for any message
3712 # that says an option was ignored or not supported.
3713 # When given -MP, icc 7.0 and 7.1 complain thusly:
3714 # icc: Command line warning: ignoring option '-M'; no argument required
3715 # The diagnosis changed in icc 8.0:
3716 # icc: Command line remark: option '-MP' not supported
3717 if (grep 'ignoring option' conftest.err ||
3718 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3719 am_cv_CC_dependencies_compiler_type=$depmode
3728 am_cv_CC_dependencies_compiler_type=none
3732 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3733 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3734 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3739 test "x$enable_dependency_tracking" != xno \
3740 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3742 am__fastdepCC_FALSE='#'
3744 am__fastdepCC_TRUE='#'
3745 am__fastdepCC_FALSE=
3749 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3750 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3751 if test "${lt_cv_path_SED+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 # Loop through the user's path and test for sed and gsed.
3755 # Then use that list of sed's as ones to test for truncation.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for lt_ac_prog in sed gsed; do
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3764 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3771 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3772 # along with /bin/sed that truncates output.
3773 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3774 test ! -f $lt_ac_sed && continue
3775 cat /dev/null > conftest.in
3777 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3778 # Check for GNU sed and select it if it is found.
3779 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3780 lt_cv_path_SED=$lt_ac_sed
3784 cat conftest.in conftest.in >conftest.tmp
3785 mv conftest.tmp conftest.in
3786 cp conftest.in conftest.nl
3788 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3789 cmp -s conftest.out conftest.nl || break
3790 # 10000 chars as input seems more than enough
3791 test $lt_ac_count -gt 10 && break
3792 lt_ac_count=`expr $lt_ac_count + 1`
3793 if test $lt_ac_count -gt $lt_ac_max; then
3794 lt_ac_max=$lt_ac_count
3795 lt_cv_path_SED=$lt_ac_sed
3803 { echo "$as_me:$LINENO: result: $SED" >&5
3804 echo "${ECHO_T}$SED" >&6; }
3806 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3807 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3808 if test "${ac_cv_path_GREP+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 # Extract the first word of "grep ggrep" to use in msg output
3812 if test -z "$GREP"; then
3813 set dummy grep ggrep; ac_prog_name=$2
3814 if test "${ac_cv_path_GREP+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 ac_path_GREP_found=false
3818 # Loop through the user's path and test for each of PROGNAME-LIST
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3823 test -z "$as_dir" && as_dir=.
3824 for ac_prog in grep ggrep; do
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3827 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3828 # Check for GNU ac_path_GREP and select it if it is found.
3829 # Check for GNU $ac_path_GREP
3830 case `"$ac_path_GREP" --version 2>&1` in
3832 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3835 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3838 cat "conftest.in" "conftest.in" >"conftest.tmp"
3839 mv "conftest.tmp" "conftest.in"
3840 cp "conftest.in" "conftest.nl"
3841 echo 'GREP' >> "conftest.nl"
3842 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3844 ac_count=`expr $ac_count + 1`
3845 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3846 # Best one so far, save it but keep looking for a better one
3847 ac_cv_path_GREP="$ac_path_GREP"
3848 ac_path_GREP_max=$ac_count
3850 # 10*(2^10) chars as input seems more than enough
3851 test $ac_count -gt 10 && break
3853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3857 $ac_path_GREP_found && break 3
3867 GREP="$ac_cv_path_GREP"
3868 if test -z "$GREP"; then
3869 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3870 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3871 { (exit 1); exit 1; }; }
3875 ac_cv_path_GREP=$GREP
3880 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3881 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3882 GREP="$ac_cv_path_GREP"
3885 { echo "$as_me:$LINENO: checking for egrep" >&5
3886 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3887 if test "${ac_cv_path_EGREP+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3891 then ac_cv_path_EGREP="$GREP -E"
3893 # Extract the first word of "egrep" to use in msg output
3894 if test -z "$EGREP"; then
3895 set dummy egrep; ac_prog_name=$2
3896 if test "${ac_cv_path_EGREP+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_path_EGREP_found=false
3900 # Loop through the user's path and test for each of PROGNAME-LIST
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3905 test -z "$as_dir" && as_dir=.
3906 for ac_prog in egrep; do
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3909 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3910 # Check for GNU ac_path_EGREP and select it if it is found.
3911 # Check for GNU $ac_path_EGREP
3912 case `"$ac_path_EGREP" --version 2>&1` in
3914 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3917 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3920 cat "conftest.in" "conftest.in" >"conftest.tmp"
3921 mv "conftest.tmp" "conftest.in"
3922 cp "conftest.in" "conftest.nl"
3923 echo 'EGREP' >> "conftest.nl"
3924 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3925 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3926 ac_count=`expr $ac_count + 1`
3927 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3928 # Best one so far, save it but keep looking for a better one
3929 ac_cv_path_EGREP="$ac_path_EGREP"
3930 ac_path_EGREP_max=$ac_count
3932 # 10*(2^10) chars as input seems more than enough
3933 test $ac_count -gt 10 && break
3935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3939 $ac_path_EGREP_found && break 3
3949 EGREP="$ac_cv_path_EGREP"
3950 if test -z "$EGREP"; then
3951 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3952 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3953 { (exit 1); exit 1; }; }
3957 ac_cv_path_EGREP=$EGREP
3963 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3964 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3965 EGREP="$ac_cv_path_EGREP"
3969 # Check whether --with-gnu-ld was given.
3970 if test "${with_gnu_ld+set}" = set; then
3971 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3977 if test "$GCC" = yes; then
3978 # Check if gcc -print-prog-name=ld gives a path.
3979 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3980 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3983 # gcc leaves a trailing carriage return which upsets mingw
3984 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3986 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3989 # Accept absolute paths.
3991 re_direlt='/[^/][^/]*/\.\./'
3992 # Canonicalize the pathname of ld
3993 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3994 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3995 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3997 test -z "$LD" && LD="$ac_prog"
4000 # If it fails, then pretend we aren't using GCC.
4004 # If it is relative, then search for the first ld in PATH.
4008 elif test "$with_gnu_ld" = yes; then
4009 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4010 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4012 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4013 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4015 if test "${lt_cv_path_LD+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 if test -z "$LD"; then
4019 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4020 for ac_dir in $PATH; do
4022 test -z "$ac_dir" && ac_dir=.
4023 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4024 lt_cv_path_LD="$ac_dir/$ac_prog"
4025 # Check to see if the program is GNU ld. I'd rather use --version,
4026 # but apparently some variants of GNU ld only accept -v.
4027 # Break only if it was the GNU/non-GNU ld that we prefer.
4028 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4029 *GNU* | *'with BFD'*)
4030 test "$with_gnu_ld" != no && break
4033 test "$with_gnu_ld" != yes && break
4040 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4045 if test -n "$LD"; then
4046 { echo "$as_me:$LINENO: result: $LD" >&5
4047 echo "${ECHO_T}$LD" >&6; }
4049 { echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6; }
4052 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4053 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4054 { (exit 1); exit 1; }; }
4055 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4056 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4057 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4061 case `$LD -v 2>&1 </dev/null` in
4062 *GNU* | *'with BFD'*)
4063 lt_cv_prog_gnu_ld=yes
4066 lt_cv_prog_gnu_ld=no
4070 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4071 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4072 with_gnu_ld=$lt_cv_prog_gnu_ld
4075 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4076 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4077 if test "${lt_cv_ld_reload_flag+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 lt_cv_ld_reload_flag='-r'
4082 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4083 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4084 reload_flag=$lt_cv_ld_reload_flag
4085 case $reload_flag in
4087 *) reload_flag=" $reload_flag" ;;
4089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4092 if test "$GCC" = yes; then
4093 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4095 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4100 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4101 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4102 if test "${lt_cv_path_NM+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 if test -n "$NM"; then
4106 # Let the user override the test.
4109 lt_nm_to_check="${ac_tool_prefix}nm"
4110 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4111 lt_nm_to_check="$lt_nm_to_check nm"
4113 for lt_tmp_nm in $lt_nm_to_check; do
4114 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4115 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4117 test -z "$ac_dir" && ac_dir=.
4118 tmp_nm="$ac_dir/$lt_tmp_nm"
4119 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4120 # Check to see if the nm accepts a BSD-compat flag.
4121 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4122 # nm: unknown option "B" ignored
4123 # Tru64's nm complains that /dev/null is an invalid object file
4124 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4125 */dev/null* | *'Invalid file or object type'*)
4126 lt_cv_path_NM="$tmp_nm -B"
4130 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4132 lt_cv_path_NM="$tmp_nm -p"
4136 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4137 continue # so that we can try to find one that supports BSD flags
4146 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4149 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4150 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4153 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4154 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4156 if test "$LN_S" = "ln -s"; then
4157 { echo "$as_me:$LINENO: result: yes" >&5
4158 echo "${ECHO_T}yes" >&6; }
4160 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4161 echo "${ECHO_T}no, using $LN_S" >&6; }
4164 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4165 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4166 if test "${lt_cv_deplibs_check_method+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 lt_cv_file_magic_cmd='$MAGIC_CMD'
4170 lt_cv_file_magic_test_file=
4171 lt_cv_deplibs_check_method='unknown'
4172 # Need to set the preceding variable on all platforms that support
4173 # interlibrary dependencies.
4174 # 'none' -- dependencies not supported.
4175 # `unknown' -- same as none, but documents that we really don't know.
4176 # 'pass_all' -- all dependencies passed with no checks.
4177 # 'test_compile' -- check by making test program.
4178 # 'file_magic [[regex]]' -- check by looking for files in library path
4179 # which responds to the $file_magic_cmd with a given extended regex.
4180 # If you have `file' or equivalent on your system and you're not sure
4181 # whether `pass_all' will *always* work, you probably want this one.
4185 lt_cv_deplibs_check_method=pass_all
4189 lt_cv_deplibs_check_method=pass_all
4193 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4194 lt_cv_file_magic_cmd='/usr/bin/file -L'
4195 lt_cv_file_magic_test_file=/shlib/libc.so
4199 # func_win32_libid is a shell function defined in ltmain.sh
4200 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4201 lt_cv_file_magic_cmd='func_win32_libid'
4205 # Base MSYS/MinGW do not provide the 'file' command needed by
4206 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4207 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4208 lt_cv_file_magic_cmd='$OBJDUMP -f'
4211 darwin* | rhapsody*)
4212 lt_cv_deplibs_check_method=pass_all
4215 freebsd* | dragonfly*)
4216 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4219 # Not sure whether the presence of OpenBSD here was a mistake.
4220 # Let's accept both of them until this is cleared up.
4221 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4222 lt_cv_file_magic_cmd=/usr/bin/file
4223 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4227 lt_cv_deplibs_check_method=pass_all
4232 lt_cv_deplibs_check_method=pass_all
4235 hpux10.20* | hpux11*)
4236 lt_cv_file_magic_cmd=/usr/bin/file
4239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4258 irix5* | irix6* | nonstopux*)
4260 *-32|*"-32 ") libmagic=32-bit;;
4261 *-n32|*"-n32 ") libmagic=N32;;
4262 *-64|*"-64 ") libmagic=64-bit;;
4263 *) libmagic=never-match;;
4265 lt_cv_deplibs_check_method=pass_all
4268 # This must be Linux ELF.
4269 linux* | k*bsd*-gnu)
4270 lt_cv_deplibs_check_method=pass_all
4273 netbsd* | netbsdelf*-gnu)
4274 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4283 lt_cv_file_magic_cmd=/usr/bin/file
4284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4288 lt_cv_deplibs_check_method=unknown
4292 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4299 osf3* | osf4* | osf5*)
4300 lt_cv_deplibs_check_method=pass_all
4304 lt_cv_deplibs_check_method=pass_all
4308 case $host_vendor in
4310 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]'
4311 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4314 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_file_magic_cmd='/bin/file'
4318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4321 lt_cv_file_magic_cmd='/bin/file'
4322 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4323 lt_cv_file_magic_test_file=/lib/libc.so
4326 lt_cv_deplibs_check_method=pass_all
4329 lt_cv_deplibs_check_method=pass_all
4334 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4335 lt_cv_deplibs_check_method=pass_all
4340 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4341 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4342 file_magic_cmd=$lt_cv_file_magic_cmd
4343 deplibs_check_method=$lt_cv_deplibs_check_method
4344 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4349 # If no C compiler was specified, use CC.
4352 # If no C compiler flags were specified, use CFLAGS.
4353 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4355 # Allow CC to be a program name with arguments.
4359 # Check whether --enable-libtool-lock was given.
4360 if test "${enable_libtool_lock+set}" = set; then
4361 enableval=$enable_libtool_lock;
4364 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4366 # Some flags need to be propagated to the compiler or linker for good
4370 # Find out which ABI we are using.
4371 echo 'int i;' > conftest.$ac_ext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4373 (eval $ac_compile) 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; then
4377 case `/usr/bin/file conftest.$ac_objext` in
4389 # Find out which ABI we are using.
4390 echo '#line 4390 "configure"' > conftest.$ac_ext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392 (eval $ac_compile) 2>&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; then
4396 if test "$lt_cv_prog_gnu_ld" = yes; then
4397 case `/usr/bin/file conftest.$ac_objext` in
4399 LD="${LD-ld} -melf32bsmip"
4402 LD="${LD-ld} -melf32bmipn32"
4405 LD="${LD-ld} -melf64bmip"
4409 case `/usr/bin/file conftest.$ac_objext` in
4425 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4426 # Find out which ABI we are using.
4427 echo 'int i;' > conftest.$ac_ext
4428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4429 (eval $ac_compile) 2>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; then
4433 case `/usr/bin/file conftest.o` in
4437 LD="${LD-ld} -m elf_i386"
4439 ppc64-*linux*|powerpc64-*linux*)
4440 LD="${LD-ld} -m elf32ppclinux"
4443 LD="${LD-ld} -m elf_s390"
4446 LD="${LD-ld} -m elf32_sparc"
4453 LD="${LD-ld} -m elf_x86_64"
4455 ppc*-*linux*|powerpc*-*linux*)
4456 LD="${LD-ld} -m elf64ppc"
4459 LD="${LD-ld} -m elf64_s390"
4462 LD="${LD-ld} -m elf64_sparc"
4472 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4473 SAVE_CFLAGS="$CFLAGS"
4474 CFLAGS="$CFLAGS -belf"
4475 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4476 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4477 if test "${lt_cv_cc_needs_belf+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 ac_cpp='$CPP $CPPFLAGS'
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486 cat >conftest.$ac_ext <<_ACEOF
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4501 rm -f conftest.$ac_objext conftest$ac_exeext
4502 if { (ac_try="$ac_link"
4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4505 *) ac_try_echo=$ac_try;;
4507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4508 (eval "$ac_link") 2>conftest.er1
4510 grep -v '^ *+' conftest.er1 >conftest.err
4512 cat conftest.err >&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } && {
4515 test -z "$ac_c_werror_flag" ||
4516 test ! -s conftest.err
4517 } && test -s conftest$ac_exeext &&
4518 $as_test_x conftest$ac_exeext; then
4519 lt_cv_cc_needs_belf=yes
4521 echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.$ac_ext >&5
4524 lt_cv_cc_needs_belf=no
4527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4528 conftest$ac_exeext conftest.$ac_ext
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4537 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4538 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4539 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4540 CFLAGS="$SAVE_CFLAGS"
4544 # Find out which ABI we are using.
4545 echo 'int i;' > conftest.$ac_ext
4546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4547 (eval $ac_compile) 2>&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; then
4551 case `/usr/bin/file conftest.o` in
4553 case $lt_cv_prog_gnu_ld in
4554 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4555 *) LD="${LD-ld} -64" ;;
4563 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
4564 if test -n "$ac_tool_prefix"; then
4565 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4566 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4569 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$DLLTOOL"; then
4573 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 DLLTOOL=$ac_cv_prog_DLLTOOL
4593 if test -n "$DLLTOOL"; then
4594 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4595 echo "${ECHO_T}$DLLTOOL" >&6; }
4597 { echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6; }
4603 if test -z "$ac_cv_prog_DLLTOOL"; then
4604 ac_ct_DLLTOOL=$DLLTOOL
4605 # Extract the first word of "dlltool", so it can be a program name with args.
4606 set dummy dlltool; ac_word=$2
4607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4609 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$ac_ct_DLLTOOL"; then
4613 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4633 if test -n "$ac_ct_DLLTOOL"; then
4634 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4635 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4637 { echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6; }
4641 if test "x$ac_ct_DLLTOOL" = x; then
4644 case $cross_compiling:$ac_tool_warned in
4646 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4647 whose name does not start with the host triplet. If you think this
4648 configuration is useful to you, please write to autoconf@gnu.org." >&5
4649 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4650 whose name does not start with the host triplet. If you think this
4651 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4652 ac_tool_warned=yes ;;
4654 DLLTOOL=$ac_ct_DLLTOOL
4657 DLLTOOL="$ac_cv_prog_DLLTOOL"
4660 if test -n "$ac_tool_prefix"; then
4661 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4662 set dummy ${ac_tool_prefix}as; ac_word=$2
4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4665 if test "${ac_cv_prog_AS+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$AS"; then
4669 ac_cv_prog_AS="$AS" # Let the user override the test.
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_AS="${ac_tool_prefix}as"
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$AS"; then
4690 { echo "$as_me:$LINENO: result: $AS" >&5
4691 echo "${ECHO_T}$AS" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4699 if test -z "$ac_cv_prog_AS"; then
4701 # Extract the first word of "as", so it can be a program name with args.
4702 set dummy as; ac_word=$2
4703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4705 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 if test -n "$ac_ct_AS"; then
4709 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 test -z "$as_dir" && as_dir=.
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718 ac_cv_prog_ac_ct_AS="as"
4719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4729 if test -n "$ac_ct_AS"; then
4730 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4731 echo "${ECHO_T}$ac_ct_AS" >&6; }
4733 { echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6; }
4737 if test "x$ac_ct_AS" = x; then
4740 case $cross_compiling:$ac_tool_warned in
4742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4743 whose name does not start with the host triplet. If you think this
4744 configuration is useful to you, please write to autoconf@gnu.org." >&5
4745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4746 whose name does not start with the host triplet. If you think this
4747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4748 ac_tool_warned=yes ;;
4756 if test -n "$ac_tool_prefix"; then
4757 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4758 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4761 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 if test -n "$OBJDUMP"; then
4765 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 OBJDUMP=$ac_cv_prog_OBJDUMP
4785 if test -n "$OBJDUMP"; then
4786 { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4787 echo "${ECHO_T}$OBJDUMP" >&6; }
4789 { echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6; }
4795 if test -z "$ac_cv_prog_OBJDUMP"; then
4796 ac_ct_OBJDUMP=$OBJDUMP
4797 # Extract the first word of "objdump", so it can be a program name with args.
4798 set dummy objdump; ac_word=$2
4799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4801 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 if test -n "$ac_ct_OBJDUMP"; then
4805 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir=.
4812 for ac_exec_ext in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4825 if test -n "$ac_ct_OBJDUMP"; then
4826 { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4827 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4829 { echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6; }
4833 if test "x$ac_ct_OBJDUMP" = x; then
4836 case $cross_compiling:$ac_tool_warned in
4838 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4839 whose name does not start with the host triplet. If you think this
4840 configuration is useful to you, please write to autoconf@gnu.org." >&5
4841 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4842 whose name does not start with the host triplet. If you think this
4843 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4844 ac_tool_warned=yes ;;
4846 OBJDUMP=$ac_ct_OBJDUMP
4849 OBJDUMP="$ac_cv_prog_OBJDUMP"
4856 need_locks="$enable_libtool_lock"
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4865 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4866 # On Suns, sometimes $CPP names a directory.
4867 if test -n "$CPP" && test -d "$CPP"; then
4870 if test -z "$CPP"; then
4871 if test "${ac_cv_prog_CPP+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 # Double quotes because CPP needs to be expanded
4875 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4878 for ac_c_preproc_warn_flag in '' yes
4880 # Use a header file that comes with gcc, so configuring glibc
4881 # with a fresh cross-compiler works.
4882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4883 # <limits.h> exists even on freestanding compilers.
4884 # On the NeXT, cc -E runs the code through the compiler's parser,
4885 # not just through cpp. "Syntax error" is here to catch this case.
4886 cat >conftest.$ac_ext <<_ACEOF
4889 cat confdefs.h >>conftest.$ac_ext
4890 cat >>conftest.$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4893 # include <limits.h>
4895 # include <assert.h>
4899 if { (ac_try="$ac_cpp conftest.$ac_ext"
4901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } >/dev/null && {
4912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.$ac_ext >&5
4920 # Broken: fails on valid input.
4924 rm -f conftest.err conftest.$ac_ext
4926 # OK, works on sane cases. Now check whether nonexistent headers
4927 # can be detected and how.
4928 cat >conftest.$ac_ext <<_ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4934 #include <ac_nonexistent.h>
4936 if { (ac_try="$ac_cpp conftest.$ac_ext"
4938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 (exit $ac_status); } >/dev/null && {
4949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4950 test ! -s conftest.err
4952 # Broken: success on invalid input.
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.$ac_ext >&5
4958 # Passes both tests.
4963 rm -f conftest.err conftest.$ac_ext
4966 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4967 rm -f conftest.err conftest.$ac_ext
4968 if $ac_preproc_ok; then
4980 { echo "$as_me:$LINENO: result: $CPP" >&5
4981 echo "${ECHO_T}$CPP" >&6; }
4983 for ac_c_preproc_warn_flag in '' yes
4985 # Use a header file that comes with gcc, so configuring glibc
4986 # with a fresh cross-compiler works.
4987 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4988 # <limits.h> exists even on freestanding compilers.
4989 # On the NeXT, cc -E runs the code through the compiler's parser,
4990 # not just through cpp. "Syntax error" is here to catch this case.
4991 cat >conftest.$ac_ext <<_ACEOF
4994 cat confdefs.h >>conftest.$ac_ext
4995 cat >>conftest.$ac_ext <<_ACEOF
4996 /* end confdefs.h. */
4998 # include <limits.h>
5000 # include <assert.h>
5004 if { (ac_try="$ac_cpp conftest.$ac_ext"
5006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5007 *) ac_try_echo=$ac_try;;
5009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5012 grep -v '^ *+' conftest.er1 >conftest.err
5014 cat conftest.err >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } >/dev/null && {
5017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5018 test ! -s conftest.err
5022 echo "$as_me: failed program was:" >&5
5023 sed 's/^/| /' conftest.$ac_ext >&5
5025 # Broken: fails on valid input.
5029 rm -f conftest.err conftest.$ac_ext
5031 # OK, works on sane cases. Now check whether nonexistent headers
5032 # can be detected and how.
5033 cat >conftest.$ac_ext <<_ACEOF
5036 cat confdefs.h >>conftest.$ac_ext
5037 cat >>conftest.$ac_ext <<_ACEOF
5038 /* end confdefs.h. */
5039 #include <ac_nonexistent.h>
5041 if { (ac_try="$ac_cpp conftest.$ac_ext"
5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5049 grep -v '^ *+' conftest.er1 >conftest.err
5051 cat conftest.err >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); } >/dev/null && {
5054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5055 test ! -s conftest.err
5057 # Broken: success on invalid input.
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.$ac_ext >&5
5063 # Passes both tests.
5068 rm -f conftest.err conftest.$ac_ext
5071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5072 rm -f conftest.err conftest.$ac_ext
5073 if $ac_preproc_ok; then
5076 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5077 See \`config.log' for more details." >&5
5078 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5079 See \`config.log' for more details." >&2;}
5080 { (exit 1); exit 1; }; }
5084 ac_cpp='$CPP $CPPFLAGS'
5085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5090 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5091 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5092 if test "${ac_cv_header_stdc+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 cat >conftest.$ac_ext <<_ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5114 rm -f conftest.$ac_objext
5115 if { (ac_try="$ac_compile"
5117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5118 *) ac_try_echo=$ac_try;;
5120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5121 (eval "$ac_compile") 2>conftest.er1
5123 grep -v '^ *+' conftest.er1 >conftest.err
5125 cat conftest.err >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && {
5128 test -z "$ac_c_werror_flag" ||
5129 test ! -s conftest.err
5130 } && test -s conftest.$ac_objext; then
5131 ac_cv_header_stdc=yes
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.$ac_ext >&5
5136 ac_cv_header_stdc=no
5139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5141 if test $ac_cv_header_stdc = yes; then
5142 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5143 cat >conftest.$ac_ext <<_ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5153 $EGREP "memchr" >/dev/null 2>&1; then
5156 ac_cv_header_stdc=no
5162 if test $ac_cv_header_stdc = yes; then
5163 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5164 cat >conftest.$ac_ext <<_ACEOF
5167 cat confdefs.h >>conftest.$ac_ext
5168 cat >>conftest.$ac_ext <<_ACEOF
5169 /* end confdefs.h. */
5173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5174 $EGREP "free" >/dev/null 2>&1; then
5177 ac_cv_header_stdc=no
5183 if test $ac_cv_header_stdc = yes; then
5184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5185 if test "$cross_compiling" = yes; then
5188 cat >conftest.$ac_ext <<_ACEOF
5191 cat confdefs.h >>conftest.$ac_ext
5192 cat >>conftest.$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5196 #if ((' ' & 0x0FF) == 0x020)
5197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5200 # define ISLOWER(c) \
5201 (('a' <= (c) && (c) <= 'i') \
5202 || ('j' <= (c) && (c) <= 'r') \
5203 || ('s' <= (c) && (c) <= 'z'))
5204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5212 for (i = 0; i < 256; i++)
5213 if (XOR (islower (i), ISLOWER (i))
5214 || toupper (i) != TOUPPER (i))
5219 rm -f conftest$ac_exeext
5220 if { (ac_try="$ac_link"
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5226 (eval "$ac_link") 2>&5
5228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5230 { (case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235 (eval "$ac_try") 2>&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); }; }; then
5241 echo "$as_me: program exited with status $ac_status" >&5
5242 echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.$ac_ext >&5
5246 ac_cv_header_stdc=no
5248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5254 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5255 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5256 if test $ac_cv_header_stdc = yes; then
5258 cat >>confdefs.h <<\_ACEOF
5259 #define STDC_HEADERS 1
5264 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5274 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5275 inttypes.h stdint.h unistd.h
5277 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5278 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 cat >conftest.$ac_ext <<_ACEOF
5286 cat confdefs.h >>conftest.$ac_ext
5287 cat >>conftest.$ac_ext <<_ACEOF
5288 /* end confdefs.h. */
5289 $ac_includes_default
5291 #include <$ac_header>
5293 rm -f conftest.$ac_objext
5294 if { (ac_try="$ac_compile"
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5300 (eval "$ac_compile") 2>conftest.er1
5302 grep -v '^ *+' conftest.er1 >conftest.err
5304 cat conftest.err >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } && {
5307 test -z "$ac_c_werror_flag" ||
5308 test ! -s conftest.err
5309 } && test -s conftest.$ac_objext; then
5310 eval "$as_ac_Header=yes"
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.$ac_ext >&5
5315 eval "$as_ac_Header=no"
5318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320 ac_res=`eval echo '${'$as_ac_Header'}'`
5321 { echo "$as_me:$LINENO: result: $ac_res" >&5
5322 echo "${ECHO_T}$ac_res" >&6; }
5323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5324 cat >>confdefs.h <<_ACEOF
5325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5334 for ac_header in dlfcn.h
5336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5338 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 ac_res=`eval echo '${'$as_ac_Header'}'`
5344 { echo "$as_me:$LINENO: result: $ac_res" >&5
5345 echo "${ECHO_T}$ac_res" >&6; }
5347 # Is the header compilable?
5348 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5350 cat >conftest.$ac_ext <<_ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 $ac_includes_default
5357 #include <$ac_header>
5359 rm -f conftest.$ac_objext
5360 if { (ac_try="$ac_compile"
5362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5363 *) ac_try_echo=$ac_try;;
5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5366 (eval "$ac_compile") 2>conftest.er1
5368 grep -v '^ *+' conftest.er1 >conftest.err
5370 cat conftest.err >&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); } && {
5373 test -z "$ac_c_werror_flag" ||
5374 test ! -s conftest.err
5375 } && test -s conftest.$ac_objext; then
5376 ac_header_compiler=yes
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5381 ac_header_compiler=no
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5386 echo "${ECHO_T}$ac_header_compiler" >&6; }
5388 # Is the header present?
5389 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5391 cat >conftest.$ac_ext <<_ACEOF
5394 cat confdefs.h >>conftest.$ac_ext
5395 cat >>conftest.$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5397 #include <$ac_header>
5399 if { (ac_try="$ac_cpp conftest.$ac_ext"
5401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5402 *) ac_try_echo=$ac_try;;
5404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5407 grep -v '^ *+' conftest.er1 >conftest.err
5409 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } >/dev/null && {
5412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5413 test ! -s conftest.err
5415 ac_header_preproc=yes
5417 echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.$ac_ext >&5
5420 ac_header_preproc=no
5423 rm -f conftest.err conftest.$ac_ext
5424 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5425 echo "${ECHO_T}$ac_header_preproc" >&6; }
5427 # So? What about this header?
5428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5434 ac_header_preproc=yes
5437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5450 ## -------------------------------------------------- ##
5451 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
5452 ## -------------------------------------------------- ##
5454 ) | sed "s/^/$as_me: WARNING: /" >&2
5457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 eval "$as_ac_Header=\$ac_header_preproc"
5464 ac_res=`eval echo '${'$as_ac_Header'}'`
5465 { echo "$as_me:$LINENO: result: $ac_res" >&5
5466 echo "${ECHO_T}$ac_res" >&6; }
5469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5470 cat >>confdefs.h <<_ACEOF
5471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5479 ac_cpp='$CXXCPP $CPPFLAGS'
5480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5483 if test -z "$CXX"; then
5484 if test -n "$CCC"; then
5487 if test -n "$ac_tool_prefix"; then
5488 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5490 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_CXX+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -n "$CXX"; then
5498 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 if test -n "$CXX"; then
5519 { echo "$as_me:$LINENO: result: $CXX" >&5
5520 echo "${ECHO_T}$CXX" >&6; }
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5527 test -n "$CXX" && break
5530 if test -z "$CXX"; then
5532 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy $ac_prog; ac_word=$2
5536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5538 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 if test -n "$ac_ct_CXX"; then
5542 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5551 ac_cv_prog_ac_ct_CXX="$ac_prog"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5562 if test -n "$ac_ct_CXX"; then
5563 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5564 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5566 { echo "$as_me:$LINENO: result: no" >&5
5567 echo "${ECHO_T}no" >&6; }
5571 test -n "$ac_ct_CXX" && break
5574 if test "x$ac_ct_CXX" = x; then
5577 case $cross_compiling:$ac_tool_warned in
5579 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5580 whose name does not start with the host triplet. If you think this
5581 configuration is useful to you, please write to autoconf@gnu.org." >&5
5582 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5583 whose name does not start with the host triplet. If you think this
5584 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5585 ac_tool_warned=yes ;;
5593 # Provide some information about the compiler.
5594 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5595 ac_compiler=`set X $ac_compile; echo $2`
5596 { (ac_try="$ac_compiler --version >&5"
5598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_compiler --version >&5") 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }
5606 { (ac_try="$ac_compiler -v >&5"
5608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5609 *) ac_try_echo=$ac_try;;
5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5612 (eval "$ac_compiler -v >&5") 2>&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }
5616 { (ac_try="$ac_compiler -V >&5"
5618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5619 *) ac_try_echo=$ac_try;;
5621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5622 (eval "$ac_compiler -V >&5") 2>&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); }
5627 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5628 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5629 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 cat >conftest.$ac_ext <<_ACEOF
5635 cat confdefs.h >>conftest.$ac_ext
5636 cat >>conftest.$ac_ext <<_ACEOF
5637 /* end confdefs.h. */
5650 rm -f conftest.$ac_objext
5651 if { (ac_try="$ac_compile"
5653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5654 *) ac_try_echo=$ac_try;;
5656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5657 (eval "$ac_compile") 2>conftest.er1
5659 grep -v '^ *+' conftest.er1 >conftest.err
5661 cat conftest.err >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); } && {
5664 test -z "$ac_cxx_werror_flag" ||
5665 test ! -s conftest.err
5666 } && test -s conftest.$ac_objext; then
5669 echo "$as_me: failed program was:" >&5
5670 sed 's/^/| /' conftest.$ac_ext >&5
5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5676 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5679 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5680 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5681 GXX=`test $ac_compiler_gnu = yes && echo yes`
5682 ac_test_CXXFLAGS=${CXXFLAGS+set}
5683 ac_save_CXXFLAGS=$CXXFLAGS
5684 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5685 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5686 if test "${ac_cv_prog_cxx_g+set}" = set; then
5687 echo $ECHO_N "(cached) $ECHO_C" >&6
5689 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5690 ac_cxx_werror_flag=yes
5693 cat >conftest.$ac_ext <<_ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5708 rm -f conftest.$ac_objext
5709 if { (ac_try="$ac_compile"
5711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5712 *) ac_try_echo=$ac_try;;
5714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5715 (eval "$ac_compile") 2>conftest.er1
5717 grep -v '^ *+' conftest.er1 >conftest.err
5719 cat conftest.err >&5
5720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721 (exit $ac_status); } && {
5722 test -z "$ac_cxx_werror_flag" ||
5723 test ! -s conftest.err
5724 } && test -s conftest.$ac_objext; then
5725 ac_cv_prog_cxx_g=yes
5727 echo "$as_me: failed program was:" >&5
5728 sed 's/^/| /' conftest.$ac_ext >&5
5731 cat >conftest.$ac_ext <<_ACEOF
5734 cat confdefs.h >>conftest.$ac_ext
5735 cat >>conftest.$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5746 rm -f conftest.$ac_objext
5747 if { (ac_try="$ac_compile"
5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5750 *) ac_try_echo=$ac_try;;
5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_compile") 2>conftest.er1
5755 grep -v '^ *+' conftest.er1 >conftest.err
5757 cat conftest.err >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } && {
5760 test -z "$ac_cxx_werror_flag" ||
5761 test ! -s conftest.err
5762 } && test -s conftest.$ac_objext; then
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.$ac_ext >&5
5768 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5770 cat >conftest.$ac_ext <<_ACEOF
5773 cat confdefs.h >>conftest.$ac_ext
5774 cat >>conftest.$ac_ext <<_ACEOF
5775 /* end confdefs.h. */
5785 rm -f conftest.$ac_objext
5786 if { (ac_try="$ac_compile"
5788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_compile") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1 >conftest.err
5796 cat conftest.err >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } && {
5799 test -z "$ac_cxx_werror_flag" ||
5800 test ! -s conftest.err
5801 } && test -s conftest.$ac_objext; then
5802 ac_cv_prog_cxx_g=yes
5804 echo "$as_me: failed program was:" >&5
5805 sed 's/^/| /' conftest.$ac_ext >&5
5810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5820 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5821 if test "$ac_test_CXXFLAGS" = set; then
5822 CXXFLAGS=$ac_save_CXXFLAGS
5823 elif test $ac_cv_prog_cxx_g = yes; then
5824 if test "$GXX" = yes; then
5830 if test "$GXX" = yes; then
5837 ac_cpp='$CXXCPP $CPPFLAGS'
5838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5842 depcc="$CXX" am_compiler_list=
5844 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5845 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5846 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5850 # We make a subdir and do the tests there. Otherwise we can end up
5851 # making bogus files that we don't know about and never remove. For
5852 # instance it was reported that on HP-UX the gcc test will end up
5853 # making a dummy file named `D' -- because `-MD' means `put the output
5856 # Copy depcomp to subdir because otherwise we won't find it if we're
5857 # using a relative directory.
5858 cp "$am_depcomp" conftest.dir
5860 # We will build objects and dependencies in a subdirectory because
5861 # it helps to detect inapplicable dependency modes. For instance
5862 # both Tru64's cc and ICC support -MD to output dependencies as a
5863 # side effect of compilation, but ICC will put the dependencies in
5864 # the current directory while Tru64 will put them in the object
5868 am_cv_CXX_dependencies_compiler_type=none
5869 if test "$am_compiler_list" = ""; then
5870 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5872 for depmode in $am_compiler_list; do
5873 # Setup a source with many dependencies, because some compilers
5874 # like to wrap large dependency lists on column 80 (with \), and
5875 # we should not choose a depcomp mode which is confused by this.
5877 # We need to recreate these files for each test, as the compiler may
5878 # overwrite some of them when testing with obscure command lines.
5879 # This happens at least with the AIX C compiler.
5881 for i in 1 2 3 4 5 6; do
5882 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5883 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5884 # Solaris 8's {/usr,}/bin/sh.
5885 touch sub/conftst$i.h
5887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5891 # after this tag, mechanisms are not by side-effect, so they'll
5892 # only be used when explicitly requested
5893 if test "x$enable_dependency_tracking" = xyes; then
5901 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5902 # mode. It turns out that the SunPro C++ compiler does not properly
5903 # handle `-M -o', and we need to detect this.
5904 if depmode=$depmode \
5905 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5907 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5908 >/dev/null 2>conftest.err &&
5909 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5910 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5911 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5912 # icc doesn't choke on unknown options, it will just issue warnings
5913 # or remarks (even with -Werror). So we grep stderr for any message
5914 # that says an option was ignored or not supported.
5915 # When given -MP, icc 7.0 and 7.1 complain thusly:
5916 # icc: Command line warning: ignoring option '-M'; no argument required
5917 # The diagnosis changed in icc 8.0:
5918 # icc: Command line remark: option '-MP' not supported
5919 if (grep 'ignoring option' conftest.err ||
5920 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5921 am_cv_CXX_dependencies_compiler_type=$depmode
5930 am_cv_CXX_dependencies_compiler_type=none
5934 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5935 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5936 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5941 test "x$enable_dependency_tracking" != xno \
5942 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5943 am__fastdepCXX_TRUE=
5944 am__fastdepCXX_FALSE='#'
5946 am__fastdepCXX_TRUE='#'
5947 am__fastdepCXX_FALSE=
5953 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5954 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5955 (test "X$CXX" != "Xg++"))) ; then
5957 ac_cpp='$CXXCPP $CPPFLAGS'
5958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5961 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5962 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5963 if test -z "$CXXCPP"; then
5964 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 # Double quotes because CXXCPP needs to be expanded
5968 for CXXCPP in "$CXX -E" "/lib/cpp"
5971 for ac_cxx_preproc_warn_flag in '' yes
5973 # Use a header file that comes with gcc, so configuring glibc
5974 # with a fresh cross-compiler works.
5975 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5976 # <limits.h> exists even on freestanding compilers.
5977 # On the NeXT, cc -E runs the code through the compiler's parser,
5978 # not just through cpp. "Syntax error" is here to catch this case.
5979 cat >conftest.$ac_ext <<_ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5986 # include <limits.h>
5988 # include <assert.h>
5992 if { (ac_try="$ac_cpp conftest.$ac_ext"
5994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5995 *) ac_try_echo=$ac_try;;
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6000 grep -v '^ *+' conftest.er1 >conftest.err
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev/null && {
6005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6006 test ! -s conftest.err
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6013 # Broken: fails on valid input.
6017 rm -f conftest.err conftest.$ac_ext
6019 # OK, works on sane cases. Now check whether nonexistent headers
6020 # can be detected and how.
6021 cat >conftest.$ac_ext <<_ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 #include <ac_nonexistent.h>
6029 if { (ac_try="$ac_cpp conftest.$ac_ext"
6031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6032 *) ac_try_echo=$ac_try;;
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6037 grep -v '^ *+' conftest.er1 >conftest.err
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } >/dev/null && {
6042 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6043 test ! -s conftest.err
6045 # Broken: success on invalid input.
6048 echo "$as_me: failed program was:" >&5
6049 sed 's/^/| /' conftest.$ac_ext >&5
6051 # Passes both tests.
6056 rm -f conftest.err conftest.$ac_ext
6059 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6060 rm -f conftest.err conftest.$ac_ext
6061 if $ac_preproc_ok; then
6066 ac_cv_prog_CXXCPP=$CXXCPP
6069 CXXCPP=$ac_cv_prog_CXXCPP
6071 ac_cv_prog_CXXCPP=$CXXCPP
6073 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6074 echo "${ECHO_T}$CXXCPP" >&6; }
6076 for ac_cxx_preproc_warn_flag in '' yes
6078 # Use a header file that comes with gcc, so configuring glibc
6079 # with a fresh cross-compiler works.
6080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6081 # <limits.h> exists even on freestanding compilers.
6082 # On the NeXT, cc -E runs the code through the compiler's parser,
6083 # not just through cpp. "Syntax error" is here to catch this case.
6084 cat >conftest.$ac_ext <<_ACEOF
6087 cat confdefs.h >>conftest.$ac_ext
6088 cat >>conftest.$ac_ext <<_ACEOF
6089 /* end confdefs.h. */
6091 # include <limits.h>
6093 # include <assert.h>
6097 if { (ac_try="$ac_cpp conftest.$ac_ext"
6099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6100 *) ac_try_echo=$ac_try;;
6102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6105 grep -v '^ *+' conftest.er1 >conftest.err
6107 cat conftest.err >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); } >/dev/null && {
6110 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6111 test ! -s conftest.err
6115 echo "$as_me: failed program was:" >&5
6116 sed 's/^/| /' conftest.$ac_ext >&5
6118 # Broken: fails on valid input.
6122 rm -f conftest.err conftest.$ac_ext
6124 # OK, works on sane cases. Now check whether nonexistent headers
6125 # can be detected and how.
6126 cat >conftest.$ac_ext <<_ACEOF
6129 cat confdefs.h >>conftest.$ac_ext
6130 cat >>conftest.$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6132 #include <ac_nonexistent.h>
6134 if { (ac_try="$ac_cpp conftest.$ac_ext"
6136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6137 *) ac_try_echo=$ac_try;;
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6142 grep -v '^ *+' conftest.er1 >conftest.err
6144 cat conftest.err >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } >/dev/null && {
6147 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6148 test ! -s conftest.err
6150 # Broken: success on invalid input.
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.$ac_ext >&5
6156 # Passes both tests.
6161 rm -f conftest.err conftest.$ac_ext
6164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6165 rm -f conftest.err conftest.$ac_ext
6166 if $ac_preproc_ok; then
6169 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6170 See \`config.log' for more details." >&5
6171 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6172 See \`config.log' for more details." >&2;}
6173 { (exit 1); exit 1; }; }
6177 ac_cpp='$CXXCPP $CPPFLAGS'
6178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6186 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6187 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6188 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6189 if test -n "$ac_tool_prefix"; then
6190 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6196 if test "${ac_cv_prog_F77+set}" = set; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 if test -n "$F77"; then
6200 ac_cv_prog_F77="$F77" # Let the user override the test.
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6209 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 if test -n "$F77"; then
6221 { echo "$as_me:$LINENO: result: $F77" >&5
6222 echo "${ECHO_T}$F77" >&6; }
6224 { echo "$as_me:$LINENO: result: no" >&5
6225 echo "${ECHO_T}no" >&6; }
6229 test -n "$F77" && break
6232 if test -z "$F77"; then
6234 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6236 # Extract the first word of "$ac_prog", so it can be a program name with args.
6237 set dummy $ac_prog; ac_word=$2
6238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6240 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 if test -n "$ac_ct_F77"; then
6244 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_ac_ct_F77="$ac_prog"
6254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6263 ac_ct_F77=$ac_cv_prog_ac_ct_F77
6264 if test -n "$ac_ct_F77"; then
6265 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6266 echo "${ECHO_T}$ac_ct_F77" >&6; }
6268 { echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6; }
6273 test -n "$ac_ct_F77" && break
6276 if test "x$ac_ct_F77" = x; then
6279 case $cross_compiling:$ac_tool_warned in
6281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6282 whose name does not start with the host triplet. If you think this
6283 configuration is useful to you, please write to autoconf@gnu.org." >&5
6284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6285 whose name does not start with the host triplet. If you think this
6286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6287 ac_tool_warned=yes ;;
6294 # Provide some information about the compiler.
6295 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6296 ac_compiler=`set X $ac_compile; echo $2`
6297 { (ac_try="$ac_compiler --version >&5"
6299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6300 *) ac_try_echo=$ac_try;;
6302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6303 (eval "$ac_compiler --version >&5") 2>&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }
6307 { (ac_try="$ac_compiler -v >&5"
6309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6310 *) ac_try_echo=$ac_try;;
6312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6313 (eval "$ac_compiler -v >&5") 2>&5
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }
6317 { (ac_try="$ac_compiler -V >&5"
6319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6320 *) ac_try_echo=$ac_try;;
6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6323 (eval "$ac_compiler -V >&5") 2>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); }
6329 # If we don't use `.F' as extension, the preprocessor is not run on the
6330 # input file. (Note that this only needs to work for GNU compilers.)
6333 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6334 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6335 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 cat >conftest.$ac_ext <<_ACEOF
6346 rm -f conftest.$ac_objext
6347 if { (ac_try="$ac_compile"
6349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6350 *) ac_try_echo=$ac_try;;
6352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6353 (eval "$ac_compile") 2>conftest.er1
6355 grep -v '^ *+' conftest.er1 >conftest.err
6357 cat conftest.err >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); } && {
6360 test -z "$ac_f77_werror_flag" ||
6361 test ! -s conftest.err
6362 } && test -s conftest.$ac_objext; then
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6375 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6376 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6378 ac_test_FFLAGS=${FFLAGS+set}
6379 ac_save_FFLAGS=$FFLAGS
6381 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6382 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6383 if test "${ac_cv_prog_f77_g+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6387 cat >conftest.$ac_ext <<_ACEOF
6392 rm -f conftest.$ac_objext
6393 if { (ac_try="$ac_compile"
6395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6396 *) ac_try_echo=$ac_try;;
6398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6399 (eval "$ac_compile") 2>conftest.er1
6401 grep -v '^ *+' conftest.er1 >conftest.err
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } && {
6406 test -z "$ac_f77_werror_flag" ||
6407 test ! -s conftest.err
6408 } && test -s conftest.$ac_objext; then
6409 ac_cv_prog_f77_g=yes
6411 echo "$as_me: failed program was:" >&5
6412 sed 's/^/| /' conftest.$ac_ext >&5
6417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6421 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6422 if test "$ac_test_FFLAGS" = set; then
6423 FFLAGS=$ac_save_FFLAGS
6424 elif test $ac_cv_prog_f77_g = yes; then
6425 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6431 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6438 G77=`test $ac_compiler_gnu = yes && echo yes`
6440 ac_cpp='$CPP $CPPFLAGS'
6441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6447 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6449 # find the maximum length of command line arguments
6450 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6451 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6452 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 # On DJGPP, this test can blow up pretty badly due to problems in libc
6461 # (any single argument exceeding 2000 bytes causes a buffer overrun
6462 # during glob expansion). Even if it were fixed, the result of this
6463 # check would be larger than it should be.
6464 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6468 # Under GNU Hurd, this test is not required because there is
6469 # no limit to the length of command line arguments.
6470 # Libtool will interpret -1 as no limit whatsoever
6471 lt_cv_sys_max_cmd_len=-1;
6475 # On Win9x/ME, this test blows up -- it succeeds, but takes
6476 # about 5 minutes as the teststring grows exponentially.
6477 # Worse, since 9x/ME are not pre-emptively multitasking,
6478 # you end up with a "frozen" computer, even though with patience
6479 # the test eventually succeeds (with a max line length of 256k).
6480 # Instead, let's just punt: use the minimum linelength reported by
6481 # all of the supported platforms: 8192 (on NT/2K/XP).
6482 lt_cv_sys_max_cmd_len=8192;
6486 # On AmigaOS with pdksh, this test takes hours, literally.
6487 # So we just punt and use a minimum line length of 8192.
6488 lt_cv_sys_max_cmd_len=8192;
6491 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6492 # This has been around since 386BSD, at least. Likely further.
6493 if test -x /sbin/sysctl; then
6494 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6495 elif test -x /usr/sbin/sysctl; then
6496 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6498 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6500 # And add a safety zone
6501 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6502 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6506 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6507 lt_cv_sys_max_cmd_len=196608
6511 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6512 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6513 # nice to cause kernel panics so lets avoid the loop below.
6514 # First set a reasonable default.
6515 lt_cv_sys_max_cmd_len=16384
6517 if test -x /sbin/sysconfig; then
6518 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6519 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6524 lt_cv_sys_max_cmd_len=102400
6526 sysv5* | sco5v6* | sysv4.2uw2*)
6527 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6528 if test -n "$kargmax"; then
6529 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6531 lt_cv_sys_max_cmd_len=32768
6535 # If test is not a shell built-in, we'll probably end up computing a
6536 # maximum length that is only half of the actual maximum length, but
6538 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6539 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6540 = "XX$teststring") >/dev/null 2>&1 &&
6541 new_result=`expr "X$teststring" : ".*" 2>&1` &&
6542 lt_cv_sys_max_cmd_len=$new_result &&
6543 test $i != 17 # 1/2 MB should be enough
6546 teststring=$teststring$teststring
6549 # Add a significant safety factor because C++ compilers can tack on massive
6550 # amounts of additional arguments before passing them to the linker.
6551 # It appears as though 1/2 is a usable value.
6552 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6558 if test -n $lt_cv_sys_max_cmd_len ; then
6559 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6560 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6562 { echo "$as_me:$LINENO: result: none" >&5
6563 echo "${ECHO_T}none" >&6; }
6569 # Check for command to grab the raw symbol name followed by C symbol from nm.
6570 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6571 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6572 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6576 # These are sane defaults that work on at least a few old systems.
6577 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6579 # Character class describing NM global symbol codes.
6580 symcode='[BCDEGRST]'
6582 # Regexp to match symbols that can be accessed directly from C.
6583 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6585 # Transform an extracted symbol line into a proper C declaration
6586 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6588 # Transform an extracted symbol line into symbol name and symbol address
6589 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6591 # Define system-specific variables.
6596 cygwin* | mingw* | pw32*)
6597 symcode='[ABCDGISTW]'
6599 hpux*) # Its linker distinguishes data from code symbols
6600 if test "$host_cpu" = ia64; then
6601 symcode='[ABCDEGRST]'
6603 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6604 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6606 linux* | k*bsd*-gnu)
6607 if test "$host_cpu" = ia64; then
6608 symcode='[ABCDGIRSTW]'
6609 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6610 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6614 symcode='[BCDEGRST]'
6617 symcode='[BCDEGQRST]'
6628 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6636 # Handle CRLF in mingw tool chain
6640 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6644 # If we're using GNU nm, then use its standard symbol codes.
6645 case `$NM -V 2>&1` in
6646 *GNU* | *'with BFD'*)
6647 symcode='[ABCDGIRSTW]' ;;
6650 # Try without a prefix undercore, then with it.
6651 for ac_symprfx in "" "_"; do
6653 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6654 symxfrm="\\1 $ac_symprfx\\2 \\2"
6656 # Write the raw and C identifiers.
6657 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6659 # Check to see that the pipe works correctly.
6663 cat > conftest.$ac_ext <<EOF
6668 void nm_test_func(){}
6672 int main(){nm_test_var='a';nm_test_func();return(0);}
6675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6676 (eval $ac_compile) 2>&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; then
6680 # Now try to grab the symbols.
6682 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6683 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && test -s "$nlist"; then
6687 # Try sorting and uniquifying the output.
6688 if sort "$nlist" | uniq > "$nlist"T; then
6689 mv -f "$nlist"T "$nlist"
6694 # Make sure that we snagged all the symbols we need.
6695 if grep ' nm_test_var$' "$nlist" >/dev/null; then
6696 if grep ' nm_test_func$' "$nlist" >/dev/null; then
6697 cat <<EOF > conftest.$ac_ext
6703 # Now generate the symbol file.
6704 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6706 cat <<EOF >> conftest.$ac_ext
6707 #if defined (__STDC__) && __STDC__
6708 # define lt_ptr_t void *
6710 # define lt_ptr_t char *
6714 /* The mapping between symbol names and symbols. */
6719 lt_preloaded_symbols[] =
6722 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6723 cat <<\EOF >> conftest.$ac_ext
6731 # Now try linking the two files.
6732 mv conftest.$ac_objext conftstm.$ac_objext
6733 lt_save_LIBS="$LIBS"
6734 lt_save_CFLAGS="$CFLAGS"
6735 LIBS="conftstm.$ac_objext"
6736 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6738 (eval $ac_link) 2>&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6744 LIBS="$lt_save_LIBS"
6745 CFLAGS="$lt_save_CFLAGS"
6747 echo "cannot find nm_test_func in $nlist" >&5
6750 echo "cannot find nm_test_var in $nlist" >&5
6753 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6756 echo "$progname: failed program was:" >&5
6757 cat conftest.$ac_ext >&5
6759 rm -f conftest* conftst*
6761 # Do not use the global_symbol_pipe unless it works.
6762 if test "$pipe_works" = yes; then
6765 lt_cv_sys_global_symbol_pipe=
6771 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6772 lt_cv_sys_global_symbol_to_cdecl=
6774 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6775 { echo "$as_me:$LINENO: result: failed" >&5
6776 echo "${ECHO_T}failed" >&6; }
6778 { echo "$as_me:$LINENO: result: ok" >&5
6779 echo "${ECHO_T}ok" >&6; }
6782 { echo "$as_me:$LINENO: checking for objdir" >&5
6783 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6784 if test "${lt_cv_objdir+set}" = set; then
6785 echo $ECHO_N "(cached) $ECHO_C" >&6
6787 rm -f .libs 2>/dev/null
6788 mkdir .libs 2>/dev/null
6789 if test -d .libs; then
6792 # MS-DOS does not allow filenames that begin with a dot.
6795 rmdir .libs 2>/dev/null
6797 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6798 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6799 objdir=$lt_cv_objdir
6807 # AIX sometimes has problems with the GCC collect2 program. For some
6808 # reason, if we set the COLLECT_NAMES environment variable, the problems
6809 # vanish in a puff of smoke.
6810 if test "X${COLLECT_NAMES+set}" != Xset; then
6812 export COLLECT_NAMES
6817 # Sed substitution that helps us do robust quoting. It backslashifies
6818 # metacharacters that are still active within double-quoted strings.
6819 Xsed='sed -e 1s/^X//'
6820 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6822 # Same as above, but do not quote variable references.
6823 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6825 # Sed substitution to delay expansion of an escaped shell variable in a
6826 # double_quote_subst'ed string.
6827 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6829 # Sed substitution to avoid accidental globbing in evaled expressions
6830 no_glob_subst='s/\*/\\\*/g'
6836 default_ofile=libtool
6837 can_build_shared=yes
6839 # All known linkers require a `.a' archive for static linking (except MSVC,
6840 # which needs '.lib').
6842 ltmain="$ac_aux_dir/ltmain.sh"
6843 ofile="$default_ofile"
6844 with_gnu_ld="$lt_cv_prog_gnu_ld"
6846 if test -n "$ac_tool_prefix"; then
6847 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}ar; ac_word=$2
6849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6851 if test "${ac_cv_prog_AR+set}" = set; then
6852 echo $ECHO_N "(cached) $ECHO_C" >&6
6854 if test -n "$AR"; then
6855 ac_cv_prog_AR="$AR" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_AR="${ac_tool_prefix}ar"
6865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6875 if test -n "$AR"; then
6876 { echo "$as_me:$LINENO: result: $AR" >&5
6877 echo "${ECHO_T}$AR" >&6; }
6879 { echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6; }
6885 if test -z "$ac_cv_prog_AR"; then
6887 # Extract the first word of "ar", so it can be a program name with args.
6888 set dummy ar; ac_word=$2
6889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6891 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 if test -n "$ac_ct_AR"; then
6895 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 test -z "$as_dir" && as_dir=.
6902 for ac_exec_ext in '' $ac_executable_extensions; do
6903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904 ac_cv_prog_ac_ct_AR="ar"
6905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6914 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6915 if test -n "$ac_ct_AR"; then
6916 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6917 echo "${ECHO_T}$ac_ct_AR" >&6; }
6919 { echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6; }
6923 if test "x$ac_ct_AR" = x; then
6926 case $cross_compiling:$ac_tool_warned in
6928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6929 whose name does not start with the host triplet. If you think this
6930 configuration is useful to you, please write to autoconf@gnu.org." >&5
6931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6932 whose name does not start with the host triplet. If you think this
6933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6934 ac_tool_warned=yes ;;
6942 if test -n "$ac_tool_prefix"; then
6943 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6944 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6947 if test "${ac_cv_prog_RANLIB+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 if test -n "$RANLIB"; then
6951 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957 test -z "$as_dir" && as_dir=.
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6960 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6970 RANLIB=$ac_cv_prog_RANLIB
6971 if test -n "$RANLIB"; then
6972 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6973 echo "${ECHO_T}$RANLIB" >&6; }
6975 { echo "$as_me:$LINENO: result: no" >&5
6976 echo "${ECHO_T}no" >&6; }
6981 if test -z "$ac_cv_prog_RANLIB"; then
6982 ac_ct_RANLIB=$RANLIB
6983 # Extract the first word of "ranlib", so it can be a program name with args.
6984 set dummy ranlib; ac_word=$2
6985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6987 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 if test -n "$ac_ct_RANLIB"; then
6991 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 test -z "$as_dir" && as_dir=.
6998 for ac_exec_ext in '' $ac_executable_extensions; do
6999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7000 ac_cv_prog_ac_ct_RANLIB="ranlib"
7001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7010 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7011 if test -n "$ac_ct_RANLIB"; then
7012 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7013 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7019 if test "x$ac_ct_RANLIB" = x; then
7022 case $cross_compiling:$ac_tool_warned in
7024 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7025 whose name does not start with the host triplet. If you think this
7026 configuration is useful to you, please write to autoconf@gnu.org." >&5
7027 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7028 whose name does not start with the host triplet. If you think this
7029 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7030 ac_tool_warned=yes ;;
7032 RANLIB=$ac_ct_RANLIB
7035 RANLIB="$ac_cv_prog_RANLIB"
7038 if test -n "$ac_tool_prefix"; then
7039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7040 set dummy ${ac_tool_prefix}strip; ac_word=$2
7041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7043 if test "${ac_cv_prog_STRIP+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7046 if test -n "$STRIP"; then
7047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053 test -z "$as_dir" && as_dir=.
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 STRIP=$ac_cv_prog_STRIP
7067 if test -n "$STRIP"; then
7068 { echo "$as_me:$LINENO: result: $STRIP" >&5
7069 echo "${ECHO_T}$STRIP" >&6; }
7071 { echo "$as_me:$LINENO: result: no" >&5
7072 echo "${ECHO_T}no" >&6; }
7077 if test -z "$ac_cv_prog_STRIP"; then
7079 # Extract the first word of "strip", so it can be a program name with args.
7080 set dummy strip; ac_word=$2
7081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7083 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7084 echo $ECHO_N "(cached) $ECHO_C" >&6
7086 if test -n "$ac_ct_STRIP"; then
7087 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 test -z "$as_dir" && as_dir=.
7094 for ac_exec_ext in '' $ac_executable_extensions; do
7095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7096 ac_cv_prog_ac_ct_STRIP="strip"
7097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7107 if test -n "$ac_ct_STRIP"; then
7108 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7109 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7111 { echo "$as_me:$LINENO: result: no" >&5
7112 echo "${ECHO_T}no" >&6; }
7115 if test "x$ac_ct_STRIP" = x; then
7118 case $cross_compiling:$ac_tool_warned in
7120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7121 whose name does not start with the host triplet. If you think this
7122 configuration is useful to you, please write to autoconf@gnu.org." >&5
7123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7124 whose name does not start with the host triplet. If you think this
7125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7126 ac_tool_warned=yes ;;
7131 STRIP="$ac_cv_prog_STRIP"
7136 old_CFLAGS="$CFLAGS"
7138 # Set sane defaults for various variables
7139 test -z "$AR" && AR=ar
7140 test -z "$AR_FLAGS" && AR_FLAGS=cru
7141 test -z "$AS" && AS=as
7142 test -z "$CC" && CC=cc
7143 test -z "$LTCC" && LTCC=$CC
7144 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7145 test -z "$DLLTOOL" && DLLTOOL=dlltool
7146 test -z "$LD" && LD=ld
7147 test -z "$LN_S" && LN_S="ln -s"
7148 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7149 test -z "$NM" && NM=nm
7150 test -z "$SED" && SED=sed
7151 test -z "$OBJDUMP" && OBJDUMP=objdump
7152 test -z "$RANLIB" && RANLIB=:
7153 test -z "$STRIP" && STRIP=:
7154 test -z "$ac_objext" && ac_objext=o
7156 # Determine commands to create old-style static archives.
7157 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7158 old_postinstall_cmds='chmod 644 $oldlib'
7159 old_postuninstall_cmds=
7161 if test -n "$RANLIB"; then
7164 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7167 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7170 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7173 for cc_temp in $compiler""; do
7175 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7176 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7181 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7184 # Only perform the check for file, if the check method requires it
7185 case $deplibs_check_method in
7187 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7188 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7189 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7190 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7198 lt_save_MAGIC_CMD="$MAGIC_CMD"
7199 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7200 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7201 for ac_dir in $ac_dummy; do
7203 test -z "$ac_dir" && ac_dir=.
7204 if test -f $ac_dir/${ac_tool_prefix}file; then
7205 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7206 if test -n "$file_magic_test_file"; then
7207 case $deplibs_check_method in
7209 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7210 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7211 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7212 $EGREP "$file_magic_regex" > /dev/null; then
7217 *** Warning: the command libtool uses to detect shared libraries,
7218 *** $file_magic_cmd, produces output that libtool cannot recognize.
7219 *** The result is that libtool may fail to recognize shared libraries
7220 *** as such. This will affect the creation of libtool libraries that
7221 *** depend on shared libraries, but programs linked with such libtool
7222 *** libraries will work regardless of this problem. Nevertheless, you
7223 *** may want to report the problem to your system manager and/or to
7224 *** bug-libtool@gnu.org
7234 MAGIC_CMD="$lt_save_MAGIC_CMD"
7239 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7240 if test -n "$MAGIC_CMD"; then
7241 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7242 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7244 { echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6; }
7248 if test -z "$lt_cv_path_MAGIC_CMD"; then
7249 if test -n "$ac_tool_prefix"; then
7250 { echo "$as_me:$LINENO: checking for file" >&5
7251 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7253 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7260 lt_save_MAGIC_CMD="$MAGIC_CMD"
7261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7262 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7263 for ac_dir in $ac_dummy; do
7265 test -z "$ac_dir" && ac_dir=.
7266 if test -f $ac_dir/file; then
7267 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7268 if test -n "$file_magic_test_file"; then
7269 case $deplibs_check_method in
7271 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7274 $EGREP "$file_magic_regex" > /dev/null; then
7279 *** Warning: the command libtool uses to detect shared libraries,
7280 *** $file_magic_cmd, produces output that libtool cannot recognize.
7281 *** The result is that libtool may fail to recognize shared libraries
7282 *** as such. This will affect the creation of libtool libraries that
7283 *** depend on shared libraries, but programs linked with such libtool
7284 *** libraries will work regardless of this problem. Nevertheless, you
7285 *** may want to report the problem to your system manager and/or to
7286 *** bug-libtool@gnu.org
7296 MAGIC_CMD="$lt_save_MAGIC_CMD"
7301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7302 if test -n "$MAGIC_CMD"; then
7303 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7304 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7306 { echo "$as_me:$LINENO: result: no" >&5
7307 echo "${ECHO_T}no" >&6; }
7320 enable_win32_dll=yes
7322 # Check whether --enable-libtool-lock was given.
7323 if test "${enable_libtool_lock+set}" = set; then
7324 enableval=$enable_libtool_lock;
7327 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7330 # Check whether --with-pic was given.
7331 if test "${with_pic+set}" = set; then
7332 withval=$with_pic; pic_mode="$withval"
7337 test -z "$pic_mode" && pic_mode=default
7339 # Use C for the default configuration in the libtool script
7343 ac_cpp='$CPP $CPPFLAGS'
7344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7349 # Source file extension for C test sources.
7352 # Object file extension for compiled C test sources.
7356 # Code to be used in simple compile tests
7357 lt_simple_compile_test_code="int some_variable = 0;\n"
7359 # Code to be used in simple link tests
7360 lt_simple_link_test_code='int main(){return(0);}\n'
7363 # If no C compiler was specified, use CC.
7366 # If no C compiler flags were specified, use CFLAGS.
7367 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7369 # Allow CC to be a program name with arguments.
7373 # save warnings/boilerplate of simple test code
7374 ac_outfile=conftest.$ac_objext
7375 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7376 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7377 _lt_compiler_boilerplate=`cat conftest.err`
7380 ac_outfile=conftest.$ac_objext
7381 printf "$lt_simple_link_test_code" >conftest.$ac_ext
7382 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7383 _lt_linker_boilerplate=`cat conftest.err`
7388 lt_prog_compiler_no_builtin_flag=
7390 if test "$GCC" = yes; then
7391 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7394 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7395 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7396 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 lt_cv_prog_compiler_rtti_exceptions=no
7400 ac_outfile=conftest.$ac_objext
7401 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7402 lt_compiler_flag="-fno-rtti -fno-exceptions"
7403 # Insert the option either (1) after the last *FLAGS variable, or
7404 # (2) before a word containing "conftest.", or (3) at the end.
7405 # Note that $ac_compile itself does not contain backslashes and begins
7406 # with a dollar sign (not a hyphen), so the echo should work correctly.
7407 # The option is referenced via a variable to avoid confusing sed.
7408 lt_compile=`echo "$ac_compile" | $SED \
7409 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7410 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7411 -e 's:$: $lt_compiler_flag:'`
7412 (eval echo "\"\$as_me:7412: $lt_compile\"" >&5)
7413 (eval "$lt_compile" 2>conftest.err)
7415 cat conftest.err >&5
7416 echo "$as_me:7416: \$? = $ac_status" >&5
7417 if (exit $ac_status) && test -s "$ac_outfile"; then
7418 # The compiler can only warn and ignore the option if not recognized
7419 # So say no if there are warnings other than the usual output.
7420 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7422 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7423 lt_cv_prog_compiler_rtti_exceptions=yes
7429 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7430 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7432 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7433 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7440 lt_prog_compiler_wl=
7441 lt_prog_compiler_pic=
7442 lt_prog_compiler_static=
7444 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7445 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7447 if test "$GCC" = yes; then
7448 lt_prog_compiler_wl='-Wl,'
7449 lt_prog_compiler_static='-static'
7453 # All AIX code is PIC.
7454 if test "$host_cpu" = ia64; then
7455 # AIX 5 now supports IA64 processor
7456 lt_prog_compiler_static='-Bstatic'
7461 # FIXME: we need at least 68020 code to build shared libraries, but
7462 # adding the `-m68020' flag to GCC prevents building anything better,
7464 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7467 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7468 # PIC is the default for these OSes.
7471 mingw* | pw32* | os2*)
7472 # This hack is so that the source file can tell whether it is being
7473 # built for inclusion in a dll (and should export symbols for example).
7474 lt_prog_compiler_pic='-DDLL_EXPORT'
7477 darwin* | rhapsody*)
7478 # PIC is the default on this platform
7479 # Common symbols not allowed in MH_DYLIB files
7480 lt_prog_compiler_pic='-fno-common'
7484 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7485 # Instead, we relocate shared libraries at runtime.
7489 # Just because we use GCC doesn't mean we suddenly get shared libraries
7490 # on systems that don't support them.
7491 lt_prog_compiler_can_build_shared=no
7496 if test -d /usr/nec; then
7497 lt_prog_compiler_pic=-Kconform_pic
7502 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7509 lt_prog_compiler_pic='-fPIC'
7515 lt_prog_compiler_pic='-fPIC'
7519 # PORTME Check for flag to pass linker flags through the system compiler.
7522 lt_prog_compiler_wl='-Wl,'
7523 if test "$host_cpu" = ia64; then
7524 # AIX 5 now supports IA64 processor
7525 lt_prog_compiler_static='-Bstatic'
7527 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7531 # PIC is the default on this platform
7532 # Common symbols not allowed in MH_DYLIB files
7533 case $cc_basename in
7535 lt_prog_compiler_pic='-qnocommon'
7536 lt_prog_compiler_wl='-Wl,'
7541 mingw* | pw32* | os2*)
7542 # This hack is so that the source file can tell whether it is being
7543 # built for inclusion in a dll (and should export symbols for example).
7544 lt_prog_compiler_pic='-DDLL_EXPORT'
7547 hpux9* | hpux10* | hpux11*)
7548 lt_prog_compiler_wl='-Wl,'
7549 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7556 lt_prog_compiler_pic='+Z'
7559 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7560 lt_prog_compiler_static='${wl}-a ${wl}archive'
7563 irix5* | irix6* | nonstopux*)
7564 lt_prog_compiler_wl='-Wl,'
7565 # PIC (with -KPIC) is the default.
7566 lt_prog_compiler_static='-non_shared'
7570 lt_prog_compiler_pic='-KPIC'
7571 lt_prog_compiler_static='-Bstatic'
7574 linux* | k*bsd*-gnu)
7575 case $cc_basename in
7577 lt_prog_compiler_wl='-Wl,'
7578 lt_prog_compiler_pic='-KPIC'
7579 lt_prog_compiler_static='-static'
7581 pgcc* | pgf77* | pgf90* | pgf95*)
7582 # Portland Group compilers (*not* the Pentium gcc compiler,
7583 # which looks to be a dead project)
7584 lt_prog_compiler_wl='-Wl,'
7585 lt_prog_compiler_pic='-fpic'
7586 lt_prog_compiler_static='-Bstatic'
7589 lt_prog_compiler_wl='-Wl,'
7590 # All Alpha code is PIC.
7591 lt_prog_compiler_static='-non_shared'
7596 osf3* | osf4* | osf5*)
7597 lt_prog_compiler_wl='-Wl,'
7598 # All OSF/1 code is PIC.
7599 lt_prog_compiler_static='-non_shared'
7603 lt_prog_compiler_pic='-KPIC'
7604 lt_prog_compiler_static='-Bstatic'
7605 case $cc_basename in
7607 lt_prog_compiler_wl='-Qoption ld ';;
7609 lt_prog_compiler_wl='-Wl,';;
7614 lt_prog_compiler_wl='-Qoption ld '
7615 lt_prog_compiler_pic='-PIC'
7616 lt_prog_compiler_static='-Bstatic'
7619 sysv4 | sysv4.2uw2* | sysv4.3*)
7620 lt_prog_compiler_wl='-Wl,'
7621 lt_prog_compiler_pic='-KPIC'
7622 lt_prog_compiler_static='-Bstatic'
7626 if test -d /usr/nec ;then
7627 lt_prog_compiler_pic='-Kconform_pic'
7628 lt_prog_compiler_static='-Bstatic'
7632 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7633 lt_prog_compiler_wl='-Wl,'
7634 lt_prog_compiler_pic='-KPIC'
7635 lt_prog_compiler_static='-Bstatic'
7639 lt_prog_compiler_wl='-Wl,'
7640 lt_prog_compiler_can_build_shared=no
7644 lt_prog_compiler_pic='-pic'
7645 lt_prog_compiler_static='-Bstatic'
7649 lt_prog_compiler_can_build_shared=no
7654 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7655 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7658 # Check to make sure the PIC flag actually works.
7660 if test -n "$lt_prog_compiler_pic"; then
7662 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7663 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7664 if test "${lt_prog_compiler_pic_works+set}" = set; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6
7667 lt_prog_compiler_pic_works=no
7668 ac_outfile=conftest.$ac_objext
7669 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7670 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7671 # Insert the option either (1) after the last *FLAGS variable, or
7672 # (2) before a word containing "conftest.", or (3) at the end.
7673 # Note that $ac_compile itself does not contain backslashes and begins
7674 # with a dollar sign (not a hyphen), so the echo should work correctly.
7675 # The option is referenced via a variable to avoid confusing sed.
7676 lt_compile=`echo "$ac_compile" | $SED \
7677 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7678 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7679 -e 's:$: $lt_compiler_flag:'`
7680 (eval echo "\"\$as_me:7680: $lt_compile\"" >&5)
7681 (eval "$lt_compile" 2>conftest.err)
7683 cat conftest.err >&5
7684 echo "$as_me:7684: \$? = $ac_status" >&5
7685 if (exit $ac_status) && test -s "$ac_outfile"; then
7686 # The compiler can only warn and ignore the option if not recognized
7687 # So say no if there are warnings other than the usual output.
7688 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7689 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7690 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7691 lt_prog_compiler_pic_works=yes
7697 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7698 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7700 if test x"$lt_prog_compiler_pic_works" = xyes; then
7701 case $lt_prog_compiler_pic in
7703 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7706 lt_prog_compiler_pic=
7707 lt_prog_compiler_can_build_shared=no
7712 # For platforms which do not support PIC, -DPIC is meaningless:
7714 lt_prog_compiler_pic=
7717 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7722 # Check to make sure the static flag actually works.
7724 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7725 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7726 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7727 if test "${lt_prog_compiler_static_works+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 lt_prog_compiler_static_works=no
7731 save_LDFLAGS="$LDFLAGS"
7732 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7733 printf "$lt_simple_link_test_code" > conftest.$ac_ext
7734 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7735 # The linker can only warn and ignore the option if not recognized
7736 # So say no if there are warnings
7737 if test -s conftest.err; then
7738 # Append any errors to the config.log.
7739 cat conftest.err 1>&5
7740 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7742 if diff conftest.exp conftest.er2 >/dev/null; then
7743 lt_prog_compiler_static_works=yes
7746 lt_prog_compiler_static_works=yes
7750 LDFLAGS="$save_LDFLAGS"
7753 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7754 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7756 if test x"$lt_prog_compiler_static_works" = xyes; then
7759 lt_prog_compiler_static=
7763 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7764 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7765 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 lt_cv_prog_compiler_c_o=no
7769 $rm -r conftest 2>/dev/null
7773 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7775 lt_compiler_flag="-o out/conftest2.$ac_objext"
7776 # Insert the option either (1) after the last *FLAGS variable, or
7777 # (2) before a word containing "conftest.", or (3) at the end.
7778 # Note that $ac_compile itself does not contain backslashes and begins
7779 # with a dollar sign (not a hyphen), so the echo should work correctly.
7780 lt_compile=`echo "$ac_compile" | $SED \
7781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7783 -e 's:$: $lt_compiler_flag:'`
7784 (eval echo "\"\$as_me:7784: $lt_compile\"" >&5)
7785 (eval "$lt_compile" 2>out/conftest.err)
7787 cat out/conftest.err >&5
7788 echo "$as_me:7788: \$? = $ac_status" >&5
7789 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7791 # The compiler can only warn and ignore the option if not recognized
7792 # So say no if there are warnings
7793 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7794 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7795 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7796 lt_cv_prog_compiler_c_o=yes
7801 # SGI C++ compiler will create directory out/ii_files/ for
7802 # template instantiation
7803 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7804 $rm out/* && rmdir out
7810 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7811 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7814 hard_links="nottested"
7815 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7816 # do not overwrite the value of need_locks provided by the user
7817 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7818 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7821 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7823 ln conftest.a conftest.b 2>&5 || hard_links=no
7824 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7825 { echo "$as_me:$LINENO: result: $hard_links" >&5
7826 echo "${ECHO_T}$hard_links" >&6; }
7827 if test "$hard_links" = no; then
7828 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7829 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7836 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7837 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7840 allow_undefined_flag=
7841 enable_shared_with_static_runtimes=no
7843 archive_expsym_cmds=
7844 old_archive_From_new_cmds=
7845 old_archive_from_expsyms_cmds=
7846 export_dynamic_flag_spec=
7847 whole_archive_flag_spec=
7848 thread_safe_flag_spec=
7849 hardcode_libdir_flag_spec=
7850 hardcode_libdir_flag_spec_ld=
7851 hardcode_libdir_separator=
7854 hardcode_shlibpath_var=unsupported
7855 link_all_deplibs=unknown
7856 hardcode_automatic=no
7859 always_export_symbols=no
7860 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7861 # include_expsyms should be a list of space-separated symbols to be *always*
7862 # included in the symbol list
7864 # exclude_expsyms can be an extended regexp of symbols to exclude
7865 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7866 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7867 # as well as any symbol that contains `d'.
7868 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7869 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7870 # platforms (ab)use it in PIC code, but their linkers get confused if
7871 # the symbol is explicitly referenced. Since portable code cannot
7872 # rely on this symbol name, it's probably fine to never include it in
7873 # preloaded symbol tables.
7874 extract_expsyms_cmds=
7875 # Just being paranoid about ensuring that cc_basename is set.
7876 for cc_temp in $compiler""; do
7878 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7879 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7884 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7887 cygwin* | mingw* | pw32*)
7888 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7889 # When not using gcc, we currently assume that we are using
7890 # Microsoft Visual C++.
7891 if test "$GCC" != yes; then
7896 # we just hope/assume this is gcc and not c89 (= MSVC++)
7905 if test "$with_gnu_ld" = yes; then
7906 # If archive_cmds runs LD, not CC, wlarc should be empty
7909 # Set some defaults for GNU ld with shared library support. These
7910 # are reset later if shared libraries are not supported. Putting them
7911 # here allows them to be overridden if necessary.
7912 runpath_var=LD_RUN_PATH
7913 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7914 export_dynamic_flag_spec='${wl}--export-dynamic'
7915 # ancient GNU ld didn't support --whole-archive et. al.
7916 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7917 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7919 whole_archive_flag_spec=
7921 supports_anon_versioning=no
7922 case `$LD -v 2>/dev/null` in
7923 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7924 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7925 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7926 *\ 2.11.*) ;; # other 2.11 versions
7927 *) supports_anon_versioning=yes ;;
7930 # See if GNU ld supports shared libraries.
7932 aix3* | aix4* | aix5*)
7933 # On AIX/PPC, the GNU linker is very broken
7934 if test "$host_cpu" != ia64; then
7938 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7939 *** to be unable to reliably create shared libraries on AIX.
7940 *** Therefore, libtool is disabling shared libraries support. If you
7941 *** really care for shared libraries, you may want to modify your PATH
7942 *** so that a non-GNU linker is found, and then restart.
7949 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)'
7950 hardcode_libdir_flag_spec='-L$libdir'
7951 hardcode_minus_L=yes
7953 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7954 # that the semantics of dynamic libraries on AmigaOS, at least up
7955 # to version 4, is to share data among multiple programs linked
7956 # with the same dynamic library. Since this doesn't match the
7957 # behavior of shared libraries on other platforms, we can't use
7963 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7964 allow_undefined_flag=unsupported
7965 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7966 # support --undefined. This deserves some investigation. FIXME
7967 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7973 cygwin* | mingw* | pw32*)
7974 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7975 # as there is no search path for DLLs.
7976 hardcode_libdir_flag_spec='-L$libdir'
7977 allow_undefined_flag=unsupported
7978 always_export_symbols=no
7979 enable_shared_with_static_runtimes=yes
7980 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7982 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7983 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7984 # If the export-symbols file already is a .def file (1st line
7985 # is EXPORTS), use it as is; otherwise, prepend...
7986 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7987 cp $export_symbols $output_objdir/$soname.def;
7989 echo EXPORTS > $output_objdir/$soname.def;
7990 cat $export_symbols >> $output_objdir/$soname.def;
7992 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8000 hardcode_shlibpath_var=no
8001 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8002 export_dynamic_flag_spec='${wl}-E'
8003 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8004 # Instead, shared libraries are loaded at an image base (0x10000000 by
8005 # default) and relocated if they conflict, which is a slow very memory
8006 # consuming and fragmenting process. To avoid this, we pick a random,
8007 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8008 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8009 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8010 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8013 linux* | k*bsd*-gnu)
8014 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8016 case $cc_basename,$host_cpu in
8017 pgcc*) # Portland Group C compiler
8018 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8019 tmp_addflag=' $pic_flag'
8021 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8022 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8023 tmp_addflag=' $pic_flag -Mnomain' ;;
8024 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8025 tmp_addflag=' -i_dynamic' ;;
8026 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8027 tmp_addflag=' -i_dynamic -nofor_main' ;;
8028 ifc* | ifort*) # Intel Fortran compiler
8029 tmp_addflag=' -nofor_main' ;;
8031 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8033 if test $supports_anon_versioning = yes; then
8034 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8035 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8036 $echo "local: *; };" >> $output_objdir/$libname.ver~
8037 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8045 netbsd* | netbsdelf*-gnu)
8046 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8047 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8051 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8056 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8060 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8061 *** create shared libraries on Solaris systems. Therefore, libtool
8062 *** is disabling shared libraries support. We urge you to upgrade GNU
8063 *** binutils to release 2.9.1 or newer. Another option is to modify
8064 *** your PATH or compiler configuration so that the native linker is
8065 *** used, and then restart.
8068 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8069 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8070 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8076 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8077 case `$LD -v 2>&1` in
8078 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8082 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8083 *** reliably create shared libraries on SCO systems. Therefore, libtool
8084 *** is disabling shared libraries support. We urge you to upgrade GNU
8085 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8086 *** your PATH or compiler configuration so that the native linker is
8087 *** used, and then restart.
8092 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8093 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8094 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8095 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8104 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8107 hardcode_shlibpath_var=no
8111 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8112 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8113 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8120 if test "$ld_shlibs" = no; then
8122 hardcode_libdir_flag_spec=
8123 export_dynamic_flag_spec=
8124 whole_archive_flag_spec=
8127 # PORTME fill in a description of your system's linker (not GNU ld)
8130 allow_undefined_flag=unsupported
8131 always_export_symbols=yes
8132 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'
8133 # Note: this linker hardcodes the directories in LIBPATH if there
8134 # are no directories specified by -L.
8135 hardcode_minus_L=yes
8136 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8137 # Neither direct hardcoding nor static linking is supported with a
8139 hardcode_direct=unsupported
8144 if test "$host_cpu" = ia64; then
8145 # On IA64, the linker does run time linking by default, so we don't
8146 # have to do anything special.
8147 aix_use_runtimelinking=no
8148 exp_sym_flag='-Bexport'
8151 # If we're using GNU nm, then we don't want the "-C" option.
8152 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8153 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8154 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8156 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8158 aix_use_runtimelinking=no
8160 # Test if we are trying to use run time linking or normal
8161 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8162 # need to do runtime linking.
8163 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8164 for ld_flag in $LDFLAGS; do
8165 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8166 aix_use_runtimelinking=yes
8173 exp_sym_flag='-bexport'
8174 no_entry_flag='-bnoentry'
8177 # When large executables or shared objects are built, AIX ld can
8178 # have problems creating the table of contents. If linking a library
8179 # or program results in "error TOC overflow" add -mminimal-toc to
8180 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8181 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8185 hardcode_libdir_separator=':'
8186 link_all_deplibs=yes
8188 if test "$GCC" = yes; then
8189 case $host_os in aix4.[012]|aix4.[012].*)
8190 # We only want to do this on AIX 4.2 and lower, the check
8191 # below for broken collect2 doesn't work under 4.3+
8192 collect2name=`${CC} -print-prog-name=collect2`
8193 if test -f "$collect2name" && \
8194 strings "$collect2name" | grep resolve_lib_name >/dev/null
8196 # We have reworked collect2
8199 # We have old collect2
8200 hardcode_direct=unsupported
8201 # It fails to find uninstalled libraries when the uninstalled
8202 # path is not listed in the libpath. Setting hardcode_minus_L
8203 # to unsupported forces relinking
8204 hardcode_minus_L=yes
8205 hardcode_libdir_flag_spec='-L$libdir'
8206 hardcode_libdir_separator=
8210 shared_flag='-shared'
8211 if test "$aix_use_runtimelinking" = yes; then
8212 shared_flag="$shared_flag "'${wl}-G'
8216 if test "$host_cpu" = ia64; then
8217 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8218 # chokes on -Wl,-G. The following line is correct:
8221 if test "$aix_use_runtimelinking" = yes; then
8222 shared_flag='${wl}-G'
8224 shared_flag='${wl}-bM:SRE'
8229 # It seems that -bexpall does not export symbols beginning with
8230 # underscore (_), so it is better to generate a list of symbols to export.
8231 always_export_symbols=yes
8232 if test "$aix_use_runtimelinking" = yes; then
8233 # Warning - without using the other runtime loading flags (-brtl),
8234 # -berok will link without error, but may produce a broken library.
8235 allow_undefined_flag='-berok'
8236 # Determine the default libpath from the value encoded in an empty executable.
8237 cat >conftest.$ac_ext <<_ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8252 rm -f conftest.$ac_objext conftest$ac_exeext
8253 if { (ac_try="$ac_link"
8255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 *) ac_try_echo=$ac_try;;
8258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259 (eval "$ac_link") 2>conftest.er1
8261 grep -v '^ *+' conftest.er1 >conftest.err
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } && {
8266 test -z "$ac_c_werror_flag" ||
8267 test ! -s conftest.err
8268 } && test -s conftest$ac_exeext &&
8269 $as_test_x conftest$ac_exeext; then
8271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8273 # Check for a 64-bit object if we didn't find anything.
8274 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8277 echo "$as_me: failed program was:" >&5
8278 sed 's/^/| /' conftest.$ac_ext >&5
8283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8284 conftest$ac_exeext conftest.$ac_ext
8285 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8287 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8288 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8290 if test "$host_cpu" = ia64; then
8291 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8292 allow_undefined_flag="-z nodefs"
8293 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8295 # Determine the default libpath from the value encoded in an empty executable.
8296 cat >conftest.$ac_ext <<_ACEOF
8299 cat confdefs.h >>conftest.$ac_ext
8300 cat >>conftest.$ac_ext <<_ACEOF
8301 /* end confdefs.h. */
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (ac_try="$ac_link"
8314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8315 *) ac_try_echo=$ac_try;;
8317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8318 (eval "$ac_link") 2>conftest.er1
8320 grep -v '^ *+' conftest.er1 >conftest.err
8322 cat conftest.err >&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } && {
8325 test -z "$ac_c_werror_flag" ||
8326 test ! -s conftest.err
8327 } && test -s conftest$ac_exeext &&
8328 $as_test_x conftest$ac_exeext; then
8330 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8332 # Check for a 64-bit object if we didn't find anything.
8333 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8343 conftest$ac_exeext conftest.$ac_ext
8344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8346 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8347 # Warning - without using the other run time loading flags,
8348 # -berok will link without error, but may produce a broken library.
8349 no_undefined_flag=' ${wl}-bernotok'
8350 allow_undefined_flag=' ${wl}-berok'
8351 # Exported symbols can be pulled into shared objects from archives
8352 whole_archive_flag_spec='$convenience'
8353 archive_cmds_need_lc=yes
8354 # This is similar to how AIX traditionally builds its shared libraries.
8355 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8361 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)'
8362 hardcode_libdir_flag_spec='-L$libdir'
8363 hardcode_minus_L=yes
8364 # see comment about different semantics on the GNU ld section
8369 export_dynamic_flag_spec=-rdynamic
8372 cygwin* | mingw* | pw32*)
8373 # When not using gcc, we currently assume that we are using
8374 # Microsoft Visual C++.
8375 # hardcode_libdir_flag_spec is actually meaningless, as there is
8376 # no search path for DLLs.
8377 hardcode_libdir_flag_spec=' '
8378 allow_undefined_flag=unsupported
8379 # Tell ltmain to make .lib files, not .a files.
8381 # Tell ltmain to make .dll files, not .so files.
8383 # FIXME: Setting linknames here is a bad hack.
8384 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8385 # The linker will automatically build a .lib file if we build a DLL.
8386 old_archive_From_new_cmds='true'
8387 # FIXME: Should let the user specify the lib program.
8388 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8389 fix_srcfile_path='`cygpath -w "$srcfile"`'
8390 enable_shared_with_static_runtimes=yes
8393 darwin* | rhapsody*)
8395 rhapsody* | darwin1.[012])
8396 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8399 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8400 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8402 case ${MACOSX_DEPLOYMENT_TARGET} in
8404 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8407 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8413 archive_cmds_need_lc=no
8415 hardcode_automatic=yes
8416 hardcode_shlibpath_var=unsupported
8417 whole_archive_flag_spec=''
8418 link_all_deplibs=yes
8419 if test "$GCC" = yes ; then
8420 output_verbose_link_cmd='echo'
8421 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8422 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8423 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8424 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8425 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8427 case $cc_basename in
8429 output_verbose_link_cmd='echo'
8430 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8431 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8432 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8433 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8434 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_libdir_flag_spec='-L$libdir'
8446 hardcode_shlibpath_var=no
8453 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8454 # support. Future versions do this automatically, but an explicit c++rt0.o
8455 # does not break anything, and helps significantly (at the cost of a little
8458 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8459 hardcode_libdir_flag_spec='-R$libdir'
8461 hardcode_shlibpath_var=no
8464 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8466 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8468 hardcode_minus_L=yes
8469 hardcode_shlibpath_var=no
8472 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8473 freebsd* | dragonfly*)
8474 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8475 hardcode_libdir_flag_spec='-R$libdir'
8477 hardcode_shlibpath_var=no
8481 if test "$GCC" = yes; then
8482 archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8484 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'
8486 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8487 hardcode_libdir_separator=:
8490 # hardcode_minus_L: Not really in the search PATH,
8491 # but as the default location of the library.
8492 hardcode_minus_L=yes
8493 export_dynamic_flag_spec='${wl}-E'
8497 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8498 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8500 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8502 if test "$with_gnu_ld" = no; then
8503 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8504 hardcode_libdir_separator=:
8507 export_dynamic_flag_spec='${wl}-E'
8509 # hardcode_minus_L: Not really in the search PATH,
8510 # but as the default location of the library.
8511 hardcode_minus_L=yes
8516 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8519 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8525 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8534 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8537 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8541 if test "$with_gnu_ld" = no; then
8542 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8543 hardcode_libdir_separator=:
8547 hardcode_libdir_flag_spec_ld='+b $libdir'
8549 hardcode_shlibpath_var=no
8553 export_dynamic_flag_spec='${wl}-E'
8555 # hardcode_minus_L: Not really in the search PATH,
8556 # but as the default location of the library.
8557 hardcode_minus_L=yes
8563 irix5* | irix6* | nonstopux*)
8564 if test "$GCC" = yes; then
8565 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'
8567 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'
8568 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8570 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8571 hardcode_libdir_separator=:
8572 link_all_deplibs=yes
8575 netbsd* | netbsdelf*-gnu)
8576 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8577 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8579 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8581 hardcode_libdir_flag_spec='-R$libdir'
8583 hardcode_shlibpath_var=no
8587 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8589 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8590 hardcode_libdir_separator=:
8591 hardcode_shlibpath_var=no
8596 hardcode_shlibpath_var=no
8597 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8598 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8599 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8600 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8601 export_dynamic_flag_spec='${wl}-E'
8604 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8605 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8606 hardcode_libdir_flag_spec='-R$libdir'
8609 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8610 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8617 hardcode_libdir_flag_spec='-L$libdir'
8618 hardcode_minus_L=yes
8619 allow_undefined_flag=unsupported
8620 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'
8621 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8625 if test "$GCC" = yes; then
8626 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8627 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'
8629 allow_undefined_flag=' -expect_unresolved \*'
8630 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'
8632 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8633 hardcode_libdir_separator=:
8636 osf4* | osf5*) # as osf3* with the addition of -msym flag
8637 if test "$GCC" = yes; then
8638 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8639 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'
8640 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8642 allow_undefined_flag=' -expect_unresolved \*'
8643 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'
8644 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8645 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8647 # Both c and cxx compiler support -rpath directly
8648 hardcode_libdir_flag_spec='-rpath $libdir'
8650 hardcode_libdir_separator=:
8654 no_undefined_flag=' -z text'
8655 if test "$GCC" = yes; then
8657 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8659 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8662 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8663 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8664 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8666 hardcode_libdir_flag_spec='-R$libdir'
8667 hardcode_shlibpath_var=no
8669 solaris2.[0-5] | solaris2.[0-5].*) ;;
8671 # The compiler driver will combine linker options so we
8672 # cannot just pass the convience library names through
8673 # without $wl, iff we do not link with $LD.
8674 # Luckily, gcc supports the same syntax we need for Sun Studio.
8675 # Supported since Solaris 2.6 (maybe 2.5.1?)
8678 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8680 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8683 link_all_deplibs=yes
8687 if test "x$host_vendor" = xsequent; then
8688 # Use $CC to link under sequent, because it throws in some extra .o
8689 # files that make .init and .fini sections work.
8690 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8692 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8694 hardcode_libdir_flag_spec='-L$libdir'
8696 hardcode_minus_L=yes
8697 hardcode_shlibpath_var=no
8701 case $host_vendor in
8703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_direct=yes # is this really true???
8707 ## LD is ld it makes a PLAMLIB
8708 ## CC just makes a GrossModule.
8709 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8710 reload_cmds='$CC -r -o $output$reload_objs'
8714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8715 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8718 runpath_var='LD_RUN_PATH'
8719 hardcode_shlibpath_var=no
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_shlibpath_var=no
8725 export_dynamic_flag_spec='-Bexport'
8729 if test -d /usr/nec; then
8730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_shlibpath_var=no
8732 runpath_var=LD_RUN_PATH
8733 hardcode_runpath_var=yes
8738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8739 no_undefined_flag='${wl}-z,text'
8740 archive_cmds_need_lc=no
8741 hardcode_shlibpath_var=no
8742 runpath_var='LD_RUN_PATH'
8744 if test "$GCC" = yes; then
8745 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8749 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8753 sysv5* | sco3.2v5* | sco5v6*)
8754 # Note: We can NOT use -z defs as we might desire, because we do not
8755 # link with -lc, and that would cause any symbols used from libc to
8756 # always be unresolved, which means just about no library would
8757 # ever link correctly. If we're not using GNU ld we use -z text
8758 # though, which does catch some bad symbols but isn't as heavy-handed
8760 no_undefined_flag='${wl}-z,text'
8761 allow_undefined_flag='${wl}-z,nodefs'
8762 archive_cmds_need_lc=no
8763 hardcode_shlibpath_var=no
8764 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8765 hardcode_libdir_separator=':'
8766 link_all_deplibs=yes
8767 export_dynamic_flag_spec='${wl}-Bexport'
8768 runpath_var='LD_RUN_PATH'
8770 if test "$GCC" = yes; then
8771 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8772 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8774 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8780 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8781 hardcode_libdir_flag_spec='-L$libdir'
8782 hardcode_shlibpath_var=no
8791 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8792 echo "${ECHO_T}$ld_shlibs" >&6; }
8793 test "$ld_shlibs" = no && can_build_shared=no
8796 # Do we need to explicitly link libc?
8798 case "x$archive_cmds_need_lc" in
8800 # Assume -lc should be added
8801 archive_cmds_need_lc=yes
8803 if test "$enable_shared" = yes && test "$GCC" = yes; then
8804 case $archive_cmds in
8806 # FIXME: we may have to deal with multi-command sequences.
8809 # Test whether the compiler implicitly links with -lc since on some
8810 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8811 # to ld, don't add -lc before -lgcc.
8812 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8813 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8815 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); } 2>conftest.err; then
8824 libobjs=conftest.$ac_objext
8826 wl=$lt_prog_compiler_wl
8827 pic_flag=$lt_prog_compiler_pic
8833 lt_save_allow_undefined_flag=$allow_undefined_flag
8834 allow_undefined_flag=
8835 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8836 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 (exit $ac_status); }
8841 archive_cmds_need_lc=no
8843 archive_cmds_need_lc=yes
8845 allow_undefined_flag=$lt_save_allow_undefined_flag
8847 cat conftest.err 1>&5
8850 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8851 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8858 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8859 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8861 libname_spec='lib$name'
8869 shlibpath_overrides_runpath=unknown
8871 dynamic_linker="$host_os ld.so"
8872 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8873 if test "$GCC" = yes; then
8874 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8875 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8876 # if the path contains ";" then we assume it to be the separator
8877 # otherwise default to the standard path separator (i.e. ":") - it is
8878 # assumed that no part of a normal pathname contains ";" but that should
8879 # okay in the real world where ";" in dirpaths is itself problematic.
8880 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8882 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8885 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8887 need_lib_prefix=unknown
8888 hardcode_into_libs=no
8890 # when you set need_version to no, make sure it does not cause -set_version
8891 # flags to be left without arguments
8892 need_version=unknown
8897 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8898 shlibpath_var=LIBPATH
8900 # AIX 3 has no versioning support, so we append a major version to the name.
8901 soname_spec='${libname}${release}${shared_ext}$major'
8908 hardcode_into_libs=yes
8909 if test "$host_cpu" = ia64; then
8910 # AIX 5 supports IA64
8911 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8912 shlibpath_var=LD_LIBRARY_PATH
8914 # With GCC up to 2.95.x, collect2 would create an import file
8915 # for dependence libraries. The import file would start with
8916 # the line `#! .'. This would cause the generated library to
8917 # depend on `.', always an invalid library. This was fixed in
8918 # development snapshots of GCC prior to 3.0.
8920 aix4 | aix4.[01] | aix4.[01].*)
8921 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8923 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8930 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8931 # soname into executable. Probably we can add versioning support to
8932 # collect2, so additional links can be useful in future.
8933 if test "$aix_use_runtimelinking" = yes; then
8934 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8935 # instead of lib<name>.a to let people know that these are not
8936 # typical AIX shared libraries.
8937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 # We preserve .a as extension for shared libraries through AIX4.2
8940 # and later when we are not doing run time linking.
8941 library_names_spec='${libname}${release}.a $libname.a'
8942 soname_spec='${libname}${release}${shared_ext}$major'
8944 shlibpath_var=LIBPATH
8949 library_names_spec='$libname.ixlibrary $libname.a'
8950 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8951 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'
8955 library_names_spec='${libname}${shared_ext}'
8956 dynamic_linker="$host_os ld.so"
8957 shlibpath_var=LIBRARY_PATH
8963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8964 soname_spec='${libname}${release}${shared_ext}$major'
8965 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8966 shlibpath_var=LD_LIBRARY_PATH
8967 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8968 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8969 # the default ld.so.conf also contains /usr/contrib/lib and
8970 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8971 # libtool to hard-code these into programs
8974 cygwin* | mingw* | pw32*)
8975 version_type=windows
8980 case $GCC,$host_os in
8981 yes,cygwin* | yes,mingw* | yes,pw32*)
8982 library_names_spec='$libname.dll.a'
8983 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8984 postinstall_cmds='base_file=`basename \${file}`~
8985 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8986 dldir=$destdir/`dirname \$dlpath`~
8987 test -d \$dldir || mkdir -p \$dldir~
8988 $install_prog $dir/$dlname \$dldir/$dlname~
8989 chmod a+x \$dldir/$dlname'
8990 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8991 dlpath=$dir/\$dldll~
8993 shlibpath_overrides_runpath=yes
8997 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8998 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8999 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9002 # MinGW DLLs use traditional 'lib' prefix
9003 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9004 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9005 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9006 # It is most probably a Windows format PATH printed by
9007 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9008 # path with ; separators, and with drive letters. We can handle the
9009 # drive letters (cygwin fileutils understands them), so leave them,
9010 # especially as we might pass files found there to a mingw objdump,
9011 # which wouldn't understand a cygwinified path. Ahh.
9012 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9014 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9018 # pw32 DLLs use 'pw' prefix rather than 'lib'
9019 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9025 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9028 dynamic_linker='Win32 ld.exe'
9029 # FIXME: first we should search . and the directory the executable is in
9033 darwin* | rhapsody*)
9034 dynamic_linker="$host_os dyld"
9038 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9039 soname_spec='${libname}${release}${major}$shared_ext'
9040 shlibpath_overrides_runpath=yes
9041 shlibpath_var=DYLD_LIBRARY_PATH
9042 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9043 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9044 if test "$GCC" = yes; then
9045 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9047 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9049 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9057 soname_spec='${libname}${release}${shared_ext}$major'
9058 shlibpath_var=LD_LIBRARY_PATH
9065 freebsd* | dragonfly*)
9066 # DragonFly does not have aout. When/if they implement a new
9067 # versioning mechanism, adjust this.
9068 if test -x /usr/bin/objformat; then
9069 objformat=`/usr/bin/objformat`
9072 freebsd[123]*) objformat=aout ;;
9076 version_type=freebsd-$objformat
9077 case $version_type in
9079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9084 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9088 shlibpath_var=LD_LIBRARY_PATH
9091 shlibpath_overrides_runpath=yes
9093 freebsd3.[01]* | freebsdelf3.[01]*)
9094 shlibpath_overrides_runpath=yes
9095 hardcode_into_libs=yes
9097 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9098 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9099 shlibpath_overrides_runpath=no
9100 hardcode_into_libs=yes
9102 freebsd*) # from 4.6 on
9103 shlibpath_overrides_runpath=yes
9104 hardcode_into_libs=yes
9113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9114 soname_spec='${libname}${release}${shared_ext}$major'
9115 shlibpath_var=LD_LIBRARY_PATH
9116 hardcode_into_libs=yes
9119 hpux9* | hpux10* | hpux11*)
9120 # Give a soname corresponding to the major version so that dld.sl refuses to
9121 # link against other versions.
9128 hardcode_into_libs=yes
9129 dynamic_linker="$host_os dld.so"
9130 shlibpath_var=LD_LIBRARY_PATH
9131 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9133 soname_spec='${libname}${release}${shared_ext}$major'
9134 if test "X$HPUX_IA64_MODE" = X32; then
9135 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9137 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9139 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9143 hardcode_into_libs=yes
9144 dynamic_linker="$host_os dld.sl"
9145 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9146 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9148 soname_spec='${libname}${release}${shared_ext}$major'
9149 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9150 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9154 dynamic_linker="$host_os dld.sl"
9155 shlibpath_var=SHLIB_PATH
9156 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9158 soname_spec='${libname}${release}${shared_ext}$major'
9161 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9162 postinstall_cmds='chmod 555 $lib'
9169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9170 soname_spec='${libname}${release}${shared_ext}$major'
9171 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9172 shlibpath_var=LD_LIBRARY_PATH
9173 shlibpath_overrides_runpath=no
9174 hardcode_into_libs=yes
9177 irix5* | irix6* | nonstopux*)
9179 nonstopux*) version_type=nonstopux ;;
9181 if test "$lt_cv_prog_gnu_ld" = yes; then
9189 soname_spec='${libname}${release}${shared_ext}$major'
9190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9192 irix5* | nonstopux*)
9196 case $LD in # libtool.m4 will add one of these switches to LD
9197 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9198 libsuff= shlibsuff= libmagic=32-bit;;
9199 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9200 libsuff=32 shlibsuff=N32 libmagic=N32;;
9201 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9202 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9203 *) libsuff= shlibsuff= libmagic=never-match;;
9207 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9208 shlibpath_overrides_runpath=no
9209 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9210 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9211 hardcode_into_libs=yes
9214 # No shared lib support for Linux oldld, aout, or coff.
9215 linux*oldld* | linux*aout* | linux*coff*)
9219 # This must be Linux ELF.
9220 linux* | k*bsd*-gnu)
9224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 soname_spec='${libname}${release}${shared_ext}$major'
9226 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9227 shlibpath_var=LD_LIBRARY_PATH
9228 shlibpath_overrides_runpath=no
9229 # This implies no fast_install, which is unacceptable.
9230 # Some rework will be needed to allow for fast_install
9231 # before this can be enabled.
9232 hardcode_into_libs=yes
9234 # Append ld.so.conf contents to the search path
9235 if test -f /etc/ld.so.conf; then
9236 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9237 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9240 # We used to test for /lib/ld.so.1 and disable shared libraries on
9241 # powerpc, because MkLinux only supported shared libraries with the
9242 # GNU dynamic linker. Since this was broken with cross compilers,
9243 # most powerpc-linux boxes support dynamic linking these days and
9244 # people can always --disable-shared, the test was removed, and we
9245 # assume the GNU/Linux dynamic linker is in use.
9246 dynamic_linker='GNU/Linux ld.so'
9253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9254 soname_spec='${libname}${release}${shared_ext}$major'
9255 shlibpath_var=LD_LIBRARY_PATH
9256 shlibpath_overrides_runpath=no
9257 hardcode_into_libs=yes
9258 dynamic_linker='NetBSD ld.elf_so'
9265 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9267 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9268 dynamic_linker='NetBSD (a.out) ld.so'
9270 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9271 soname_spec='${libname}${release}${shared_ext}$major'
9272 dynamic_linker='NetBSD ld.elf_so'
9274 shlibpath_var=LD_LIBRARY_PATH
9275 shlibpath_overrides_runpath=yes
9276 hardcode_into_libs=yes
9281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9282 shlibpath_var=LD_LIBRARY_PATH
9283 shlibpath_overrides_runpath=yes
9290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9291 soname_spec='${libname}${release}${shared_ext}$major'
9292 shlibpath_var=LD_LIBRARY_PATH
9293 shlibpath_overrides_runpath=yes
9298 sys_lib_dlsearch_path_spec="/usr/lib"
9300 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9302 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9303 *) need_version=no ;;
9305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9306 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9307 shlibpath_var=LD_LIBRARY_PATH
9308 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9310 openbsd2.[89] | openbsd2.[89].*)
9311 shlibpath_overrides_runpath=no
9314 shlibpath_overrides_runpath=yes
9318 shlibpath_overrides_runpath=yes
9323 libname_spec='$name'
9326 library_names_spec='$libname${shared_ext} $libname.a'
9327 dynamic_linker='OS/2 ld.exe'
9328 shlibpath_var=LIBPATH
9331 osf3* | osf4* | osf5*)
9335 soname_spec='${libname}${release}${shared_ext}$major'
9336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9337 shlibpath_var=LD_LIBRARY_PATH
9338 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9339 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9347 soname_spec='${libname}${release}${shared_ext}$major'
9348 shlibpath_var=LD_LIBRARY_PATH
9349 shlibpath_overrides_runpath=yes
9350 hardcode_into_libs=yes
9351 # ldd complains unless libraries are executable
9352 postinstall_cmds='chmod +x $lib'
9357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9358 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9359 shlibpath_var=LD_LIBRARY_PATH
9360 shlibpath_overrides_runpath=yes
9361 if test "$with_gnu_ld" = yes; then
9369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9370 soname_spec='${libname}${release}${shared_ext}$major'
9371 shlibpath_var=LD_LIBRARY_PATH
9372 case $host_vendor in
9374 shlibpath_overrides_runpath=no
9376 export_dynamic_flag_spec='${wl}-Blargedynsym'
9377 runpath_var=LD_RUN_PATH
9385 shlibpath_overrides_runpath=no
9386 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9392 if test -d /usr/nec ;then
9394 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9395 soname_spec='$libname${shared_ext}.$major'
9396 shlibpath_var=LD_LIBRARY_PATH
9400 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9401 version_type=freebsd-elf
9404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 shlibpath_var=LD_LIBRARY_PATH
9407 hardcode_into_libs=yes
9408 if test "$with_gnu_ld" = yes; then
9409 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9410 shlibpath_overrides_runpath=no
9412 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9413 shlibpath_overrides_runpath=yes
9416 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9420 sys_lib_dlsearch_path_spec='/usr/lib'
9425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9426 soname_spec='${libname}${release}${shared_ext}$major'
9427 shlibpath_var=LD_LIBRARY_PATH
9434 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9435 echo "${ECHO_T}$dynamic_linker" >&6; }
9436 test "$dynamic_linker" = no && can_build_shared=no
9438 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9439 if test "$GCC" = yes; then
9440 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9443 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9444 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9446 if test -n "$hardcode_libdir_flag_spec" || \
9447 test -n "$runpath_var" || \
9448 test "X$hardcode_automatic" = "Xyes" ; then
9450 # We can hardcode non-existant directories.
9451 if test "$hardcode_direct" != no &&
9452 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9453 # have to relink, otherwise we might link with an installed library
9454 # when we should be linking with a yet-to-be-installed one
9455 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9456 test "$hardcode_minus_L" != no; then
9457 # Linking always hardcodes the temporary library directory.
9458 hardcode_action=relink
9460 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9461 hardcode_action=immediate
9464 # We cannot hardcode anything, or else we can only hardcode existing
9466 hardcode_action=unsupported
9468 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9469 echo "${ECHO_T}$hardcode_action" >&6; }
9471 if test "$hardcode_action" = relink; then
9472 # Fast installation is not supported
9473 enable_fast_install=no
9474 elif test "$shlibpath_overrides_runpath" = yes ||
9475 test "$enable_shared" = no; then
9476 # Fast installation is not necessary
9477 enable_fast_install=needless
9482 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9483 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9484 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9485 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9486 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9487 { echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6; }
9490 # FIXME - insert some real tests, host_os isn't really good enough
9493 if test -n "$STRIP" ; then
9494 striplib="$STRIP -x"
9495 { echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6; }
9498 { echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6; }
9503 { echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6; }
9509 if test "x$enable_dlopen" != xyes; then
9510 enable_dlopen=unknown
9511 enable_dlopen_self=unknown
9512 enable_dlopen_self_static=unknown
9519 lt_cv_dlopen="load_add_on"
9521 lt_cv_dlopen_self=yes
9525 lt_cv_dlopen="LoadLibrary"
9530 lt_cv_dlopen="dlopen"
9535 # if libdl is installed we need to link against it
9536 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9537 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9538 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9539 echo $ECHO_N "(cached) $ECHO_C" >&6
9541 ac_check_lib_save_LIBS=$LIBS
9543 cat >conftest.$ac_ext <<_ACEOF
9546 cat confdefs.h >>conftest.$ac_ext
9547 cat >>conftest.$ac_ext <<_ACEOF
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9565 rm -f conftest.$ac_objext conftest$ac_exeext
9566 if { (ac_try="$ac_link"
9568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9569 *) ac_try_echo=$ac_try;;
9571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9572 (eval "$ac_link") 2>conftest.er1
9574 grep -v '^ *+' conftest.er1 >conftest.err
9576 cat conftest.err >&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } && {
9579 test -z "$ac_c_werror_flag" ||
9580 test ! -s conftest.err
9581 } && test -s conftest$ac_exeext &&
9582 $as_test_x conftest$ac_exeext; then
9583 ac_cv_lib_dl_dlopen=yes
9585 echo "$as_me: failed program was:" >&5
9586 sed 's/^/| /' conftest.$ac_ext >&5
9588 ac_cv_lib_dl_dlopen=no
9591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9592 conftest$ac_exeext conftest.$ac_ext
9593 LIBS=$ac_check_lib_save_LIBS
9595 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9596 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9597 if test $ac_cv_lib_dl_dlopen = yes; then
9598 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9603 lt_cv_dlopen_self=yes
9610 { echo "$as_me:$LINENO: checking for shl_load" >&5
9611 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9612 if test "${ac_cv_func_shl_load+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 cat >conftest.$ac_ext <<_ACEOF
9618 cat confdefs.h >>conftest.$ac_ext
9619 cat >>conftest.$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9623 #define shl_load innocuous_shl_load
9625 /* System header to define __stub macros and hopefully few prototypes,
9626 which can conflict with char shl_load (); below.
9627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9628 <limits.h> exists even on freestanding compilers. */
9631 # include <limits.h>
9633 # include <assert.h>
9638 /* Override any GCC internal prototype to avoid an error.
9639 Use char because int might match the return type of a GCC
9640 builtin and then its argument prototype would still apply. */
9645 /* The GNU C library defines this for functions which it implements
9646 to always fail with ENOSYS. Some functions are actually named
9647 something starting with __ and the normal name is an alias. */
9648 #if defined __stub_shl_load || defined __stub___shl_load
9660 rm -f conftest.$ac_objext conftest$ac_exeext
9661 if { (ac_try="$ac_link"
9663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9664 *) ac_try_echo=$ac_try;;
9666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9667 (eval "$ac_link") 2>conftest.er1
9669 grep -v '^ *+' conftest.er1 >conftest.err
9671 cat conftest.err >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); } && {
9674 test -z "$ac_c_werror_flag" ||
9675 test ! -s conftest.err
9676 } && test -s conftest$ac_exeext &&
9677 $as_test_x conftest$ac_exeext; then
9678 ac_cv_func_shl_load=yes
9680 echo "$as_me: failed program was:" >&5
9681 sed 's/^/| /' conftest.$ac_ext >&5
9683 ac_cv_func_shl_load=no
9686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9687 conftest$ac_exeext conftest.$ac_ext
9689 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9690 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9691 if test $ac_cv_func_shl_load = yes; then
9692 lt_cv_dlopen="shl_load"
9694 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9695 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9696 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9697 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 ac_check_lib_save_LIBS=$LIBS
9701 cat >conftest.$ac_ext <<_ACEOF
9704 cat confdefs.h >>conftest.$ac_ext
9705 cat >>conftest.$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9723 rm -f conftest.$ac_objext conftest$ac_exeext
9724 if { (ac_try="$ac_link"
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_link") 2>conftest.er1
9732 grep -v '^ *+' conftest.er1 >conftest.err
9734 cat conftest.err >&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); } && {
9737 test -z "$ac_c_werror_flag" ||
9738 test ! -s conftest.err
9739 } && test -s conftest$ac_exeext &&
9740 $as_test_x conftest$ac_exeext; then
9741 ac_cv_lib_dld_shl_load=yes
9743 echo "$as_me: failed program was:" >&5
9744 sed 's/^/| /' conftest.$ac_ext >&5
9746 ac_cv_lib_dld_shl_load=no
9749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_lib_save_LIBS
9753 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9754 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9755 if test $ac_cv_lib_dld_shl_load = yes; then
9756 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9758 { echo "$as_me:$LINENO: checking for dlopen" >&5
9759 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9760 if test "${ac_cv_func_dlopen+set}" = set; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 cat >conftest.$ac_ext <<_ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9769 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9771 #define dlopen innocuous_dlopen
9773 /* System header to define __stub macros and hopefully few prototypes,
9774 which can conflict with char dlopen (); below.
9775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9776 <limits.h> exists even on freestanding compilers. */
9779 # include <limits.h>
9781 # include <assert.h>
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9793 /* The GNU C library defines this for functions which it implements
9794 to always fail with ENOSYS. Some functions are actually named
9795 something starting with __ and the normal name is an alias. */
9796 #if defined __stub_dlopen || defined __stub___dlopen
9808 rm -f conftest.$ac_objext conftest$ac_exeext
9809 if { (ac_try="$ac_link"
9811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9812 *) ac_try_echo=$ac_try;;
9814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9815 (eval "$ac_link") 2>conftest.er1
9817 grep -v '^ *+' conftest.er1 >conftest.err
9819 cat conftest.err >&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } && {
9822 test -z "$ac_c_werror_flag" ||
9823 test ! -s conftest.err
9824 } && test -s conftest$ac_exeext &&
9825 $as_test_x conftest$ac_exeext; then
9826 ac_cv_func_dlopen=yes
9828 echo "$as_me: failed program was:" >&5
9829 sed 's/^/| /' conftest.$ac_ext >&5
9831 ac_cv_func_dlopen=no
9834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9835 conftest$ac_exeext conftest.$ac_ext
9837 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9838 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9839 if test $ac_cv_func_dlopen = yes; then
9840 lt_cv_dlopen="dlopen"
9842 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9843 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9844 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9845 echo $ECHO_N "(cached) $ECHO_C" >&6
9847 ac_check_lib_save_LIBS=$LIBS
9849 cat >conftest.$ac_ext <<_ACEOF
9852 cat confdefs.h >>conftest.$ac_ext
9853 cat >>conftest.$ac_ext <<_ACEOF
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9871 rm -f conftest.$ac_objext conftest$ac_exeext
9872 if { (ac_try="$ac_link"
9874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9875 *) ac_try_echo=$ac_try;;
9877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9878 (eval "$ac_link") 2>conftest.er1
9880 grep -v '^ *+' conftest.er1 >conftest.err
9882 cat conftest.err >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); } && {
9885 test -z "$ac_c_werror_flag" ||
9886 test ! -s conftest.err
9887 } && test -s conftest$ac_exeext &&
9888 $as_test_x conftest$ac_exeext; then
9889 ac_cv_lib_dl_dlopen=yes
9891 echo "$as_me: failed program was:" >&5
9892 sed 's/^/| /' conftest.$ac_ext >&5
9894 ac_cv_lib_dl_dlopen=no
9897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_lib_save_LIBS
9901 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9902 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9903 if test $ac_cv_lib_dl_dlopen = yes; then
9904 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9906 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9907 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9908 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 ac_check_lib_save_LIBS=$LIBS
9913 cat >conftest.$ac_ext <<_ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9935 rm -f conftest.$ac_objext conftest$ac_exeext
9936 if { (ac_try="$ac_link"
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_link") 2>conftest.er1
9944 grep -v '^ *+' conftest.er1 >conftest.err
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest$ac_exeext &&
9952 $as_test_x conftest$ac_exeext; then
9953 ac_cv_lib_svld_dlopen=yes
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 ac_cv_lib_svld_dlopen=no
9961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9966 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9967 if test $ac_cv_lib_svld_dlopen = yes; then
9968 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9970 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9971 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9972 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 ac_check_lib_save_LIBS=$LIBS
9977 cat >conftest.$ac_ext <<_ACEOF
9980 cat confdefs.h >>conftest.$ac_ext
9981 cat >>conftest.$ac_ext <<_ACEOF
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9999 rm -f conftest.$ac_objext conftest$ac_exeext
10000 if { (ac_try="$ac_link"
10001 case "(($ac_try" in
10002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10003 *) ac_try_echo=$ac_try;;
10005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10006 (eval "$ac_link") 2>conftest.er1
10008 grep -v '^ *+' conftest.er1 >conftest.err
10010 cat conftest.err >&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); } && {
10013 test -z "$ac_c_werror_flag" ||
10014 test ! -s conftest.err
10015 } && test -s conftest$ac_exeext &&
10016 $as_test_x conftest$ac_exeext; then
10017 ac_cv_lib_dld_dld_link=yes
10019 echo "$as_me: failed program was:" >&5
10020 sed 's/^/| /' conftest.$ac_ext >&5
10022 ac_cv_lib_dld_dld_link=no
10025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_lib_save_LIBS
10029 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10030 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10031 if test $ac_cv_lib_dld_dld_link = yes; then
10032 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10053 if test "x$lt_cv_dlopen" != xno; then
10059 case $lt_cv_dlopen in
10061 save_CPPFLAGS="$CPPFLAGS"
10062 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10064 save_LDFLAGS="$LDFLAGS"
10065 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10068 LIBS="$lt_cv_dlopen_libs $LIBS"
10070 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10071 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10072 if test "${lt_cv_dlopen_self+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10075 if test "$cross_compiling" = yes; then :
10076 lt_cv_dlopen_self=cross
10078 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10079 lt_status=$lt_dlunknown
10080 cat > conftest.$ac_ext <<EOF
10081 #line 10081 "configure"
10082 #include "confdefs.h"
10091 # define LT_DLGLOBAL RTLD_GLOBAL
10094 # define LT_DLGLOBAL DL_GLOBAL
10096 # define LT_DLGLOBAL 0
10100 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10101 find out it does not work in some platform. */
10102 #ifndef LT_DLLAZY_OR_NOW
10104 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10107 # define LT_DLLAZY_OR_NOW DL_LAZY
10110 # define LT_DLLAZY_OR_NOW RTLD_NOW
10113 # define LT_DLLAZY_OR_NOW DL_NOW
10115 # define LT_DLLAZY_OR_NOW 0
10123 extern "C" void exit (int);
10126 void fnord() { int i=42;}
10129 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10130 int status = $lt_dlunknown;
10134 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10135 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10136 /* dlclose (self); */
10144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10145 (eval $ac_link) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10149 (./conftest; exit; ) >&5 2>/dev/null
10151 case x$lt_status in
10152 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10153 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10154 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10157 # compilation failed
10158 lt_cv_dlopen_self=no
10165 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10166 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10168 if test "x$lt_cv_dlopen_self" = xyes; then
10169 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10170 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10171 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10172 if test "${lt_cv_dlopen_self_static+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 if test "$cross_compiling" = yes; then :
10176 lt_cv_dlopen_self_static=cross
10178 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10179 lt_status=$lt_dlunknown
10180 cat > conftest.$ac_ext <<EOF
10181 #line 10181 "configure"
10182 #include "confdefs.h"
10191 # define LT_DLGLOBAL RTLD_GLOBAL
10194 # define LT_DLGLOBAL DL_GLOBAL
10196 # define LT_DLGLOBAL 0
10200 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10201 find out it does not work in some platform. */
10202 #ifndef LT_DLLAZY_OR_NOW
10204 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10207 # define LT_DLLAZY_OR_NOW DL_LAZY
10210 # define LT_DLLAZY_OR_NOW RTLD_NOW
10213 # define LT_DLLAZY_OR_NOW DL_NOW
10215 # define LT_DLLAZY_OR_NOW 0
10223 extern "C" void exit (int);
10226 void fnord() { int i=42;}
10229 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10230 int status = $lt_dlunknown;
10234 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10235 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10236 /* dlclose (self); */
10244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245 (eval $ac_link) 2>&5
10247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10249 (./conftest; exit; ) >&5 2>/dev/null
10251 case x$lt_status in
10252 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10253 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10254 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10257 # compilation failed
10258 lt_cv_dlopen_self_static=no
10265 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10266 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10269 CPPFLAGS="$save_CPPFLAGS"
10270 LDFLAGS="$save_LDFLAGS"
10275 case $lt_cv_dlopen_self in
10276 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10277 *) enable_dlopen_self=unknown ;;
10280 case $lt_cv_dlopen_self_static in
10281 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10282 *) enable_dlopen_self_static=unknown ;;
10287 # Report which library types will actually be built
10288 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10289 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10290 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10291 echo "${ECHO_T}$can_build_shared" >&6; }
10293 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10294 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10295 test "$can_build_shared" = "no" && enable_shared=no
10297 # On AIX, shared libraries and static libraries use the same namespace, and
10298 # are all built from PIC.
10301 test "$enable_shared" = yes && enable_static=no
10302 if test -n "$RANLIB"; then
10303 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10304 postinstall_cmds='$RANLIB $lib'
10309 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10310 test "$enable_shared" = yes && enable_static=no
10314 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10315 echo "${ECHO_T}$enable_shared" >&6; }
10317 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10318 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10319 # Make sure either enable_shared or enable_static is yes.
10320 test "$enable_shared" = yes || enable_static=yes
10321 { echo "$as_me:$LINENO: result: $enable_static" >&5
10322 echo "${ECHO_T}$enable_static" >&6; }
10324 # The else clause should only fire when bootstrapping the
10325 # libtool distribution, otherwise you forgot to ship ltmain.sh
10326 # with your package, and you will get complaints that there are
10327 # no rules to generate ltmain.sh.
10328 if test -f "$ltmain"; then
10329 # See if we are running on zsh, and set the options which allow our commands through
10330 # without removal of \ escapes.
10331 if test -n "${ZSH_VERSION+set}" ; then
10332 setopt NO_GLOB_SUBST
10334 # Now quote all the things that may contain metacharacters while being
10335 # careful not to overquote the AC_SUBSTed values. We take copies of the
10336 # variables and quote the copies for generation of the libtool script.
10337 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10339 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10340 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10341 deplibs_check_method reload_flag reload_cmds need_locks \
10342 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10343 lt_cv_sys_global_symbol_to_c_name_address \
10344 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10345 old_postinstall_cmds old_postuninstall_cmds \
10349 lt_prog_compiler_wl \
10350 lt_prog_compiler_pic \
10351 lt_prog_compiler_static \
10352 lt_prog_compiler_no_builtin_flag \
10353 export_dynamic_flag_spec \
10354 thread_safe_flag_spec \
10355 whole_archive_flag_spec \
10356 enable_shared_with_static_runtimes \
10358 old_archive_from_new_cmds \
10363 compiler_lib_search_path \
10365 archive_expsym_cmds \
10367 postuninstall_cmds \
10368 old_archive_from_expsyms_cmds \
10369 allow_undefined_flag \
10370 no_undefined_flag \
10371 export_symbols_cmds \
10372 hardcode_libdir_flag_spec \
10373 hardcode_libdir_flag_spec_ld \
10374 hardcode_libdir_separator \
10375 hardcode_automatic \
10377 module_expsym_cmds \
10378 lt_cv_prog_compiler_c_o \
10380 include_expsyms; do
10383 old_archive_cmds | \
10384 old_archive_from_new_cmds | \
10386 archive_expsym_cmds | \
10388 module_expsym_cmds | \
10389 old_archive_from_expsyms_cmds | \
10390 export_symbols_cmds | \
10391 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10392 postinstall_cmds | postuninstall_cmds | \
10393 old_postinstall_cmds | old_postuninstall_cmds | \
10394 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10395 # Double-quote double-evaled strings.
10396 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10399 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10405 *'\$0 --fallback-echo"')
10406 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10410 cfgfile="${ofile}T"
10411 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10413 { echo "$as_me:$LINENO: creating $ofile" >&5
10414 echo "$as_me: creating $ofile" >&6;}
10416 cat <<__EOF__ >> "$cfgfile"
10419 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10420 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10421 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10423 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10424 # Free Software Foundation, Inc.
10426 # This file is part of GNU Libtool:
10427 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10429 # This program is free software; you can redistribute it and/or modify
10430 # it under the terms of the GNU General Public License as published by
10431 # the Free Software Foundation; either version 2 of the License, or
10432 # (at your option) any later version.
10434 # This program is distributed in the hope that it will be useful, but
10435 # WITHOUT ANY WARRANTY; without even the implied warranty of
10436 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10437 # General Public License for more details.
10439 # You should have received a copy of the GNU General Public License
10440 # along with this program; if not, write to the Free Software
10441 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10443 # As a special exception to the GNU General Public License, if you
10444 # distribute this file as part of a program that contains a
10445 # configuration script generated by Autoconf, you may include it under
10446 # the same distribution terms that you use for the rest of that program.
10448 # A sed program that does not truncate output.
10451 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10452 Xsed="$SED -e 1s/^X//"
10454 # The HP-UX ksh and POSIX shell print the target directory to stdout
10455 # if CDPATH is set.
10456 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10458 # The names of the tagged configurations supported by this script.
10461 # ### BEGIN LIBTOOL CONFIG
10463 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10465 # Shell to use when invoking shell scripts.
10468 # Whether or not to build shared libraries.
10469 build_libtool_libs=$enable_shared
10471 # Whether or not to build static libraries.
10472 build_old_libs=$enable_static
10474 # Whether or not to add -lc for building shared libraries.
10475 build_libtool_need_lc=$archive_cmds_need_lc
10477 # Whether or not to disallow shared libs when runtime libs are static
10478 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10480 # Whether or not to optimize for fast installation.
10481 fast_install=$enable_fast_install
10484 host_alias=$host_alias
10488 # The build system.
10489 build_alias=$build_alias
10493 # An echo program that does not interpret backslashes.
10498 AR_FLAGS=$lt_AR_FLAGS
10503 # LTCC compiler flags.
10504 LTCFLAGS=$lt_LTCFLAGS
10506 # A language-specific compiler.
10509 # Is the compiler the GNU C compiler?
10515 # The linker used to build libraries.
10518 # Whether we need hard or soft links.
10521 # A BSD-compatible nm program.
10524 # A symbol stripping program
10527 # Used to examine libraries when file_magic_cmd begins "file"
10528 MAGIC_CMD=$MAGIC_CMD
10530 # Used on cygwin: DLL creation program.
10533 # Used on cygwin: object dumper.
10536 # Used on cygwin: assembler.
10539 # The name of the directory that contains temporary libtool files.
10542 # How to create reloadable object files.
10543 reload_flag=$lt_reload_flag
10544 reload_cmds=$lt_reload_cmds
10546 # How to pass a linker flag through the compiler.
10547 wl=$lt_lt_prog_compiler_wl
10549 # Object file suffix (normally "o").
10550 objext="$ac_objext"
10552 # Old archive suffix (normally "a").
10555 # Shared library suffix (normally ".so").
10556 shrext_cmds='$shrext_cmds'
10558 # Executable file suffix (normally "").
10561 # Additional compiler flags for building library objects.
10562 pic_flag=$lt_lt_prog_compiler_pic
10565 # What is the maximum length of a command?
10566 max_cmd_len=$lt_cv_sys_max_cmd_len
10568 # Does compiler simultaneously support -c and -o options?
10569 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10571 # Must we lock files when doing compilation?
10572 need_locks=$lt_need_locks
10574 # Do we need the lib prefix for modules?
10575 need_lib_prefix=$need_lib_prefix
10577 # Do we need a version for libraries?
10578 need_version=$need_version
10580 # Whether dlopen is supported.
10581 dlopen_support=$enable_dlopen
10583 # Whether dlopen of programs is supported.
10584 dlopen_self=$enable_dlopen_self
10586 # Whether dlopen of statically linked programs is supported.
10587 dlopen_self_static=$enable_dlopen_self_static
10589 # Compiler flag to prevent dynamic linking.
10590 link_static_flag=$lt_lt_prog_compiler_static
10592 # Compiler flag to turn off builtin functions.
10593 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10595 # Compiler flag to allow reflexive dlopens.
10596 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10598 # Compiler flag to generate shared objects directly from archives.
10599 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10601 # Compiler flag to generate thread-safe objects.
10602 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10604 # Library versioning type.
10605 version_type=$version_type
10607 # Format of library name prefix.
10608 libname_spec=$lt_libname_spec
10610 # List of archive names. First name is the real one, the rest are links.
10611 # The last name is the one that the linker finds with -lNAME.
10612 library_names_spec=$lt_library_names_spec
10614 # The coded name of the library, if different from the real name.
10615 soname_spec=$lt_soname_spec
10617 # Commands used to build and install an old-style archive.
10619 old_archive_cmds=$lt_old_archive_cmds
10620 old_postinstall_cmds=$lt_old_postinstall_cmds
10621 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10623 # Create an old-style archive from a shared archive.
10624 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10626 # Create a temporary old-style archive to link instead of a shared archive.
10627 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10629 # Commands used to build and install a shared archive.
10630 archive_cmds=$lt_archive_cmds
10631 archive_expsym_cmds=$lt_archive_expsym_cmds
10632 postinstall_cmds=$lt_postinstall_cmds
10633 postuninstall_cmds=$lt_postuninstall_cmds
10635 # Commands used to build a loadable module (assumed same as above if empty)
10636 module_cmds=$lt_module_cmds
10637 module_expsym_cmds=$lt_module_expsym_cmds
10639 # Commands to strip libraries.
10640 old_striplib=$lt_old_striplib
10641 striplib=$lt_striplib
10643 # Dependencies to place before the objects being linked to create a
10645 predep_objects=$lt_predep_objects
10647 # Dependencies to place after the objects being linked to create a
10649 postdep_objects=$lt_postdep_objects
10651 # Dependencies to place before the objects being linked to create a
10653 predeps=$lt_predeps
10655 # Dependencies to place after the objects being linked to create a
10657 postdeps=$lt_postdeps
10659 # The library search path used internally by the compiler when linking
10660 # a shared library.
10661 compiler_lib_search_path=$lt_compiler_lib_search_path
10663 # Method to check whether dependent libraries are shared objects.
10664 deplibs_check_method=$lt_deplibs_check_method
10666 # Command to use when deplibs_check_method == file_magic.
10667 file_magic_cmd=$lt_file_magic_cmd
10669 # Flag that allows shared libraries with undefined symbols to be built.
10670 allow_undefined_flag=$lt_allow_undefined_flag
10672 # Flag that forces no undefined symbols.
10673 no_undefined_flag=$lt_no_undefined_flag
10675 # Commands used to finish a libtool library installation in a directory.
10676 finish_cmds=$lt_finish_cmds
10678 # Same as above, but a single script fragment to be evaled but not shown.
10679 finish_eval=$lt_finish_eval
10681 # Take the output of nm and produce a listing of raw symbols and C names.
10682 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10684 # Transform the output of nm in a proper C declaration
10685 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10687 # Transform the output of nm in a C name address pair
10688 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10690 # This is the shared library runtime path variable.
10691 runpath_var=$runpath_var
10693 # This is the shared library path variable.
10694 shlibpath_var=$shlibpath_var
10696 # Is shlibpath searched before the hard-coded library search path?
10697 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10699 # How to hardcode a shared library path into an executable.
10700 hardcode_action=$hardcode_action
10702 # Whether we should hardcode library paths into libraries.
10703 hardcode_into_libs=$hardcode_into_libs
10705 # Flag to hardcode \$libdir into a binary during linking.
10706 # This must work even if \$libdir does not exist.
10707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10709 # If ld is used when linking, flag to hardcode \$libdir into
10710 # a binary during linking. This must work even if \$libdir does
10712 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10714 # Whether we need a single -rpath flag with a separated argument.
10715 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10717 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10718 # resulting binary.
10719 hardcode_direct=$hardcode_direct
10721 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10722 # resulting binary.
10723 hardcode_minus_L=$hardcode_minus_L
10725 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10726 # the resulting binary.
10727 hardcode_shlibpath_var=$hardcode_shlibpath_var
10729 # Set to yes if building a shared library automatically hardcodes DIR into the library
10730 # and all subsequent libraries and executables linked against it.
10731 hardcode_automatic=$hardcode_automatic
10733 # Variables whose values should be saved in libtool wrapper scripts and
10734 # restored at relink time.
10735 variables_saved_for_relink="$variables_saved_for_relink"
10737 # Whether libtool must link a program against all its dependency libraries.
10738 link_all_deplibs=$link_all_deplibs
10740 # Compile-time system search path for libraries
10741 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10743 # Run-time system search path for libraries
10744 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10746 # Fix the shell variable \$srcfile for the compiler.
10747 fix_srcfile_path="$fix_srcfile_path"
10749 # Set to yes if exported symbols are required.
10750 always_export_symbols=$always_export_symbols
10752 # The commands to list exported symbols.
10753 export_symbols_cmds=$lt_export_symbols_cmds
10755 # The commands to extract the exported symbol list from a shared archive.
10756 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10758 # Symbols that should not be listed in the preloaded symbols.
10759 exclude_expsyms=$lt_exclude_expsyms
10761 # Symbols that must always be exported.
10762 include_expsyms=$lt_include_expsyms
10764 # ### END LIBTOOL CONFIG
10771 cat <<\EOF >> "$cfgfile"
10773 # AIX sometimes has problems with the GCC collect2 program. For some
10774 # reason, if we set the COLLECT_NAMES environment variable, the problems
10775 # vanish in a puff of smoke.
10776 if test "X${COLLECT_NAMES+set}" != Xset; then
10778 export COLLECT_NAMES
10784 # We use sed instead of cat because bash on DJGPP gets confused if
10785 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10786 # text mode, it properly converts lines to CR/LF. This bash problem
10787 # is reportedly fixed, but why not run on old versions too?
10788 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10790 mv -f "$cfgfile" "$ofile" || \
10791 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10795 # If there is no Makefile yet, we rely on a make rule to execute
10796 # `config.status --recheck' to rerun these tests and create the
10797 # libtool script then.
10798 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10799 if test -f "$ltmain_in"; then
10800 test -f Makefile && make "$ltmain"
10806 ac_cpp='$CPP $CPPFLAGS'
10807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10814 # Check whether --with-tags was given.
10815 if test "${with_tags+set}" = set; then
10816 withval=$with_tags; tagnames="$withval"
10820 if test -f "$ltmain" && test -n "$tagnames"; then
10821 if test ! -f "${ofile}"; then
10822 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10823 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10826 if test -z "$LTCC"; then
10827 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10828 if test -z "$LTCC"; then
10829 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10830 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10832 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10833 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10836 if test -z "$LTCFLAGS"; then
10837 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10840 # Extract list of available tagged configurations in $ofile.
10841 # Note that this assumes the entire list is on one line.
10842 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10844 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10845 for tagname in $tagnames; do
10847 # Check whether tagname contains only valid characters
10848 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10850 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10851 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10852 { (exit 1); exit 1; }; }
10856 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10858 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10859 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10860 { (exit 1); exit 1; }; }
10863 # Update the list of available tags.
10864 if test -n "$tagname"; then
10865 echo appending configuration tag \"$tagname\" to $ofile
10869 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10870 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10871 (test "X$CXX" != "Xg++"))) ; then
10873 ac_cpp='$CXXCPP $CPPFLAGS'
10874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10881 archive_cmds_need_lc_CXX=no
10882 allow_undefined_flag_CXX=
10883 always_export_symbols_CXX=no
10884 archive_expsym_cmds_CXX=
10885 export_dynamic_flag_spec_CXX=
10886 hardcode_direct_CXX=no
10887 hardcode_libdir_flag_spec_CXX=
10888 hardcode_libdir_flag_spec_ld_CXX=
10889 hardcode_libdir_separator_CXX=
10890 hardcode_minus_L_CXX=no
10891 hardcode_shlibpath_var_CXX=unsupported
10892 hardcode_automatic_CXX=no
10894 module_expsym_cmds_CXX=
10895 link_all_deplibs_CXX=unknown
10896 old_archive_cmds_CXX=$old_archive_cmds
10897 no_undefined_flag_CXX=
10898 whole_archive_flag_spec_CXX=
10899 enable_shared_with_static_runtimes_CXX=no
10901 # Dependencies to place before and after the object being linked:
10902 predep_objects_CXX=
10903 postdep_objects_CXX=
10906 compiler_lib_search_path_CXX=
10908 # Source file extension for C++ test sources.
10911 # Object file extension for compiled C++ test sources.
10915 # Code to be used in simple compile tests
10916 lt_simple_compile_test_code="int some_variable = 0;\n"
10918 # Code to be used in simple link tests
10919 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10921 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10923 # If no C compiler was specified, use CC.
10926 # If no C compiler flags were specified, use CFLAGS.
10927 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10929 # Allow CC to be a program name with arguments.
10933 # save warnings/boilerplate of simple test code
10934 ac_outfile=conftest.$ac_objext
10935 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10936 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10937 _lt_compiler_boilerplate=`cat conftest.err`
10940 ac_outfile=conftest.$ac_objext
10941 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10942 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10943 _lt_linker_boilerplate=`cat conftest.err`
10947 # Allow CC to be a program name with arguments.
10952 lt_save_with_gnu_ld=$with_gnu_ld
10953 lt_save_path_LD=$lt_cv_path_LD
10954 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10955 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10957 $as_unset lt_cv_prog_gnu_ld
10959 if test -n "${lt_cv_path_LDCXX+set}"; then
10960 lt_cv_path_LD=$lt_cv_path_LDCXX
10962 $as_unset lt_cv_path_LD
10964 test -z "${LDCXX+set}" || LD=$LDCXX
10968 for cc_temp in $compiler""; do
10970 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10971 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10976 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10979 # We don't want -fno-exception wen compiling C++ code, so set the
10980 # no_builtin_flag separately
10981 if test "$GXX" = yes; then
10982 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10984 lt_prog_compiler_no_builtin_flag_CXX=
10987 if test "$GXX" = yes; then
10988 # Set up default GNU C++ configuration
10991 # Check whether --with-gnu-ld was given.
10992 if test "${with_gnu_ld+set}" = set; then
10993 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10999 if test "$GCC" = yes; then
11000 # Check if gcc -print-prog-name=ld gives a path.
11001 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11002 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11005 # gcc leaves a trailing carriage return which upsets mingw
11006 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11008 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11011 # Accept absolute paths.
11013 re_direlt='/[^/][^/]*/\.\./'
11014 # Canonicalize the pathname of ld
11015 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11016 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11017 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11019 test -z "$LD" && LD="$ac_prog"
11022 # If it fails, then pretend we aren't using GCC.
11026 # If it is relative, then search for the first ld in PATH.
11027 with_gnu_ld=unknown
11030 elif test "$with_gnu_ld" = yes; then
11031 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11032 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11034 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11035 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11037 if test "${lt_cv_path_LD+set}" = set; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 if test -z "$LD"; then
11041 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11042 for ac_dir in $PATH; do
11044 test -z "$ac_dir" && ac_dir=.
11045 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11046 lt_cv_path_LD="$ac_dir/$ac_prog"
11047 # Check to see if the program is GNU ld. I'd rather use --version,
11048 # but apparently some variants of GNU ld only accept -v.
11049 # Break only if it was the GNU/non-GNU ld that we prefer.
11050 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11051 *GNU* | *'with BFD'*)
11052 test "$with_gnu_ld" != no && break
11055 test "$with_gnu_ld" != yes && break
11062 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11066 LD="$lt_cv_path_LD"
11067 if test -n "$LD"; then
11068 { echo "$as_me:$LINENO: result: $LD" >&5
11069 echo "${ECHO_T}$LD" >&6; }
11071 { echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6; }
11074 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11075 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11076 { (exit 1); exit 1; }; }
11077 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11078 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11079 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11080 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11083 case `$LD -v 2>&1 </dev/null` in
11084 *GNU* | *'with BFD'*)
11085 lt_cv_prog_gnu_ld=yes
11088 lt_cv_prog_gnu_ld=no
11092 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11093 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11094 with_gnu_ld=$lt_cv_prog_gnu_ld
11098 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11099 # archiving commands below assume that GNU ld is being used.
11100 if test "$with_gnu_ld" = yes; then
11101 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11102 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11104 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11105 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11107 # If archive_cmds runs LD, not CC, wlarc should be empty
11108 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11109 # investigate it a little bit more. (MM)
11112 # ancient GNU ld didn't support --whole-archive et. al.
11113 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11114 grep 'no-whole-archive' > /dev/null; then
11115 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11117 whole_archive_flag_spec_CXX=
11123 # A generic and very simple default shared library creation
11124 # command for GNU C++ for the case where it uses the native
11125 # linker, instead of GNU ld. If possible, this setting should
11126 # overridden to take advantage of the native linker features on
11127 # the platform it is being used on.
11128 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11131 # Commands to make compiler produce verbose output that lists
11132 # what "hidden" libraries, object files and flags are used when
11133 # linking a shared library.
11134 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11142 # PORTME: fill in a description of your system's C++ link characteristics
11143 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11144 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11148 # FIXME: insert proper C++ library support
11152 if test "$host_cpu" = ia64; then
11153 # On IA64, the linker does run time linking by default, so we don't
11154 # have to do anything special.
11155 aix_use_runtimelinking=no
11156 exp_sym_flag='-Bexport'
11159 aix_use_runtimelinking=no
11161 # Test if we are trying to use run time linking or normal
11162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11163 # need to do runtime linking.
11164 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11165 for ld_flag in $LDFLAGS; do
11168 aix_use_runtimelinking=yes
11176 exp_sym_flag='-bexport'
11177 no_entry_flag='-bnoentry'
11180 # When large executables or shared objects are built, AIX ld can
11181 # have problems creating the table of contents. If linking a library
11182 # or program results in "error TOC overflow" add -mminimal-toc to
11183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11186 archive_cmds_CXX=''
11187 hardcode_direct_CXX=yes
11188 hardcode_libdir_separator_CXX=':'
11189 link_all_deplibs_CXX=yes
11191 if test "$GXX" = yes; then
11192 case $host_os in aix4.[012]|aix4.[012].*)
11193 # We only want to do this on AIX 4.2 and lower, the check
11194 # below for broken collect2 doesn't work under 4.3+
11195 collect2name=`${CC} -print-prog-name=collect2`
11196 if test -f "$collect2name" && \
11197 strings "$collect2name" | grep resolve_lib_name >/dev/null
11199 # We have reworked collect2
11200 hardcode_direct_CXX=yes
11202 # We have old collect2
11203 hardcode_direct_CXX=unsupported
11204 # It fails to find uninstalled libraries when the uninstalled
11205 # path is not listed in the libpath. Setting hardcode_minus_L
11206 # to unsupported forces relinking
11207 hardcode_minus_L_CXX=yes
11208 hardcode_libdir_flag_spec_CXX='-L$libdir'
11209 hardcode_libdir_separator_CXX=
11213 shared_flag='-shared'
11214 if test "$aix_use_runtimelinking" = yes; then
11215 shared_flag="$shared_flag "'${wl}-G'
11219 if test "$host_cpu" = ia64; then
11220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11221 # chokes on -Wl,-G. The following line is correct:
11224 if test "$aix_use_runtimelinking" = yes; then
11225 shared_flag='${wl}-G'
11227 shared_flag='${wl}-bM:SRE'
11232 # It seems that -bexpall does not export symbols beginning with
11233 # underscore (_), so it is better to generate a list of symbols to export.
11234 always_export_symbols_CXX=yes
11235 if test "$aix_use_runtimelinking" = yes; then
11236 # Warning - without using the other runtime loading flags (-brtl),
11237 # -berok will link without error, but may produce a broken library.
11238 allow_undefined_flag_CXX='-berok'
11239 # Determine the default libpath from the value encoded in an empty executable.
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11255 rm -f conftest.$ac_objext conftest$ac_exeext
11256 if { (ac_try="$ac_link"
11257 case "(($ac_try" in
11258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 (eval "$ac_link") 2>conftest.er1
11264 grep -v '^ *+' conftest.er1 >conftest.err
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } && {
11269 test -z "$ac_cxx_werror_flag" ||
11270 test ! -s conftest.err
11271 } && test -s conftest$ac_exeext &&
11272 $as_test_x conftest$ac_exeext; then
11274 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11276 # Check for a 64-bit object if we didn't find anything.
11277 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.$ac_ext >&5
11286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11287 conftest$ac_exeext conftest.$ac_ext
11288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11290 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11292 archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11294 if test "$host_cpu" = ia64; then
11295 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11296 allow_undefined_flag_CXX="-z nodefs"
11297 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11299 # Determine the default libpath from the value encoded in an empty executable.
11300 cat >conftest.$ac_ext <<_ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11315 rm -f conftest.$ac_objext conftest$ac_exeext
11316 if { (ac_try="$ac_link"
11317 case "(($ac_try" in
11318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11319 *) ac_try_echo=$ac_try;;
11321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11322 (eval "$ac_link") 2>conftest.er1
11324 grep -v '^ *+' conftest.er1 >conftest.err
11326 cat conftest.err >&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); } && {
11329 test -z "$ac_cxx_werror_flag" ||
11330 test ! -s conftest.err
11331 } && test -s conftest$ac_exeext &&
11332 $as_test_x conftest$ac_exeext; then
11334 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11336 # Check for a 64-bit object if we didn't find anything.
11337 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11347 conftest$ac_exeext conftest.$ac_ext
11348 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11350 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11351 # Warning - without using the other run time loading flags,
11352 # -berok will link without error, but may produce a broken library.
11353 no_undefined_flag_CXX=' ${wl}-bernotok'
11354 allow_undefined_flag_CXX=' ${wl}-berok'
11355 # Exported symbols can be pulled into shared objects from archives
11356 whole_archive_flag_spec_CXX='$convenience'
11357 archive_cmds_need_lc_CXX=yes
11358 # This is similar to how AIX traditionally builds its shared libraries.
11359 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11365 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11366 allow_undefined_flag_CXX=unsupported
11367 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11368 # support --undefined. This deserves some investigation. FIXME
11369 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11376 case $cc_basename in
11378 # FIXME: insert proper C++ library support
11384 cygwin* | mingw* | pw32*)
11385 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11386 # as there is no search path for DLLs.
11387 hardcode_libdir_flag_spec_CXX='-L$libdir'
11388 allow_undefined_flag_CXX=unsupported
11389 always_export_symbols_CXX=no
11390 enable_shared_with_static_runtimes_CXX=yes
11392 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11393 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11394 # If the export-symbols file already is a .def file (1st line
11395 # is EXPORTS), use it as is; otherwise, prepend...
11396 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11397 cp $export_symbols $output_objdir/$soname.def;
11399 echo EXPORTS > $output_objdir/$soname.def;
11400 cat $export_symbols >> $output_objdir/$soname.def;
11402 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11407 darwin* | rhapsody*)
11409 rhapsody* | darwin1.[012])
11410 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11413 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11414 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11416 case ${MACOSX_DEPLOYMENT_TARGET} in
11418 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11421 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11427 archive_cmds_need_lc_CXX=no
11428 hardcode_direct_CXX=no
11429 hardcode_automatic_CXX=yes
11430 hardcode_shlibpath_var_CXX=unsupported
11431 whole_archive_flag_spec_CXX=''
11432 link_all_deplibs_CXX=yes
11434 if test "$GXX" = yes ; then
11435 lt_int_apple_cc_single_mod=no
11436 output_verbose_link_cmd='echo'
11437 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11438 lt_int_apple_cc_single_mod=yes
11440 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11441 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11443 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11445 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11446 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11447 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11448 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11450 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11452 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11454 case $cc_basename in
11456 output_verbose_link_cmd='echo'
11457 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11458 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11459 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11460 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11461 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11471 case $cc_basename in
11473 # FIXME: insert proper C++ library support
11477 # Green Hills C++ Compiler
11478 # FIXME: insert proper C++ library support
11482 # FIXME: insert proper C++ library support
11488 # C++ shared libraries reported to be fairly broken before switch to ELF
11492 archive_cmds_need_lc_CXX=no
11494 freebsd* | dragonfly*)
11495 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11502 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11503 hardcode_libdir_separator_CXX=:
11504 export_dynamic_flag_spec_CXX='${wl}-E'
11505 hardcode_direct_CXX=yes
11506 hardcode_minus_L_CXX=yes # Not in the search PATH,
11507 # but as the default
11508 # location of the library.
11510 case $cc_basename in
11512 # FIXME: insert proper C++ library support
11516 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11517 # Commands to make compiler produce verbose output that lists
11518 # what "hidden" libraries, object files and flags are used when
11519 # linking a shared library.
11521 # There doesn't appear to be a way to prevent this compiler from
11522 # explicitly linking system object files so we need to strip them
11523 # from the output so that they don't get included in the library
11525 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11528 if test "$GXX" = yes; then
11529 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11531 # FIXME: insert proper C++ library support
11538 if test $with_gnu_ld = no; then
11539 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11540 hardcode_libdir_separator_CXX=:
11544 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11547 export_dynamic_flag_spec_CXX='${wl}-E'
11553 hardcode_direct_CXX=no
11554 hardcode_shlibpath_var_CXX=no
11557 hardcode_direct_CXX=yes
11558 hardcode_minus_L_CXX=yes # Not in the search PATH,
11559 # but as the default
11560 # location of the library.
11564 case $cc_basename in
11566 # FIXME: insert proper C++ library support
11572 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11575 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11578 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11581 # Commands to make compiler produce verbose output that lists
11582 # what "hidden" libraries, object files and flags are used when
11583 # linking a shared library.
11585 # There doesn't appear to be a way to prevent this compiler from
11586 # explicitly linking system object files so we need to strip them
11587 # from the output so that they don't get included in the library
11589 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11592 if test "$GXX" = yes; then
11593 if test $with_gnu_ld = no; then
11596 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11599 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11602 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11607 # FIXME: insert proper C++ library support
11614 hardcode_direct_CXX=no
11615 hardcode_shlibpath_var_CXX=no
11616 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11617 export_dynamic_flag_spec_CXX='${wl}-E'
11618 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11619 # Instead, shared libraries are loaded at an image base (0x10000000 by
11620 # default) and relocated if they conflict, which is a slow very memory
11621 # consuming and fragmenting process. To avoid this, we pick a random,
11622 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11623 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11624 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11625 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11628 case $cc_basename in
11631 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11633 # Archives containing C++ object files must be created using
11634 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11635 # necessary to make sure instantiated templates are included
11637 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11640 if test "$GXX" = yes; then
11641 if test "$with_gnu_ld" = no; then
11642 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
11644 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11647 link_all_deplibs_CXX=yes
11650 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11651 hardcode_libdir_separator_CXX=:
11653 linux* | k*bsd*-gnu)
11654 case $cc_basename in
11656 # Kuck and Associates, Inc. (KAI) C++ Compiler
11658 # KCC will only create a shared library if the output file
11659 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11660 # to its proper name (with version) after linking.
11661 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11662 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11663 # Commands to make compiler produce verbose output that lists
11664 # what "hidden" libraries, object files and flags are used when
11665 # linking a shared library.
11667 # There doesn't appear to be a way to prevent this compiler from
11668 # explicitly linking system object files so we need to strip them
11669 # from the output so that they don't get included in the library
11671 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11673 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11674 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11676 # Archives containing C++ object files must be created using
11677 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11678 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11683 # version 8.0 and above of icpc choke on multiply defined symbols
11684 # if we add $predep_objects and $postdep_objects, however 7.1 and
11685 # earlier do not add the objects themselves.
11686 case `$CC -V 2>&1` in
11688 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11689 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11691 *) # Version 8.0 or newer
11694 ia64*) tmp_idyn=' -i_dynamic';;
11696 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11697 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11700 archive_cmds_need_lc_CXX=no
11701 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11702 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11703 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11706 # Portland Group C++ compiler
11707 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11708 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11710 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11711 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11712 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11716 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11717 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11719 runpath_var=LD_RUN_PATH
11720 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11721 hardcode_libdir_separator_CXX=:
11723 # Commands to make compiler produce verbose output that lists
11724 # what "hidden" libraries, object files and flags are used when
11725 # linking a shared library.
11727 # There doesn't appear to be a way to prevent this compiler from
11728 # explicitly linking system object files so we need to strip them
11729 # from the output so that they don't get included in the library
11731 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11736 # FIXME: insert proper C++ library support
11740 # FIXME: insert proper C++ library support
11744 case $cc_basename in
11746 # FIXME: insert proper C++ library support
11750 # FIXME: insert proper C++ library support
11755 netbsd* | netbsdelf*-gnu)
11756 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11757 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11759 hardcode_libdir_flag_spec_CXX='-R$libdir'
11760 hardcode_direct_CXX=yes
11761 hardcode_shlibpath_var_CXX=no
11763 # Workaround some broken pre-1.5 toolchains
11764 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11767 # C++ shared libraries are fairly broken
11771 hardcode_direct_CXX=yes
11772 hardcode_shlibpath_var_CXX=no
11773 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11774 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11775 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11776 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11777 export_dynamic_flag_spec_CXX='${wl}-E'
11778 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11780 output_verbose_link_cmd='echo'
11783 case $cc_basename in
11785 # Kuck and Associates, Inc. (KAI) C++ Compiler
11787 # KCC will only create a shared library if the output file
11788 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11789 # to its proper name (with version) after linking.
11790 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11792 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11793 hardcode_libdir_separator_CXX=:
11795 # Archives containing C++ object files must be created using
11796 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11797 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11801 # Rational C++ 2.4.1
11802 # FIXME: insert proper C++ library support
11806 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11807 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11809 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11810 hardcode_libdir_separator_CXX=:
11812 # Commands to make compiler produce verbose output that lists
11813 # what "hidden" libraries, object files and flags are used when
11814 # linking a shared library.
11816 # There doesn't appear to be a way to prevent this compiler from
11817 # explicitly linking system object files so we need to strip them
11818 # from the output so that they don't get included in the library
11820 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11823 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11824 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11825 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
11827 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11828 hardcode_libdir_separator_CXX=:
11830 # Commands to make compiler produce verbose output that lists
11831 # what "hidden" libraries, object files and flags are used when
11832 # linking a shared library.
11833 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11836 # FIXME: insert proper C++ library support
11843 case $cc_basename in
11845 # Kuck and Associates, Inc. (KAI) C++ Compiler
11847 # KCC will only create a shared library if the output file
11848 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11849 # to its proper name (with version) after linking.
11850 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11852 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11853 hardcode_libdir_separator_CXX=:
11855 # Archives containing C++ object files must be created using
11856 # the KAI C++ compiler.
11857 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11860 # Rational C++ 2.4.1
11861 # FIXME: insert proper C++ library support
11865 allow_undefined_flag_CXX=' -expect_unresolved \*'
11866 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11867 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11868 echo "-hidden">> $lib.exp~
11869 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11872 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11873 hardcode_libdir_separator_CXX=:
11875 # Commands to make compiler produce verbose output that lists
11876 # what "hidden" libraries, object files and flags are used when
11877 # linking a shared library.
11879 # There doesn't appear to be a way to prevent this compiler from
11880 # explicitly linking system object files so we need to strip them
11881 # from the output so that they don't get included in the library
11883 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11886 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11887 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11888 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
11890 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11891 hardcode_libdir_separator_CXX=:
11893 # Commands to make compiler produce verbose output that lists
11894 # what "hidden" libraries, object files and flags are used when
11895 # linking a shared library.
11896 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11899 # FIXME: insert proper C++ library support
11906 # FIXME: insert proper C++ library support
11910 case $cc_basename in
11913 # FIXME: insert proper C++ library support
11918 # FIXME: insert proper C++ library support
11922 # FIXME: insert proper C++ library support
11928 case $cc_basename in
11930 # Sun C++ 4.2, 5.x and Centerline C++
11931 archive_cmds_need_lc_CXX=yes
11932 no_undefined_flag_CXX=' -zdefs'
11933 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11934 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11935 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11937 hardcode_libdir_flag_spec_CXX='-R$libdir'
11938 hardcode_shlibpath_var_CXX=no
11940 solaris2.[0-5] | solaris2.[0-5].*) ;;
11942 # The C++ compiler is used as linker so we must use $wl
11943 # flag to pass the commands to the underlying system
11944 # linker. We must also pass each convience library through
11945 # to the system linker between allextract/defaultextract.
11946 # The C++ compiler will combine linker options so we
11947 # cannot just pass the convience library names through
11949 # Supported since Solaris 2.6 (maybe 2.5.1?)
11950 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11953 link_all_deplibs_CXX=yes
11955 output_verbose_link_cmd='echo'
11957 # Archives containing C++ object files must be created using
11958 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11959 # necessary to make sure instantiated templates are included
11961 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11964 # Green Hills C++ Compiler
11965 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11967 # The C++ compiler must be used to create the archive.
11968 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11971 # GNU C++ compiler with Solaris linker
11972 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11973 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11974 if $CC --version | grep -v '^2\.7' > /dev/null; then
11975 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11976 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11977 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11979 # Commands to make compiler produce verbose output that lists
11980 # what "hidden" libraries, object files and flags are used when
11981 # linking a shared library.
11982 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11984 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11986 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11987 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11988 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11990 # Commands to make compiler produce verbose output that lists
11991 # what "hidden" libraries, object files and flags are used when
11992 # linking a shared library.
11993 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11996 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12001 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12002 no_undefined_flag_CXX='${wl}-z,text'
12003 archive_cmds_need_lc_CXX=no
12004 hardcode_shlibpath_var_CXX=no
12005 runpath_var='LD_RUN_PATH'
12007 case $cc_basename in
12009 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12010 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12013 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12014 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12018 sysv5* | sco3.2v5* | sco5v6*)
12019 # Note: We can NOT use -z defs as we might desire, because we do not
12020 # link with -lc, and that would cause any symbols used from libc to
12021 # always be unresolved, which means just about no library would
12022 # ever link correctly. If we're not using GNU ld we use -z text
12023 # though, which does catch some bad symbols but isn't as heavy-handed
12025 # For security reasons, it is highly recommended that you always
12026 # use absolute paths for naming shared libraries, and exclude the
12027 # DT_RUNPATH tag from executables and libraries. But doing so
12028 # requires that you compile everything twice, which is a pain.
12029 # So that behaviour is only enabled if SCOABSPATH is set to a
12030 # non-empty value in the environment. Most likely only useful for
12031 # creating official distributions of packages.
12032 # This is a hack until libtool officially supports absolute path
12033 # names for shared libraries.
12034 no_undefined_flag_CXX='${wl}-z,text'
12035 allow_undefined_flag_CXX='${wl}-z,nodefs'
12036 archive_cmds_need_lc_CXX=no
12037 hardcode_shlibpath_var_CXX=no
12038 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12039 hardcode_libdir_separator_CXX=':'
12040 link_all_deplibs_CXX=yes
12041 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12042 runpath_var='LD_RUN_PATH'
12044 case $cc_basename in
12046 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12047 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12050 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12051 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12056 case $cc_basename in
12058 # NonStop-UX NCC 3.20
12059 # FIXME: insert proper C++ library support
12063 # FIXME: insert proper C++ library support
12069 # FIXME: insert proper C++ library support
12073 # FIXME: insert proper C++ library support
12077 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12078 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12079 test "$ld_shlibs_CXX" = no && can_build_shared=no
12085 cat > conftest.$ac_ext <<EOF
12089 Foo (void) { a = 0; }
12095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12096 (eval $ac_compile) 2>&5
12098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12099 (exit $ac_status); }; then
12100 # Parse the compiler output and extract the necessary
12101 # objects, libraries and library flags.
12103 # Sentinel used to keep track of whether or not we are before
12104 # the conftest object file.
12105 pre_test_object_deps_done=no
12107 # The `*' in the case matches for architectures that use `case' in
12108 # $output_verbose_cmd can trigger glob expansion during the loop
12109 # eval without this substitution.
12110 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12112 for p in `eval $output_verbose_link_cmd`; do
12116 # Some compilers place space between "-{L,R}" and the path.
12117 # Remove the space.
12118 if test $p = "-L" \
12119 || test $p = "-R"; then
12126 if test "$pre_test_object_deps_done" = no; then
12129 # Internal compiler library paths should come after those
12130 # provided the user. The postdeps already come after the
12131 # user supplied libs so there is no need to process them.
12132 if test -z "$compiler_lib_search_path_CXX"; then
12133 compiler_lib_search_path_CXX="${prev}${p}"
12135 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12138 # The "-l" case would never come before the object being
12139 # linked, so don't bother handling this case.
12142 if test -z "$postdeps_CXX"; then
12143 postdeps_CXX="${prev}${p}"
12145 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12151 # This assumes that the test object file only shows up
12152 # once in the compiler output.
12153 if test "$p" = "conftest.$objext"; then
12154 pre_test_object_deps_done=yes
12158 if test "$pre_test_object_deps_done" = no; then
12159 if test -z "$predep_objects_CXX"; then
12160 predep_objects_CXX="$p"
12162 predep_objects_CXX="$predep_objects_CXX $p"
12165 if test -z "$postdep_objects_CXX"; then
12166 postdep_objects_CXX="$p"
12168 postdep_objects_CXX="$postdep_objects_CXX $p"
12173 *) ;; # Ignore the rest.
12181 echo "libtool.m4: error: problem compiling CXX test program"
12184 $rm -f confest.$objext
12186 # PORTME: override above test on systems where it is broken
12189 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12190 # hack all around it, let's just trust "g++" to DTRT.
12191 predep_objects_CXX=
12192 postdep_objects_CXX=
12197 case $cc_basename in
12199 # Adding this requires a known-good setup of shared libraries for
12200 # Sun compiler versions before 5.6, else PIC objects from an old
12201 # archive will be linked into the output, leading to subtle bugs.
12202 postdeps_CXX='-lCstd -lCrun'
12209 case " $postdeps_CXX " in
12210 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12213 lt_prog_compiler_wl_CXX=
12214 lt_prog_compiler_pic_CXX=
12215 lt_prog_compiler_static_CXX=
12217 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12218 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12220 # C++ specific cases for pic, static, wl, etc.
12221 if test "$GXX" = yes; then
12222 lt_prog_compiler_wl_CXX='-Wl,'
12223 lt_prog_compiler_static_CXX='-static'
12227 # All AIX code is PIC.
12228 if test "$host_cpu" = ia64; then
12229 # AIX 5 now supports IA64 processor
12230 lt_prog_compiler_static_CXX='-Bstatic'
12234 # FIXME: we need at least 68020 code to build shared libraries, but
12235 # adding the `-m68020' flag to GCC prevents building anything better,
12237 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12239 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12240 # PIC is the default for these OSes.
12242 mingw* | os2* | pw32*)
12243 # This hack is so that the source file can tell whether it is being
12244 # built for inclusion in a dll (and should export symbols for example).
12245 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12247 darwin* | rhapsody*)
12248 # PIC is the default on this platform
12249 # Common symbols not allowed in MH_DYLIB files
12250 lt_prog_compiler_pic_CXX='-fno-common'
12253 # DJGPP does not support shared libraries at all
12254 lt_prog_compiler_pic_CXX=
12257 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12258 # Instead, we relocate shared libraries at runtime.
12261 if test -d /usr/nec; then
12262 lt_prog_compiler_pic_CXX=-Kconform_pic
12266 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12267 # not for PA HP-UX.
12272 lt_prog_compiler_pic_CXX='-fPIC'
12277 lt_prog_compiler_pic_CXX='-fPIC'
12283 # All AIX code is PIC.
12284 if test "$host_cpu" = ia64; then
12285 # AIX 5 now supports IA64 processor
12286 lt_prog_compiler_static_CXX='-Bstatic'
12288 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12292 case $cc_basename in
12294 # Green Hills C++ Compiler
12295 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12300 # PIC is the default on this platform
12301 # Common symbols not allowed in MH_DYLIB files
12302 case $cc_basename in
12304 lt_prog_compiler_pic_CXX='-qnocommon'
12305 lt_prog_compiler_wl_CXX='-Wl,'
12310 case $cc_basename in
12312 lt_prog_compiler_pic_CXX='-KPIC'
12315 # Green Hills C++ Compiler
12316 lt_prog_compiler_pic_CXX='-pic'
12322 freebsd* | dragonfly*)
12323 # FreeBSD uses GNU C++
12325 hpux9* | hpux10* | hpux11*)
12326 case $cc_basename in
12328 lt_prog_compiler_wl_CXX='-Wl,'
12329 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12330 if test "$host_cpu" != ia64; then
12331 lt_prog_compiler_pic_CXX='+Z'
12335 lt_prog_compiler_wl_CXX='-Wl,'
12336 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12342 lt_prog_compiler_pic_CXX='+Z'
12351 # This is c89, which is MS Visual C++ (no shared libs)
12352 # Anyone wants to do a port?
12354 irix5* | irix6* | nonstopux*)
12355 case $cc_basename in
12357 lt_prog_compiler_wl_CXX='-Wl,'
12358 lt_prog_compiler_static_CXX='-non_shared'
12359 # CC pic flag -KPIC is the default.
12365 linux* | k*bsd*-gnu)
12366 case $cc_basename in
12369 lt_prog_compiler_wl_CXX='--backend -Wl,'
12370 lt_prog_compiler_pic_CXX='-fPIC'
12374 lt_prog_compiler_wl_CXX='-Wl,'
12375 lt_prog_compiler_pic_CXX='-KPIC'
12376 lt_prog_compiler_static_CXX='-static'
12379 # Portland Group C++ compiler.
12380 lt_prog_compiler_wl_CXX='-Wl,'
12381 lt_prog_compiler_pic_CXX='-fpic'
12382 lt_prog_compiler_static_CXX='-Bstatic'
12386 # Make sure the PIC flag is empty. It appears that all Alpha
12387 # Linux and Compaq Tru64 Unix objects are PIC.
12388 lt_prog_compiler_pic_CXX=
12389 lt_prog_compiler_static_CXX='-non_shared'
12400 case $cc_basename in
12402 lt_prog_compiler_pic_CXX='-W c,exportall'
12408 netbsd* | netbsdelf*-gnu)
12410 osf3* | osf4* | osf5*)
12411 case $cc_basename in
12413 lt_prog_compiler_wl_CXX='--backend -Wl,'
12416 # Rational C++ 2.4.1
12417 lt_prog_compiler_pic_CXX='-pic'
12420 # Digital/Compaq C++
12421 lt_prog_compiler_wl_CXX='-Wl,'
12422 # Make sure the PIC flag is empty. It appears that all Alpha
12423 # Linux and Compaq Tru64 Unix objects are PIC.
12424 lt_prog_compiler_pic_CXX=
12425 lt_prog_compiler_static_CXX='-non_shared'
12434 case $cc_basename in
12436 # Sun C++ 4.2, 5.x and Centerline C++
12437 lt_prog_compiler_pic_CXX='-KPIC'
12438 lt_prog_compiler_static_CXX='-Bstatic'
12439 lt_prog_compiler_wl_CXX='-Qoption ld '
12442 # Green Hills C++ Compiler
12443 lt_prog_compiler_pic_CXX='-PIC'
12450 case $cc_basename in
12453 lt_prog_compiler_pic_CXX='-pic'
12454 lt_prog_compiler_static_CXX='-Bstatic'
12458 lt_prog_compiler_pic_CXX='-pic'
12465 case $cc_basename in
12467 # NonStop-UX NCC 3.20
12468 lt_prog_compiler_pic_CXX='-KPIC'
12474 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12475 case $cc_basename in
12477 lt_prog_compiler_wl_CXX='-Wl,'
12478 lt_prog_compiler_pic_CXX='-KPIC'
12479 lt_prog_compiler_static_CXX='-Bstatic'
12486 lt_prog_compiler_can_build_shared_CXX=no
12491 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12492 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12495 # Check to make sure the PIC flag actually works.
12497 if test -n "$lt_prog_compiler_pic_CXX"; then
12499 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12500 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12501 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12502 echo $ECHO_N "(cached) $ECHO_C" >&6
12504 lt_prog_compiler_pic_works_CXX=no
12505 ac_outfile=conftest.$ac_objext
12506 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12507 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12508 # Insert the option either (1) after the last *FLAGS variable, or
12509 # (2) before a word containing "conftest.", or (3) at the end.
12510 # Note that $ac_compile itself does not contain backslashes and begins
12511 # with a dollar sign (not a hyphen), so the echo should work correctly.
12512 # The option is referenced via a variable to avoid confusing sed.
12513 lt_compile=`echo "$ac_compile" | $SED \
12514 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12515 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12516 -e 's:$: $lt_compiler_flag:'`
12517 (eval echo "\"\$as_me:12517: $lt_compile\"" >&5)
12518 (eval "$lt_compile" 2>conftest.err)
12520 cat conftest.err >&5
12521 echo "$as_me:12521: \$? = $ac_status" >&5
12522 if (exit $ac_status) && test -s "$ac_outfile"; then
12523 # The compiler can only warn and ignore the option if not recognized
12524 # So say no if there are warnings other than the usual output.
12525 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12526 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12527 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12528 lt_prog_compiler_pic_works_CXX=yes
12534 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12535 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12537 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12538 case $lt_prog_compiler_pic_CXX in
12540 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12543 lt_prog_compiler_pic_CXX=
12544 lt_prog_compiler_can_build_shared_CXX=no
12549 # For platforms which do not support PIC, -DPIC is meaningless:
12551 lt_prog_compiler_pic_CXX=
12554 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12559 # Check to make sure the static flag actually works.
12561 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12562 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12563 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12564 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12567 lt_prog_compiler_static_works_CXX=no
12568 save_LDFLAGS="$LDFLAGS"
12569 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12570 printf "$lt_simple_link_test_code" > conftest.$ac_ext
12571 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12572 # The linker can only warn and ignore the option if not recognized
12573 # So say no if there are warnings
12574 if test -s conftest.err; then
12575 # Append any errors to the config.log.
12576 cat conftest.err 1>&5
12577 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12578 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12579 if diff conftest.exp conftest.er2 >/dev/null; then
12580 lt_prog_compiler_static_works_CXX=yes
12583 lt_prog_compiler_static_works_CXX=yes
12587 LDFLAGS="$save_LDFLAGS"
12590 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12591 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12593 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12596 lt_prog_compiler_static_CXX=
12600 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12601 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12602 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12605 lt_cv_prog_compiler_c_o_CXX=no
12606 $rm -r conftest 2>/dev/null
12610 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12612 lt_compiler_flag="-o out/conftest2.$ac_objext"
12613 # Insert the option either (1) after the last *FLAGS variable, or
12614 # (2) before a word containing "conftest.", or (3) at the end.
12615 # Note that $ac_compile itself does not contain backslashes and begins
12616 # with a dollar sign (not a hyphen), so the echo should work correctly.
12617 lt_compile=`echo "$ac_compile" | $SED \
12618 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12619 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12620 -e 's:$: $lt_compiler_flag:'`
12621 (eval echo "\"\$as_me:12621: $lt_compile\"" >&5)
12622 (eval "$lt_compile" 2>out/conftest.err)
12624 cat out/conftest.err >&5
12625 echo "$as_me:12625: \$? = $ac_status" >&5
12626 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12628 # The compiler can only warn and ignore the option if not recognized
12629 # So say no if there are warnings
12630 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12631 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12632 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12633 lt_cv_prog_compiler_c_o_CXX=yes
12638 # SGI C++ compiler will create directory out/ii_files/ for
12639 # template instantiation
12640 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12641 $rm out/* && rmdir out
12647 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12648 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12651 hard_links="nottested"
12652 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12653 # do not overwrite the value of need_locks provided by the user
12654 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12655 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12658 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12660 ln conftest.a conftest.b 2>&5 || hard_links=no
12661 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12662 { echo "$as_me:$LINENO: result: $hard_links" >&5
12663 echo "${ECHO_T}$hard_links" >&6; }
12664 if test "$hard_links" = no; then
12665 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12666 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12673 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12674 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12676 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12679 # If we're using GNU nm, then we don't want the "-C" option.
12680 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12681 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12682 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12684 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12688 export_symbols_cmds_CXX="$ltdll_cmds"
12691 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12693 linux* | k*bsd*-gnu)
12694 link_all_deplibs_CXX=no
12697 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12701 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12702 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12703 test "$ld_shlibs_CXX" = no && can_build_shared=no
12706 # Do we need to explicitly link libc?
12708 case "x$archive_cmds_need_lc_CXX" in
12710 # Assume -lc should be added
12711 archive_cmds_need_lc_CXX=yes
12713 if test "$enable_shared" = yes && test "$GCC" = yes; then
12714 case $archive_cmds_CXX in
12716 # FIXME: we may have to deal with multi-command sequences.
12719 # Test whether the compiler implicitly links with -lc since on some
12720 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12721 # to ld, don't add -lc before -lgcc.
12722 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12723 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12725 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>&5
12730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 (exit $ac_status); } 2>conftest.err; then
12734 libobjs=conftest.$ac_objext
12736 wl=$lt_prog_compiler_wl_CXX
12737 pic_flag=$lt_prog_compiler_pic_CXX
12743 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12744 allow_undefined_flag_CXX=
12745 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12746 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); }
12751 archive_cmds_need_lc_CXX=no
12753 archive_cmds_need_lc_CXX=yes
12755 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12757 cat conftest.err 1>&5
12760 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12761 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12768 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12769 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12770 library_names_spec=
12771 libname_spec='lib$name'
12775 postuninstall_cmds=
12779 shlibpath_overrides_runpath=unknown
12781 dynamic_linker="$host_os ld.so"
12782 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12783 if test "$GCC" = yes; then
12784 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12785 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12786 # if the path contains ";" then we assume it to be the separator
12787 # otherwise default to the standard path separator (i.e. ":") - it is
12788 # assumed that no part of a normal pathname contains ";" but that should
12789 # okay in the real world where ";" in dirpaths is itself problematic.
12790 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12792 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12795 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12797 need_lib_prefix=unknown
12798 hardcode_into_libs=no
12800 # when you set need_version to no, make sure it does not cause -set_version
12801 # flags to be left without arguments
12802 need_version=unknown
12807 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12808 shlibpath_var=LIBPATH
12810 # AIX 3 has no versioning support, so we append a major version to the name.
12811 soname_spec='${libname}${release}${shared_ext}$major'
12818 hardcode_into_libs=yes
12819 if test "$host_cpu" = ia64; then
12820 # AIX 5 supports IA64
12821 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12822 shlibpath_var=LD_LIBRARY_PATH
12824 # With GCC up to 2.95.x, collect2 would create an import file
12825 # for dependence libraries. The import file would start with
12826 # the line `#! .'. This would cause the generated library to
12827 # depend on `.', always an invalid library. This was fixed in
12828 # development snapshots of GCC prior to 3.0.
12830 aix4 | aix4.[01] | aix4.[01].*)
12831 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12833 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12836 can_build_shared=no
12840 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12841 # soname into executable. Probably we can add versioning support to
12842 # collect2, so additional links can be useful in future.
12843 if test "$aix_use_runtimelinking" = yes; then
12844 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12845 # instead of lib<name>.a to let people know that these are not
12846 # typical AIX shared libraries.
12847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12849 # We preserve .a as extension for shared libraries through AIX4.2
12850 # and later when we are not doing run time linking.
12851 library_names_spec='${libname}${release}.a $libname.a'
12852 soname_spec='${libname}${release}${shared_ext}$major'
12854 shlibpath_var=LIBPATH
12859 library_names_spec='$libname.ixlibrary $libname.a'
12860 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12861 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'
12865 library_names_spec='${libname}${shared_ext}'
12866 dynamic_linker="$host_os ld.so"
12867 shlibpath_var=LIBRARY_PATH
12873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12874 soname_spec='${libname}${release}${shared_ext}$major'
12875 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12876 shlibpath_var=LD_LIBRARY_PATH
12877 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12878 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12879 # the default ld.so.conf also contains /usr/contrib/lib and
12880 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12881 # libtool to hard-code these into programs
12884 cygwin* | mingw* | pw32*)
12885 version_type=windows
12890 case $GCC,$host_os in
12891 yes,cygwin* | yes,mingw* | yes,pw32*)
12892 library_names_spec='$libname.dll.a'
12893 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12894 postinstall_cmds='base_file=`basename \${file}`~
12895 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12896 dldir=$destdir/`dirname \$dlpath`~
12897 test -d \$dldir || mkdir -p \$dldir~
12898 $install_prog $dir/$dlname \$dldir/$dlname~
12899 chmod a+x \$dldir/$dlname'
12900 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12901 dlpath=$dir/\$dldll~
12903 shlibpath_overrides_runpath=yes
12907 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12908 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12909 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12912 # MinGW DLLs use traditional 'lib' prefix
12913 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12914 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12915 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12916 # It is most probably a Windows format PATH printed by
12917 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12918 # path with ; separators, and with drive letters. We can handle the
12919 # drive letters (cygwin fileutils understands them), so leave them,
12920 # especially as we might pass files found there to a mingw objdump,
12921 # which wouldn't understand a cygwinified path. Ahh.
12922 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12924 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12928 # pw32 DLLs use 'pw' prefix rather than 'lib'
12929 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12935 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12938 dynamic_linker='Win32 ld.exe'
12939 # FIXME: first we should search . and the directory the executable is in
12943 darwin* | rhapsody*)
12944 dynamic_linker="$host_os dyld"
12945 version_type=darwin
12948 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12949 soname_spec='${libname}${release}${major}$shared_ext'
12950 shlibpath_overrides_runpath=yes
12951 shlibpath_var=DYLD_LIBRARY_PATH
12952 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12953 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12954 if test "$GCC" = yes; then
12955 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12957 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12959 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12967 soname_spec='${libname}${release}${shared_ext}$major'
12968 shlibpath_var=LD_LIBRARY_PATH
12975 freebsd* | dragonfly*)
12976 # DragonFly does not have aout. When/if they implement a new
12977 # versioning mechanism, adjust this.
12978 if test -x /usr/bin/objformat; then
12979 objformat=`/usr/bin/objformat`
12982 freebsd[123]*) objformat=aout ;;
12983 *) objformat=elf ;;
12986 version_type=freebsd-$objformat
12987 case $version_type in
12989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12994 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12998 shlibpath_var=LD_LIBRARY_PATH
13001 shlibpath_overrides_runpath=yes
13003 freebsd3.[01]* | freebsdelf3.[01]*)
13004 shlibpath_overrides_runpath=yes
13005 hardcode_into_libs=yes
13007 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13008 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13009 shlibpath_overrides_runpath=no
13010 hardcode_into_libs=yes
13012 freebsd*) # from 4.6 on
13013 shlibpath_overrides_runpath=yes
13014 hardcode_into_libs=yes
13023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13024 soname_spec='${libname}${release}${shared_ext}$major'
13025 shlibpath_var=LD_LIBRARY_PATH
13026 hardcode_into_libs=yes
13029 hpux9* | hpux10* | hpux11*)
13030 # Give a soname corresponding to the major version so that dld.sl refuses to
13031 # link against other versions.
13038 hardcode_into_libs=yes
13039 dynamic_linker="$host_os dld.so"
13040 shlibpath_var=LD_LIBRARY_PATH
13041 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13043 soname_spec='${libname}${release}${shared_ext}$major'
13044 if test "X$HPUX_IA64_MODE" = X32; then
13045 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13047 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13049 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13053 hardcode_into_libs=yes
13054 dynamic_linker="$host_os dld.sl"
13055 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13056 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13058 soname_spec='${libname}${release}${shared_ext}$major'
13059 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13060 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13064 dynamic_linker="$host_os dld.sl"
13065 shlibpath_var=SHLIB_PATH
13066 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13068 soname_spec='${libname}${release}${shared_ext}$major'
13071 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13072 postinstall_cmds='chmod 555 $lib'
13079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13080 soname_spec='${libname}${release}${shared_ext}$major'
13081 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13082 shlibpath_var=LD_LIBRARY_PATH
13083 shlibpath_overrides_runpath=no
13084 hardcode_into_libs=yes
13087 irix5* | irix6* | nonstopux*)
13089 nonstopux*) version_type=nonstopux ;;
13091 if test "$lt_cv_prog_gnu_ld" = yes; then
13099 soname_spec='${libname}${release}${shared_ext}$major'
13100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13102 irix5* | nonstopux*)
13103 libsuff= shlibsuff=
13106 case $LD in # libtool.m4 will add one of these switches to LD
13107 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13108 libsuff= shlibsuff= libmagic=32-bit;;
13109 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13110 libsuff=32 shlibsuff=N32 libmagic=N32;;
13111 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13112 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13113 *) libsuff= shlibsuff= libmagic=never-match;;
13117 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13118 shlibpath_overrides_runpath=no
13119 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13120 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13121 hardcode_into_libs=yes
13124 # No shared lib support for Linux oldld, aout, or coff.
13125 linux*oldld* | linux*aout* | linux*coff*)
13129 # This must be Linux ELF.
13130 linux* | k*bsd*-gnu)
13134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13135 soname_spec='${libname}${release}${shared_ext}$major'
13136 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13137 shlibpath_var=LD_LIBRARY_PATH
13138 shlibpath_overrides_runpath=no
13139 # This implies no fast_install, which is unacceptable.
13140 # Some rework will be needed to allow for fast_install
13141 # before this can be enabled.
13142 hardcode_into_libs=yes
13144 # Append ld.so.conf contents to the search path
13145 if test -f /etc/ld.so.conf; then
13146 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13147 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13150 # We used to test for /lib/ld.so.1 and disable shared libraries on
13151 # powerpc, because MkLinux only supported shared libraries with the
13152 # GNU dynamic linker. Since this was broken with cross compilers,
13153 # most powerpc-linux boxes support dynamic linking these days and
13154 # people can always --disable-shared, the test was removed, and we
13155 # assume the GNU/Linux dynamic linker is in use.
13156 dynamic_linker='GNU/Linux ld.so'
13163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13164 soname_spec='${libname}${release}${shared_ext}$major'
13165 shlibpath_var=LD_LIBRARY_PATH
13166 shlibpath_overrides_runpath=no
13167 hardcode_into_libs=yes
13168 dynamic_linker='NetBSD ld.elf_so'
13175 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13177 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13178 dynamic_linker='NetBSD (a.out) ld.so'
13180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13181 soname_spec='${libname}${release}${shared_ext}$major'
13182 dynamic_linker='NetBSD ld.elf_so'
13184 shlibpath_var=LD_LIBRARY_PATH
13185 shlibpath_overrides_runpath=yes
13186 hardcode_into_libs=yes
13191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13192 shlibpath_var=LD_LIBRARY_PATH
13193 shlibpath_overrides_runpath=yes
13200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13201 soname_spec='${libname}${release}${shared_ext}$major'
13202 shlibpath_var=LD_LIBRARY_PATH
13203 shlibpath_overrides_runpath=yes
13208 sys_lib_dlsearch_path_spec="/usr/lib"
13210 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13212 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13213 *) need_version=no ;;
13215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13216 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13217 shlibpath_var=LD_LIBRARY_PATH
13218 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13220 openbsd2.[89] | openbsd2.[89].*)
13221 shlibpath_overrides_runpath=no
13224 shlibpath_overrides_runpath=yes
13228 shlibpath_overrides_runpath=yes
13233 libname_spec='$name'
13236 library_names_spec='$libname${shared_ext} $libname.a'
13237 dynamic_linker='OS/2 ld.exe'
13238 shlibpath_var=LIBPATH
13241 osf3* | osf4* | osf5*)
13245 soname_spec='${libname}${release}${shared_ext}$major'
13246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13247 shlibpath_var=LD_LIBRARY_PATH
13248 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13249 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13257 soname_spec='${libname}${release}${shared_ext}$major'
13258 shlibpath_var=LD_LIBRARY_PATH
13259 shlibpath_overrides_runpath=yes
13260 hardcode_into_libs=yes
13261 # ldd complains unless libraries are executable
13262 postinstall_cmds='chmod +x $lib'
13267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13268 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13269 shlibpath_var=LD_LIBRARY_PATH
13270 shlibpath_overrides_runpath=yes
13271 if test "$with_gnu_ld" = yes; then
13279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13280 soname_spec='${libname}${release}${shared_ext}$major'
13281 shlibpath_var=LD_LIBRARY_PATH
13282 case $host_vendor in
13284 shlibpath_overrides_runpath=no
13286 export_dynamic_flag_spec='${wl}-Blargedynsym'
13287 runpath_var=LD_RUN_PATH
13295 shlibpath_overrides_runpath=no
13296 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13302 if test -d /usr/nec ;then
13304 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13305 soname_spec='$libname${shared_ext}.$major'
13306 shlibpath_var=LD_LIBRARY_PATH
13310 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13311 version_type=freebsd-elf
13314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13315 soname_spec='${libname}${release}${shared_ext}$major'
13316 shlibpath_var=LD_LIBRARY_PATH
13317 hardcode_into_libs=yes
13318 if test "$with_gnu_ld" = yes; then
13319 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13320 shlibpath_overrides_runpath=no
13322 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13323 shlibpath_overrides_runpath=yes
13326 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13330 sys_lib_dlsearch_path_spec='/usr/lib'
13335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13336 soname_spec='${libname}${release}${shared_ext}$major'
13337 shlibpath_var=LD_LIBRARY_PATH
13344 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13345 echo "${ECHO_T}$dynamic_linker" >&6; }
13346 test "$dynamic_linker" = no && can_build_shared=no
13348 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13349 if test "$GCC" = yes; then
13350 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13353 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13354 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13355 hardcode_action_CXX=
13356 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13357 test -n "$runpath_var_CXX" || \
13358 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13360 # We can hardcode non-existant directories.
13361 if test "$hardcode_direct_CXX" != no &&
13362 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13363 # have to relink, otherwise we might link with an installed library
13364 # when we should be linking with a yet-to-be-installed one
13365 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13366 test "$hardcode_minus_L_CXX" != no; then
13367 # Linking always hardcodes the temporary library directory.
13368 hardcode_action_CXX=relink
13370 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13371 hardcode_action_CXX=immediate
13374 # We cannot hardcode anything, or else we can only hardcode existing
13376 hardcode_action_CXX=unsupported
13378 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13379 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13381 if test "$hardcode_action_CXX" = relink; then
13382 # Fast installation is not supported
13383 enable_fast_install=no
13384 elif test "$shlibpath_overrides_runpath" = yes ||
13385 test "$enable_shared" = no; then
13386 # Fast installation is not necessary
13387 enable_fast_install=needless
13391 # The else clause should only fire when bootstrapping the
13392 # libtool distribution, otherwise you forgot to ship ltmain.sh
13393 # with your package, and you will get complaints that there are
13394 # no rules to generate ltmain.sh.
13395 if test -f "$ltmain"; then
13396 # See if we are running on zsh, and set the options which allow our commands through
13397 # without removal of \ escapes.
13398 if test -n "${ZSH_VERSION+set}" ; then
13399 setopt NO_GLOB_SUBST
13401 # Now quote all the things that may contain metacharacters while being
13402 # careful not to overquote the AC_SUBSTed values. We take copies of the
13403 # variables and quote the copies for generation of the libtool script.
13404 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13406 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13407 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13408 deplibs_check_method reload_flag reload_cmds need_locks \
13409 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13410 lt_cv_sys_global_symbol_to_c_name_address \
13411 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13412 old_postinstall_cmds old_postuninstall_cmds \
13416 lt_prog_compiler_wl_CXX \
13417 lt_prog_compiler_pic_CXX \
13418 lt_prog_compiler_static_CXX \
13419 lt_prog_compiler_no_builtin_flag_CXX \
13420 export_dynamic_flag_spec_CXX \
13421 thread_safe_flag_spec_CXX \
13422 whole_archive_flag_spec_CXX \
13423 enable_shared_with_static_runtimes_CXX \
13424 old_archive_cmds_CXX \
13425 old_archive_from_new_cmds_CXX \
13426 predep_objects_CXX \
13427 postdep_objects_CXX \
13430 compiler_lib_search_path_CXX \
13432 archive_expsym_cmds_CXX \
13433 postinstall_cmds_CXX \
13434 postuninstall_cmds_CXX \
13435 old_archive_from_expsyms_cmds_CXX \
13436 allow_undefined_flag_CXX \
13437 no_undefined_flag_CXX \
13438 export_symbols_cmds_CXX \
13439 hardcode_libdir_flag_spec_CXX \
13440 hardcode_libdir_flag_spec_ld_CXX \
13441 hardcode_libdir_separator_CXX \
13442 hardcode_automatic_CXX \
13444 module_expsym_cmds_CXX \
13445 lt_cv_prog_compiler_c_o_CXX \
13446 exclude_expsyms_CXX \
13447 include_expsyms_CXX; do
13450 old_archive_cmds_CXX | \
13451 old_archive_from_new_cmds_CXX | \
13452 archive_cmds_CXX | \
13453 archive_expsym_cmds_CXX | \
13454 module_cmds_CXX | \
13455 module_expsym_cmds_CXX | \
13456 old_archive_from_expsyms_cmds_CXX | \
13457 export_symbols_cmds_CXX | \
13458 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13459 postinstall_cmds | postuninstall_cmds | \
13460 old_postinstall_cmds | old_postuninstall_cmds | \
13461 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13462 # Double-quote double-evaled strings.
13463 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13466 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13472 *'\$0 --fallback-echo"')
13473 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13479 cat <<__EOF__ >> "$cfgfile"
13480 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13482 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13484 # Shell to use when invoking shell scripts.
13487 # Whether or not to build shared libraries.
13488 build_libtool_libs=$enable_shared
13490 # Whether or not to build static libraries.
13491 build_old_libs=$enable_static
13493 # Whether or not to add -lc for building shared libraries.
13494 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13496 # Whether or not to disallow shared libs when runtime libs are static
13497 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13499 # Whether or not to optimize for fast installation.
13500 fast_install=$enable_fast_install
13503 host_alias=$host_alias
13507 # The build system.
13508 build_alias=$build_alias
13512 # An echo program that does not interpret backslashes.
13517 AR_FLAGS=$lt_AR_FLAGS
13522 # LTCC compiler flags.
13523 LTCFLAGS=$lt_LTCFLAGS
13525 # A language-specific compiler.
13526 CC=$lt_compiler_CXX
13528 # Is the compiler the GNU C compiler?
13534 # The linker used to build libraries.
13537 # Whether we need hard or soft links.
13540 # A BSD-compatible nm program.
13543 # A symbol stripping program
13546 # Used to examine libraries when file_magic_cmd begins "file"
13547 MAGIC_CMD=$MAGIC_CMD
13549 # Used on cygwin: DLL creation program.
13552 # Used on cygwin: object dumper.
13555 # Used on cygwin: assembler.
13558 # The name of the directory that contains temporary libtool files.
13561 # How to create reloadable object files.
13562 reload_flag=$lt_reload_flag
13563 reload_cmds=$lt_reload_cmds
13565 # How to pass a linker flag through the compiler.
13566 wl=$lt_lt_prog_compiler_wl_CXX
13568 # Object file suffix (normally "o").
13569 objext="$ac_objext"
13571 # Old archive suffix (normally "a").
13574 # Shared library suffix (normally ".so").
13575 shrext_cmds='$shrext_cmds'
13577 # Executable file suffix (normally "").
13580 # Additional compiler flags for building library objects.
13581 pic_flag=$lt_lt_prog_compiler_pic_CXX
13584 # What is the maximum length of a command?
13585 max_cmd_len=$lt_cv_sys_max_cmd_len
13587 # Does compiler simultaneously support -c and -o options?
13588 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13590 # Must we lock files when doing compilation?
13591 need_locks=$lt_need_locks
13593 # Do we need the lib prefix for modules?
13594 need_lib_prefix=$need_lib_prefix
13596 # Do we need a version for libraries?
13597 need_version=$need_version
13599 # Whether dlopen is supported.
13600 dlopen_support=$enable_dlopen
13602 # Whether dlopen of programs is supported.
13603 dlopen_self=$enable_dlopen_self
13605 # Whether dlopen of statically linked programs is supported.
13606 dlopen_self_static=$enable_dlopen_self_static
13608 # Compiler flag to prevent dynamic linking.
13609 link_static_flag=$lt_lt_prog_compiler_static_CXX
13611 # Compiler flag to turn off builtin functions.
13612 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13614 # Compiler flag to allow reflexive dlopens.
13615 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13617 # Compiler flag to generate shared objects directly from archives.
13618 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13620 # Compiler flag to generate thread-safe objects.
13621 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13623 # Library versioning type.
13624 version_type=$version_type
13626 # Format of library name prefix.
13627 libname_spec=$lt_libname_spec
13629 # List of archive names. First name is the real one, the rest are links.
13630 # The last name is the one that the linker finds with -lNAME.
13631 library_names_spec=$lt_library_names_spec
13633 # The coded name of the library, if different from the real name.
13634 soname_spec=$lt_soname_spec
13636 # Commands used to build and install an old-style archive.
13638 old_archive_cmds=$lt_old_archive_cmds_CXX
13639 old_postinstall_cmds=$lt_old_postinstall_cmds
13640 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13642 # Create an old-style archive from a shared archive.
13643 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13645 # Create a temporary old-style archive to link instead of a shared archive.
13646 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13648 # Commands used to build and install a shared archive.
13649 archive_cmds=$lt_archive_cmds_CXX
13650 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13651 postinstall_cmds=$lt_postinstall_cmds
13652 postuninstall_cmds=$lt_postuninstall_cmds
13654 # Commands used to build a loadable module (assumed same as above if empty)
13655 module_cmds=$lt_module_cmds_CXX
13656 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13658 # Commands to strip libraries.
13659 old_striplib=$lt_old_striplib
13660 striplib=$lt_striplib
13662 # Dependencies to place before the objects being linked to create a
13664 predep_objects=$lt_predep_objects_CXX
13666 # Dependencies to place after the objects being linked to create a
13668 postdep_objects=$lt_postdep_objects_CXX
13670 # Dependencies to place before the objects being linked to create a
13672 predeps=$lt_predeps_CXX
13674 # Dependencies to place after the objects being linked to create a
13676 postdeps=$lt_postdeps_CXX
13678 # The library search path used internally by the compiler when linking
13679 # a shared library.
13680 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13682 # Method to check whether dependent libraries are shared objects.
13683 deplibs_check_method=$lt_deplibs_check_method
13685 # Command to use when deplibs_check_method == file_magic.
13686 file_magic_cmd=$lt_file_magic_cmd
13688 # Flag that allows shared libraries with undefined symbols to be built.
13689 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13691 # Flag that forces no undefined symbols.
13692 no_undefined_flag=$lt_no_undefined_flag_CXX
13694 # Commands used to finish a libtool library installation in a directory.
13695 finish_cmds=$lt_finish_cmds
13697 # Same as above, but a single script fragment to be evaled but not shown.
13698 finish_eval=$lt_finish_eval
13700 # Take the output of nm and produce a listing of raw symbols and C names.
13701 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13703 # Transform the output of nm in a proper C declaration
13704 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13706 # Transform the output of nm in a C name address pair
13707 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13709 # This is the shared library runtime path variable.
13710 runpath_var=$runpath_var
13712 # This is the shared library path variable.
13713 shlibpath_var=$shlibpath_var
13715 # Is shlibpath searched before the hard-coded library search path?
13716 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13718 # How to hardcode a shared library path into an executable.
13719 hardcode_action=$hardcode_action_CXX
13721 # Whether we should hardcode library paths into libraries.
13722 hardcode_into_libs=$hardcode_into_libs
13724 # Flag to hardcode \$libdir into a binary during linking.
13725 # This must work even if \$libdir does not exist.
13726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13728 # If ld is used when linking, flag to hardcode \$libdir into
13729 # a binary during linking. This must work even if \$libdir does
13731 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13733 # Whether we need a single -rpath flag with a separated argument.
13734 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13736 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13737 # resulting binary.
13738 hardcode_direct=$hardcode_direct_CXX
13740 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13741 # resulting binary.
13742 hardcode_minus_L=$hardcode_minus_L_CXX
13744 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13745 # the resulting binary.
13746 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13748 # Set to yes if building a shared library automatically hardcodes DIR into the library
13749 # and all subsequent libraries and executables linked against it.
13750 hardcode_automatic=$hardcode_automatic_CXX
13752 # Variables whose values should be saved in libtool wrapper scripts and
13753 # restored at relink time.
13754 variables_saved_for_relink="$variables_saved_for_relink"
13756 # Whether libtool must link a program against all its dependency libraries.
13757 link_all_deplibs=$link_all_deplibs_CXX
13759 # Compile-time system search path for libraries
13760 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13762 # Run-time system search path for libraries
13763 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13765 # Fix the shell variable \$srcfile for the compiler.
13766 fix_srcfile_path="$fix_srcfile_path_CXX"
13768 # Set to yes if exported symbols are required.
13769 always_export_symbols=$always_export_symbols_CXX
13771 # The commands to list exported symbols.
13772 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13774 # The commands to extract the exported symbol list from a shared archive.
13775 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13777 # Symbols that should not be listed in the preloaded symbols.
13778 exclude_expsyms=$lt_exclude_expsyms_CXX
13780 # Symbols that must always be exported.
13781 include_expsyms=$lt_include_expsyms_CXX
13783 # ### END LIBTOOL TAG CONFIG: $tagname
13789 # If there is no Makefile yet, we rely on a make rule to execute
13790 # `config.status --recheck' to rerun these tests and create the
13791 # libtool script then.
13792 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13793 if test -f "$ltmain_in"; then
13794 test -f Makefile && make "$ltmain"
13800 ac_cpp='$CPP $CPPFLAGS'
13801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13809 with_gnu_ldcxx=$with_gnu_ld
13810 with_gnu_ld=$lt_save_with_gnu_ld
13811 lt_cv_path_LDCXX=$lt_cv_path_LD
13812 lt_cv_path_LD=$lt_save_path_LD
13813 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13814 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13822 if test -n "$F77" && test "X$F77" != "Xno"; then
13825 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13826 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13830 archive_cmds_need_lc_F77=no
13831 allow_undefined_flag_F77=
13832 always_export_symbols_F77=no
13833 archive_expsym_cmds_F77=
13834 export_dynamic_flag_spec_F77=
13835 hardcode_direct_F77=no
13836 hardcode_libdir_flag_spec_F77=
13837 hardcode_libdir_flag_spec_ld_F77=
13838 hardcode_libdir_separator_F77=
13839 hardcode_minus_L_F77=no
13840 hardcode_automatic_F77=no
13842 module_expsym_cmds_F77=
13843 link_all_deplibs_F77=unknown
13844 old_archive_cmds_F77=$old_archive_cmds
13845 no_undefined_flag_F77=
13846 whole_archive_flag_spec_F77=
13847 enable_shared_with_static_runtimes_F77=no
13849 # Source file extension for f77 test sources.
13852 # Object file extension for compiled f77 test sources.
13856 # Code to be used in simple compile tests
13857 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13859 # Code to be used in simple link tests
13860 lt_simple_link_test_code=" program t\n end\n"
13862 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13864 # If no C compiler was specified, use CC.
13867 # If no C compiler flags were specified, use CFLAGS.
13868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13870 # Allow CC to be a program name with arguments.
13874 # save warnings/boilerplate of simple test code
13875 ac_outfile=conftest.$ac_objext
13876 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13877 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13878 _lt_compiler_boilerplate=`cat conftest.err`
13881 ac_outfile=conftest.$ac_objext
13882 printf "$lt_simple_link_test_code" >conftest.$ac_ext
13883 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13884 _lt_linker_boilerplate=`cat conftest.err`
13888 # Allow CC to be a program name with arguments.
13893 for cc_temp in $compiler""; do
13895 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13896 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13901 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13904 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13905 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13906 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13907 echo "${ECHO_T}$can_build_shared" >&6; }
13909 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13910 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13911 test "$can_build_shared" = "no" && enable_shared=no
13913 # On AIX, shared libraries and static libraries use the same namespace, and
13914 # are all built from PIC.
13917 test "$enable_shared" = yes && enable_static=no
13918 if test -n "$RANLIB"; then
13919 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13920 postinstall_cmds='$RANLIB $lib'
13924 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13925 test "$enable_shared" = yes && enable_static=no
13929 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13930 echo "${ECHO_T}$enable_shared" >&6; }
13932 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13933 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13934 # Make sure either enable_shared or enable_static is yes.
13935 test "$enable_shared" = yes || enable_static=yes
13936 { echo "$as_me:$LINENO: result: $enable_static" >&5
13937 echo "${ECHO_T}$enable_static" >&6; }
13942 lt_prog_compiler_wl_F77=
13943 lt_prog_compiler_pic_F77=
13944 lt_prog_compiler_static_F77=
13946 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13947 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13949 if test "$GCC" = yes; then
13950 lt_prog_compiler_wl_F77='-Wl,'
13951 lt_prog_compiler_static_F77='-static'
13955 # All AIX code is PIC.
13956 if test "$host_cpu" = ia64; then
13957 # AIX 5 now supports IA64 processor
13958 lt_prog_compiler_static_F77='-Bstatic'
13963 # FIXME: we need at least 68020 code to build shared libraries, but
13964 # adding the `-m68020' flag to GCC prevents building anything better,
13966 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13969 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13970 # PIC is the default for these OSes.
13973 mingw* | pw32* | os2*)
13974 # This hack is so that the source file can tell whether it is being
13975 # built for inclusion in a dll (and should export symbols for example).
13976 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13979 darwin* | rhapsody*)
13980 # PIC is the default on this platform
13981 # Common symbols not allowed in MH_DYLIB files
13982 lt_prog_compiler_pic_F77='-fno-common'
13986 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13987 # Instead, we relocate shared libraries at runtime.
13991 # Just because we use GCC doesn't mean we suddenly get shared libraries
13992 # on systems that don't support them.
13993 lt_prog_compiler_can_build_shared_F77=no
13998 if test -d /usr/nec; then
13999 lt_prog_compiler_pic_F77=-Kconform_pic
14004 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14005 # not for PA HP-UX.
14011 lt_prog_compiler_pic_F77='-fPIC'
14017 lt_prog_compiler_pic_F77='-fPIC'
14021 # PORTME Check for flag to pass linker flags through the system compiler.
14024 lt_prog_compiler_wl_F77='-Wl,'
14025 if test "$host_cpu" = ia64; then
14026 # AIX 5 now supports IA64 processor
14027 lt_prog_compiler_static_F77='-Bstatic'
14029 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14033 # PIC is the default on this platform
14034 # Common symbols not allowed in MH_DYLIB files
14035 case $cc_basename in
14037 lt_prog_compiler_pic_F77='-qnocommon'
14038 lt_prog_compiler_wl_F77='-Wl,'
14043 mingw* | pw32* | os2*)
14044 # This hack is so that the source file can tell whether it is being
14045 # built for inclusion in a dll (and should export symbols for example).
14046 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14049 hpux9* | hpux10* | hpux11*)
14050 lt_prog_compiler_wl_F77='-Wl,'
14051 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14052 # not for PA HP-UX.
14058 lt_prog_compiler_pic_F77='+Z'
14061 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14062 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14065 irix5* | irix6* | nonstopux*)
14066 lt_prog_compiler_wl_F77='-Wl,'
14067 # PIC (with -KPIC) is the default.
14068 lt_prog_compiler_static_F77='-non_shared'
14072 lt_prog_compiler_pic_F77='-KPIC'
14073 lt_prog_compiler_static_F77='-Bstatic'
14076 linux* | k*bsd*-gnu)
14077 case $cc_basename in
14079 lt_prog_compiler_wl_F77='-Wl,'
14080 lt_prog_compiler_pic_F77='-KPIC'
14081 lt_prog_compiler_static_F77='-static'
14083 pgcc* | pgf77* | pgf90* | pgf95*)
14084 # Portland Group compilers (*not* the Pentium gcc compiler,
14085 # which looks to be a dead project)
14086 lt_prog_compiler_wl_F77='-Wl,'
14087 lt_prog_compiler_pic_F77='-fpic'
14088 lt_prog_compiler_static_F77='-Bstatic'
14091 lt_prog_compiler_wl_F77='-Wl,'
14092 # All Alpha code is PIC.
14093 lt_prog_compiler_static_F77='-non_shared'
14098 osf3* | osf4* | osf5*)
14099 lt_prog_compiler_wl_F77='-Wl,'
14100 # All OSF/1 code is PIC.
14101 lt_prog_compiler_static_F77='-non_shared'
14105 lt_prog_compiler_pic_F77='-KPIC'
14106 lt_prog_compiler_static_F77='-Bstatic'
14107 case $cc_basename in
14108 f77* | f90* | f95*)
14109 lt_prog_compiler_wl_F77='-Qoption ld ';;
14111 lt_prog_compiler_wl_F77='-Wl,';;
14116 lt_prog_compiler_wl_F77='-Qoption ld '
14117 lt_prog_compiler_pic_F77='-PIC'
14118 lt_prog_compiler_static_F77='-Bstatic'
14121 sysv4 | sysv4.2uw2* | sysv4.3*)
14122 lt_prog_compiler_wl_F77='-Wl,'
14123 lt_prog_compiler_pic_F77='-KPIC'
14124 lt_prog_compiler_static_F77='-Bstatic'
14128 if test -d /usr/nec ;then
14129 lt_prog_compiler_pic_F77='-Kconform_pic'
14130 lt_prog_compiler_static_F77='-Bstatic'
14134 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14135 lt_prog_compiler_wl_F77='-Wl,'
14136 lt_prog_compiler_pic_F77='-KPIC'
14137 lt_prog_compiler_static_F77='-Bstatic'
14141 lt_prog_compiler_wl_F77='-Wl,'
14142 lt_prog_compiler_can_build_shared_F77=no
14146 lt_prog_compiler_pic_F77='-pic'
14147 lt_prog_compiler_static_F77='-Bstatic'
14151 lt_prog_compiler_can_build_shared_F77=no
14156 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14157 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14160 # Check to make sure the PIC flag actually works.
14162 if test -n "$lt_prog_compiler_pic_F77"; then
14164 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14165 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14166 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 lt_prog_compiler_pic_works_F77=no
14170 ac_outfile=conftest.$ac_objext
14171 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14172 lt_compiler_flag="$lt_prog_compiler_pic_F77"
14173 # Insert the option either (1) after the last *FLAGS variable, or
14174 # (2) before a word containing "conftest.", or (3) at the end.
14175 # Note that $ac_compile itself does not contain backslashes and begins
14176 # with a dollar sign (not a hyphen), so the echo should work correctly.
14177 # The option is referenced via a variable to avoid confusing sed.
14178 lt_compile=`echo "$ac_compile" | $SED \
14179 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14180 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14181 -e 's:$: $lt_compiler_flag:'`
14182 (eval echo "\"\$as_me:14182: $lt_compile\"" >&5)
14183 (eval "$lt_compile" 2>conftest.err)
14185 cat conftest.err >&5
14186 echo "$as_me:14186: \$? = $ac_status" >&5
14187 if (exit $ac_status) && test -s "$ac_outfile"; then
14188 # The compiler can only warn and ignore the option if not recognized
14189 # So say no if there are warnings other than the usual output.
14190 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14191 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14192 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14193 lt_prog_compiler_pic_works_F77=yes
14199 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14200 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14202 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14203 case $lt_prog_compiler_pic_F77 in
14205 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14208 lt_prog_compiler_pic_F77=
14209 lt_prog_compiler_can_build_shared_F77=no
14214 # For platforms which do not support PIC, -DPIC is meaningless:
14216 lt_prog_compiler_pic_F77=
14219 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14224 # Check to make sure the static flag actually works.
14226 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14227 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14228 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14229 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 lt_prog_compiler_static_works_F77=no
14233 save_LDFLAGS="$LDFLAGS"
14234 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14235 printf "$lt_simple_link_test_code" > conftest.$ac_ext
14236 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14237 # The linker can only warn and ignore the option if not recognized
14238 # So say no if there are warnings
14239 if test -s conftest.err; then
14240 # Append any errors to the config.log.
14241 cat conftest.err 1>&5
14242 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14244 if diff conftest.exp conftest.er2 >/dev/null; then
14245 lt_prog_compiler_static_works_F77=yes
14248 lt_prog_compiler_static_works_F77=yes
14252 LDFLAGS="$save_LDFLAGS"
14255 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14256 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14258 if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14261 lt_prog_compiler_static_F77=
14265 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14266 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14267 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14268 echo $ECHO_N "(cached) $ECHO_C" >&6
14270 lt_cv_prog_compiler_c_o_F77=no
14271 $rm -r conftest 2>/dev/null
14275 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14277 lt_compiler_flag="-o out/conftest2.$ac_objext"
14278 # Insert the option either (1) after the last *FLAGS variable, or
14279 # (2) before a word containing "conftest.", or (3) at the end.
14280 # Note that $ac_compile itself does not contain backslashes and begins
14281 # with a dollar sign (not a hyphen), so the echo should work correctly.
14282 lt_compile=`echo "$ac_compile" | $SED \
14283 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14284 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14285 -e 's:$: $lt_compiler_flag:'`
14286 (eval echo "\"\$as_me:14286: $lt_compile\"" >&5)
14287 (eval "$lt_compile" 2>out/conftest.err)
14289 cat out/conftest.err >&5
14290 echo "$as_me:14290: \$? = $ac_status" >&5
14291 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14293 # The compiler can only warn and ignore the option if not recognized
14294 # So say no if there are warnings
14295 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14296 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14297 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14298 lt_cv_prog_compiler_c_o_F77=yes
14303 # SGI C++ compiler will create directory out/ii_files/ for
14304 # template instantiation
14305 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14306 $rm out/* && rmdir out
14312 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14313 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14316 hard_links="nottested"
14317 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14318 # do not overwrite the value of need_locks provided by the user
14319 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14320 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14323 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14325 ln conftest.a conftest.b 2>&5 || hard_links=no
14326 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14327 { echo "$as_me:$LINENO: result: $hard_links" >&5
14328 echo "${ECHO_T}$hard_links" >&6; }
14329 if test "$hard_links" = no; then
14330 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14331 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14338 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14339 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14342 allow_undefined_flag_F77=
14343 enable_shared_with_static_runtimes_F77=no
14345 archive_expsym_cmds_F77=
14346 old_archive_From_new_cmds_F77=
14347 old_archive_from_expsyms_cmds_F77=
14348 export_dynamic_flag_spec_F77=
14349 whole_archive_flag_spec_F77=
14350 thread_safe_flag_spec_F77=
14351 hardcode_libdir_flag_spec_F77=
14352 hardcode_libdir_flag_spec_ld_F77=
14353 hardcode_libdir_separator_F77=
14354 hardcode_direct_F77=no
14355 hardcode_minus_L_F77=no
14356 hardcode_shlibpath_var_F77=unsupported
14357 link_all_deplibs_F77=unknown
14358 hardcode_automatic_F77=no
14360 module_expsym_cmds_F77=
14361 always_export_symbols_F77=no
14362 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14363 # include_expsyms should be a list of space-separated symbols to be *always*
14364 # included in the symbol list
14365 include_expsyms_F77=
14366 # exclude_expsyms can be an extended regexp of symbols to exclude
14367 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14368 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14369 # as well as any symbol that contains `d'.
14370 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14371 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14372 # platforms (ab)use it in PIC code, but their linkers get confused if
14373 # the symbol is explicitly referenced. Since portable code cannot
14374 # rely on this symbol name, it's probably fine to never include it in
14375 # preloaded symbol tables.
14376 extract_expsyms_cmds=
14377 # Just being paranoid about ensuring that cc_basename is set.
14378 for cc_temp in $compiler""; do
14380 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14381 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14386 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14389 cygwin* | mingw* | pw32*)
14390 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14391 # When not using gcc, we currently assume that we are using
14392 # Microsoft Visual C++.
14393 if test "$GCC" != yes; then
14398 # we just hope/assume this is gcc and not c89 (= MSVC++)
14407 if test "$with_gnu_ld" = yes; then
14408 # If archive_cmds runs LD, not CC, wlarc should be empty
14411 # Set some defaults for GNU ld with shared library support. These
14412 # are reset later if shared libraries are not supported. Putting them
14413 # here allows them to be overridden if necessary.
14414 runpath_var=LD_RUN_PATH
14415 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14416 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14417 # ancient GNU ld didn't support --whole-archive et. al.
14418 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14419 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14421 whole_archive_flag_spec_F77=
14423 supports_anon_versioning=no
14424 case `$LD -v 2>/dev/null` in
14425 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14426 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14427 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14428 *\ 2.11.*) ;; # other 2.11 versions
14429 *) supports_anon_versioning=yes ;;
14432 # See if GNU ld supports shared libraries.
14434 aix3* | aix4* | aix5*)
14435 # On AIX/PPC, the GNU linker is very broken
14436 if test "$host_cpu" != ia64; then
14440 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14441 *** to be unable to reliably create shared libraries on AIX.
14442 *** Therefore, libtool is disabling shared libraries support. If you
14443 *** really care for shared libraries, you may want to modify your PATH
14444 *** so that a non-GNU linker is found, and then restart.
14451 archive_cmds_F77='$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)'
14452 hardcode_libdir_flag_spec_F77='-L$libdir'
14453 hardcode_minus_L_F77=yes
14455 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14456 # that the semantics of dynamic libraries on AmigaOS, at least up
14457 # to version 4, is to share data among multiple programs linked
14458 # with the same dynamic library. Since this doesn't match the
14459 # behavior of shared libraries on other platforms, we can't use
14465 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14466 allow_undefined_flag_F77=unsupported
14467 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14468 # support --undefined. This deserves some investigation. FIXME
14469 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14475 cygwin* | mingw* | pw32*)
14476 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14477 # as there is no search path for DLLs.
14478 hardcode_libdir_flag_spec_F77='-L$libdir'
14479 allow_undefined_flag_F77=unsupported
14480 always_export_symbols_F77=no
14481 enable_shared_with_static_runtimes_F77=yes
14482 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14484 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14485 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14486 # If the export-symbols file already is a .def file (1st line
14487 # is EXPORTS), use it as is; otherwise, prepend...
14488 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14489 cp $export_symbols $output_objdir/$soname.def;
14491 echo EXPORTS > $output_objdir/$soname.def;
14492 cat $export_symbols >> $output_objdir/$soname.def;
14494 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14501 hardcode_direct_F77=no
14502 hardcode_shlibpath_var_F77=no
14503 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14504 export_dynamic_flag_spec_F77='${wl}-E'
14505 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14506 # Instead, shared libraries are loaded at an image base (0x10000000 by
14507 # default) and relocated if they conflict, which is a slow very memory
14508 # consuming and fragmenting process. To avoid this, we pick a random,
14509 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14510 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14511 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14512 archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14515 linux* | k*bsd*-gnu)
14516 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14518 case $cc_basename,$host_cpu in
14519 pgcc*) # Portland Group C compiler
14520 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14521 tmp_addflag=' $pic_flag'
14523 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14524 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14525 tmp_addflag=' $pic_flag -Mnomain' ;;
14526 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14527 tmp_addflag=' -i_dynamic' ;;
14528 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14529 tmp_addflag=' -i_dynamic -nofor_main' ;;
14530 ifc* | ifort*) # Intel Fortran compiler
14531 tmp_addflag=' -nofor_main' ;;
14533 archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14535 if test $supports_anon_versioning = yes; then
14536 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14537 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14538 $echo "local: *; };" >> $output_objdir/$libname.ver~
14539 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14541 link_all_deplibs_F77=no
14547 netbsd* | netbsdelf*-gnu)
14548 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14549 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14552 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14553 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14558 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14562 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14563 *** create shared libraries on Solaris systems. Therefore, libtool
14564 *** is disabling shared libraries support. We urge you to upgrade GNU
14565 *** binutils to release 2.9.1 or newer. Another option is to modify
14566 *** your PATH or compiler configuration so that the native linker is
14567 *** used, and then restart.
14570 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14571 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14572 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14578 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14579 case `$LD -v 2>&1` in
14580 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14584 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14585 *** reliably create shared libraries on SCO systems. Therefore, libtool
14586 *** is disabling shared libraries support. We urge you to upgrade GNU
14587 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14588 *** your PATH or compiler configuration so that the native linker is
14589 *** used, and then restart.
14594 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14595 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14596 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14597 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14606 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14608 hardcode_direct_F77=yes
14609 hardcode_shlibpath_var_F77=no
14613 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14614 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14615 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14622 if test "$ld_shlibs_F77" = no; then
14624 hardcode_libdir_flag_spec_F77=
14625 export_dynamic_flag_spec_F77=
14626 whole_archive_flag_spec_F77=
14629 # PORTME fill in a description of your system's linker (not GNU ld)
14632 allow_undefined_flag_F77=unsupported
14633 always_export_symbols_F77=yes
14634 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14635 # Note: this linker hardcodes the directories in LIBPATH if there
14636 # are no directories specified by -L.
14637 hardcode_minus_L_F77=yes
14638 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14639 # Neither direct hardcoding nor static linking is supported with a
14641 hardcode_direct_F77=unsupported
14646 if test "$host_cpu" = ia64; then
14647 # On IA64, the linker does run time linking by default, so we don't
14648 # have to do anything special.
14649 aix_use_runtimelinking=no
14650 exp_sym_flag='-Bexport'
14653 # If we're using GNU nm, then we don't want the "-C" option.
14654 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14655 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14656 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14658 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14660 aix_use_runtimelinking=no
14662 # Test if we are trying to use run time linking or normal
14663 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14664 # need to do runtime linking.
14665 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14666 for ld_flag in $LDFLAGS; do
14667 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14668 aix_use_runtimelinking=yes
14675 exp_sym_flag='-bexport'
14676 no_entry_flag='-bnoentry'
14679 # When large executables or shared objects are built, AIX ld can
14680 # have problems creating the table of contents. If linking a library
14681 # or program results in "error TOC overflow" add -mminimal-toc to
14682 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14683 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14685 archive_cmds_F77=''
14686 hardcode_direct_F77=yes
14687 hardcode_libdir_separator_F77=':'
14688 link_all_deplibs_F77=yes
14690 if test "$GCC" = yes; then
14691 case $host_os in aix4.[012]|aix4.[012].*)
14692 # We only want to do this on AIX 4.2 and lower, the check
14693 # below for broken collect2 doesn't work under 4.3+
14694 collect2name=`${CC} -print-prog-name=collect2`
14695 if test -f "$collect2name" && \
14696 strings "$collect2name" | grep resolve_lib_name >/dev/null
14698 # We have reworked collect2
14699 hardcode_direct_F77=yes
14701 # We have old collect2
14702 hardcode_direct_F77=unsupported
14703 # It fails to find uninstalled libraries when the uninstalled
14704 # path is not listed in the libpath. Setting hardcode_minus_L
14705 # to unsupported forces relinking
14706 hardcode_minus_L_F77=yes
14707 hardcode_libdir_flag_spec_F77='-L$libdir'
14708 hardcode_libdir_separator_F77=
14712 shared_flag='-shared'
14713 if test "$aix_use_runtimelinking" = yes; then
14714 shared_flag="$shared_flag "'${wl}-G'
14718 if test "$host_cpu" = ia64; then
14719 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14720 # chokes on -Wl,-G. The following line is correct:
14723 if test "$aix_use_runtimelinking" = yes; then
14724 shared_flag='${wl}-G'
14726 shared_flag='${wl}-bM:SRE'
14731 # It seems that -bexpall does not export symbols beginning with
14732 # underscore (_), so it is better to generate a list of symbols to export.
14733 always_export_symbols_F77=yes
14734 if test "$aix_use_runtimelinking" = yes; then
14735 # Warning - without using the other runtime loading flags (-brtl),
14736 # -berok will link without error, but may produce a broken library.
14737 allow_undefined_flag_F77='-berok'
14738 # Determine the default libpath from the value encoded in an empty executable.
14739 cat >conftest.$ac_ext <<_ACEOF
14744 rm -f conftest.$ac_objext conftest$ac_exeext
14745 if { (ac_try="$ac_link"
14746 case "(($ac_try" in
14747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14748 *) ac_try_echo=$ac_try;;
14750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14751 (eval "$ac_link") 2>conftest.er1
14753 grep -v '^ *+' conftest.er1 >conftest.err
14755 cat conftest.err >&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); } && {
14758 test -z "$ac_f77_werror_flag" ||
14759 test ! -s conftest.err
14760 } && test -s conftest$ac_exeext &&
14761 $as_test_x conftest$ac_exeext; then
14763 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14765 # Check for a 64-bit object if we didn't find anything.
14766 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14776 conftest$ac_exeext conftest.$ac_ext
14777 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14779 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14780 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14782 if test "$host_cpu" = ia64; then
14783 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14784 allow_undefined_flag_F77="-z nodefs"
14785 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14787 # Determine the default libpath from the value encoded in an empty executable.
14788 cat >conftest.$ac_ext <<_ACEOF
14793 rm -f conftest.$ac_objext conftest$ac_exeext
14794 if { (ac_try="$ac_link"
14795 case "(($ac_try" in
14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14797 *) ac_try_echo=$ac_try;;
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_link") 2>conftest.er1
14802 grep -v '^ *+' conftest.er1 >conftest.err
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } && {
14807 test -z "$ac_f77_werror_flag" ||
14808 test ! -s conftest.err
14809 } && test -s conftest$ac_exeext &&
14810 $as_test_x conftest$ac_exeext; then
14812 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14814 # Check for a 64-bit object if we didn't find anything.
14815 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.$ac_ext >&5
14824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14825 conftest$ac_exeext conftest.$ac_ext
14826 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14828 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14829 # Warning - without using the other run time loading flags,
14830 # -berok will link without error, but may produce a broken library.
14831 no_undefined_flag_F77=' ${wl}-bernotok'
14832 allow_undefined_flag_F77=' ${wl}-berok'
14833 # Exported symbols can be pulled into shared objects from archives
14834 whole_archive_flag_spec_F77='$convenience'
14835 archive_cmds_need_lc_F77=yes
14836 # This is similar to how AIX traditionally builds its shared libraries.
14837 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14843 archive_cmds_F77='$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)'
14844 hardcode_libdir_flag_spec_F77='-L$libdir'
14845 hardcode_minus_L_F77=yes
14846 # see comment about different semantics on the GNU ld section
14851 export_dynamic_flag_spec_F77=-rdynamic
14854 cygwin* | mingw* | pw32*)
14855 # When not using gcc, we currently assume that we are using
14856 # Microsoft Visual C++.
14857 # hardcode_libdir_flag_spec is actually meaningless, as there is
14858 # no search path for DLLs.
14859 hardcode_libdir_flag_spec_F77=' '
14860 allow_undefined_flag_F77=unsupported
14861 # Tell ltmain to make .lib files, not .a files.
14863 # Tell ltmain to make .dll files, not .so files.
14865 # FIXME: Setting linknames here is a bad hack.
14866 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14867 # The linker will automatically build a .lib file if we build a DLL.
14868 old_archive_From_new_cmds_F77='true'
14869 # FIXME: Should let the user specify the lib program.
14870 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14871 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14872 enable_shared_with_static_runtimes_F77=yes
14875 darwin* | rhapsody*)
14877 rhapsody* | darwin1.[012])
14878 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14881 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14882 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14884 case ${MACOSX_DEPLOYMENT_TARGET} in
14886 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14889 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14895 archive_cmds_need_lc_F77=no
14896 hardcode_direct_F77=no
14897 hardcode_automatic_F77=yes
14898 hardcode_shlibpath_var_F77=unsupported
14899 whole_archive_flag_spec_F77=''
14900 link_all_deplibs_F77=yes
14901 if test "$GCC" = yes ; then
14902 output_verbose_link_cmd='echo'
14903 archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14904 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14905 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14906 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14907 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14909 case $cc_basename in
14911 output_verbose_link_cmd='echo'
14912 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14913 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14914 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14915 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14916 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14926 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14927 hardcode_libdir_flag_spec_F77='-L$libdir'
14928 hardcode_shlibpath_var_F77=no
14935 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14936 # support. Future versions do this automatically, but an explicit c++rt0.o
14937 # does not break anything, and helps significantly (at the cost of a little
14940 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14941 hardcode_libdir_flag_spec_F77='-R$libdir'
14942 hardcode_direct_F77=yes
14943 hardcode_shlibpath_var_F77=no
14946 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14948 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14949 hardcode_direct_F77=yes
14950 hardcode_minus_L_F77=yes
14951 hardcode_shlibpath_var_F77=no
14954 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14955 freebsd* | dragonfly*)
14956 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14957 hardcode_libdir_flag_spec_F77='-R$libdir'
14958 hardcode_direct_F77=yes
14959 hardcode_shlibpath_var_F77=no
14963 if test "$GCC" = yes; then
14964 archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14966 archive_cmds_F77='$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'
14968 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14969 hardcode_libdir_separator_F77=:
14970 hardcode_direct_F77=yes
14972 # hardcode_minus_L: Not really in the search PATH,
14973 # but as the default location of the library.
14974 hardcode_minus_L_F77=yes
14975 export_dynamic_flag_spec_F77='${wl}-E'
14979 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14980 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14982 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14984 if test "$with_gnu_ld" = no; then
14985 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14986 hardcode_libdir_separator_F77=:
14988 hardcode_direct_F77=yes
14989 export_dynamic_flag_spec_F77='${wl}-E'
14991 # hardcode_minus_L: Not really in the search PATH,
14992 # but as the default location of the library.
14993 hardcode_minus_L_F77=yes
14998 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15001 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15004 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15007 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15013 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15016 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15019 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15023 if test "$with_gnu_ld" = no; then
15024 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15025 hardcode_libdir_separator_F77=:
15029 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15030 hardcode_direct_F77=no
15031 hardcode_shlibpath_var_F77=no
15034 hardcode_direct_F77=yes
15035 export_dynamic_flag_spec_F77='${wl}-E'
15037 # hardcode_minus_L: Not really in the search PATH,
15038 # but as the default location of the library.
15039 hardcode_minus_L_F77=yes
15045 irix5* | irix6* | nonstopux*)
15046 if test "$GCC" = yes; then
15047 archive_cmds_F77='$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'
15049 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15050 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15052 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15053 hardcode_libdir_separator_F77=:
15054 link_all_deplibs_F77=yes
15057 netbsd* | netbsdelf*-gnu)
15058 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15059 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15061 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15063 hardcode_libdir_flag_spec_F77='-R$libdir'
15064 hardcode_direct_F77=yes
15065 hardcode_shlibpath_var_F77=no
15069 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15070 hardcode_direct_F77=yes
15071 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15072 hardcode_libdir_separator_F77=:
15073 hardcode_shlibpath_var_F77=no
15077 hardcode_direct_F77=yes
15078 hardcode_shlibpath_var_F77=no
15079 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15080 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15081 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15082 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15083 export_dynamic_flag_spec_F77='${wl}-E'
15086 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15087 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15088 hardcode_libdir_flag_spec_F77='-R$libdir'
15091 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15092 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15099 hardcode_libdir_flag_spec_F77='-L$libdir'
15100 hardcode_minus_L_F77=yes
15101 allow_undefined_flag_F77=unsupported
15102 archive_cmds_F77='$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'
15103 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15107 if test "$GCC" = yes; then
15108 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15109 archive_cmds_F77='$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'
15111 allow_undefined_flag_F77=' -expect_unresolved \*'
15112 archive_cmds_F77='$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'
15114 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15115 hardcode_libdir_separator_F77=:
15118 osf4* | osf5*) # as osf3* with the addition of -msym flag
15119 if test "$GCC" = yes; then
15120 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15121 archive_cmds_F77='$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'
15122 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15124 allow_undefined_flag_F77=' -expect_unresolved \*'
15125 archive_cmds_F77='$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'
15126 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15127 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15129 # Both c and cxx compiler support -rpath directly
15130 hardcode_libdir_flag_spec_F77='-rpath $libdir'
15132 hardcode_libdir_separator_F77=:
15136 no_undefined_flag_F77=' -z text'
15137 if test "$GCC" = yes; then
15139 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15140 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15141 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15144 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15145 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15146 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15148 hardcode_libdir_flag_spec_F77='-R$libdir'
15149 hardcode_shlibpath_var_F77=no
15151 solaris2.[0-5] | solaris2.[0-5].*) ;;
15153 # The compiler driver will combine linker options so we
15154 # cannot just pass the convience library names through
15155 # without $wl, iff we do not link with $LD.
15156 # Luckily, gcc supports the same syntax we need for Sun Studio.
15157 # Supported since Solaris 2.6 (maybe 2.5.1?)
15160 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15162 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15165 link_all_deplibs_F77=yes
15169 if test "x$host_vendor" = xsequent; then
15170 # Use $CC to link under sequent, because it throws in some extra .o
15171 # files that make .init and .fini sections work.
15172 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15174 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15176 hardcode_libdir_flag_spec_F77='-L$libdir'
15177 hardcode_direct_F77=yes
15178 hardcode_minus_L_F77=yes
15179 hardcode_shlibpath_var_F77=no
15183 case $host_vendor in
15185 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15186 hardcode_direct_F77=yes # is this really true???
15189 ## LD is ld it makes a PLAMLIB
15190 ## CC just makes a GrossModule.
15191 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15192 reload_cmds_F77='$CC -r -o $output$reload_objs'
15193 hardcode_direct_F77=no
15196 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15197 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15200 runpath_var='LD_RUN_PATH'
15201 hardcode_shlibpath_var_F77=no
15205 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15206 hardcode_shlibpath_var_F77=no
15207 export_dynamic_flag_spec_F77='-Bexport'
15211 if test -d /usr/nec; then
15212 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15213 hardcode_shlibpath_var_F77=no
15214 runpath_var=LD_RUN_PATH
15215 hardcode_runpath_var=yes
15220 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15221 no_undefined_flag_F77='${wl}-z,text'
15222 archive_cmds_need_lc_F77=no
15223 hardcode_shlibpath_var_F77=no
15224 runpath_var='LD_RUN_PATH'
15226 if test "$GCC" = yes; then
15227 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15228 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15230 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15231 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15235 sysv5* | sco3.2v5* | sco5v6*)
15236 # Note: We can NOT use -z defs as we might desire, because we do not
15237 # link with -lc, and that would cause any symbols used from libc to
15238 # always be unresolved, which means just about no library would
15239 # ever link correctly. If we're not using GNU ld we use -z text
15240 # though, which does catch some bad symbols but isn't as heavy-handed
15242 no_undefined_flag_F77='${wl}-z,text'
15243 allow_undefined_flag_F77='${wl}-z,nodefs'
15244 archive_cmds_need_lc_F77=no
15245 hardcode_shlibpath_var_F77=no
15246 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15247 hardcode_libdir_separator_F77=':'
15248 link_all_deplibs_F77=yes
15249 export_dynamic_flag_spec_F77='${wl}-Bexport'
15250 runpath_var='LD_RUN_PATH'
15252 if test "$GCC" = yes; then
15253 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15254 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15256 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15257 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15262 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15263 hardcode_libdir_flag_spec_F77='-L$libdir'
15264 hardcode_shlibpath_var_F77=no
15273 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15274 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15275 test "$ld_shlibs_F77" = no && can_build_shared=no
15278 # Do we need to explicitly link libc?
15280 case "x$archive_cmds_need_lc_F77" in
15282 # Assume -lc should be added
15283 archive_cmds_need_lc_F77=yes
15285 if test "$enable_shared" = yes && test "$GCC" = yes; then
15286 case $archive_cmds_F77 in
15288 # FIXME: we may have to deal with multi-command sequences.
15291 # Test whether the compiler implicitly links with -lc since on some
15292 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15293 # to ld, don't add -lc before -lgcc.
15294 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15295 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15297 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300 (eval $ac_compile) 2>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } 2>conftest.err; then
15306 libobjs=conftest.$ac_objext
15308 wl=$lt_prog_compiler_wl_F77
15309 pic_flag=$lt_prog_compiler_pic_F77
15315 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15316 allow_undefined_flag_F77=
15317 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15318 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }
15323 archive_cmds_need_lc_F77=no
15325 archive_cmds_need_lc_F77=yes
15327 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15329 cat conftest.err 1>&5
15332 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15333 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15340 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15341 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15342 library_names_spec=
15343 libname_spec='lib$name'
15347 postuninstall_cmds=
15351 shlibpath_overrides_runpath=unknown
15353 dynamic_linker="$host_os ld.so"
15354 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15355 if test "$GCC" = yes; then
15356 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15357 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15358 # if the path contains ";" then we assume it to be the separator
15359 # otherwise default to the standard path separator (i.e. ":") - it is
15360 # assumed that no part of a normal pathname contains ";" but that should
15361 # okay in the real world where ";" in dirpaths is itself problematic.
15362 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15364 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15367 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15369 need_lib_prefix=unknown
15370 hardcode_into_libs=no
15372 # when you set need_version to no, make sure it does not cause -set_version
15373 # flags to be left without arguments
15374 need_version=unknown
15379 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15380 shlibpath_var=LIBPATH
15382 # AIX 3 has no versioning support, so we append a major version to the name.
15383 soname_spec='${libname}${release}${shared_ext}$major'
15390 hardcode_into_libs=yes
15391 if test "$host_cpu" = ia64; then
15392 # AIX 5 supports IA64
15393 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15394 shlibpath_var=LD_LIBRARY_PATH
15396 # With GCC up to 2.95.x, collect2 would create an import file
15397 # for dependence libraries. The import file would start with
15398 # the line `#! .'. This would cause the generated library to
15399 # depend on `.', always an invalid library. This was fixed in
15400 # development snapshots of GCC prior to 3.0.
15402 aix4 | aix4.[01] | aix4.[01].*)
15403 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15405 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15408 can_build_shared=no
15412 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15413 # soname into executable. Probably we can add versioning support to
15414 # collect2, so additional links can be useful in future.
15415 if test "$aix_use_runtimelinking" = yes; then
15416 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15417 # instead of lib<name>.a to let people know that these are not
15418 # typical AIX shared libraries.
15419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15421 # We preserve .a as extension for shared libraries through AIX4.2
15422 # and later when we are not doing run time linking.
15423 library_names_spec='${libname}${release}.a $libname.a'
15424 soname_spec='${libname}${release}${shared_ext}$major'
15426 shlibpath_var=LIBPATH
15431 library_names_spec='$libname.ixlibrary $libname.a'
15432 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15433 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'
15437 library_names_spec='${libname}${shared_ext}'
15438 dynamic_linker="$host_os ld.so"
15439 shlibpath_var=LIBRARY_PATH
15445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15446 soname_spec='${libname}${release}${shared_ext}$major'
15447 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15448 shlibpath_var=LD_LIBRARY_PATH
15449 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15450 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15451 # the default ld.so.conf also contains /usr/contrib/lib and
15452 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15453 # libtool to hard-code these into programs
15456 cygwin* | mingw* | pw32*)
15457 version_type=windows
15462 case $GCC,$host_os in
15463 yes,cygwin* | yes,mingw* | yes,pw32*)
15464 library_names_spec='$libname.dll.a'
15465 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15466 postinstall_cmds='base_file=`basename \${file}`~
15467 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15468 dldir=$destdir/`dirname \$dlpath`~
15469 test -d \$dldir || mkdir -p \$dldir~
15470 $install_prog $dir/$dlname \$dldir/$dlname~
15471 chmod a+x \$dldir/$dlname'
15472 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15473 dlpath=$dir/\$dldll~
15475 shlibpath_overrides_runpath=yes
15479 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15480 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15481 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15484 # MinGW DLLs use traditional 'lib' prefix
15485 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15486 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15487 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15488 # It is most probably a Windows format PATH printed by
15489 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15490 # path with ; separators, and with drive letters. We can handle the
15491 # drive letters (cygwin fileutils understands them), so leave them,
15492 # especially as we might pass files found there to a mingw objdump,
15493 # which wouldn't understand a cygwinified path. Ahh.
15494 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15496 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15500 # pw32 DLLs use 'pw' prefix rather than 'lib'
15501 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15507 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15510 dynamic_linker='Win32 ld.exe'
15511 # FIXME: first we should search . and the directory the executable is in
15515 darwin* | rhapsody*)
15516 dynamic_linker="$host_os dyld"
15517 version_type=darwin
15520 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15521 soname_spec='${libname}${release}${major}$shared_ext'
15522 shlibpath_overrides_runpath=yes
15523 shlibpath_var=DYLD_LIBRARY_PATH
15524 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15525 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15526 if test "$GCC" = yes; then
15527 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15529 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15531 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15539 soname_spec='${libname}${release}${shared_ext}$major'
15540 shlibpath_var=LD_LIBRARY_PATH
15547 freebsd* | dragonfly*)
15548 # DragonFly does not have aout. When/if they implement a new
15549 # versioning mechanism, adjust this.
15550 if test -x /usr/bin/objformat; then
15551 objformat=`/usr/bin/objformat`
15554 freebsd[123]*) objformat=aout ;;
15555 *) objformat=elf ;;
15558 version_type=freebsd-$objformat
15559 case $version_type in
15561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15566 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15570 shlibpath_var=LD_LIBRARY_PATH
15573 shlibpath_overrides_runpath=yes
15575 freebsd3.[01]* | freebsdelf3.[01]*)
15576 shlibpath_overrides_runpath=yes
15577 hardcode_into_libs=yes
15579 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15580 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15581 shlibpath_overrides_runpath=no
15582 hardcode_into_libs=yes
15584 freebsd*) # from 4.6 on
15585 shlibpath_overrides_runpath=yes
15586 hardcode_into_libs=yes
15595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15596 soname_spec='${libname}${release}${shared_ext}$major'
15597 shlibpath_var=LD_LIBRARY_PATH
15598 hardcode_into_libs=yes
15601 hpux9* | hpux10* | hpux11*)
15602 # Give a soname corresponding to the major version so that dld.sl refuses to
15603 # link against other versions.
15610 hardcode_into_libs=yes
15611 dynamic_linker="$host_os dld.so"
15612 shlibpath_var=LD_LIBRARY_PATH
15613 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15615 soname_spec='${libname}${release}${shared_ext}$major'
15616 if test "X$HPUX_IA64_MODE" = X32; then
15617 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15619 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15621 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15625 hardcode_into_libs=yes
15626 dynamic_linker="$host_os dld.sl"
15627 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15628 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15630 soname_spec='${libname}${release}${shared_ext}$major'
15631 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15632 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15636 dynamic_linker="$host_os dld.sl"
15637 shlibpath_var=SHLIB_PATH
15638 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15640 soname_spec='${libname}${release}${shared_ext}$major'
15643 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15644 postinstall_cmds='chmod 555 $lib'
15651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15652 soname_spec='${libname}${release}${shared_ext}$major'
15653 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15654 shlibpath_var=LD_LIBRARY_PATH
15655 shlibpath_overrides_runpath=no
15656 hardcode_into_libs=yes
15659 irix5* | irix6* | nonstopux*)
15661 nonstopux*) version_type=nonstopux ;;
15663 if test "$lt_cv_prog_gnu_ld" = yes; then
15671 soname_spec='${libname}${release}${shared_ext}$major'
15672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15674 irix5* | nonstopux*)
15675 libsuff= shlibsuff=
15678 case $LD in # libtool.m4 will add one of these switches to LD
15679 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15680 libsuff= shlibsuff= libmagic=32-bit;;
15681 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15682 libsuff=32 shlibsuff=N32 libmagic=N32;;
15683 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15684 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15685 *) libsuff= shlibsuff= libmagic=never-match;;
15689 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15690 shlibpath_overrides_runpath=no
15691 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15692 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15693 hardcode_into_libs=yes
15696 # No shared lib support for Linux oldld, aout, or coff.
15697 linux*oldld* | linux*aout* | linux*coff*)
15701 # This must be Linux ELF.
15702 linux* | k*bsd*-gnu)
15706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15707 soname_spec='${libname}${release}${shared_ext}$major'
15708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15709 shlibpath_var=LD_LIBRARY_PATH
15710 shlibpath_overrides_runpath=no
15711 # This implies no fast_install, which is unacceptable.
15712 # Some rework will be needed to allow for fast_install
15713 # before this can be enabled.
15714 hardcode_into_libs=yes
15716 # Append ld.so.conf contents to the search path
15717 if test -f /etc/ld.so.conf; then
15718 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15719 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15722 # We used to test for /lib/ld.so.1 and disable shared libraries on
15723 # powerpc, because MkLinux only supported shared libraries with the
15724 # GNU dynamic linker. Since this was broken with cross compilers,
15725 # most powerpc-linux boxes support dynamic linking these days and
15726 # people can always --disable-shared, the test was removed, and we
15727 # assume the GNU/Linux dynamic linker is in use.
15728 dynamic_linker='GNU/Linux ld.so'
15735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15736 soname_spec='${libname}${release}${shared_ext}$major'
15737 shlibpath_var=LD_LIBRARY_PATH
15738 shlibpath_overrides_runpath=no
15739 hardcode_into_libs=yes
15740 dynamic_linker='NetBSD ld.elf_so'
15747 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15750 dynamic_linker='NetBSD (a.out) ld.so'
15752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15753 soname_spec='${libname}${release}${shared_ext}$major'
15754 dynamic_linker='NetBSD ld.elf_so'
15756 shlibpath_var=LD_LIBRARY_PATH
15757 shlibpath_overrides_runpath=yes
15758 hardcode_into_libs=yes
15763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15764 shlibpath_var=LD_LIBRARY_PATH
15765 shlibpath_overrides_runpath=yes
15772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15773 soname_spec='${libname}${release}${shared_ext}$major'
15774 shlibpath_var=LD_LIBRARY_PATH
15775 shlibpath_overrides_runpath=yes
15780 sys_lib_dlsearch_path_spec="/usr/lib"
15782 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15784 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15785 *) need_version=no ;;
15787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15788 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15789 shlibpath_var=LD_LIBRARY_PATH
15790 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15792 openbsd2.[89] | openbsd2.[89].*)
15793 shlibpath_overrides_runpath=no
15796 shlibpath_overrides_runpath=yes
15800 shlibpath_overrides_runpath=yes
15805 libname_spec='$name'
15808 library_names_spec='$libname${shared_ext} $libname.a'
15809 dynamic_linker='OS/2 ld.exe'
15810 shlibpath_var=LIBPATH
15813 osf3* | osf4* | osf5*)
15817 soname_spec='${libname}${release}${shared_ext}$major'
15818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15819 shlibpath_var=LD_LIBRARY_PATH
15820 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15821 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15829 soname_spec='${libname}${release}${shared_ext}$major'
15830 shlibpath_var=LD_LIBRARY_PATH
15831 shlibpath_overrides_runpath=yes
15832 hardcode_into_libs=yes
15833 # ldd complains unless libraries are executable
15834 postinstall_cmds='chmod +x $lib'
15839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15840 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15841 shlibpath_var=LD_LIBRARY_PATH
15842 shlibpath_overrides_runpath=yes
15843 if test "$with_gnu_ld" = yes; then
15851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15852 soname_spec='${libname}${release}${shared_ext}$major'
15853 shlibpath_var=LD_LIBRARY_PATH
15854 case $host_vendor in
15856 shlibpath_overrides_runpath=no
15858 export_dynamic_flag_spec='${wl}-Blargedynsym'
15859 runpath_var=LD_RUN_PATH
15867 shlibpath_overrides_runpath=no
15868 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15874 if test -d /usr/nec ;then
15876 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15877 soname_spec='$libname${shared_ext}.$major'
15878 shlibpath_var=LD_LIBRARY_PATH
15882 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15883 version_type=freebsd-elf
15886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15887 soname_spec='${libname}${release}${shared_ext}$major'
15888 shlibpath_var=LD_LIBRARY_PATH
15889 hardcode_into_libs=yes
15890 if test "$with_gnu_ld" = yes; then
15891 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15892 shlibpath_overrides_runpath=no
15894 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15895 shlibpath_overrides_runpath=yes
15898 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15902 sys_lib_dlsearch_path_spec='/usr/lib'
15907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15908 soname_spec='${libname}${release}${shared_ext}$major'
15909 shlibpath_var=LD_LIBRARY_PATH
15916 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15917 echo "${ECHO_T}$dynamic_linker" >&6; }
15918 test "$dynamic_linker" = no && can_build_shared=no
15920 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15921 if test "$GCC" = yes; then
15922 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15925 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15926 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15927 hardcode_action_F77=
15928 if test -n "$hardcode_libdir_flag_spec_F77" || \
15929 test -n "$runpath_var_F77" || \
15930 test "X$hardcode_automatic_F77" = "Xyes" ; then
15932 # We can hardcode non-existant directories.
15933 if test "$hardcode_direct_F77" != no &&
15934 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15935 # have to relink, otherwise we might link with an installed library
15936 # when we should be linking with a yet-to-be-installed one
15937 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15938 test "$hardcode_minus_L_F77" != no; then
15939 # Linking always hardcodes the temporary library directory.
15940 hardcode_action_F77=relink
15942 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15943 hardcode_action_F77=immediate
15946 # We cannot hardcode anything, or else we can only hardcode existing
15948 hardcode_action_F77=unsupported
15950 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15951 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15953 if test "$hardcode_action_F77" = relink; then
15954 # Fast installation is not supported
15955 enable_fast_install=no
15956 elif test "$shlibpath_overrides_runpath" = yes ||
15957 test "$enable_shared" = no; then
15958 # Fast installation is not necessary
15959 enable_fast_install=needless
15963 # The else clause should only fire when bootstrapping the
15964 # libtool distribution, otherwise you forgot to ship ltmain.sh
15965 # with your package, and you will get complaints that there are
15966 # no rules to generate ltmain.sh.
15967 if test -f "$ltmain"; then
15968 # See if we are running on zsh, and set the options which allow our commands through
15969 # without removal of \ escapes.
15970 if test -n "${ZSH_VERSION+set}" ; then
15971 setopt NO_GLOB_SUBST
15973 # Now quote all the things that may contain metacharacters while being
15974 # careful not to overquote the AC_SUBSTed values. We take copies of the
15975 # variables and quote the copies for generation of the libtool script.
15976 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15978 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15979 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15980 deplibs_check_method reload_flag reload_cmds need_locks \
15981 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15982 lt_cv_sys_global_symbol_to_c_name_address \
15983 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15984 old_postinstall_cmds old_postuninstall_cmds \
15988 lt_prog_compiler_wl_F77 \
15989 lt_prog_compiler_pic_F77 \
15990 lt_prog_compiler_static_F77 \
15991 lt_prog_compiler_no_builtin_flag_F77 \
15992 export_dynamic_flag_spec_F77 \
15993 thread_safe_flag_spec_F77 \
15994 whole_archive_flag_spec_F77 \
15995 enable_shared_with_static_runtimes_F77 \
15996 old_archive_cmds_F77 \
15997 old_archive_from_new_cmds_F77 \
15998 predep_objects_F77 \
15999 postdep_objects_F77 \
16002 compiler_lib_search_path_F77 \
16004 archive_expsym_cmds_F77 \
16005 postinstall_cmds_F77 \
16006 postuninstall_cmds_F77 \
16007 old_archive_from_expsyms_cmds_F77 \
16008 allow_undefined_flag_F77 \
16009 no_undefined_flag_F77 \
16010 export_symbols_cmds_F77 \
16011 hardcode_libdir_flag_spec_F77 \
16012 hardcode_libdir_flag_spec_ld_F77 \
16013 hardcode_libdir_separator_F77 \
16014 hardcode_automatic_F77 \
16016 module_expsym_cmds_F77 \
16017 lt_cv_prog_compiler_c_o_F77 \
16018 exclude_expsyms_F77 \
16019 include_expsyms_F77; do
16022 old_archive_cmds_F77 | \
16023 old_archive_from_new_cmds_F77 | \
16024 archive_cmds_F77 | \
16025 archive_expsym_cmds_F77 | \
16026 module_cmds_F77 | \
16027 module_expsym_cmds_F77 | \
16028 old_archive_from_expsyms_cmds_F77 | \
16029 export_symbols_cmds_F77 | \
16030 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16031 postinstall_cmds | postuninstall_cmds | \
16032 old_postinstall_cmds | old_postuninstall_cmds | \
16033 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16034 # Double-quote double-evaled strings.
16035 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16038 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16044 *'\$0 --fallback-echo"')
16045 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16051 cat <<__EOF__ >> "$cfgfile"
16052 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16054 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16056 # Shell to use when invoking shell scripts.
16059 # Whether or not to build shared libraries.
16060 build_libtool_libs=$enable_shared
16062 # Whether or not to build static libraries.
16063 build_old_libs=$enable_static
16065 # Whether or not to add -lc for building shared libraries.
16066 build_libtool_need_lc=$archive_cmds_need_lc_F77
16068 # Whether or not to disallow shared libs when runtime libs are static
16069 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16071 # Whether or not to optimize for fast installation.
16072 fast_install=$enable_fast_install
16075 host_alias=$host_alias
16079 # The build system.
16080 build_alias=$build_alias
16084 # An echo program that does not interpret backslashes.
16089 AR_FLAGS=$lt_AR_FLAGS
16094 # LTCC compiler flags.
16095 LTCFLAGS=$lt_LTCFLAGS
16097 # A language-specific compiler.
16098 CC=$lt_compiler_F77
16100 # Is the compiler the GNU C compiler?
16106 # The linker used to build libraries.
16109 # Whether we need hard or soft links.
16112 # A BSD-compatible nm program.
16115 # A symbol stripping program
16118 # Used to examine libraries when file_magic_cmd begins "file"
16119 MAGIC_CMD=$MAGIC_CMD
16121 # Used on cygwin: DLL creation program.
16124 # Used on cygwin: object dumper.
16127 # Used on cygwin: assembler.
16130 # The name of the directory that contains temporary libtool files.
16133 # How to create reloadable object files.
16134 reload_flag=$lt_reload_flag
16135 reload_cmds=$lt_reload_cmds
16137 # How to pass a linker flag through the compiler.
16138 wl=$lt_lt_prog_compiler_wl_F77
16140 # Object file suffix (normally "o").
16141 objext="$ac_objext"
16143 # Old archive suffix (normally "a").
16146 # Shared library suffix (normally ".so").
16147 shrext_cmds='$shrext_cmds'
16149 # Executable file suffix (normally "").
16152 # Additional compiler flags for building library objects.
16153 pic_flag=$lt_lt_prog_compiler_pic_F77
16156 # What is the maximum length of a command?
16157 max_cmd_len=$lt_cv_sys_max_cmd_len
16159 # Does compiler simultaneously support -c and -o options?
16160 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16162 # Must we lock files when doing compilation?
16163 need_locks=$lt_need_locks
16165 # Do we need the lib prefix for modules?
16166 need_lib_prefix=$need_lib_prefix
16168 # Do we need a version for libraries?
16169 need_version=$need_version
16171 # Whether dlopen is supported.
16172 dlopen_support=$enable_dlopen
16174 # Whether dlopen of programs is supported.
16175 dlopen_self=$enable_dlopen_self
16177 # Whether dlopen of statically linked programs is supported.
16178 dlopen_self_static=$enable_dlopen_self_static
16180 # Compiler flag to prevent dynamic linking.
16181 link_static_flag=$lt_lt_prog_compiler_static_F77
16183 # Compiler flag to turn off builtin functions.
16184 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16186 # Compiler flag to allow reflexive dlopens.
16187 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16189 # Compiler flag to generate shared objects directly from archives.
16190 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16192 # Compiler flag to generate thread-safe objects.
16193 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16195 # Library versioning type.
16196 version_type=$version_type
16198 # Format of library name prefix.
16199 libname_spec=$lt_libname_spec
16201 # List of archive names. First name is the real one, the rest are links.
16202 # The last name is the one that the linker finds with -lNAME.
16203 library_names_spec=$lt_library_names_spec
16205 # The coded name of the library, if different from the real name.
16206 soname_spec=$lt_soname_spec
16208 # Commands used to build and install an old-style archive.
16210 old_archive_cmds=$lt_old_archive_cmds_F77
16211 old_postinstall_cmds=$lt_old_postinstall_cmds
16212 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16214 # Create an old-style archive from a shared archive.
16215 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16217 # Create a temporary old-style archive to link instead of a shared archive.
16218 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16220 # Commands used to build and install a shared archive.
16221 archive_cmds=$lt_archive_cmds_F77
16222 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16223 postinstall_cmds=$lt_postinstall_cmds
16224 postuninstall_cmds=$lt_postuninstall_cmds
16226 # Commands used to build a loadable module (assumed same as above if empty)
16227 module_cmds=$lt_module_cmds_F77
16228 module_expsym_cmds=$lt_module_expsym_cmds_F77
16230 # Commands to strip libraries.
16231 old_striplib=$lt_old_striplib
16232 striplib=$lt_striplib
16234 # Dependencies to place before the objects being linked to create a
16236 predep_objects=$lt_predep_objects_F77
16238 # Dependencies to place after the objects being linked to create a
16240 postdep_objects=$lt_postdep_objects_F77
16242 # Dependencies to place before the objects being linked to create a
16244 predeps=$lt_predeps_F77
16246 # Dependencies to place after the objects being linked to create a
16248 postdeps=$lt_postdeps_F77
16250 # The library search path used internally by the compiler when linking
16251 # a shared library.
16252 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16254 # Method to check whether dependent libraries are shared objects.
16255 deplibs_check_method=$lt_deplibs_check_method
16257 # Command to use when deplibs_check_method == file_magic.
16258 file_magic_cmd=$lt_file_magic_cmd
16260 # Flag that allows shared libraries with undefined symbols to be built.
16261 allow_undefined_flag=$lt_allow_undefined_flag_F77
16263 # Flag that forces no undefined symbols.
16264 no_undefined_flag=$lt_no_undefined_flag_F77
16266 # Commands used to finish a libtool library installation in a directory.
16267 finish_cmds=$lt_finish_cmds
16269 # Same as above, but a single script fragment to be evaled but not shown.
16270 finish_eval=$lt_finish_eval
16272 # Take the output of nm and produce a listing of raw symbols and C names.
16273 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16275 # Transform the output of nm in a proper C declaration
16276 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16278 # Transform the output of nm in a C name address pair
16279 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16281 # This is the shared library runtime path variable.
16282 runpath_var=$runpath_var
16284 # This is the shared library path variable.
16285 shlibpath_var=$shlibpath_var
16287 # Is shlibpath searched before the hard-coded library search path?
16288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16290 # How to hardcode a shared library path into an executable.
16291 hardcode_action=$hardcode_action_F77
16293 # Whether we should hardcode library paths into libraries.
16294 hardcode_into_libs=$hardcode_into_libs
16296 # Flag to hardcode \$libdir into a binary during linking.
16297 # This must work even if \$libdir does not exist.
16298 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16300 # If ld is used when linking, flag to hardcode \$libdir into
16301 # a binary during linking. This must work even if \$libdir does
16303 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16305 # Whether we need a single -rpath flag with a separated argument.
16306 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16308 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16309 # resulting binary.
16310 hardcode_direct=$hardcode_direct_F77
16312 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16313 # resulting binary.
16314 hardcode_minus_L=$hardcode_minus_L_F77
16316 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16317 # the resulting binary.
16318 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16320 # Set to yes if building a shared library automatically hardcodes DIR into the library
16321 # and all subsequent libraries and executables linked against it.
16322 hardcode_automatic=$hardcode_automatic_F77
16324 # Variables whose values should be saved in libtool wrapper scripts and
16325 # restored at relink time.
16326 variables_saved_for_relink="$variables_saved_for_relink"
16328 # Whether libtool must link a program against all its dependency libraries.
16329 link_all_deplibs=$link_all_deplibs_F77
16331 # Compile-time system search path for libraries
16332 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16334 # Run-time system search path for libraries
16335 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16337 # Fix the shell variable \$srcfile for the compiler.
16338 fix_srcfile_path="$fix_srcfile_path_F77"
16340 # Set to yes if exported symbols are required.
16341 always_export_symbols=$always_export_symbols_F77
16343 # The commands to list exported symbols.
16344 export_symbols_cmds=$lt_export_symbols_cmds_F77
16346 # The commands to extract the exported symbol list from a shared archive.
16347 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16349 # Symbols that should not be listed in the preloaded symbols.
16350 exclude_expsyms=$lt_exclude_expsyms_F77
16352 # Symbols that must always be exported.
16353 include_expsyms=$lt_include_expsyms_F77
16355 # ### END LIBTOOL TAG CONFIG: $tagname
16361 # If there is no Makefile yet, we rely on a make rule to execute
16362 # `config.status --recheck' to rerun these tests and create the
16363 # libtool script then.
16364 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16365 if test -f "$ltmain_in"; then
16366 test -f Makefile && make "$ltmain"
16372 ac_cpp='$CPP $CPPFLAGS'
16373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16385 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16388 # Source file extension for Java test sources.
16391 # Object file extension for compiled Java test sources.
16395 # Code to be used in simple compile tests
16396 lt_simple_compile_test_code="class foo {}\n"
16398 # Code to be used in simple link tests
16399 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16401 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16403 # If no C compiler was specified, use CC.
16406 # If no C compiler flags were specified, use CFLAGS.
16407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16409 # Allow CC to be a program name with arguments.
16413 # save warnings/boilerplate of simple test code
16414 ac_outfile=conftest.$ac_objext
16415 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16417 _lt_compiler_boilerplate=`cat conftest.err`
16420 ac_outfile=conftest.$ac_objext
16421 printf "$lt_simple_link_test_code" >conftest.$ac_ext
16422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16423 _lt_linker_boilerplate=`cat conftest.err`
16427 # Allow CC to be a program name with arguments.
16432 for cc_temp in $compiler""; do
16434 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16435 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16440 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16443 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16444 archive_cmds_need_lc_GCJ=no
16446 old_archive_cmds_GCJ=$old_archive_cmds
16449 lt_prog_compiler_no_builtin_flag_GCJ=
16451 if test "$GCC" = yes; then
16452 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16455 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16456 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16457 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 lt_cv_prog_compiler_rtti_exceptions=no
16461 ac_outfile=conftest.$ac_objext
16462 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16463 lt_compiler_flag="-fno-rtti -fno-exceptions"
16464 # Insert the option either (1) after the last *FLAGS variable, or
16465 # (2) before a word containing "conftest.", or (3) at the end.
16466 # Note that $ac_compile itself does not contain backslashes and begins
16467 # with a dollar sign (not a hyphen), so the echo should work correctly.
16468 # The option is referenced via a variable to avoid confusing sed.
16469 lt_compile=`echo "$ac_compile" | $SED \
16470 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16471 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16472 -e 's:$: $lt_compiler_flag:'`
16473 (eval echo "\"\$as_me:16473: $lt_compile\"" >&5)
16474 (eval "$lt_compile" 2>conftest.err)
16476 cat conftest.err >&5
16477 echo "$as_me:16477: \$? = $ac_status" >&5
16478 if (exit $ac_status) && test -s "$ac_outfile"; then
16479 # The compiler can only warn and ignore the option if not recognized
16480 # So say no if there are warnings other than the usual output.
16481 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16483 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16484 lt_cv_prog_compiler_rtti_exceptions=yes
16490 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16491 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16493 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16494 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16501 lt_prog_compiler_wl_GCJ=
16502 lt_prog_compiler_pic_GCJ=
16503 lt_prog_compiler_static_GCJ=
16505 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16506 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16508 if test "$GCC" = yes; then
16509 lt_prog_compiler_wl_GCJ='-Wl,'
16510 lt_prog_compiler_static_GCJ='-static'
16514 # All AIX code is PIC.
16515 if test "$host_cpu" = ia64; then
16516 # AIX 5 now supports IA64 processor
16517 lt_prog_compiler_static_GCJ='-Bstatic'
16522 # FIXME: we need at least 68020 code to build shared libraries, but
16523 # adding the `-m68020' flag to GCC prevents building anything better,
16525 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16528 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16529 # PIC is the default for these OSes.
16532 mingw* | pw32* | os2*)
16533 # This hack is so that the source file can tell whether it is being
16534 # built for inclusion in a dll (and should export symbols for example).
16535 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16538 darwin* | rhapsody*)
16539 # PIC is the default on this platform
16540 # Common symbols not allowed in MH_DYLIB files
16541 lt_prog_compiler_pic_GCJ='-fno-common'
16545 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16546 # Instead, we relocate shared libraries at runtime.
16550 # Just because we use GCC doesn't mean we suddenly get shared libraries
16551 # on systems that don't support them.
16552 lt_prog_compiler_can_build_shared_GCJ=no
16557 if test -d /usr/nec; then
16558 lt_prog_compiler_pic_GCJ=-Kconform_pic
16563 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16564 # not for PA HP-UX.
16570 lt_prog_compiler_pic_GCJ='-fPIC'
16576 lt_prog_compiler_pic_GCJ='-fPIC'
16580 # PORTME Check for flag to pass linker flags through the system compiler.
16583 lt_prog_compiler_wl_GCJ='-Wl,'
16584 if test "$host_cpu" = ia64; then
16585 # AIX 5 now supports IA64 processor
16586 lt_prog_compiler_static_GCJ='-Bstatic'
16588 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16592 # PIC is the default on this platform
16593 # Common symbols not allowed in MH_DYLIB files
16594 case $cc_basename in
16596 lt_prog_compiler_pic_GCJ='-qnocommon'
16597 lt_prog_compiler_wl_GCJ='-Wl,'
16602 mingw* | pw32* | os2*)
16603 # This hack is so that the source file can tell whether it is being
16604 # built for inclusion in a dll (and should export symbols for example).
16605 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16608 hpux9* | hpux10* | hpux11*)
16609 lt_prog_compiler_wl_GCJ='-Wl,'
16610 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16611 # not for PA HP-UX.
16617 lt_prog_compiler_pic_GCJ='+Z'
16620 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16621 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16624 irix5* | irix6* | nonstopux*)
16625 lt_prog_compiler_wl_GCJ='-Wl,'
16626 # PIC (with -KPIC) is the default.
16627 lt_prog_compiler_static_GCJ='-non_shared'
16631 lt_prog_compiler_pic_GCJ='-KPIC'
16632 lt_prog_compiler_static_GCJ='-Bstatic'
16635 linux* | k*bsd*-gnu)
16636 case $cc_basename in
16638 lt_prog_compiler_wl_GCJ='-Wl,'
16639 lt_prog_compiler_pic_GCJ='-KPIC'
16640 lt_prog_compiler_static_GCJ='-static'
16642 pgcc* | pgf77* | pgf90* | pgf95*)
16643 # Portland Group compilers (*not* the Pentium gcc compiler,
16644 # which looks to be a dead project)
16645 lt_prog_compiler_wl_GCJ='-Wl,'
16646 lt_prog_compiler_pic_GCJ='-fpic'
16647 lt_prog_compiler_static_GCJ='-Bstatic'
16650 lt_prog_compiler_wl_GCJ='-Wl,'
16651 # All Alpha code is PIC.
16652 lt_prog_compiler_static_GCJ='-non_shared'
16657 osf3* | osf4* | osf5*)
16658 lt_prog_compiler_wl_GCJ='-Wl,'
16659 # All OSF/1 code is PIC.
16660 lt_prog_compiler_static_GCJ='-non_shared'
16664 lt_prog_compiler_pic_GCJ='-KPIC'
16665 lt_prog_compiler_static_GCJ='-Bstatic'
16666 case $cc_basename in
16667 f77* | f90* | f95*)
16668 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16670 lt_prog_compiler_wl_GCJ='-Wl,';;
16675 lt_prog_compiler_wl_GCJ='-Qoption ld '
16676 lt_prog_compiler_pic_GCJ='-PIC'
16677 lt_prog_compiler_static_GCJ='-Bstatic'
16680 sysv4 | sysv4.2uw2* | sysv4.3*)
16681 lt_prog_compiler_wl_GCJ='-Wl,'
16682 lt_prog_compiler_pic_GCJ='-KPIC'
16683 lt_prog_compiler_static_GCJ='-Bstatic'
16687 if test -d /usr/nec ;then
16688 lt_prog_compiler_pic_GCJ='-Kconform_pic'
16689 lt_prog_compiler_static_GCJ='-Bstatic'
16693 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16694 lt_prog_compiler_wl_GCJ='-Wl,'
16695 lt_prog_compiler_pic_GCJ='-KPIC'
16696 lt_prog_compiler_static_GCJ='-Bstatic'
16700 lt_prog_compiler_wl_GCJ='-Wl,'
16701 lt_prog_compiler_can_build_shared_GCJ=no
16705 lt_prog_compiler_pic_GCJ='-pic'
16706 lt_prog_compiler_static_GCJ='-Bstatic'
16710 lt_prog_compiler_can_build_shared_GCJ=no
16715 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16716 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16719 # Check to make sure the PIC flag actually works.
16721 if test -n "$lt_prog_compiler_pic_GCJ"; then
16723 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16724 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16725 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16726 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 lt_prog_compiler_pic_works_GCJ=no
16729 ac_outfile=conftest.$ac_objext
16730 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16731 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16732 # Insert the option either (1) after the last *FLAGS variable, or
16733 # (2) before a word containing "conftest.", or (3) at the end.
16734 # Note that $ac_compile itself does not contain backslashes and begins
16735 # with a dollar sign (not a hyphen), so the echo should work correctly.
16736 # The option is referenced via a variable to avoid confusing sed.
16737 lt_compile=`echo "$ac_compile" | $SED \
16738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16740 -e 's:$: $lt_compiler_flag:'`
16741 (eval echo "\"\$as_me:16741: $lt_compile\"" >&5)
16742 (eval "$lt_compile" 2>conftest.err)
16744 cat conftest.err >&5
16745 echo "$as_me:16745: \$? = $ac_status" >&5
16746 if (exit $ac_status) && test -s "$ac_outfile"; then
16747 # The compiler can only warn and ignore the option if not recognized
16748 # So say no if there are warnings other than the usual output.
16749 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16750 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16751 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16752 lt_prog_compiler_pic_works_GCJ=yes
16758 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16759 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16761 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16762 case $lt_prog_compiler_pic_GCJ in
16764 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16767 lt_prog_compiler_pic_GCJ=
16768 lt_prog_compiler_can_build_shared_GCJ=no
16773 # For platforms which do not support PIC, -DPIC is meaningless:
16775 lt_prog_compiler_pic_GCJ=
16778 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16783 # Check to make sure the static flag actually works.
16785 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16786 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16787 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16788 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16791 lt_prog_compiler_static_works_GCJ=no
16792 save_LDFLAGS="$LDFLAGS"
16793 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16794 printf "$lt_simple_link_test_code" > conftest.$ac_ext
16795 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16796 # The linker can only warn and ignore the option if not recognized
16797 # So say no if there are warnings
16798 if test -s conftest.err; then
16799 # Append any errors to the config.log.
16800 cat conftest.err 1>&5
16801 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16803 if diff conftest.exp conftest.er2 >/dev/null; then
16804 lt_prog_compiler_static_works_GCJ=yes
16807 lt_prog_compiler_static_works_GCJ=yes
16811 LDFLAGS="$save_LDFLAGS"
16814 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16815 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16817 if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16820 lt_prog_compiler_static_GCJ=
16824 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16825 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16826 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16827 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 lt_cv_prog_compiler_c_o_GCJ=no
16830 $rm -r conftest 2>/dev/null
16834 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16836 lt_compiler_flag="-o out/conftest2.$ac_objext"
16837 # Insert the option either (1) after the last *FLAGS variable, or
16838 # (2) before a word containing "conftest.", or (3) at the end.
16839 # Note that $ac_compile itself does not contain backslashes and begins
16840 # with a dollar sign (not a hyphen), so the echo should work correctly.
16841 lt_compile=`echo "$ac_compile" | $SED \
16842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16844 -e 's:$: $lt_compiler_flag:'`
16845 (eval echo "\"\$as_me:16845: $lt_compile\"" >&5)
16846 (eval "$lt_compile" 2>out/conftest.err)
16848 cat out/conftest.err >&5
16849 echo "$as_me:16849: \$? = $ac_status" >&5
16850 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16852 # The compiler can only warn and ignore the option if not recognized
16853 # So say no if there are warnings
16854 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16855 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16856 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16857 lt_cv_prog_compiler_c_o_GCJ=yes
16862 # SGI C++ compiler will create directory out/ii_files/ for
16863 # template instantiation
16864 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16865 $rm out/* && rmdir out
16871 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16872 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16875 hard_links="nottested"
16876 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16877 # do not overwrite the value of need_locks provided by the user
16878 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16879 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16882 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16884 ln conftest.a conftest.b 2>&5 || hard_links=no
16885 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16886 { echo "$as_me:$LINENO: result: $hard_links" >&5
16887 echo "${ECHO_T}$hard_links" >&6; }
16888 if test "$hard_links" = no; then
16889 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16890 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16897 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16898 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16901 allow_undefined_flag_GCJ=
16902 enable_shared_with_static_runtimes_GCJ=no
16904 archive_expsym_cmds_GCJ=
16905 old_archive_From_new_cmds_GCJ=
16906 old_archive_from_expsyms_cmds_GCJ=
16907 export_dynamic_flag_spec_GCJ=
16908 whole_archive_flag_spec_GCJ=
16909 thread_safe_flag_spec_GCJ=
16910 hardcode_libdir_flag_spec_GCJ=
16911 hardcode_libdir_flag_spec_ld_GCJ=
16912 hardcode_libdir_separator_GCJ=
16913 hardcode_direct_GCJ=no
16914 hardcode_minus_L_GCJ=no
16915 hardcode_shlibpath_var_GCJ=unsupported
16916 link_all_deplibs_GCJ=unknown
16917 hardcode_automatic_GCJ=no
16919 module_expsym_cmds_GCJ=
16920 always_export_symbols_GCJ=no
16921 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16922 # include_expsyms should be a list of space-separated symbols to be *always*
16923 # included in the symbol list
16924 include_expsyms_GCJ=
16925 # exclude_expsyms can be an extended regexp of symbols to exclude
16926 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16927 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16928 # as well as any symbol that contains `d'.
16929 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16930 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16931 # platforms (ab)use it in PIC code, but their linkers get confused if
16932 # the symbol is explicitly referenced. Since portable code cannot
16933 # rely on this symbol name, it's probably fine to never include it in
16934 # preloaded symbol tables.
16935 extract_expsyms_cmds=
16936 # Just being paranoid about ensuring that cc_basename is set.
16937 for cc_temp in $compiler""; do
16939 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16940 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16945 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16948 cygwin* | mingw* | pw32*)
16949 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16950 # When not using gcc, we currently assume that we are using
16951 # Microsoft Visual C++.
16952 if test "$GCC" != yes; then
16957 # we just hope/assume this is gcc and not c89 (= MSVC++)
16966 if test "$with_gnu_ld" = yes; then
16967 # If archive_cmds runs LD, not CC, wlarc should be empty
16970 # Set some defaults for GNU ld with shared library support. These
16971 # are reset later if shared libraries are not supported. Putting them
16972 # here allows them to be overridden if necessary.
16973 runpath_var=LD_RUN_PATH
16974 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16975 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16976 # ancient GNU ld didn't support --whole-archive et. al.
16977 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16978 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16980 whole_archive_flag_spec_GCJ=
16982 supports_anon_versioning=no
16983 case `$LD -v 2>/dev/null` in
16984 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16985 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16986 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16987 *\ 2.11.*) ;; # other 2.11 versions
16988 *) supports_anon_versioning=yes ;;
16991 # See if GNU ld supports shared libraries.
16993 aix3* | aix4* | aix5*)
16994 # On AIX/PPC, the GNU linker is very broken
16995 if test "$host_cpu" != ia64; then
16999 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17000 *** to be unable to reliably create shared libraries on AIX.
17001 *** Therefore, libtool is disabling shared libraries support. If you
17002 *** really care for shared libraries, you may want to modify your PATH
17003 *** so that a non-GNU linker is found, and then restart.
17010 archive_cmds_GCJ='$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)'
17011 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17012 hardcode_minus_L_GCJ=yes
17014 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17015 # that the semantics of dynamic libraries on AmigaOS, at least up
17016 # to version 4, is to share data among multiple programs linked
17017 # with the same dynamic library. Since this doesn't match the
17018 # behavior of shared libraries on other platforms, we can't use
17024 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17025 allow_undefined_flag_GCJ=unsupported
17026 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17027 # support --undefined. This deserves some investigation. FIXME
17028 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17034 cygwin* | mingw* | pw32*)
17035 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17036 # as there is no search path for DLLs.
17037 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17038 allow_undefined_flag_GCJ=unsupported
17039 always_export_symbols_GCJ=no
17040 enable_shared_with_static_runtimes_GCJ=yes
17041 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17043 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17044 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17045 # If the export-symbols file already is a .def file (1st line
17046 # is EXPORTS), use it as is; otherwise, prepend...
17047 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17048 cp $export_symbols $output_objdir/$soname.def;
17050 echo EXPORTS > $output_objdir/$soname.def;
17051 cat $export_symbols >> $output_objdir/$soname.def;
17053 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17060 hardcode_direct_GCJ=no
17061 hardcode_shlibpath_var_GCJ=no
17062 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17063 export_dynamic_flag_spec_GCJ='${wl}-E'
17064 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17065 # Instead, shared libraries are loaded at an image base (0x10000000 by
17066 # default) and relocated if they conflict, which is a slow very memory
17067 # consuming and fragmenting process. To avoid this, we pick a random,
17068 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17069 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17070 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17071 archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17074 linux* | k*bsd*-gnu)
17075 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17077 case $cc_basename,$host_cpu in
17078 pgcc*) # Portland Group C compiler
17079 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17080 tmp_addflag=' $pic_flag'
17082 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17083 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17084 tmp_addflag=' $pic_flag -Mnomain' ;;
17085 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17086 tmp_addflag=' -i_dynamic' ;;
17087 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17088 tmp_addflag=' -i_dynamic -nofor_main' ;;
17089 ifc* | ifort*) # Intel Fortran compiler
17090 tmp_addflag=' -nofor_main' ;;
17092 archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17094 if test $supports_anon_versioning = yes; then
17095 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17096 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17097 $echo "local: *; };" >> $output_objdir/$libname.ver~
17098 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17100 link_all_deplibs_GCJ=no
17106 netbsd* | netbsdelf*-gnu)
17107 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17108 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17111 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17112 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17117 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17121 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17122 *** create shared libraries on Solaris systems. Therefore, libtool
17123 *** is disabling shared libraries support. We urge you to upgrade GNU
17124 *** binutils to release 2.9.1 or newer. Another option is to modify
17125 *** your PATH or compiler configuration so that the native linker is
17126 *** used, and then restart.
17129 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17130 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17131 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17137 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17138 case `$LD -v 2>&1` in
17139 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17143 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17144 *** reliably create shared libraries on SCO systems. Therefore, libtool
17145 *** is disabling shared libraries support. We urge you to upgrade GNU
17146 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17147 *** your PATH or compiler configuration so that the native linker is
17148 *** used, and then restart.
17153 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17154 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17155 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17156 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17165 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17167 hardcode_direct_GCJ=yes
17168 hardcode_shlibpath_var_GCJ=no
17172 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17173 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17174 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17181 if test "$ld_shlibs_GCJ" = no; then
17183 hardcode_libdir_flag_spec_GCJ=
17184 export_dynamic_flag_spec_GCJ=
17185 whole_archive_flag_spec_GCJ=
17188 # PORTME fill in a description of your system's linker (not GNU ld)
17191 allow_undefined_flag_GCJ=unsupported
17192 always_export_symbols_GCJ=yes
17193 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17194 # Note: this linker hardcodes the directories in LIBPATH if there
17195 # are no directories specified by -L.
17196 hardcode_minus_L_GCJ=yes
17197 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17198 # Neither direct hardcoding nor static linking is supported with a
17200 hardcode_direct_GCJ=unsupported
17205 if test "$host_cpu" = ia64; then
17206 # On IA64, the linker does run time linking by default, so we don't
17207 # have to do anything special.
17208 aix_use_runtimelinking=no
17209 exp_sym_flag='-Bexport'
17212 # If we're using GNU nm, then we don't want the "-C" option.
17213 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17214 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17215 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17217 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17219 aix_use_runtimelinking=no
17221 # Test if we are trying to use run time linking or normal
17222 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17223 # need to do runtime linking.
17224 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17225 for ld_flag in $LDFLAGS; do
17226 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17227 aix_use_runtimelinking=yes
17234 exp_sym_flag='-bexport'
17235 no_entry_flag='-bnoentry'
17238 # When large executables or shared objects are built, AIX ld can
17239 # have problems creating the table of contents. If linking a library
17240 # or program results in "error TOC overflow" add -mminimal-toc to
17241 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17242 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17244 archive_cmds_GCJ=''
17245 hardcode_direct_GCJ=yes
17246 hardcode_libdir_separator_GCJ=':'
17247 link_all_deplibs_GCJ=yes
17249 if test "$GCC" = yes; then
17250 case $host_os in aix4.[012]|aix4.[012].*)
17251 # We only want to do this on AIX 4.2 and lower, the check
17252 # below for broken collect2 doesn't work under 4.3+
17253 collect2name=`${CC} -print-prog-name=collect2`
17254 if test -f "$collect2name" && \
17255 strings "$collect2name" | grep resolve_lib_name >/dev/null
17257 # We have reworked collect2
17258 hardcode_direct_GCJ=yes
17260 # We have old collect2
17261 hardcode_direct_GCJ=unsupported
17262 # It fails to find uninstalled libraries when the uninstalled
17263 # path is not listed in the libpath. Setting hardcode_minus_L
17264 # to unsupported forces relinking
17265 hardcode_minus_L_GCJ=yes
17266 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17267 hardcode_libdir_separator_GCJ=
17271 shared_flag='-shared'
17272 if test "$aix_use_runtimelinking" = yes; then
17273 shared_flag="$shared_flag "'${wl}-G'
17277 if test "$host_cpu" = ia64; then
17278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17279 # chokes on -Wl,-G. The following line is correct:
17282 if test "$aix_use_runtimelinking" = yes; then
17283 shared_flag='${wl}-G'
17285 shared_flag='${wl}-bM:SRE'
17290 # It seems that -bexpall does not export symbols beginning with
17291 # underscore (_), so it is better to generate a list of symbols to export.
17292 always_export_symbols_GCJ=yes
17293 if test "$aix_use_runtimelinking" = yes; then
17294 # Warning - without using the other runtime loading flags (-brtl),
17295 # -berok will link without error, but may produce a broken library.
17296 allow_undefined_flag_GCJ='-berok'
17297 # Determine the default libpath from the value encoded in an empty executable.
17298 cat >conftest.$ac_ext <<_ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17313 rm -f conftest.$ac_objext conftest$ac_exeext
17314 if { (ac_try="$ac_link"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_link") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_c_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest$ac_exeext &&
17330 $as_test_x conftest$ac_exeext; then
17332 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17334 # Check for a 64-bit object if we didn't find anything.
17335 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17338 echo "$as_me: failed program was:" >&5
17339 sed 's/^/| /' conftest.$ac_ext >&5
17344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17345 conftest$ac_exeext conftest.$ac_ext
17346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17348 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17349 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17351 if test "$host_cpu" = ia64; then
17352 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17353 allow_undefined_flag_GCJ="-z nodefs"
17354 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17356 # Determine the default libpath from the value encoded in an empty executable.
17357 cat >conftest.$ac_ext <<_ACEOF
17360 cat confdefs.h >>conftest.$ac_ext
17361 cat >>conftest.$ac_ext <<_ACEOF
17362 /* end confdefs.h. */
17372 rm -f conftest.$ac_objext conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1 >conftest.err
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && {
17386 test -z "$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 } && test -s conftest$ac_exeext &&
17389 $as_test_x conftest$ac_exeext; then
17391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17393 # Check for a 64-bit object if we didn't find anything.
17394 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17397 echo "$as_me: failed program was:" >&5
17398 sed 's/^/| /' conftest.$ac_ext >&5
17403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17404 conftest$ac_exeext conftest.$ac_ext
17405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17407 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17408 # Warning - without using the other run time loading flags,
17409 # -berok will link without error, but may produce a broken library.
17410 no_undefined_flag_GCJ=' ${wl}-bernotok'
17411 allow_undefined_flag_GCJ=' ${wl}-berok'
17412 # Exported symbols can be pulled into shared objects from archives
17413 whole_archive_flag_spec_GCJ='$convenience'
17414 archive_cmds_need_lc_GCJ=yes
17415 # This is similar to how AIX traditionally builds its shared libraries.
17416 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17422 archive_cmds_GCJ='$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)'
17423 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17424 hardcode_minus_L_GCJ=yes
17425 # see comment about different semantics on the GNU ld section
17430 export_dynamic_flag_spec_GCJ=-rdynamic
17433 cygwin* | mingw* | pw32*)
17434 # When not using gcc, we currently assume that we are using
17435 # Microsoft Visual C++.
17436 # hardcode_libdir_flag_spec is actually meaningless, as there is
17437 # no search path for DLLs.
17438 hardcode_libdir_flag_spec_GCJ=' '
17439 allow_undefined_flag_GCJ=unsupported
17440 # Tell ltmain to make .lib files, not .a files.
17442 # Tell ltmain to make .dll files, not .so files.
17444 # FIXME: Setting linknames here is a bad hack.
17445 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17446 # The linker will automatically build a .lib file if we build a DLL.
17447 old_archive_From_new_cmds_GCJ='true'
17448 # FIXME: Should let the user specify the lib program.
17449 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17450 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17451 enable_shared_with_static_runtimes_GCJ=yes
17454 darwin* | rhapsody*)
17456 rhapsody* | darwin1.[012])
17457 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17460 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17461 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17463 case ${MACOSX_DEPLOYMENT_TARGET} in
17465 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17468 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17474 archive_cmds_need_lc_GCJ=no
17475 hardcode_direct_GCJ=no
17476 hardcode_automatic_GCJ=yes
17477 hardcode_shlibpath_var_GCJ=unsupported
17478 whole_archive_flag_spec_GCJ=''
17479 link_all_deplibs_GCJ=yes
17480 if test "$GCC" = yes ; then
17481 output_verbose_link_cmd='echo'
17482 archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17483 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17484 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17485 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17486 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17488 case $cc_basename in
17490 output_verbose_link_cmd='echo'
17491 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17492 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17493 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17494 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17495 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17505 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17506 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17507 hardcode_shlibpath_var_GCJ=no
17514 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17515 # support. Future versions do this automatically, but an explicit c++rt0.o
17516 # does not break anything, and helps significantly (at the cost of a little
17519 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17520 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17521 hardcode_direct_GCJ=yes
17522 hardcode_shlibpath_var_GCJ=no
17525 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17527 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17528 hardcode_direct_GCJ=yes
17529 hardcode_minus_L_GCJ=yes
17530 hardcode_shlibpath_var_GCJ=no
17533 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17534 freebsd* | dragonfly*)
17535 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17536 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17537 hardcode_direct_GCJ=yes
17538 hardcode_shlibpath_var_GCJ=no
17542 if test "$GCC" = yes; then
17543 archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17545 archive_cmds_GCJ='$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'
17547 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17548 hardcode_libdir_separator_GCJ=:
17549 hardcode_direct_GCJ=yes
17551 # hardcode_minus_L: Not really in the search PATH,
17552 # but as the default location of the library.
17553 hardcode_minus_L_GCJ=yes
17554 export_dynamic_flag_spec_GCJ='${wl}-E'
17558 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17559 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17561 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17563 if test "$with_gnu_ld" = no; then
17564 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17565 hardcode_libdir_separator_GCJ=:
17567 hardcode_direct_GCJ=yes
17568 export_dynamic_flag_spec_GCJ='${wl}-E'
17570 # hardcode_minus_L: Not really in the search PATH,
17571 # but as the default location of the library.
17572 hardcode_minus_L_GCJ=yes
17577 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17580 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17583 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17586 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17592 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17595 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17598 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17602 if test "$with_gnu_ld" = no; then
17603 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17604 hardcode_libdir_separator_GCJ=:
17608 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17609 hardcode_direct_GCJ=no
17610 hardcode_shlibpath_var_GCJ=no
17613 hardcode_direct_GCJ=yes
17614 export_dynamic_flag_spec_GCJ='${wl}-E'
17616 # hardcode_minus_L: Not really in the search PATH,
17617 # but as the default location of the library.
17618 hardcode_minus_L_GCJ=yes
17624 irix5* | irix6* | nonstopux*)
17625 if test "$GCC" = yes; then
17626 archive_cmds_GCJ='$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'
17628 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17629 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17631 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17632 hardcode_libdir_separator_GCJ=:
17633 link_all_deplibs_GCJ=yes
17636 netbsd* | netbsdelf*-gnu)
17637 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17638 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17640 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17642 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17643 hardcode_direct_GCJ=yes
17644 hardcode_shlibpath_var_GCJ=no
17648 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17649 hardcode_direct_GCJ=yes
17650 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17651 hardcode_libdir_separator_GCJ=:
17652 hardcode_shlibpath_var_GCJ=no
17656 hardcode_direct_GCJ=yes
17657 hardcode_shlibpath_var_GCJ=no
17658 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17659 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17660 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17661 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17662 export_dynamic_flag_spec_GCJ='${wl}-E'
17665 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17666 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17667 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17670 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17671 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17678 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17679 hardcode_minus_L_GCJ=yes
17680 allow_undefined_flag_GCJ=unsupported
17681 archive_cmds_GCJ='$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'
17682 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17686 if test "$GCC" = yes; then
17687 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17688 archive_cmds_GCJ='$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'
17690 allow_undefined_flag_GCJ=' -expect_unresolved \*'
17691 archive_cmds_GCJ='$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'
17693 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17694 hardcode_libdir_separator_GCJ=:
17697 osf4* | osf5*) # as osf3* with the addition of -msym flag
17698 if test "$GCC" = yes; then
17699 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17700 archive_cmds_GCJ='$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'
17701 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17703 allow_undefined_flag_GCJ=' -expect_unresolved \*'
17704 archive_cmds_GCJ='$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'
17705 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17706 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17708 # Both c and cxx compiler support -rpath directly
17709 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17711 hardcode_libdir_separator_GCJ=:
17715 no_undefined_flag_GCJ=' -z text'
17716 if test "$GCC" = yes; then
17718 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17719 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17720 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17723 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17724 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17725 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17727 hardcode_libdir_flag_spec_GCJ='-R$libdir'
17728 hardcode_shlibpath_var_GCJ=no
17730 solaris2.[0-5] | solaris2.[0-5].*) ;;
17732 # The compiler driver will combine linker options so we
17733 # cannot just pass the convience library names through
17734 # without $wl, iff we do not link with $LD.
17735 # Luckily, gcc supports the same syntax we need for Sun Studio.
17736 # Supported since Solaris 2.6 (maybe 2.5.1?)
17739 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17741 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17744 link_all_deplibs_GCJ=yes
17748 if test "x$host_vendor" = xsequent; then
17749 # Use $CC to link under sequent, because it throws in some extra .o
17750 # files that make .init and .fini sections work.
17751 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17753 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17755 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17756 hardcode_direct_GCJ=yes
17757 hardcode_minus_L_GCJ=yes
17758 hardcode_shlibpath_var_GCJ=no
17762 case $host_vendor in
17764 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17765 hardcode_direct_GCJ=yes # is this really true???
17768 ## LD is ld it makes a PLAMLIB
17769 ## CC just makes a GrossModule.
17770 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17771 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17772 hardcode_direct_GCJ=no
17775 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17776 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17779 runpath_var='LD_RUN_PATH'
17780 hardcode_shlibpath_var_GCJ=no
17784 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17785 hardcode_shlibpath_var_GCJ=no
17786 export_dynamic_flag_spec_GCJ='-Bexport'
17790 if test -d /usr/nec; then
17791 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17792 hardcode_shlibpath_var_GCJ=no
17793 runpath_var=LD_RUN_PATH
17794 hardcode_runpath_var=yes
17799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17800 no_undefined_flag_GCJ='${wl}-z,text'
17801 archive_cmds_need_lc_GCJ=no
17802 hardcode_shlibpath_var_GCJ=no
17803 runpath_var='LD_RUN_PATH'
17805 if test "$GCC" = yes; then
17806 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17807 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17809 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17810 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17814 sysv5* | sco3.2v5* | sco5v6*)
17815 # Note: We can NOT use -z defs as we might desire, because we do not
17816 # link with -lc, and that would cause any symbols used from libc to
17817 # always be unresolved, which means just about no library would
17818 # ever link correctly. If we're not using GNU ld we use -z text
17819 # though, which does catch some bad symbols but isn't as heavy-handed
17821 no_undefined_flag_GCJ='${wl}-z,text'
17822 allow_undefined_flag_GCJ='${wl}-z,nodefs'
17823 archive_cmds_need_lc_GCJ=no
17824 hardcode_shlibpath_var_GCJ=no
17825 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17826 hardcode_libdir_separator_GCJ=':'
17827 link_all_deplibs_GCJ=yes
17828 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17829 runpath_var='LD_RUN_PATH'
17831 if test "$GCC" = yes; then
17832 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17833 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17835 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17836 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17841 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17842 hardcode_libdir_flag_spec_GCJ='-L$libdir'
17843 hardcode_shlibpath_var_GCJ=no
17852 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17853 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17854 test "$ld_shlibs_GCJ" = no && can_build_shared=no
17857 # Do we need to explicitly link libc?
17859 case "x$archive_cmds_need_lc_GCJ" in
17861 # Assume -lc should be added
17862 archive_cmds_need_lc_GCJ=yes
17864 if test "$enable_shared" = yes && test "$GCC" = yes; then
17865 case $archive_cmds_GCJ in
17867 # FIXME: we may have to deal with multi-command sequences.
17870 # Test whether the compiler implicitly links with -lc since on some
17871 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17872 # to ld, don't add -lc before -lgcc.
17873 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17874 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17876 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17879 (eval $ac_compile) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } 2>conftest.err; then
17885 libobjs=conftest.$ac_objext
17887 wl=$lt_prog_compiler_wl_GCJ
17888 pic_flag=$lt_prog_compiler_pic_GCJ
17894 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17895 allow_undefined_flag_GCJ=
17896 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17897 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }
17902 archive_cmds_need_lc_GCJ=no
17904 archive_cmds_need_lc_GCJ=yes
17906 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17908 cat conftest.err 1>&5
17911 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17912 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17919 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17920 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17921 library_names_spec=
17922 libname_spec='lib$name'
17926 postuninstall_cmds=
17930 shlibpath_overrides_runpath=unknown
17932 dynamic_linker="$host_os ld.so"
17933 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17934 if test "$GCC" = yes; then
17935 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17936 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17937 # if the path contains ";" then we assume it to be the separator
17938 # otherwise default to the standard path separator (i.e. ":") - it is
17939 # assumed that no part of a normal pathname contains ";" but that should
17940 # okay in the real world where ";" in dirpaths is itself problematic.
17941 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17943 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17946 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17948 need_lib_prefix=unknown
17949 hardcode_into_libs=no
17951 # when you set need_version to no, make sure it does not cause -set_version
17952 # flags to be left without arguments
17953 need_version=unknown
17958 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17959 shlibpath_var=LIBPATH
17961 # AIX 3 has no versioning support, so we append a major version to the name.
17962 soname_spec='${libname}${release}${shared_ext}$major'
17969 hardcode_into_libs=yes
17970 if test "$host_cpu" = ia64; then
17971 # AIX 5 supports IA64
17972 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17973 shlibpath_var=LD_LIBRARY_PATH
17975 # With GCC up to 2.95.x, collect2 would create an import file
17976 # for dependence libraries. The import file would start with
17977 # the line `#! .'. This would cause the generated library to
17978 # depend on `.', always an invalid library. This was fixed in
17979 # development snapshots of GCC prior to 3.0.
17981 aix4 | aix4.[01] | aix4.[01].*)
17982 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17984 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17987 can_build_shared=no
17991 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17992 # soname into executable. Probably we can add versioning support to
17993 # collect2, so additional links can be useful in future.
17994 if test "$aix_use_runtimelinking" = yes; then
17995 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17996 # instead of lib<name>.a to let people know that these are not
17997 # typical AIX shared libraries.
17998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18000 # We preserve .a as extension for shared libraries through AIX4.2
18001 # and later when we are not doing run time linking.
18002 library_names_spec='${libname}${release}.a $libname.a'
18003 soname_spec='${libname}${release}${shared_ext}$major'
18005 shlibpath_var=LIBPATH
18010 library_names_spec='$libname.ixlibrary $libname.a'
18011 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18012 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'
18016 library_names_spec='${libname}${shared_ext}'
18017 dynamic_linker="$host_os ld.so"
18018 shlibpath_var=LIBRARY_PATH
18024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18025 soname_spec='${libname}${release}${shared_ext}$major'
18026 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18027 shlibpath_var=LD_LIBRARY_PATH
18028 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18029 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18030 # the default ld.so.conf also contains /usr/contrib/lib and
18031 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18032 # libtool to hard-code these into programs
18035 cygwin* | mingw* | pw32*)
18036 version_type=windows
18041 case $GCC,$host_os in
18042 yes,cygwin* | yes,mingw* | yes,pw32*)
18043 library_names_spec='$libname.dll.a'
18044 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18045 postinstall_cmds='base_file=`basename \${file}`~
18046 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18047 dldir=$destdir/`dirname \$dlpath`~
18048 test -d \$dldir || mkdir -p \$dldir~
18049 $install_prog $dir/$dlname \$dldir/$dlname~
18050 chmod a+x \$dldir/$dlname'
18051 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18052 dlpath=$dir/\$dldll~
18054 shlibpath_overrides_runpath=yes
18058 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18059 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18060 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18063 # MinGW DLLs use traditional 'lib' prefix
18064 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18065 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18066 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18067 # It is most probably a Windows format PATH printed by
18068 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18069 # path with ; separators, and with drive letters. We can handle the
18070 # drive letters (cygwin fileutils understands them), so leave them,
18071 # especially as we might pass files found there to a mingw objdump,
18072 # which wouldn't understand a cygwinified path. Ahh.
18073 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18075 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18079 # pw32 DLLs use 'pw' prefix rather than 'lib'
18080 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18086 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18089 dynamic_linker='Win32 ld.exe'
18090 # FIXME: first we should search . and the directory the executable is in
18094 darwin* | rhapsody*)
18095 dynamic_linker="$host_os dyld"
18096 version_type=darwin
18099 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18100 soname_spec='${libname}${release}${major}$shared_ext'
18101 shlibpath_overrides_runpath=yes
18102 shlibpath_var=DYLD_LIBRARY_PATH
18103 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18104 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18105 if test "$GCC" = yes; then
18106 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18108 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18110 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18118 soname_spec='${libname}${release}${shared_ext}$major'
18119 shlibpath_var=LD_LIBRARY_PATH
18126 freebsd* | dragonfly*)
18127 # DragonFly does not have aout. When/if they implement a new
18128 # versioning mechanism, adjust this.
18129 if test -x /usr/bin/objformat; then
18130 objformat=`/usr/bin/objformat`
18133 freebsd[123]*) objformat=aout ;;
18134 *) objformat=elf ;;
18137 version_type=freebsd-$objformat
18138 case $version_type in
18140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18145 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18149 shlibpath_var=LD_LIBRARY_PATH
18152 shlibpath_overrides_runpath=yes
18154 freebsd3.[01]* | freebsdelf3.[01]*)
18155 shlibpath_overrides_runpath=yes
18156 hardcode_into_libs=yes
18158 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18159 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18160 shlibpath_overrides_runpath=no
18161 hardcode_into_libs=yes
18163 freebsd*) # from 4.6 on
18164 shlibpath_overrides_runpath=yes
18165 hardcode_into_libs=yes
18174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18175 soname_spec='${libname}${release}${shared_ext}$major'
18176 shlibpath_var=LD_LIBRARY_PATH
18177 hardcode_into_libs=yes
18180 hpux9* | hpux10* | hpux11*)
18181 # Give a soname corresponding to the major version so that dld.sl refuses to
18182 # link against other versions.
18189 hardcode_into_libs=yes
18190 dynamic_linker="$host_os dld.so"
18191 shlibpath_var=LD_LIBRARY_PATH
18192 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18194 soname_spec='${libname}${release}${shared_ext}$major'
18195 if test "X$HPUX_IA64_MODE" = X32; then
18196 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18198 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18200 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18204 hardcode_into_libs=yes
18205 dynamic_linker="$host_os dld.sl"
18206 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18207 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18209 soname_spec='${libname}${release}${shared_ext}$major'
18210 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18211 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18215 dynamic_linker="$host_os dld.sl"
18216 shlibpath_var=SHLIB_PATH
18217 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18219 soname_spec='${libname}${release}${shared_ext}$major'
18222 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18223 postinstall_cmds='chmod 555 $lib'
18230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18231 soname_spec='${libname}${release}${shared_ext}$major'
18232 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18233 shlibpath_var=LD_LIBRARY_PATH
18234 shlibpath_overrides_runpath=no
18235 hardcode_into_libs=yes
18238 irix5* | irix6* | nonstopux*)
18240 nonstopux*) version_type=nonstopux ;;
18242 if test "$lt_cv_prog_gnu_ld" = yes; then
18250 soname_spec='${libname}${release}${shared_ext}$major'
18251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18253 irix5* | nonstopux*)
18254 libsuff= shlibsuff=
18257 case $LD in # libtool.m4 will add one of these switches to LD
18258 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18259 libsuff= shlibsuff= libmagic=32-bit;;
18260 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18261 libsuff=32 shlibsuff=N32 libmagic=N32;;
18262 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18263 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18264 *) libsuff= shlibsuff= libmagic=never-match;;
18268 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18269 shlibpath_overrides_runpath=no
18270 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18271 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18272 hardcode_into_libs=yes
18275 # No shared lib support for Linux oldld, aout, or coff.
18276 linux*oldld* | linux*aout* | linux*coff*)
18280 # This must be Linux ELF.
18281 linux* | k*bsd*-gnu)
18285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18286 soname_spec='${libname}${release}${shared_ext}$major'
18287 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18288 shlibpath_var=LD_LIBRARY_PATH
18289 shlibpath_overrides_runpath=no
18290 # This implies no fast_install, which is unacceptable.
18291 # Some rework will be needed to allow for fast_install
18292 # before this can be enabled.
18293 hardcode_into_libs=yes
18295 # Append ld.so.conf contents to the search path
18296 if test -f /etc/ld.so.conf; then
18297 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18298 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18301 # We used to test for /lib/ld.so.1 and disable shared libraries on
18302 # powerpc, because MkLinux only supported shared libraries with the
18303 # GNU dynamic linker. Since this was broken with cross compilers,
18304 # most powerpc-linux boxes support dynamic linking these days and
18305 # people can always --disable-shared, the test was removed, and we
18306 # assume the GNU/Linux dynamic linker is in use.
18307 dynamic_linker='GNU/Linux ld.so'
18314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18315 soname_spec='${libname}${release}${shared_ext}$major'
18316 shlibpath_var=LD_LIBRARY_PATH
18317 shlibpath_overrides_runpath=no
18318 hardcode_into_libs=yes
18319 dynamic_linker='NetBSD ld.elf_so'
18326 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18328 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18329 dynamic_linker='NetBSD (a.out) ld.so'
18331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18332 soname_spec='${libname}${release}${shared_ext}$major'
18333 dynamic_linker='NetBSD ld.elf_so'
18335 shlibpath_var=LD_LIBRARY_PATH
18336 shlibpath_overrides_runpath=yes
18337 hardcode_into_libs=yes
18342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18343 shlibpath_var=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath=yes
18351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18352 soname_spec='${libname}${release}${shared_ext}$major'
18353 shlibpath_var=LD_LIBRARY_PATH
18354 shlibpath_overrides_runpath=yes
18359 sys_lib_dlsearch_path_spec="/usr/lib"
18361 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18363 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18364 *) need_version=no ;;
18366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18368 shlibpath_var=LD_LIBRARY_PATH
18369 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18371 openbsd2.[89] | openbsd2.[89].*)
18372 shlibpath_overrides_runpath=no
18375 shlibpath_overrides_runpath=yes
18379 shlibpath_overrides_runpath=yes
18384 libname_spec='$name'
18387 library_names_spec='$libname${shared_ext} $libname.a'
18388 dynamic_linker='OS/2 ld.exe'
18389 shlibpath_var=LIBPATH
18392 osf3* | osf4* | osf5*)
18396 soname_spec='${libname}${release}${shared_ext}$major'
18397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18398 shlibpath_var=LD_LIBRARY_PATH
18399 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18400 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18408 soname_spec='${libname}${release}${shared_ext}$major'
18409 shlibpath_var=LD_LIBRARY_PATH
18410 shlibpath_overrides_runpath=yes
18411 hardcode_into_libs=yes
18412 # ldd complains unless libraries are executable
18413 postinstall_cmds='chmod +x $lib'
18418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18419 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18420 shlibpath_var=LD_LIBRARY_PATH
18421 shlibpath_overrides_runpath=yes
18422 if test "$with_gnu_ld" = yes; then
18430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18431 soname_spec='${libname}${release}${shared_ext}$major'
18432 shlibpath_var=LD_LIBRARY_PATH
18433 case $host_vendor in
18435 shlibpath_overrides_runpath=no
18437 export_dynamic_flag_spec='${wl}-Blargedynsym'
18438 runpath_var=LD_RUN_PATH
18446 shlibpath_overrides_runpath=no
18447 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18453 if test -d /usr/nec ;then
18455 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18456 soname_spec='$libname${shared_ext}.$major'
18457 shlibpath_var=LD_LIBRARY_PATH
18461 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18462 version_type=freebsd-elf
18465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18466 soname_spec='${libname}${release}${shared_ext}$major'
18467 shlibpath_var=LD_LIBRARY_PATH
18468 hardcode_into_libs=yes
18469 if test "$with_gnu_ld" = yes; then
18470 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18471 shlibpath_overrides_runpath=no
18473 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18474 shlibpath_overrides_runpath=yes
18477 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18481 sys_lib_dlsearch_path_spec='/usr/lib'
18486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18487 soname_spec='${libname}${release}${shared_ext}$major'
18488 shlibpath_var=LD_LIBRARY_PATH
18495 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18496 echo "${ECHO_T}$dynamic_linker" >&6; }
18497 test "$dynamic_linker" = no && can_build_shared=no
18499 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18500 if test "$GCC" = yes; then
18501 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18504 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18505 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18506 hardcode_action_GCJ=
18507 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18508 test -n "$runpath_var_GCJ" || \
18509 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18511 # We can hardcode non-existant directories.
18512 if test "$hardcode_direct_GCJ" != no &&
18513 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18514 # have to relink, otherwise we might link with an installed library
18515 # when we should be linking with a yet-to-be-installed one
18516 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18517 test "$hardcode_minus_L_GCJ" != no; then
18518 # Linking always hardcodes the temporary library directory.
18519 hardcode_action_GCJ=relink
18521 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18522 hardcode_action_GCJ=immediate
18525 # We cannot hardcode anything, or else we can only hardcode existing
18527 hardcode_action_GCJ=unsupported
18529 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18530 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18532 if test "$hardcode_action_GCJ" = relink; then
18533 # Fast installation is not supported
18534 enable_fast_install=no
18535 elif test "$shlibpath_overrides_runpath" = yes ||
18536 test "$enable_shared" = no; then
18537 # Fast installation is not necessary
18538 enable_fast_install=needless
18542 # The else clause should only fire when bootstrapping the
18543 # libtool distribution, otherwise you forgot to ship ltmain.sh
18544 # with your package, and you will get complaints that there are
18545 # no rules to generate ltmain.sh.
18546 if test -f "$ltmain"; then
18547 # See if we are running on zsh, and set the options which allow our commands through
18548 # without removal of \ escapes.
18549 if test -n "${ZSH_VERSION+set}" ; then
18550 setopt NO_GLOB_SUBST
18552 # Now quote all the things that may contain metacharacters while being
18553 # careful not to overquote the AC_SUBSTed values. We take copies of the
18554 # variables and quote the copies for generation of the libtool script.
18555 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18557 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18558 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18559 deplibs_check_method reload_flag reload_cmds need_locks \
18560 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18561 lt_cv_sys_global_symbol_to_c_name_address \
18562 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18563 old_postinstall_cmds old_postuninstall_cmds \
18567 lt_prog_compiler_wl_GCJ \
18568 lt_prog_compiler_pic_GCJ \
18569 lt_prog_compiler_static_GCJ \
18570 lt_prog_compiler_no_builtin_flag_GCJ \
18571 export_dynamic_flag_spec_GCJ \
18572 thread_safe_flag_spec_GCJ \
18573 whole_archive_flag_spec_GCJ \
18574 enable_shared_with_static_runtimes_GCJ \
18575 old_archive_cmds_GCJ \
18576 old_archive_from_new_cmds_GCJ \
18577 predep_objects_GCJ \
18578 postdep_objects_GCJ \
18581 compiler_lib_search_path_GCJ \
18583 archive_expsym_cmds_GCJ \
18584 postinstall_cmds_GCJ \
18585 postuninstall_cmds_GCJ \
18586 old_archive_from_expsyms_cmds_GCJ \
18587 allow_undefined_flag_GCJ \
18588 no_undefined_flag_GCJ \
18589 export_symbols_cmds_GCJ \
18590 hardcode_libdir_flag_spec_GCJ \
18591 hardcode_libdir_flag_spec_ld_GCJ \
18592 hardcode_libdir_separator_GCJ \
18593 hardcode_automatic_GCJ \
18595 module_expsym_cmds_GCJ \
18596 lt_cv_prog_compiler_c_o_GCJ \
18597 exclude_expsyms_GCJ \
18598 include_expsyms_GCJ; do
18601 old_archive_cmds_GCJ | \
18602 old_archive_from_new_cmds_GCJ | \
18603 archive_cmds_GCJ | \
18604 archive_expsym_cmds_GCJ | \
18605 module_cmds_GCJ | \
18606 module_expsym_cmds_GCJ | \
18607 old_archive_from_expsyms_cmds_GCJ | \
18608 export_symbols_cmds_GCJ | \
18609 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18610 postinstall_cmds | postuninstall_cmds | \
18611 old_postinstall_cmds | old_postuninstall_cmds | \
18612 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18613 # Double-quote double-evaled strings.
18614 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18623 *'\$0 --fallback-echo"')
18624 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18630 cat <<__EOF__ >> "$cfgfile"
18631 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18633 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18635 # Shell to use when invoking shell scripts.
18638 # Whether or not to build shared libraries.
18639 build_libtool_libs=$enable_shared
18641 # Whether or not to build static libraries.
18642 build_old_libs=$enable_static
18644 # Whether or not to add -lc for building shared libraries.
18645 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18647 # Whether or not to disallow shared libs when runtime libs are static
18648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18650 # Whether or not to optimize for fast installation.
18651 fast_install=$enable_fast_install
18654 host_alias=$host_alias
18658 # The build system.
18659 build_alias=$build_alias
18663 # An echo program that does not interpret backslashes.
18668 AR_FLAGS=$lt_AR_FLAGS
18673 # LTCC compiler flags.
18674 LTCFLAGS=$lt_LTCFLAGS
18676 # A language-specific compiler.
18677 CC=$lt_compiler_GCJ
18679 # Is the compiler the GNU C compiler?
18685 # The linker used to build libraries.
18688 # Whether we need hard or soft links.
18691 # A BSD-compatible nm program.
18694 # A symbol stripping program
18697 # Used to examine libraries when file_magic_cmd begins "file"
18698 MAGIC_CMD=$MAGIC_CMD
18700 # Used on cygwin: DLL creation program.
18703 # Used on cygwin: object dumper.
18706 # Used on cygwin: assembler.
18709 # The name of the directory that contains temporary libtool files.
18712 # How to create reloadable object files.
18713 reload_flag=$lt_reload_flag
18714 reload_cmds=$lt_reload_cmds
18716 # How to pass a linker flag through the compiler.
18717 wl=$lt_lt_prog_compiler_wl_GCJ
18719 # Object file suffix (normally "o").
18720 objext="$ac_objext"
18722 # Old archive suffix (normally "a").
18725 # Shared library suffix (normally ".so").
18726 shrext_cmds='$shrext_cmds'
18728 # Executable file suffix (normally "").
18731 # Additional compiler flags for building library objects.
18732 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18735 # What is the maximum length of a command?
18736 max_cmd_len=$lt_cv_sys_max_cmd_len
18738 # Does compiler simultaneously support -c and -o options?
18739 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18741 # Must we lock files when doing compilation?
18742 need_locks=$lt_need_locks
18744 # Do we need the lib prefix for modules?
18745 need_lib_prefix=$need_lib_prefix
18747 # Do we need a version for libraries?
18748 need_version=$need_version
18750 # Whether dlopen is supported.
18751 dlopen_support=$enable_dlopen
18753 # Whether dlopen of programs is supported.
18754 dlopen_self=$enable_dlopen_self
18756 # Whether dlopen of statically linked programs is supported.
18757 dlopen_self_static=$enable_dlopen_self_static
18759 # Compiler flag to prevent dynamic linking.
18760 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18762 # Compiler flag to turn off builtin functions.
18763 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18765 # Compiler flag to allow reflexive dlopens.
18766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18768 # Compiler flag to generate shared objects directly from archives.
18769 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18771 # Compiler flag to generate thread-safe objects.
18772 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18774 # Library versioning type.
18775 version_type=$version_type
18777 # Format of library name prefix.
18778 libname_spec=$lt_libname_spec
18780 # List of archive names. First name is the real one, the rest are links.
18781 # The last name is the one that the linker finds with -lNAME.
18782 library_names_spec=$lt_library_names_spec
18784 # The coded name of the library, if different from the real name.
18785 soname_spec=$lt_soname_spec
18787 # Commands used to build and install an old-style archive.
18789 old_archive_cmds=$lt_old_archive_cmds_GCJ
18790 old_postinstall_cmds=$lt_old_postinstall_cmds
18791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18793 # Create an old-style archive from a shared archive.
18794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18796 # Create a temporary old-style archive to link instead of a shared archive.
18797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18799 # Commands used to build and install a shared archive.
18800 archive_cmds=$lt_archive_cmds_GCJ
18801 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18802 postinstall_cmds=$lt_postinstall_cmds
18803 postuninstall_cmds=$lt_postuninstall_cmds
18805 # Commands used to build a loadable module (assumed same as above if empty)
18806 module_cmds=$lt_module_cmds_GCJ
18807 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18809 # Commands to strip libraries.
18810 old_striplib=$lt_old_striplib
18811 striplib=$lt_striplib
18813 # Dependencies to place before the objects being linked to create a
18815 predep_objects=$lt_predep_objects_GCJ
18817 # Dependencies to place after the objects being linked to create a
18819 postdep_objects=$lt_postdep_objects_GCJ
18821 # Dependencies to place before the objects being linked to create a
18823 predeps=$lt_predeps_GCJ
18825 # Dependencies to place after the objects being linked to create a
18827 postdeps=$lt_postdeps_GCJ
18829 # The library search path used internally by the compiler when linking
18830 # a shared library.
18831 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18833 # Method to check whether dependent libraries are shared objects.
18834 deplibs_check_method=$lt_deplibs_check_method
18836 # Command to use when deplibs_check_method == file_magic.
18837 file_magic_cmd=$lt_file_magic_cmd
18839 # Flag that allows shared libraries with undefined symbols to be built.
18840 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18842 # Flag that forces no undefined symbols.
18843 no_undefined_flag=$lt_no_undefined_flag_GCJ
18845 # Commands used to finish a libtool library installation in a directory.
18846 finish_cmds=$lt_finish_cmds
18848 # Same as above, but a single script fragment to be evaled but not shown.
18849 finish_eval=$lt_finish_eval
18851 # Take the output of nm and produce a listing of raw symbols and C names.
18852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18854 # Transform the output of nm in a proper C declaration
18855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18857 # Transform the output of nm in a C name address pair
18858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18860 # This is the shared library runtime path variable.
18861 runpath_var=$runpath_var
18863 # This is the shared library path variable.
18864 shlibpath_var=$shlibpath_var
18866 # Is shlibpath searched before the hard-coded library search path?
18867 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18869 # How to hardcode a shared library path into an executable.
18870 hardcode_action=$hardcode_action_GCJ
18872 # Whether we should hardcode library paths into libraries.
18873 hardcode_into_libs=$hardcode_into_libs
18875 # Flag to hardcode \$libdir into a binary during linking.
18876 # This must work even if \$libdir does not exist.
18877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18879 # If ld is used when linking, flag to hardcode \$libdir into
18880 # a binary during linking. This must work even if \$libdir does
18882 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18884 # Whether we need a single -rpath flag with a separated argument.
18885 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18887 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18888 # resulting binary.
18889 hardcode_direct=$hardcode_direct_GCJ
18891 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18892 # resulting binary.
18893 hardcode_minus_L=$hardcode_minus_L_GCJ
18895 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18896 # the resulting binary.
18897 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18899 # Set to yes if building a shared library automatically hardcodes DIR into the library
18900 # and all subsequent libraries and executables linked against it.
18901 hardcode_automatic=$hardcode_automatic_GCJ
18903 # Variables whose values should be saved in libtool wrapper scripts and
18904 # restored at relink time.
18905 variables_saved_for_relink="$variables_saved_for_relink"
18907 # Whether libtool must link a program against all its dependency libraries.
18908 link_all_deplibs=$link_all_deplibs_GCJ
18910 # Compile-time system search path for libraries
18911 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18913 # Run-time system search path for libraries
18914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18916 # Fix the shell variable \$srcfile for the compiler.
18917 fix_srcfile_path="$fix_srcfile_path_GCJ"
18919 # Set to yes if exported symbols are required.
18920 always_export_symbols=$always_export_symbols_GCJ
18922 # The commands to list exported symbols.
18923 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18925 # The commands to extract the exported symbol list from a shared archive.
18926 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18928 # Symbols that should not be listed in the preloaded symbols.
18929 exclude_expsyms=$lt_exclude_expsyms_GCJ
18931 # Symbols that must always be exported.
18932 include_expsyms=$lt_include_expsyms_GCJ
18934 # ### END LIBTOOL TAG CONFIG: $tagname
18940 # If there is no Makefile yet, we rely on a make rule to execute
18941 # `config.status --recheck' to rerun these tests and create the
18942 # libtool script then.
18943 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18944 if test -f "$ltmain_in"; then
18945 test -f Makefile && make "$ltmain"
18951 ac_cpp='$CPP $CPPFLAGS'
18952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18966 # Source file extension for RC test sources.
18969 # Object file extension for compiled RC test sources.
18973 # Code to be used in simple compile tests
18974 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18976 # Code to be used in simple link tests
18977 lt_simple_link_test_code="$lt_simple_compile_test_code"
18979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18981 # If no C compiler was specified, use CC.
18984 # If no C compiler flags were specified, use CFLAGS.
18985 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18987 # Allow CC to be a program name with arguments.
18991 # save warnings/boilerplate of simple test code
18992 ac_outfile=conftest.$ac_objext
18993 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
18994 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18995 _lt_compiler_boilerplate=`cat conftest.err`
18998 ac_outfile=conftest.$ac_objext
18999 printf "$lt_simple_link_test_code" >conftest.$ac_ext
19000 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19001 _lt_linker_boilerplate=`cat conftest.err`
19005 # Allow CC to be a program name with arguments.
19010 for cc_temp in $compiler""; do
19012 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19013 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19018 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19020 lt_cv_prog_compiler_c_o_RC=yes
19022 # The else clause should only fire when bootstrapping the
19023 # libtool distribution, otherwise you forgot to ship ltmain.sh
19024 # with your package, and you will get complaints that there are
19025 # no rules to generate ltmain.sh.
19026 if test -f "$ltmain"; then
19027 # See if we are running on zsh, and set the options which allow our commands through
19028 # without removal of \ escapes.
19029 if test -n "${ZSH_VERSION+set}" ; then
19030 setopt NO_GLOB_SUBST
19032 # Now quote all the things that may contain metacharacters while being
19033 # careful not to overquote the AC_SUBSTed values. We take copies of the
19034 # variables and quote the copies for generation of the libtool script.
19035 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19037 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19038 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19039 deplibs_check_method reload_flag reload_cmds need_locks \
19040 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19041 lt_cv_sys_global_symbol_to_c_name_address \
19042 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19043 old_postinstall_cmds old_postuninstall_cmds \
19047 lt_prog_compiler_wl_RC \
19048 lt_prog_compiler_pic_RC \
19049 lt_prog_compiler_static_RC \
19050 lt_prog_compiler_no_builtin_flag_RC \
19051 export_dynamic_flag_spec_RC \
19052 thread_safe_flag_spec_RC \
19053 whole_archive_flag_spec_RC \
19054 enable_shared_with_static_runtimes_RC \
19055 old_archive_cmds_RC \
19056 old_archive_from_new_cmds_RC \
19057 predep_objects_RC \
19058 postdep_objects_RC \
19061 compiler_lib_search_path_RC \
19063 archive_expsym_cmds_RC \
19064 postinstall_cmds_RC \
19065 postuninstall_cmds_RC \
19066 old_archive_from_expsyms_cmds_RC \
19067 allow_undefined_flag_RC \
19068 no_undefined_flag_RC \
19069 export_symbols_cmds_RC \
19070 hardcode_libdir_flag_spec_RC \
19071 hardcode_libdir_flag_spec_ld_RC \
19072 hardcode_libdir_separator_RC \
19073 hardcode_automatic_RC \
19075 module_expsym_cmds_RC \
19076 lt_cv_prog_compiler_c_o_RC \
19077 exclude_expsyms_RC \
19078 include_expsyms_RC; do
19081 old_archive_cmds_RC | \
19082 old_archive_from_new_cmds_RC | \
19083 archive_cmds_RC | \
19084 archive_expsym_cmds_RC | \
19086 module_expsym_cmds_RC | \
19087 old_archive_from_expsyms_cmds_RC | \
19088 export_symbols_cmds_RC | \
19089 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19090 postinstall_cmds | postuninstall_cmds | \
19091 old_postinstall_cmds | old_postuninstall_cmds | \
19092 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19093 # Double-quote double-evaled strings.
19094 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19097 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19103 *'\$0 --fallback-echo"')
19104 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19110 cat <<__EOF__ >> "$cfgfile"
19111 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19113 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19115 # Shell to use when invoking shell scripts.
19118 # Whether or not to build shared libraries.
19119 build_libtool_libs=$enable_shared
19121 # Whether or not to build static libraries.
19122 build_old_libs=$enable_static
19124 # Whether or not to add -lc for building shared libraries.
19125 build_libtool_need_lc=$archive_cmds_need_lc_RC
19127 # Whether or not to disallow shared libs when runtime libs are static
19128 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19130 # Whether or not to optimize for fast installation.
19131 fast_install=$enable_fast_install
19134 host_alias=$host_alias
19138 # The build system.
19139 build_alias=$build_alias
19143 # An echo program that does not interpret backslashes.
19148 AR_FLAGS=$lt_AR_FLAGS
19153 # LTCC compiler flags.
19154 LTCFLAGS=$lt_LTCFLAGS
19156 # A language-specific compiler.
19159 # Is the compiler the GNU C compiler?
19165 # The linker used to build libraries.
19168 # Whether we need hard or soft links.
19171 # A BSD-compatible nm program.
19174 # A symbol stripping program
19177 # Used to examine libraries when file_magic_cmd begins "file"
19178 MAGIC_CMD=$MAGIC_CMD
19180 # Used on cygwin: DLL creation program.
19183 # Used on cygwin: object dumper.
19186 # Used on cygwin: assembler.
19189 # The name of the directory that contains temporary libtool files.
19192 # How to create reloadable object files.
19193 reload_flag=$lt_reload_flag
19194 reload_cmds=$lt_reload_cmds
19196 # How to pass a linker flag through the compiler.
19197 wl=$lt_lt_prog_compiler_wl_RC
19199 # Object file suffix (normally "o").
19200 objext="$ac_objext"
19202 # Old archive suffix (normally "a").
19205 # Shared library suffix (normally ".so").
19206 shrext_cmds='$shrext_cmds'
19208 # Executable file suffix (normally "").
19211 # Additional compiler flags for building library objects.
19212 pic_flag=$lt_lt_prog_compiler_pic_RC
19215 # What is the maximum length of a command?
19216 max_cmd_len=$lt_cv_sys_max_cmd_len
19218 # Does compiler simultaneously support -c and -o options?
19219 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19221 # Must we lock files when doing compilation?
19222 need_locks=$lt_need_locks
19224 # Do we need the lib prefix for modules?
19225 need_lib_prefix=$need_lib_prefix
19227 # Do we need a version for libraries?
19228 need_version=$need_version
19230 # Whether dlopen is supported.
19231 dlopen_support=$enable_dlopen
19233 # Whether dlopen of programs is supported.
19234 dlopen_self=$enable_dlopen_self
19236 # Whether dlopen of statically linked programs is supported.
19237 dlopen_self_static=$enable_dlopen_self_static
19239 # Compiler flag to prevent dynamic linking.
19240 link_static_flag=$lt_lt_prog_compiler_static_RC
19242 # Compiler flag to turn off builtin functions.
19243 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19245 # Compiler flag to allow reflexive dlopens.
19246 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19248 # Compiler flag to generate shared objects directly from archives.
19249 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19251 # Compiler flag to generate thread-safe objects.
19252 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19254 # Library versioning type.
19255 version_type=$version_type
19257 # Format of library name prefix.
19258 libname_spec=$lt_libname_spec
19260 # List of archive names. First name is the real one, the rest are links.
19261 # The last name is the one that the linker finds with -lNAME.
19262 library_names_spec=$lt_library_names_spec
19264 # The coded name of the library, if different from the real name.
19265 soname_spec=$lt_soname_spec
19267 # Commands used to build and install an old-style archive.
19269 old_archive_cmds=$lt_old_archive_cmds_RC
19270 old_postinstall_cmds=$lt_old_postinstall_cmds
19271 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19273 # Create an old-style archive from a shared archive.
19274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19276 # Create a temporary old-style archive to link instead of a shared archive.
19277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19279 # Commands used to build and install a shared archive.
19280 archive_cmds=$lt_archive_cmds_RC
19281 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19282 postinstall_cmds=$lt_postinstall_cmds
19283 postuninstall_cmds=$lt_postuninstall_cmds
19285 # Commands used to build a loadable module (assumed same as above if empty)
19286 module_cmds=$lt_module_cmds_RC
19287 module_expsym_cmds=$lt_module_expsym_cmds_RC
19289 # Commands to strip libraries.
19290 old_striplib=$lt_old_striplib
19291 striplib=$lt_striplib
19293 # Dependencies to place before the objects being linked to create a
19295 predep_objects=$lt_predep_objects_RC
19297 # Dependencies to place after the objects being linked to create a
19299 postdep_objects=$lt_postdep_objects_RC
19301 # Dependencies to place before the objects being linked to create a
19303 predeps=$lt_predeps_RC
19305 # Dependencies to place after the objects being linked to create a
19307 postdeps=$lt_postdeps_RC
19309 # The library search path used internally by the compiler when linking
19310 # a shared library.
19311 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19313 # Method to check whether dependent libraries are shared objects.
19314 deplibs_check_method=$lt_deplibs_check_method
19316 # Command to use when deplibs_check_method == file_magic.
19317 file_magic_cmd=$lt_file_magic_cmd
19319 # Flag that allows shared libraries with undefined symbols to be built.
19320 allow_undefined_flag=$lt_allow_undefined_flag_RC
19322 # Flag that forces no undefined symbols.
19323 no_undefined_flag=$lt_no_undefined_flag_RC
19325 # Commands used to finish a libtool library installation in a directory.
19326 finish_cmds=$lt_finish_cmds
19328 # Same as above, but a single script fragment to be evaled but not shown.
19329 finish_eval=$lt_finish_eval
19331 # Take the output of nm and produce a listing of raw symbols and C names.
19332 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19334 # Transform the output of nm in a proper C declaration
19335 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19337 # Transform the output of nm in a C name address pair
19338 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19340 # This is the shared library runtime path variable.
19341 runpath_var=$runpath_var
19343 # This is the shared library path variable.
19344 shlibpath_var=$shlibpath_var
19346 # Is shlibpath searched before the hard-coded library search path?
19347 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19349 # How to hardcode a shared library path into an executable.
19350 hardcode_action=$hardcode_action_RC
19352 # Whether we should hardcode library paths into libraries.
19353 hardcode_into_libs=$hardcode_into_libs
19355 # Flag to hardcode \$libdir into a binary during linking.
19356 # This must work even if \$libdir does not exist.
19357 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19359 # If ld is used when linking, flag to hardcode \$libdir into
19360 # a binary during linking. This must work even if \$libdir does
19362 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19364 # Whether we need a single -rpath flag with a separated argument.
19365 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19367 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19368 # resulting binary.
19369 hardcode_direct=$hardcode_direct_RC
19371 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19372 # resulting binary.
19373 hardcode_minus_L=$hardcode_minus_L_RC
19375 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19376 # the resulting binary.
19377 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19379 # Set to yes if building a shared library automatically hardcodes DIR into the library
19380 # and all subsequent libraries and executables linked against it.
19381 hardcode_automatic=$hardcode_automatic_RC
19383 # Variables whose values should be saved in libtool wrapper scripts and
19384 # restored at relink time.
19385 variables_saved_for_relink="$variables_saved_for_relink"
19387 # Whether libtool must link a program against all its dependency libraries.
19388 link_all_deplibs=$link_all_deplibs_RC
19390 # Compile-time system search path for libraries
19391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19393 # Run-time system search path for libraries
19394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19396 # Fix the shell variable \$srcfile for the compiler.
19397 fix_srcfile_path="$fix_srcfile_path_RC"
19399 # Set to yes if exported symbols are required.
19400 always_export_symbols=$always_export_symbols_RC
19402 # The commands to list exported symbols.
19403 export_symbols_cmds=$lt_export_symbols_cmds_RC
19405 # The commands to extract the exported symbol list from a shared archive.
19406 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19408 # Symbols that should not be listed in the preloaded symbols.
19409 exclude_expsyms=$lt_exclude_expsyms_RC
19411 # Symbols that must always be exported.
19412 include_expsyms=$lt_include_expsyms_RC
19414 # ### END LIBTOOL TAG CONFIG: $tagname
19420 # If there is no Makefile yet, we rely on a make rule to execute
19421 # `config.status --recheck' to rerun these tests and create the
19422 # libtool script then.
19423 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19424 if test -f "$ltmain_in"; then
19425 test -f Makefile && make "$ltmain"
19431 ac_cpp='$CPP $CPPFLAGS'
19432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19442 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19443 { (exit 1); exit 1; }; }
19447 # Append the new tag name to the list of available tags.
19448 if test -n "$tagname" ; then
19449 available_tags="$available_tags $tagname"
19455 # Now substitute the updated list of available tags.
19456 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19457 mv "${ofile}T" "$ofile"
19461 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19462 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19463 { (exit 1); exit 1; }; }
19469 # This can be used to rebuild libtool when needed
19470 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19472 # Always use our own libtool.
19473 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19475 # Prevent multiple expansion
19501 { echo "$as_me:$LINENO: result: " >&5
19502 echo "${ECHO_T}" >&6; }
19503 { echo "$as_me:$LINENO: result: ${T_MD}System checks...${T_ME}" >&5
19504 echo "${ECHO_T}${T_MD}System checks...${T_ME}" >&6; }
19507 ac_cpp='$CPP $CPPFLAGS'
19508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19511 if test -n "$ac_tool_prefix"; then
19512 for ac_prog in xlC gcc cc
19514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19518 if test "${ac_cv_prog_CC+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 if test -n "$CC"; then
19522 ac_cv_prog_CC="$CC" # Let the user override the test.
19524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19525 for as_dir in $PATH
19528 test -z "$as_dir" && as_dir=.
19529 for ac_exec_ext in '' $ac_executable_extensions; do
19530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19531 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
19532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19542 if test -n "$CC"; then
19543 { echo "$as_me:$LINENO: result: $CC" >&5
19544 echo "${ECHO_T}$CC" >&6; }
19546 { echo "$as_me:$LINENO: result: no" >&5
19547 echo "${ECHO_T}no" >&6; }
19551 test -n "$CC" && break
19554 if test -z "$CC"; then
19556 for ac_prog in xlC gcc cc
19558 # Extract the first word of "$ac_prog", so it can be a program name with args.
19559 set dummy $ac_prog; ac_word=$2
19560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19562 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19563 echo $ECHO_N "(cached) $ECHO_C" >&6
19565 if test -n "$ac_ct_CC"; then
19566 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
19568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19569 for as_dir in $PATH
19572 test -z "$as_dir" && as_dir=.
19573 for ac_exec_ext in '' $ac_executable_extensions; do
19574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19575 ac_cv_prog_ac_ct_CC="$ac_prog"
19576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
19586 if test -n "$ac_ct_CC"; then
19587 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19588 echo "${ECHO_T}$ac_ct_CC" >&6; }
19590 { echo "$as_me:$LINENO: result: no" >&5
19591 echo "${ECHO_T}no" >&6; }
19595 test -n "$ac_ct_CC" && break
19598 if test "x$ac_ct_CC" = x; then
19601 case $cross_compiling:$ac_tool_warned in
19603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19604 whose name does not start with the host triplet. If you think this
19605 configuration is useful to you, please write to autoconf@gnu.org." >&5
19606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19607 whose name does not start with the host triplet. If you think this
19608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19609 ac_tool_warned=yes ;;
19616 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19617 See \`config.log' for more details." >&5
19618 echo "$as_me: error: no acceptable C compiler found in \$PATH
19619 See \`config.log' for more details." >&2;}
19620 { (exit 1); exit 1; }; }
19622 # Provide some information about the compiler.
19623 echo "$as_me:$LINENO: checking for C compiler version" >&5
19624 ac_compiler=`set X $ac_compile; echo $2`
19625 { (ac_try="$ac_compiler --version >&5"
19626 case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_compiler --version >&5") 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }
19635 { (ac_try="$ac_compiler -v >&5"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compiler -v >&5") 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }
19645 { (ac_try="$ac_compiler -V >&5"
19646 case "(($ac_try" in
19647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19648 *) ac_try_echo=$ac_try;;
19650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19651 (eval "$ac_compiler -V >&5") 2>&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); }
19656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19657 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
19658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
19659 echo $ECHO_N "(cached) $ECHO_C" >&6
19661 cat >conftest.$ac_ext <<_ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19679 rm -f conftest.$ac_objext
19680 if { (ac_try="$ac_compile"
19681 case "(($ac_try" in
19682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19683 *) ac_try_echo=$ac_try;;
19685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19686 (eval "$ac_compile") 2>conftest.er1
19688 grep -v '^ *+' conftest.er1 >conftest.err
19690 cat conftest.err >&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } && {
19693 test -z "$ac_c_werror_flag" ||
19694 test ! -s conftest.err
19695 } && test -s conftest.$ac_objext; then
19696 ac_compiler_gnu=yes
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
19708 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
19710 GCC=`test $ac_compiler_gnu = yes && echo yes`
19711 ac_test_CFLAGS=${CFLAGS+set}
19712 ac_save_CFLAGS=$CFLAGS
19713 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19714 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19715 if test "${ac_cv_prog_cc_g+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 ac_save_c_werror_flag=$ac_c_werror_flag
19719 ac_c_werror_flag=yes
19722 cat >conftest.$ac_ext <<_ACEOF
19725 cat confdefs.h >>conftest.$ac_ext
19726 cat >>conftest.$ac_ext <<_ACEOF
19727 /* end confdefs.h. */
19737 rm -f conftest.$ac_objext
19738 if { (ac_try="$ac_compile"
19739 case "(($ac_try" in
19740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19741 *) ac_try_echo=$ac_try;;
19743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19744 (eval "$ac_compile") 2>conftest.er1
19746 grep -v '^ *+' conftest.er1 >conftest.err
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } && {
19751 test -z "$ac_c_werror_flag" ||
19752 test ! -s conftest.err
19753 } && test -s conftest.$ac_objext; then
19754 ac_cv_prog_cc_g=yes
19756 echo "$as_me: failed program was:" >&5
19757 sed 's/^/| /' conftest.$ac_ext >&5
19760 cat >conftest.$ac_ext <<_ACEOF
19763 cat confdefs.h >>conftest.$ac_ext
19764 cat >>conftest.$ac_ext <<_ACEOF
19765 /* end confdefs.h. */
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19784 grep -v '^ *+' conftest.er1 >conftest.err
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 ac_c_werror_flag=$ac_save_c_werror_flag
19799 cat >conftest.$ac_ext <<_ACEOF
19802 cat confdefs.h >>conftest.$ac_ext
19803 cat >>conftest.$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19823 grep -v '^ *+' conftest.er1 >conftest.err
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_prog_cc_g=yes
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19846 ac_c_werror_flag=$ac_save_c_werror_flag
19848 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
19849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
19850 if test "$ac_test_CFLAGS" = set; then
19851 CFLAGS=$ac_save_CFLAGS
19852 elif test $ac_cv_prog_cc_g = yes; then
19853 if test "$GCC" = yes; then
19859 if test "$GCC" = yes; then
19865 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
19866 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
19867 if test "${ac_cv_prog_cc_c89+set}" = set; then
19868 echo $ECHO_N "(cached) $ECHO_C" >&6
19870 ac_cv_prog_cc_c89=no
19872 cat >conftest.$ac_ext <<_ACEOF
19875 cat confdefs.h >>conftest.$ac_ext
19876 cat >>conftest.$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19878 #include <stdarg.h>
19880 #include <sys/types.h>
19881 #include <sys/stat.h>
19882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19883 struct buf { int x; };
19884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
19885 static char *e (p, i)
19891 static char *f (char * (*g) (char **, int), char **p, ...)
19896 s = g (p, va_arg (v,int));
19901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19902 function prototypes and stuff, but not '\xHH' hex character constants.
19903 These don't provoke an error unfortunately, instead are silently treated
19904 as 'x'. The following induces an error, until -std is added to get
19905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19906 array size at least. It's necessary to write '\x00'==0 to get something
19907 that's true only with -std. */
19908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19911 inside strings and character constants. */
19913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19915 int test (int i, double x);
19916 struct s1 {int (*f) (int a);};
19917 struct s2 {int (*f) (double a);};
19918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19932 CC="$ac_save_CC $ac_arg"
19933 rm -f conftest.$ac_objext
19934 if { (ac_try="$ac_compile"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_compile") 2>conftest.er1
19942 grep -v '^ *+' conftest.er1 >conftest.err
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } && {
19947 test -z "$ac_c_werror_flag" ||
19948 test ! -s conftest.err
19949 } && test -s conftest.$ac_objext; then
19950 ac_cv_prog_cc_c89=$ac_arg
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19958 rm -f core conftest.err conftest.$ac_objext
19959 test "x$ac_cv_prog_cc_c89" != "xno" && break
19961 rm -f conftest.$ac_ext
19966 case "x$ac_cv_prog_cc_c89" in
19968 { echo "$as_me:$LINENO: result: none needed" >&5
19969 echo "${ECHO_T}none needed" >&6; } ;;
19971 { echo "$as_me:$LINENO: result: unsupported" >&5
19972 echo "${ECHO_T}unsupported" >&6; } ;;
19974 CC="$CC $ac_cv_prog_cc_c89"
19975 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
19976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
19981 ac_cpp='$CPP $CPPFLAGS'
19982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19986 depcc="$CC" am_compiler_list=
19988 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
19989 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
19990 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19994 # We make a subdir and do the tests there. Otherwise we can end up
19995 # making bogus files that we don't know about and never remove. For
19996 # instance it was reported that on HP-UX the gcc test will end up
19997 # making a dummy file named `D' -- because `-MD' means `put the output
20000 # Copy depcomp to subdir because otherwise we won't find it if we're
20001 # using a relative directory.
20002 cp "$am_depcomp" conftest.dir
20004 # We will build objects and dependencies in a subdirectory because
20005 # it helps to detect inapplicable dependency modes. For instance
20006 # both Tru64's cc and ICC support -MD to output dependencies as a
20007 # side effect of compilation, but ICC will put the dependencies in
20008 # the current directory while Tru64 will put them in the object
20012 am_cv_CC_dependencies_compiler_type=none
20013 if test "$am_compiler_list" = ""; then
20014 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20016 for depmode in $am_compiler_list; do
20017 # Setup a source with many dependencies, because some compilers
20018 # like to wrap large dependency lists on column 80 (with \), and
20019 # we should not choose a depcomp mode which is confused by this.
20021 # We need to recreate these files for each test, as the compiler may
20022 # overwrite some of them when testing with obscure command lines.
20023 # This happens at least with the AIX C compiler.
20025 for i in 1 2 3 4 5 6; do
20026 echo '#include "conftst'$i'.h"' >> sub/conftest.c
20027 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20028 # Solaris 8's {/usr,}/bin/sh.
20029 touch sub/conftst$i.h
20031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20035 # after this tag, mechanisms are not by side-effect, so they'll
20036 # only be used when explicitly requested
20037 if test "x$enable_dependency_tracking" = xyes; then
20045 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20046 # mode. It turns out that the SunPro C++ compiler does not properly
20047 # handle `-M -o', and we need to detect this.
20048 if depmode=$depmode \
20049 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
20050 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20051 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
20052 >/dev/null 2>conftest.err &&
20053 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20054 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
20055 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20056 # icc doesn't choke on unknown options, it will just issue warnings
20057 # or remarks (even with -Werror). So we grep stderr for any message
20058 # that says an option was ignored or not supported.
20059 # When given -MP, icc 7.0 and 7.1 complain thusly:
20060 # icc: Command line warning: ignoring option '-M'; no argument required
20061 # The diagnosis changed in icc 8.0:
20062 # icc: Command line remark: option '-MP' not supported
20063 if (grep 'ignoring option' conftest.err ||
20064 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20065 am_cv_CC_dependencies_compiler_type=$depmode
20072 rm -rf conftest.dir
20074 am_cv_CC_dependencies_compiler_type=none
20078 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20079 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20080 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
20085 test "x$enable_dependency_tracking" != xno \
20086 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
20087 am__fastdepCC_TRUE=
20088 am__fastdepCC_FALSE='#'
20090 am__fastdepCC_TRUE='#'
20091 am__fastdepCC_FALSE=
20095 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
20096 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
20099 echo timestamp > conftest.file
20100 # Do `set' in a subshell so we don't clobber the current shell's
20101 # arguments. Must try -L first in case configure is actually a
20102 # symlink; some systems play weird games with the mod time of symlinks
20103 # (eg FreeBSD returns the mod time of the symlink's containing
20106 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
20107 if test "$*" = "X"; then
20109 set X `ls -t $srcdir/configure conftest.file`
20111 rm -f conftest.file
20112 if test "$*" != "X $srcdir/configure conftest.file" \
20113 && test "$*" != "X conftest.file $srcdir/configure"; then
20115 # If neither matched, then we have a broken ls. This can happen
20116 # if, for instance, CONFIG_SHELL is bash and it inherits a
20117 # broken ls alias from the environment. This has actually
20118 # happened. Such a system could not be considered "sane".
20119 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
20120 alias in your environment" >&5
20121 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
20122 alias in your environment" >&2;}
20123 { (exit 1); exit 1; }; }
20126 test "$2" = conftest.file
20132 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
20133 Check your system clock" >&5
20134 echo "$as_me: error: newly created file is older than distributed files!
20135 Check your system clock" >&2;}
20136 { (exit 1); exit 1; }; }
20138 { echo "$as_me:$LINENO: result: yes" >&5
20139 echo "${ECHO_T}yes" >&6; }
20140 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20141 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20142 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20143 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 cat >conftest.make <<\_ACEOF
20149 @echo '@@@%%%=$(MAKE)=@@@%%%'
20151 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20152 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20153 *@@@%%%=?*=@@@%%%*)
20154 eval ac_cv_prog_make_${ac_make}_set=yes;;
20156 eval ac_cv_prog_make_${ac_make}_set=no;;
20158 rm -f conftest.make
20160 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
20161 { echo "$as_me:$LINENO: result: yes" >&5
20162 echo "${ECHO_T}yes" >&6; }
20165 { echo "$as_me:$LINENO: result: no" >&5
20166 echo "${ECHO_T}no" >&6; }
20167 SET_MAKE="MAKE=${MAKE-make}"
20171 { echo "$as_me:$LINENO: checking whether printf(\"%s\",NULL) works..." >&5
20172 echo $ECHO_N "checking whether printf(\"%s\",NULL) works...... $ECHO_C" >&6; }
20173 if test "$cross_compiling" = yes; then
20174 { echo "$as_me:$LINENO: result: assuming the worse in cross-compilation" >&5
20175 echo "${ECHO_T}assuming the worse in cross-compilation" >&6; }
20177 cat >conftest.$ac_ext <<_ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20192 rm -f conftest$ac_exeext
20193 if { (ac_try="$ac_link"
20194 case "(($ac_try" in
20195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196 *) ac_try_echo=$ac_try;;
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199 (eval "$ac_link") 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20203 { (case "(($ac_try" in
20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20205 *) ac_try_echo=$ac_try;;
20207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20208 (eval "$ac_try") 2>&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); }; }; then
20213 cat >>confdefs.h <<\_ACEOF
20214 #define PRINTF_NULL_WORKING 1
20217 { echo "$as_me:$LINENO: result: yes" >&5
20218 echo "${ECHO_T}yes" >&6; }
20220 echo "$as_me: program exited with status $ac_status" >&5
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20224 ( exit $ac_status )
20225 { echo "$as_me:$LINENO: result: no" >&5
20226 echo "${ECHO_T}no" >&6; }
20228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20234 { echo "$as_me:$LINENO: checking for va_copy() function" >&5
20235 echo $ECHO_N "checking for va_copy() function... $ECHO_C" >&6; }
20236 if test "${ac_cv_va_copy+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20244 if test ".$ac_cv_va_copy" = .; then
20245 if test "$cross_compiling" = yes; then
20246 ac_cv_va_copy="C99"
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20255 #include <stdlib.h>
20256 #include <stdarg.h>
20257 #include <string.h>
20258 #define DO_VA_COPY(d, s) va_copy((d), (s))
20259 void test(char *str, ...)
20264 DO_VA_COPY(ap2, ap);
20265 for (i = 1; i <= 9; i++) {
20266 int k = (int)va_arg(ap, int);
20270 DO_VA_COPY(ap, ap2);
20271 for (i = 1; i <= 9; i++) {
20272 int k = (int)va_arg(ap, int);
20278 int main(int argc, char *argv[])
20280 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20285 rm -f conftest$ac_exeext
20286 if { (ac_try="$ac_link"
20287 case "(($ac_try" in
20288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_link") 2>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20296 { (case "(($ac_try" in
20297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20298 *) ac_try_echo=$ac_try;;
20300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20301 (eval "$ac_try") 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 ac_cv_va_copy="C99"
20307 echo "$as_me: program exited with status $ac_status" >&5
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20321 if test ".$ac_cv_va_copy" = .; then
20322 if test "$cross_compiling" = yes; then
20323 ac_cv_va_copy="GCM"
20325 cat >conftest.$ac_ext <<_ACEOF
20328 cat confdefs.h >>conftest.$ac_ext
20329 cat >>conftest.$ac_ext <<_ACEOF
20330 /* end confdefs.h. */
20332 #include <stdlib.h>
20333 #include <stdarg.h>
20334 #include <string.h>
20335 #define DO_VA_COPY(d, s) VA_COPY((d), (s))
20336 void test(char *str, ...)
20341 DO_VA_COPY(ap2, ap);
20342 for (i = 1; i <= 9; i++) {
20343 int k = (int)va_arg(ap, int);
20347 DO_VA_COPY(ap, ap2);
20348 for (i = 1; i <= 9; i++) {
20349 int k = (int)va_arg(ap, int);
20355 int main(int argc, char *argv[])
20357 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20362 rm -f conftest$ac_exeext
20363 if { (ac_try="$ac_link"
20364 case "(($ac_try" in
20365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_link") 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20373 { (case "(($ac_try" in
20374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20375 *) ac_try_echo=$ac_try;;
20377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20378 (eval "$ac_try") 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 ac_cv_va_copy="GCM"
20384 echo "$as_me: program exited with status $ac_status" >&5
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20398 if test ".$ac_cv_va_copy" = .; then
20399 if test "$cross_compiling" = yes; then
20400 ac_cv_va_copy="GCH"
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20409 #include <stdlib.h>
20410 #include <stdarg.h>
20411 #include <string.h>
20412 #define DO_VA_COPY(d, s) __va_copy((d), (s))
20413 void test(char *str, ...)
20418 DO_VA_COPY(ap2, ap);
20419 for (i = 1; i <= 9; i++) {
20420 int k = (int)va_arg(ap, int);
20424 DO_VA_COPY(ap, ap2);
20425 for (i = 1; i <= 9; i++) {
20426 int k = (int)va_arg(ap, int);
20432 int main(int argc, char *argv[])
20434 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20439 rm -f conftest$ac_exeext
20440 if { (ac_try="$ac_link"
20441 case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_link") 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20450 { (case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_try") 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; }; then
20459 ac_cv_va_copy="GCH"
20461 echo "$as_me: program exited with status $ac_status" >&5
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20475 if test ".$ac_cv_va_copy" = .; then
20476 if test "$cross_compiling" = yes; then
20477 ac_cv_va_copy="GCB"
20479 cat >conftest.$ac_ext <<_ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20486 #include <stdlib.h>
20487 #include <stdarg.h>
20488 #include <string.h>
20489 #define DO_VA_COPY(d, s) __builtin_va_copy((d), (s))
20490 void test(char *str, ...)
20495 DO_VA_COPY(ap2, ap);
20496 for (i = 1; i <= 9; i++) {
20497 int k = (int)va_arg(ap, int);
20501 DO_VA_COPY(ap, ap2);
20502 for (i = 1; i <= 9; i++) {
20503 int k = (int)va_arg(ap, int);
20509 int main(int argc, char *argv[])
20511 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20516 rm -f conftest$ac_exeext
20517 if { (ac_try="$ac_link"
20518 case "(($ac_try" in
20519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20520 *) ac_try_echo=$ac_try;;
20522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20523 (eval "$ac_link") 2>&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20527 { (case "(($ac_try" in
20528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20529 *) ac_try_echo=$ac_try;;
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_try") 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_cv_va_copy="GCB"
20538 echo "$as_me: program exited with status $ac_status" >&5
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20552 if test ".$ac_cv_va_copy" = .; then
20553 if test "$cross_compiling" = yes; then
20554 ac_cv_va_copy="ASS"
20556 cat >conftest.$ac_ext <<_ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20563 #include <stdlib.h>
20564 #include <stdarg.h>
20565 #include <string.h>
20566 #define DO_VA_COPY(d, s) do { (d) = (s); } while (0)
20567 void test(char *str, ...)
20572 DO_VA_COPY(ap2, ap);
20573 for (i = 1; i <= 9; i++) {
20574 int k = (int)va_arg(ap, int);
20578 DO_VA_COPY(ap, ap2);
20579 for (i = 1; i <= 9; i++) {
20580 int k = (int)va_arg(ap, int);
20586 int main(int argc, char *argv[])
20588 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20593 rm -f conftest$ac_exeext
20594 if { (ac_try="$ac_link"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_link") 2>&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20604 { (case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_try") 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; }; then
20613 ac_cv_va_copy="ASS"
20615 echo "$as_me: program exited with status $ac_status" >&5
20616 echo "$as_me: failed program was:" >&5
20617 sed 's/^/| /' conftest.$ac_ext >&5
20620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20629 if test ".$ac_cv_va_copy" = .; then
20630 if test "$cross_compiling" = yes; then
20631 ac_cv_va_copy="ASP"
20633 cat >conftest.$ac_ext <<_ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20640 #include <stdlib.h>
20641 #include <stdarg.h>
20642 #include <string.h>
20643 #define DO_VA_COPY(d, s) do { *(d) = *(s); } while (0)
20644 void test(char *str, ...)
20649 DO_VA_COPY(ap2, ap);
20650 for (i = 1; i <= 9; i++) {
20651 int k = (int)va_arg(ap, int);
20655 DO_VA_COPY(ap, ap2);
20656 for (i = 1; i <= 9; i++) {
20657 int k = (int)va_arg(ap, int);
20663 int main(int argc, char *argv[])
20665 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20670 rm -f conftest$ac_exeext
20671 if { (ac_try="$ac_link"
20672 case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20677 (eval "$ac_link") 2>&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20681 { (case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_try") 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 ac_cv_va_copy="ASP"
20692 echo "$as_me: program exited with status $ac_status" >&5
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20706 if test ".$ac_cv_va_copy" = .; then
20707 if test "$cross_compiling" = yes; then
20708 ac_cv_va_copy="CPS"
20710 cat >conftest.$ac_ext <<_ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20717 #include <stdlib.h>
20718 #include <stdarg.h>
20719 #include <string.h>
20720 #define DO_VA_COPY(d, s) memcpy((void *)&(d), (void *)&(s))
20721 void test(char *str, ...)
20726 DO_VA_COPY(ap2, ap);
20727 for (i = 1; i <= 9; i++) {
20728 int k = (int)va_arg(ap, int);
20732 DO_VA_COPY(ap, ap2);
20733 for (i = 1; i <= 9; i++) {
20734 int k = (int)va_arg(ap, int);
20740 int main(int argc, char *argv[])
20742 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20747 rm -f conftest$ac_exeext
20748 if { (ac_try="$ac_link"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_link") 2>&5
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20758 { (case "(($ac_try" in
20759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20760 *) ac_try_echo=$ac_try;;
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_try") 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_cv_va_copy="CPS"
20769 echo "$as_me: program exited with status $ac_status" >&5
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20783 if test ".$ac_cv_va_copy" = .; then
20784 if test "$cross_compiling" = yes; then
20785 ac_cv_va_copy="CPP"
20787 cat >conftest.$ac_ext <<_ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20794 #include <stdlib.h>
20795 #include <stdarg.h>
20796 #include <string.h>
20797 #define DO_VA_COPY(d, s) memcpy((void *)(d), (void *)(s))
20798 void test(char *str, ...)
20803 DO_VA_COPY(ap2, ap);
20804 for (i = 1; i <= 9; i++) {
20805 int k = (int)va_arg(ap, int);
20809 DO_VA_COPY(ap, ap2);
20810 for (i = 1; i <= 9; i++) {
20811 int k = (int)va_arg(ap, int);
20817 int main(int argc, char *argv[])
20819 test("test", 1, 2, 3, 4, 5, 6, 7, 8, 9);
20824 rm -f conftest$ac_exeext
20825 if { (ac_try="$ac_link"
20826 case "(($ac_try" in
20827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20828 *) ac_try_echo=$ac_try;;
20830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 (eval "$ac_link") 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20835 { (case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_try") 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; }; then
20844 ac_cv_va_copy="CPP"
20846 echo "$as_me: program exited with status $ac_status" >&5
20847 echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.$ac_ext >&5
20851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20857 if test ".$ac_cv_va_copy" = .; then
20858 { { echo "$as_me:$LINENO: error: no working implementation found" >&5
20859 echo "$as_me: error: no working implementation found" >&2;}
20860 { (exit 1); exit 1; }; }
20865 if test ".$ac_cv_va_copy" = ".C99"; then
20867 cat >>confdefs.h <<\_ACEOF
20868 #define HAVE_VA_COPY 1
20873 cat >>confdefs.h <<_ACEOF
20874 #define __VA_COPY_USE __VA_COPY_USE_$ac_cv_va_copy
20879 if test ".$ac_cv_va_copy" = ".C99"; then
20880 { echo "$as_me:$LINENO: result: yes" >&5
20881 echo "${ECHO_T}yes" >&6; }
20883 { echo "$as_me:$LINENO: result: no (using fallback implementation)" >&5
20884 echo "${ECHO_T}no (using fallback implementation)" >&6; }
20888 # Checks for header files.
20889 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20891 if test "${ac_cv_header_stdc+set}" = set; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 cat >conftest.$ac_ext <<_ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 #include <stdlib.h>
20901 #include <stdarg.h>
20902 #include <string.h>
20913 rm -f conftest.$ac_objext
20914 if { (ac_try="$ac_compile"
20915 case "(($ac_try" in
20916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20917 *) ac_try_echo=$ac_try;;
20919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20920 (eval "$ac_compile") 2>conftest.er1
20922 grep -v '^ *+' conftest.er1 >conftest.err
20924 cat conftest.err >&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } && {
20927 test -z "$ac_c_werror_flag" ||
20928 test ! -s conftest.err
20929 } && test -s conftest.$ac_objext; then
20930 ac_cv_header_stdc=yes
20932 echo "$as_me: failed program was:" >&5
20933 sed 's/^/| /' conftest.$ac_ext >&5
20935 ac_cv_header_stdc=no
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 if test $ac_cv_header_stdc = yes; then
20941 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 #include <string.h>
20951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20952 $EGREP "memchr" >/dev/null 2>&1; then
20955 ac_cv_header_stdc=no
20961 if test $ac_cv_header_stdc = yes; then
20962 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20963 cat >conftest.$ac_ext <<_ACEOF
20966 cat confdefs.h >>conftest.$ac_ext
20967 cat >>conftest.$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969 #include <stdlib.h>
20972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20973 $EGREP "free" >/dev/null 2>&1; then
20976 ac_cv_header_stdc=no
20982 if test $ac_cv_header_stdc = yes; then
20983 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20984 if test "$cross_compiling" = yes; then
20987 cat >conftest.$ac_ext <<_ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20994 #include <stdlib.h>
20995 #if ((' ' & 0x0FF) == 0x020)
20996 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20997 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20999 # define ISLOWER(c) \
21000 (('a' <= (c) && (c) <= 'i') \
21001 || ('j' <= (c) && (c) <= 'r') \
21002 || ('s' <= (c) && (c) <= 'z'))
21003 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21006 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21011 for (i = 0; i < 256; i++)
21012 if (XOR (islower (i), ISLOWER (i))
21013 || toupper (i) != TOUPPER (i))
21018 rm -f conftest$ac_exeext
21019 if { (ac_try="$ac_link"
21020 case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_link") 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21029 { (case "(($ac_try" in
21030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21031 *) ac_try_echo=$ac_try;;
21033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21034 (eval "$ac_try") 2>&5
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21040 echo "$as_me: program exited with status $ac_status" >&5
21041 echo "$as_me: failed program was:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21044 ( exit $ac_status )
21045 ac_cv_header_stdc=no
21047 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21053 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21054 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21055 if test $ac_cv_header_stdc = yes; then
21057 cat >>confdefs.h <<\_ACEOF
21058 #define STDC_HEADERS 1
21063 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21064 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
21065 if test "${ac_cv_header_time+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 cat >conftest.$ac_ext <<_ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <sys/types.h>
21075 #include <sys/time.h>
21081 if ((struct tm *) 0)
21087 rm -f conftest.$ac_objext
21088 if { (ac_try="$ac_compile"
21089 case "(($ac_try" in
21090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21091 *) ac_try_echo=$ac_try;;
21093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21094 (eval "$ac_compile") 2>conftest.er1
21096 grep -v '^ *+' conftest.er1 >conftest.err
21098 cat conftest.err >&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } && {
21101 test -z "$ac_c_werror_flag" ||
21102 test ! -s conftest.err
21103 } && test -s conftest.$ac_objext; then
21104 ac_cv_header_time=yes
21106 echo "$as_me: failed program was:" >&5
21107 sed 's/^/| /' conftest.$ac_ext >&5
21109 ac_cv_header_time=no
21112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21115 echo "${ECHO_T}$ac_cv_header_time" >&6; }
21116 if test $ac_cv_header_time = yes; then
21118 cat >>confdefs.h <<\_ACEOF
21119 #define TIME_WITH_SYS_TIME 1
21134 for ac_header in sys/socket.h \
21136 windows.h winsock.h winsock2.h \
21142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 ac_res=`eval echo '${'$as_ac_Header'}'`
21150 { echo "$as_me:$LINENO: result: $ac_res" >&5
21151 echo "${ECHO_T}$ac_res" >&6; }
21153 # Is the header compilable?
21154 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21156 cat >conftest.$ac_ext <<_ACEOF
21159 cat confdefs.h >>conftest.$ac_ext
21160 cat >>conftest.$ac_ext <<_ACEOF
21161 /* end confdefs.h. */
21162 $ac_includes_default
21163 #include <$ac_header>
21165 rm -f conftest.$ac_objext
21166 if { (ac_try="$ac_compile"
21167 case "(($ac_try" in
21168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21169 *) ac_try_echo=$ac_try;;
21171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21172 (eval "$ac_compile") 2>conftest.er1
21174 grep -v '^ *+' conftest.er1 >conftest.err
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } && {
21179 test -z "$ac_c_werror_flag" ||
21180 test ! -s conftest.err
21181 } && test -s conftest.$ac_objext; then
21182 ac_header_compiler=yes
21184 echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21187 ac_header_compiler=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21192 echo "${ECHO_T}$ac_header_compiler" >&6; }
21194 # Is the header present?
21195 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 #include <$ac_header>
21205 if { (ac_try="$ac_cpp conftest.$ac_ext"
21206 case "(($ac_try" in
21207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21208 *) ac_try_echo=$ac_try;;
21210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21213 grep -v '^ *+' conftest.er1 >conftest.err
21215 cat conftest.err >&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); } >/dev/null && {
21218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21219 test ! -s conftest.err
21221 ac_header_preproc=yes
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21226 ac_header_preproc=no
21229 rm -f conftest.err conftest.$ac_ext
21230 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21231 echo "${ECHO_T}$ac_header_preproc" >&6; }
21233 # So? What about this header?
21234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21240 ac_header_preproc=yes
21243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21256 ## -------------------------------------------------- ##
21257 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
21258 ## -------------------------------------------------- ##
21260 ) | sed "s/^/$as_me: WARNING: /" >&2
21263 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21268 eval "$as_ac_Header=\$ac_header_preproc"
21270 ac_res=`eval echo '${'$as_ac_Header'}'`
21271 { echo "$as_me:$LINENO: result: $ac_res" >&5
21272 echo "${ECHO_T}$ac_res" >&6; }
21275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21276 cat >>confdefs.h <<_ACEOF
21277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21291 for ac_func in gettimeofday usleep \
21298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21301 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21302 echo $ECHO_N "(cached) $ECHO_C" >&6
21304 cat >conftest.$ac_ext <<_ACEOF
21307 cat confdefs.h >>conftest.$ac_ext
21308 cat >>conftest.$ac_ext <<_ACEOF
21309 /* end confdefs.h. */
21310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21312 #define $ac_func innocuous_$ac_func
21314 /* System header to define __stub macros and hopefully few prototypes,
21315 which can conflict with char $ac_func (); below.
21316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21317 <limits.h> exists even on freestanding compilers. */
21320 # include <limits.h>
21322 # include <assert.h>
21327 /* Override any GCC internal prototype to avoid an error.
21328 Use char because int might match the return type of a GCC
21329 builtin and then its argument prototype would still apply. */
21334 /* The GNU C library defines this for functions which it implements
21335 to always fail with ENOSYS. Some functions are actually named
21336 something starting with __ and the normal name is an alias. */
21337 #if defined __stub_$ac_func || defined __stub___$ac_func
21344 return $ac_func ();
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (ac_try="$ac_link"
21351 case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_link") 2>conftest.er1
21358 grep -v '^ *+' conftest.er1 >conftest.err
21360 cat conftest.err >&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } && {
21363 test -z "$ac_c_werror_flag" ||
21364 test ! -s conftest.err
21365 } && test -s conftest$ac_exeext &&
21366 $as_test_x conftest$ac_exeext; then
21367 eval "$as_ac_var=yes"
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.$ac_ext >&5
21372 eval "$as_ac_var=no"
21375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21376 conftest$ac_exeext conftest.$ac_ext
21378 ac_res=`eval echo '${'$as_ac_var'}'`
21379 { echo "$as_me:$LINENO: result: $ac_res" >&5
21380 echo "${ECHO_T}$ac_res" >&6; }
21381 if test `eval echo '${'$as_ac_var'}'` = yes; then
21382 cat >>confdefs.h <<_ACEOF
21383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21390 # check for a working snprintf (or use xbt/snprintf.c, which comes from http://www.ijs.si/software/snprintf/)
21393 for ac_func in snprintf vsnprintf
21395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21399 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 cat >conftest.$ac_ext <<_ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21409 #define $ac_func innocuous_$ac_func
21411 /* System header to define __stub macros and hopefully few prototypes,
21412 which can conflict with char $ac_func (); below.
21413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21414 <limits.h> exists even on freestanding compilers. */
21417 # include <limits.h>
21419 # include <assert.h>
21424 /* Override any GCC internal prototype to avoid an error.
21425 Use char because int might match the return type of a GCC
21426 builtin and then its argument prototype would still apply. */
21431 /* The GNU C library defines this for functions which it implements
21432 to always fail with ENOSYS. Some functions are actually named
21433 something starting with __ and the normal name is an alias. */
21434 #if defined __stub_$ac_func || defined __stub___$ac_func
21441 return $ac_func ();
21446 rm -f conftest.$ac_objext conftest$ac_exeext
21447 if { (ac_try="$ac_link"
21448 case "(($ac_try" in
21449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21450 *) ac_try_echo=$ac_try;;
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_link") 2>conftest.er1
21455 grep -v '^ *+' conftest.er1 >conftest.err
21457 cat conftest.err >&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } && {
21460 test -z "$ac_c_werror_flag" ||
21461 test ! -s conftest.err
21462 } && test -s conftest$ac_exeext &&
21463 $as_test_x conftest$ac_exeext; then
21464 eval "$as_ac_var=yes"
21466 echo "$as_me: failed program was:" >&5
21467 sed 's/^/| /' conftest.$ac_ext >&5
21469 eval "$as_ac_var=no"
21472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21473 conftest$ac_exeext conftest.$ac_ext
21475 ac_res=`eval echo '${'$as_ac_var'}'`
21476 { echo "$as_me:$LINENO: result: $ac_res" >&5
21477 echo "${ECHO_T}$ac_res" >&6; }
21478 if test `eval echo '${'$as_ac_var'}'` = yes; then
21479 cat >>confdefs.h <<_ACEOF
21480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21486 { echo "$as_me:$LINENO: checking for working snprintf" >&5
21487 echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; }
21488 if test "${ac_cv_have_working_snprintf+set}" = set; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 if test "$cross_compiling" = yes; then
21492 ac_cv_have_working_snprintf=cross
21494 cat >conftest.$ac_ext <<_ACEOF
21497 cat confdefs.h >>conftest.$ac_ext
21498 cat >>conftest.$ac_ext <<_ACEOF
21499 /* end confdefs.h. */
21504 char bufs[5] = { 'x', 'x', 'x', '\0', '\0' };
21505 char bufd[5] = { 'x', 'x', 'x', '\0', '\0' };
21507 i = snprintf (bufs, 2, "%s", "111");
21508 if (strcmp (bufs, "1")) exit (1);
21509 if (i != 3) exit (1);
21510 i = snprintf (bufd, 2, "%d", 111);
21511 if (strcmp (bufd, "1")) exit (1);
21512 if (i != 3) exit (1);
21516 rm -f conftest$ac_exeext
21517 if { (ac_try="$ac_link"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_link") 2>&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21527 { (case "(($ac_try" in
21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_try") 2>&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 ac_cv_have_working_snprintf=yes
21538 echo "$as_me: program exited with status $ac_status" >&5
21539 echo "$as_me: failed program was:" >&5
21540 sed 's/^/| /' conftest.$ac_ext >&5
21542 ( exit $ac_status )
21543 ac_cv_have_working_snprintf=no
21545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21551 { echo "$as_me:$LINENO: result: $ac_cv_have_working_snprintf" >&5
21552 echo "${ECHO_T}$ac_cv_have_working_snprintf" >&6; }
21553 { echo "$as_me:$LINENO: checking for working vsnprintf" >&5
21554 echo $ECHO_N "checking for working vsnprintf... $ECHO_C" >&6; }
21555 if test "${ac_cv_have_working_vsnprintf+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 if test "$cross_compiling" = yes; then
21559 ac_cv_have_working_vsnprintf=cross
21561 cat >conftest.$ac_ext <<_ACEOF
21564 cat confdefs.h >>conftest.$ac_ext
21565 cat >>conftest.$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21568 #include <stdarg.h>
21570 int my_vsnprintf (char *buf, const char *tmpl, ...)
21574 va_start (args, tmpl);
21575 i = vsnprintf (buf, 2, tmpl, args);
21582 char bufs[5] = { 'x', 'x', 'x', '\0', '\0' };
21583 char bufd[5] = { 'x', 'x', 'x', '\0', '\0' };
21585 i = my_vsnprintf (bufs, "%s", "111");
21586 if (strcmp (bufs, "1")) exit (1);
21587 if (i != 3) exit (1);
21588 i = my_vsnprintf (bufd, "%d", 111);
21589 if (strcmp (bufd, "1")) exit (1);
21590 if (i != 3) exit (1);
21594 rm -f conftest$ac_exeext
21595 if { (ac_try="$ac_link"
21596 case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_link") 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21605 { (case "(($ac_try" in
21606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21607 *) ac_try_echo=$ac_try;;
21609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21610 (eval "$ac_try") 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; }; then
21614 ac_cv_have_working_vsnprintf=yes
21616 echo "$as_me: program exited with status $ac_status" >&5
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21620 ( exit $ac_status )
21621 ac_cv_have_working_vsnprintf=no
21623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21629 { echo "$as_me:$LINENO: result: $ac_cv_have_working_vsnprintf" >&5
21630 echo "${ECHO_T}$ac_cv_have_working_vsnprintf" >&6; }
21631 if test x$ac_cv_have_working_snprintf$ac_cv_have_working_vsnprintf != "xyesyes"; then
21632 case " $LIBOBJS " in
21633 *" snprintf.$ac_objext "* ) ;;
21634 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
21638 { echo "$as_me:$LINENO: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&5
21639 echo "$as_me: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&2;}
21641 cat >>confdefs.h <<\_ACEOF
21642 #define PREFER_PORTABLE_SNPRINTF 1
21646 # check for asprintf function familly (or request the replacements from xbt/snprintf.c)
21647 { echo "$as_me:$LINENO: checking for asprintf" >&5
21648 echo $ECHO_N "checking for asprintf... $ECHO_C" >&6; }
21649 if test "${ac_cv_func_asprintf+set}" = set; then
21650 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 cat >conftest.$ac_ext <<_ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 /* Define asprintf to an innocuous variant, in case <limits.h> declares asprintf.
21659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21660 #define asprintf innocuous_asprintf
21662 /* System header to define __stub macros and hopefully few prototypes,
21663 which can conflict with char asprintf (); below.
21664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21665 <limits.h> exists even on freestanding compilers. */
21668 # include <limits.h>
21670 # include <assert.h>
21675 /* Override any GCC internal prototype to avoid an error.
21676 Use char because int might match the return type of a GCC
21677 builtin and then its argument prototype would still apply. */
21682 /* The GNU C library defines this for functions which it implements
21683 to always fail with ENOSYS. Some functions are actually named
21684 something starting with __ and the normal name is an alias. */
21685 #if defined __stub_asprintf || defined __stub___asprintf
21692 return asprintf ();
21697 rm -f conftest.$ac_objext conftest$ac_exeext
21698 if { (ac_try="$ac_link"
21699 case "(($ac_try" in
21700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21701 *) ac_try_echo=$ac_try;;
21703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21704 (eval "$ac_link") 2>conftest.er1
21706 grep -v '^ *+' conftest.er1 >conftest.err
21708 cat conftest.err >&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); } && {
21711 test -z "$ac_c_werror_flag" ||
21712 test ! -s conftest.err
21713 } && test -s conftest$ac_exeext &&
21714 $as_test_x conftest$ac_exeext; then
21715 ac_cv_func_asprintf=yes
21717 echo "$as_me: failed program was:" >&5
21718 sed 's/^/| /' conftest.$ac_ext >&5
21720 ac_cv_func_asprintf=no
21723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21724 conftest$ac_exeext conftest.$ac_ext
21726 { echo "$as_me:$LINENO: result: $ac_cv_func_asprintf" >&5
21727 echo "${ECHO_T}$ac_cv_func_asprintf" >&6; }
21728 if test $ac_cv_func_asprintf = yes; then
21732 cat >>confdefs.h <<\_ACEOF
21733 #define NEED_ASPRINTF 1
21738 { echo "$as_me:$LINENO: checking for vasprintf" >&5
21739 echo $ECHO_N "checking for vasprintf... $ECHO_C" >&6; }
21740 if test "${ac_cv_func_vasprintf+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 cat >conftest.$ac_ext <<_ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 /* Define vasprintf to an innocuous variant, in case <limits.h> declares vasprintf.
21750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21751 #define vasprintf innocuous_vasprintf
21753 /* System header to define __stub macros and hopefully few prototypes,
21754 which can conflict with char vasprintf (); below.
21755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21756 <limits.h> exists even on freestanding compilers. */
21759 # include <limits.h>
21761 # include <assert.h>
21766 /* Override any GCC internal prototype to avoid an error.
21767 Use char because int might match the return type of a GCC
21768 builtin and then its argument prototype would still apply. */
21773 /* The GNU C library defines this for functions which it implements
21774 to always fail with ENOSYS. Some functions are actually named
21775 something starting with __ and the normal name is an alias. */
21776 #if defined __stub_vasprintf || defined __stub___vasprintf
21783 return vasprintf ();
21788 rm -f conftest.$ac_objext conftest$ac_exeext
21789 if { (ac_try="$ac_link"
21790 case "(($ac_try" in
21791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21792 *) ac_try_echo=$ac_try;;
21794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21795 (eval "$ac_link") 2>conftest.er1
21797 grep -v '^ *+' conftest.er1 >conftest.err
21799 cat conftest.err >&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } && {
21802 test -z "$ac_c_werror_flag" ||
21803 test ! -s conftest.err
21804 } && test -s conftest$ac_exeext &&
21805 $as_test_x conftest$ac_exeext; then
21806 ac_cv_func_vasprintf=yes
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21811 ac_cv_func_vasprintf=no
21814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21815 conftest$ac_exeext conftest.$ac_ext
21817 { echo "$as_me:$LINENO: result: $ac_cv_func_vasprintf" >&5
21818 echo "${ECHO_T}$ac_cv_func_vasprintf" >&6; }
21819 if test $ac_cv_func_vasprintf = yes; then
21823 cat >>confdefs.h <<\_ACEOF
21824 #define NEED_VASPRINTF 1
21829 # we don't use those:
21830 # A C_CHECK_FUNC( asnprintf, :, A C_DEFINE(NEED_ASNPRINTF, 1, enable the asnprintf replacement))
21831 # A C_CHECK_FUNC(vasnprintf, :, A C_DEFINE(NEED_VASNPRINTF, 1, enable the vansprintf replacement))
21834 # Checks for typedefs, structures, and compiler characteristics.
21835 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21836 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21837 if test "${ac_cv_c_const+set}" = set; then
21838 echo $ECHO_N "(cached) $ECHO_C" >&6
21840 cat >conftest.$ac_ext <<_ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21850 /* FIXME: Include the comments suggested by Paul. */
21851 #ifndef __cplusplus
21852 /* Ultrix mips cc rejects this. */
21853 typedef int charset[2];
21855 /* SunOS 4.1.1 cc rejects this. */
21856 char const *const *pcpcc;
21858 /* NEC SVR4.0.2 mips cc rejects this. */
21859 struct point {int x, y;};
21860 static struct point const zero = {0,0};
21861 /* AIX XL C 1.02.0.0 rejects this.
21862 It does not let you subtract one const X* pointer from another in
21863 an arm of an if-expression whose if-part is not a constant
21865 const char *g = "string";
21866 pcpcc = &g + (g ? g-g : 0);
21867 /* HPUX 7.0 cc rejects these. */
21869 ppc = (char**) pcpcc;
21870 pcpcc = (char const *const *) ppc;
21871 { /* SCO 3.2v4 cc rejects this. */
21873 char const *s = 0 ? (char *) 0 : (char const *) 0;
21878 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21879 int x[] = {25, 17};
21880 const int *foo = &x[0];
21883 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21884 typedef const int *iptr;
21888 { /* AIX XL C 1.02.0.0 rejects this saying
21889 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21890 struct s { int j; const int *ap[3]; };
21891 struct s *b; b->j = 5;
21893 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21894 const int foo = 10;
21895 if (!foo) return 0;
21897 return !cs[0] && !zero.x;
21904 rm -f conftest.$ac_objext
21905 if { (ac_try="$ac_compile"
21906 case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_compile") 2>conftest.er1
21913 grep -v '^ *+' conftest.er1 >conftest.err
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } && {
21918 test -z "$ac_c_werror_flag" ||
21919 test ! -s conftest.err
21920 } && test -s conftest.$ac_objext; then
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.$ac_ext >&5
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21931 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21932 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21933 if test $ac_cv_c_const = no; then
21935 cat >>confdefs.h <<\_ACEOF
21941 { echo "$as_me:$LINENO: checking for inline" >&5
21942 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21943 if test "${ac_cv_c_inline+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 for ac_kw in inline __inline__ __inline; do
21948 cat >conftest.$ac_ext <<_ACEOF
21951 cat confdefs.h >>conftest.$ac_ext
21952 cat >>conftest.$ac_ext <<_ACEOF
21953 /* end confdefs.h. */
21954 #ifndef __cplusplus
21956 static $ac_kw foo_t static_foo () {return 0; }
21957 $ac_kw foo_t foo () {return 0; }
21961 rm -f conftest.$ac_objext
21962 if { (ac_try="$ac_compile"
21963 case "(($ac_try" in
21964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21965 *) ac_try_echo=$ac_try;;
21967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21968 (eval "$ac_compile") 2>conftest.er1
21970 grep -v '^ *+' conftest.er1 >conftest.err
21972 cat conftest.err >&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); } && {
21975 test -z "$ac_c_werror_flag" ||
21976 test ! -s conftest.err
21977 } && test -s conftest.$ac_objext; then
21978 ac_cv_c_inline=$ac_kw
21980 echo "$as_me: failed program was:" >&5
21981 sed 's/^/| /' conftest.$ac_ext >&5
21986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21987 test "$ac_cv_c_inline" != no && break
21991 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21992 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21995 case $ac_cv_c_inline in
21998 case $ac_cv_c_inline in
22000 *) ac_val=$ac_cv_c_inline;;
22002 cat >>confdefs.h <<_ACEOF
22003 #ifndef __cplusplus
22004 #define inline $ac_val
22010 { echo "$as_me:$LINENO: checking for size_t" >&5
22011 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22012 if test "${ac_cv_type_size_t+set}" = set; then
22013 echo $ECHO_N "(cached) $ECHO_C" >&6
22015 cat >conftest.$ac_ext <<_ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef size_t ac__type_new_;
22026 if ((ac__type_new_ *) 0)
22028 if (sizeof (ac__type_new_))
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22043 grep -v '^ *+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_cv_type_size_t=yes
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22056 ac_cv_type_size_t=no
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22062 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22063 if test $ac_cv_type_size_t = yes; then
22067 cat >>confdefs.h <<_ACEOF
22068 #define size_t unsigned int
22074 ###################################
22075 ## SimGrid and GRAS specific checks
22079 { echo "$as_me:$LINENO: result: " >&5
22080 echo "${ECHO_T}" >&6; }
22081 { echo "$as_me:$LINENO: result: ${T_MD}Checking GRAS architecture signature...${T_ME}" >&5
22082 echo "${ECHO_T}${T_MD}Checking GRAS architecture signature...${T_ME}" >&6; }
22084 # Check architecture signature begin
22086 # Check for the architecture
22087 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22088 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22089 if test "${ac_cv_c_bigendian+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 # See if sys/param.h defines the BYTE_ORDER macro.
22093 cat >conftest.$ac_ext <<_ACEOF
22096 cat confdefs.h >>conftest.$ac_ext
22097 cat >>conftest.$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099 #include <sys/types.h>
22100 #include <sys/param.h>
22105 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
22106 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
22107 bogus endian macros
22114 rm -f conftest.$ac_objext
22115 if { (ac_try="$ac_compile"
22116 case "(($ac_try" in
22117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22118 *) ac_try_echo=$ac_try;;
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_compile") 2>conftest.er1
22123 grep -v '^ *+' conftest.er1 >conftest.err
22125 cat conftest.err >&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); } && {
22128 test -z "$ac_c_werror_flag" ||
22129 test ! -s conftest.err
22130 } && test -s conftest.$ac_objext; then
22131 # It does; now see whether it defined to BIG_ENDIAN or not.
22132 cat >conftest.$ac_ext <<_ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 #include <sys/types.h>
22139 #include <sys/param.h>
22144 #if BYTE_ORDER != BIG_ENDIAN
22152 rm -f conftest.$ac_objext
22153 if { (ac_try="$ac_compile"
22154 case "(($ac_try" in
22155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22156 *) ac_try_echo=$ac_try;;
22158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22159 (eval "$ac_compile") 2>conftest.er1
22161 grep -v '^ *+' conftest.er1 >conftest.err
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } && {
22166 test -z "$ac_c_werror_flag" ||
22167 test ! -s conftest.err
22168 } && test -s conftest.$ac_objext; then
22169 ac_cv_c_bigendian=yes
22171 echo "$as_me: failed program was:" >&5
22172 sed 's/^/| /' conftest.$ac_ext >&5
22174 ac_cv_c_bigendian=no
22177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22182 # It does not; compile a test program.
22183 if test "$cross_compiling" = yes; then
22184 # try to guess the endianness by grepping values into an object file
22185 ac_cv_c_bigendian=unknown
22186 cat >conftest.$ac_ext <<_ACEOF
22189 cat confdefs.h >>conftest.$ac_ext
22190 cat >>conftest.$ac_ext <<_ACEOF
22191 /* end confdefs.h. */
22192 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22193 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22194 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22195 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22196 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22197 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22201 _ascii (); _ebcdic ();
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22215 grep -v '^ *+' conftest.er1 >conftest.err
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22223 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22224 ac_cv_c_bigendian=yes
22226 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22227 if test "$ac_cv_c_bigendian" = unknown; then
22228 ac_cv_c_bigendian=no
22230 # finding both strings is unlikely to happen, but who knows?
22231 ac_cv_c_bigendian=unknown
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22243 cat >conftest.$ac_ext <<_ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22249 $ac_includes_default
22254 /* Are we little or big endian? From Harbison&Steele. */
22258 char c[sizeof (long int)];
22261 return u.c[sizeof (long int) - 1] == 1;
22267 rm -f conftest$ac_exeext
22268 if { (ac_try="$ac_link"
22269 case "(($ac_try" in
22270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22271 *) ac_try_echo=$ac_try;;
22273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22274 (eval "$ac_link") 2>&5
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22278 { (case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_try") 2>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 ac_cv_c_bigendian=no
22289 echo "$as_me: program exited with status $ac_status" >&5
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22293 ( exit $ac_status )
22294 ac_cv_c_bigendian=yes
22296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22305 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22306 case $ac_cv_c_bigendian in
22312 { { echo "$as_me:$LINENO: error: GRAS works only for little or big endian systems (yet)" >&5
22313 echo "$as_me: error: GRAS works only for little or big endian systems (yet)" >&2;}
22314 { (exit 1); exit 1; }; } ;;
22318 cat >>confdefs.h <<_ACEOF
22319 #define GRAS_BIGENDIAN $endian
22323 { echo "$as_me:$LINENO: checking size of char" >&5
22324 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
22325 if test "${ac_cv_sizeof_char+set}" = set; then
22326 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22329 cat >conftest.$ac_ext <<_ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 #include "confdefs.h"
22336 #include <sys/types.h>
22342 switch (0) case 0: case (sizeof (char) == $ac_size):;
22347 rm -f conftest.$ac_objext
22348 if { (ac_try="$ac_compile"
22349 case "(($ac_try" in
22350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22351 *) ac_try_echo=$ac_try;;
22353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22354 (eval "$ac_compile") 2>conftest.er1
22356 grep -v '^ *+' conftest.er1 >conftest.err
22358 cat conftest.err >&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && {
22361 test -z "$ac_c_werror_flag" ||
22362 test ! -s conftest.err
22363 } && test -s conftest.$ac_objext; then
22364 ac_cv_sizeof_char=$ac_size
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 if test x$ac_cv_sizeof_char != x ; then break; fi
22379 unspecif=$ac_cv_sizeof_char
22380 if test x$unspecif = x ; then
22381 { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
22382 echo "$as_me: error: cannot determine a size for char" >&2;}
22383 { (exit 1); exit 1; }; }
22386 if test "${ac_cv_sizeof_signed_char+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22390 cat >conftest.$ac_ext <<_ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 #include "confdefs.h"
22397 #include <sys/types.h>
22403 switch (0) case 0: case (sizeof (signed char) == $ac_size):;
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_cv_sizeof_signed_char=$ac_size
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 if test x$ac_cv_sizeof_signed_char != x ; then break; fi
22440 signed=$ac_cv_sizeof_signed_char
22441 if test x$signed = x ; then
22442 { { echo "$as_me:$LINENO: error: cannot determine a size for signed char" >&5
22443 echo "$as_me: error: cannot determine a size for signed char" >&2;}
22444 { (exit 1); exit 1; }; }
22446 if test x$unspecif != x$signed ; then
22447 { { echo "$as_me:$LINENO: error: 'signed char' and 'char' have different sizes ! ($signed != $unspecif)" >&5
22448 echo "$as_me: error: 'signed char' and 'char' have different sizes ! ($signed != $unspecif)" >&2;}
22449 { (exit 1); exit 1; }; }
22452 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22456 cat >conftest.$ac_ext <<_ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h. */
22462 #include "confdefs.h"
22463 #include <sys/types.h>
22469 switch (0) case 0: case (sizeof (unsigned char) == $ac_size):;
22474 rm -f conftest.$ac_objext
22475 if { (ac_try="$ac_compile"
22476 case "(($ac_try" in
22477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22478 *) ac_try_echo=$ac_try;;
22480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22481 (eval "$ac_compile") 2>conftest.er1
22483 grep -v '^ *+' conftest.er1 >conftest.err
22485 cat conftest.err >&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } && {
22488 test -z "$ac_c_werror_flag" ||
22489 test ! -s conftest.err
22490 } && test -s conftest.$ac_objext; then
22491 ac_cv_sizeof_unsigned_char=$ac_size
22493 echo "$as_me: failed program was:" >&5
22494 sed 's/^/| /' conftest.$ac_ext >&5
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22500 if test x$ac_cv_sizeof_unsigned_char != x ; then break; fi
22506 unsigned=$ac_cv_sizeof_unsigned_char
22507 if test x$unsigned = x ; then
22508 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned char" >&5
22509 echo "$as_me: error: cannot determine a size for unsigned char" >&2;}
22510 { (exit 1); exit 1; }; }
22512 if test x$unsigned != x$signed ; then
22513 { { echo "$as_me:$LINENO: error: 'signed char' and 'unsigned char' have different sizes ! ($signed != $unsigned)" >&5
22514 echo "$as_me: error: 'signed char' and 'unsigned char' have different sizes ! ($signed != $unsigned)" >&2;}
22515 { (exit 1); exit 1; }; }
22518 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
22519 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
22520 { echo "$as_me:$LINENO: checking for the minimal structure boundary of char" >&5
22521 echo $ECHO_N "checking for the minimal structure boundary of char... $ECHO_C" >&6; }
22523 if test "${ac_cv_struct_boundary_char+set}" = set; then
22524 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
22527 cat >conftest.$ac_ext <<_ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22533 #include "confdefs.h"
22534 #include <sys/types.h>
22535 struct s { char c; char i; };
22540 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(char)):;
22545 rm -f conftest.$ac_objext
22546 if { (ac_try="$ac_compile"
22547 case "(($ac_try" in
22548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22549 *) ac_try_echo=$ac_try;;
22551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22552 (eval "$ac_compile") 2>conftest.er1
22554 grep -v '^ *+' conftest.er1 >conftest.err
22556 cat conftest.err >&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && {
22559 test -z "$ac_c_werror_flag" ||
22560 test ! -s conftest.err
22561 } && test -s conftest.$ac_objext; then
22562 ac_cv_struct_boundary_char=$ac_size
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571 if test x$ac_cv_struct_boundary_char != x ; then break; fi
22576 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_char" >&5
22577 echo "${ECHO_T}$ac_cv_struct_boundary_char" >&6; }
22578 if test x$ac_cv_struct_boundary_char = x ; then
22579 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of char in structures" >&5
22580 echo "$as_me: error: Cannot determine the minimal alignment boundary of char in structures" >&2;}
22581 { (exit 1); exit 1; }; }
22584 { echo "$as_me:$LINENO: checking size of short int" >&5
22585 echo $ECHO_N "checking size of short int... $ECHO_C" >&6; }
22586 if test "${ac_cv_sizeof_short_int+set}" = set; then
22587 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22590 cat >conftest.$ac_ext <<_ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #include "confdefs.h"
22597 #include <sys/types.h>
22603 switch (0) case 0: case (sizeof (short int) == $ac_size):;
22608 rm -f conftest.$ac_objext
22609 if { (ac_try="$ac_compile"
22610 case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_compile") 2>conftest.er1
22617 grep -v '^ *+' conftest.er1 >conftest.err
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && {
22622 test -z "$ac_c_werror_flag" ||
22623 test ! -s conftest.err
22624 } && test -s conftest.$ac_objext; then
22625 ac_cv_sizeof_short_int=$ac_size
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.$ac_ext >&5
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 if test x$ac_cv_sizeof_short_int != x ; then break; fi
22640 unspecif=$ac_cv_sizeof_short_int
22641 if test x$unspecif = x ; then
22642 { { echo "$as_me:$LINENO: error: cannot determine a size for short int" >&5
22643 echo "$as_me: error: cannot determine a size for short int" >&2;}
22644 { (exit 1); exit 1; }; }
22647 if test "${ac_cv_sizeof_signed_short_int+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22651 cat >conftest.$ac_ext <<_ACEOF
22654 cat confdefs.h >>conftest.$ac_ext
22655 cat >>conftest.$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22657 #include "confdefs.h"
22658 #include <sys/types.h>
22664 switch (0) case 0: case (sizeof (signed short int) == $ac_size):;
22669 rm -f conftest.$ac_objext
22670 if { (ac_try="$ac_compile"
22671 case "(($ac_try" in
22672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22673 *) ac_try_echo=$ac_try;;
22675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22676 (eval "$ac_compile") 2>conftest.er1
22678 grep -v '^ *+' conftest.er1 >conftest.err
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && {
22683 test -z "$ac_c_werror_flag" ||
22684 test ! -s conftest.err
22685 } && test -s conftest.$ac_objext; then
22686 ac_cv_sizeof_signed_short_int=$ac_size
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22695 if test x$ac_cv_sizeof_signed_short_int != x ; then break; fi
22701 signed=$ac_cv_sizeof_signed_short_int
22702 if test x$signed = x ; then
22703 { { echo "$as_me:$LINENO: error: cannot determine a size for signed short int" >&5
22704 echo "$as_me: error: cannot determine a size for signed short int" >&2;}
22705 { (exit 1); exit 1; }; }
22707 if test x$unspecif != x$signed ; then
22708 { { echo "$as_me:$LINENO: error: 'signed short int' and 'short int' have different sizes ! ($signed != $unspecif)" >&5
22709 echo "$as_me: error: 'signed short int' and 'short int' have different sizes ! ($signed != $unspecif)" >&2;}
22710 { (exit 1); exit 1; }; }
22713 if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22716 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22717 cat >conftest.$ac_ext <<_ACEOF
22720 cat confdefs.h >>conftest.$ac_ext
22721 cat >>conftest.$ac_ext <<_ACEOF
22722 /* end confdefs.h. */
22723 #include "confdefs.h"
22724 #include <sys/types.h>
22730 switch (0) case 0: case (sizeof (unsigned short int) == $ac_size):;
22735 rm -f conftest.$ac_objext
22736 if { (ac_try="$ac_compile"
22737 case "(($ac_try" in
22738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22739 *) ac_try_echo=$ac_try;;
22741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22742 (eval "$ac_compile") 2>conftest.er1
22744 grep -v '^ *+' conftest.er1 >conftest.err
22746 cat conftest.err >&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } && {
22749 test -z "$ac_c_werror_flag" ||
22750 test ! -s conftest.err
22751 } && test -s conftest.$ac_objext; then
22752 ac_cv_sizeof_unsigned_short_int=$ac_size
22754 echo "$as_me: failed program was:" >&5
22755 sed 's/^/| /' conftest.$ac_ext >&5
22760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 if test x$ac_cv_sizeof_unsigned_short_int != x ; then break; fi
22767 unsigned=$ac_cv_sizeof_unsigned_short_int
22768 if test x$unsigned = x ; then
22769 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned short int" >&5
22770 echo "$as_me: error: cannot determine a size for unsigned short int" >&2;}
22771 { (exit 1); exit 1; }; }
22773 if test x$unsigned != x$signed ; then
22774 { { echo "$as_me:$LINENO: error: 'signed short int' and 'unsigned short int' have different sizes ! ($signed != $unsigned)" >&5
22775 echo "$as_me: error: 'signed short int' and 'unsigned short int' have different sizes ! ($signed != $unsigned)" >&2;}
22776 { (exit 1); exit 1; }; }
22779 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
22780 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6; }
22781 { echo "$as_me:$LINENO: checking for the minimal structure boundary of short int" >&5
22782 echo $ECHO_N "checking for the minimal structure boundary of short int... $ECHO_C" >&6; }
22784 if test "${ac_cv_struct_boundary_short_int+set}" = set; then
22785 echo $ECHO_N "(cached) $ECHO_C" >&6
22787 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
22788 cat >conftest.$ac_ext <<_ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 #include "confdefs.h"
22795 #include <sys/types.h>
22796 struct s { char c; short int i; };
22801 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(short int)):;
22806 rm -f conftest.$ac_objext
22807 if { (ac_try="$ac_compile"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_compile") 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } && {
22820 test -z "$ac_c_werror_flag" ||
22821 test ! -s conftest.err
22822 } && test -s conftest.$ac_objext; then
22823 ac_cv_struct_boundary_short_int=$ac_size
22825 echo "$as_me: failed program was:" >&5
22826 sed 's/^/| /' conftest.$ac_ext >&5
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 if test x$ac_cv_struct_boundary_short_int != x ; then break; fi
22837 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_short_int" >&5
22838 echo "${ECHO_T}$ac_cv_struct_boundary_short_int" >&6; }
22839 if test x$ac_cv_struct_boundary_short_int = x ; then
22840 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of short int in structures" >&5
22841 echo "$as_me: error: Cannot determine the minimal alignment boundary of short int in structures" >&2;}
22842 { (exit 1); exit 1; }; }
22845 { echo "$as_me:$LINENO: checking size of int" >&5
22846 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22847 if test "${ac_cv_sizeof_int+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22851 cat >conftest.$ac_ext <<_ACEOF
22854 cat confdefs.h >>conftest.$ac_ext
22855 cat >>conftest.$ac_ext <<_ACEOF
22856 /* end confdefs.h. */
22857 #include "confdefs.h"
22858 #include <sys/types.h>
22864 switch (0) case 0: case (sizeof (int) == $ac_size):;
22869 rm -f conftest.$ac_objext
22870 if { (ac_try="$ac_compile"
22871 case "(($ac_try" in
22872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22873 *) ac_try_echo=$ac_try;;
22875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22876 (eval "$ac_compile") 2>conftest.er1
22878 grep -v '^ *+' conftest.er1 >conftest.err
22880 cat conftest.err >&5
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); } && {
22883 test -z "$ac_c_werror_flag" ||
22884 test ! -s conftest.err
22885 } && test -s conftest.$ac_objext; then
22886 ac_cv_sizeof_int=$ac_size
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 if test x$ac_cv_sizeof_int != x ; then break; fi
22901 unspecif=$ac_cv_sizeof_int
22902 if test x$unspecif = x ; then
22903 { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
22904 echo "$as_me: error: cannot determine a size for int" >&2;}
22905 { (exit 1); exit 1; }; }
22908 if test "${ac_cv_sizeof_signed_int+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22912 cat >conftest.$ac_ext <<_ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918 #include "confdefs.h"
22919 #include <sys/types.h>
22925 switch (0) case 0: case (sizeof (signed int) == $ac_size):;
22930 rm -f conftest.$ac_objext
22931 if { (ac_try="$ac_compile"
22932 case "(($ac_try" in
22933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22934 *) ac_try_echo=$ac_try;;
22936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22937 (eval "$ac_compile") 2>conftest.er1
22939 grep -v '^ *+' conftest.er1 >conftest.err
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } && {
22944 test -z "$ac_c_werror_flag" ||
22945 test ! -s conftest.err
22946 } && test -s conftest.$ac_objext; then
22947 ac_cv_sizeof_signed_int=$ac_size
22949 echo "$as_me: failed program was:" >&5
22950 sed 's/^/| /' conftest.$ac_ext >&5
22955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22956 if test x$ac_cv_sizeof_signed_int != x ; then break; fi
22962 signed=$ac_cv_sizeof_signed_int
22963 if test x$signed = x ; then
22964 { { echo "$as_me:$LINENO: error: cannot determine a size for signed int" >&5
22965 echo "$as_me: error: cannot determine a size for signed int" >&2;}
22966 { (exit 1); exit 1; }; }
22968 if test x$unspecif != x$signed ; then
22969 { { echo "$as_me:$LINENO: error: 'signed int' and 'int' have different sizes ! ($signed != $unspecif)" >&5
22970 echo "$as_me: error: 'signed int' and 'int' have different sizes ! ($signed != $unspecif)" >&2;}
22971 { (exit 1); exit 1; }; }
22974 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
22975 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
22978 cat >conftest.$ac_ext <<_ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984 #include "confdefs.h"
22985 #include <sys/types.h>
22991 switch (0) case 0: case (sizeof (unsigned int) == $ac_size):;
22996 rm -f conftest.$ac_objext
22997 if { (ac_try="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23000 *) ac_try_echo=$ac_try;;
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23005 grep -v '^ *+' conftest.er1 >conftest.err
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } && {
23010 test -z "$ac_c_werror_flag" ||
23011 test ! -s conftest.err
23012 } && test -s conftest.$ac_objext; then
23013 ac_cv_sizeof_unsigned_int=$ac_size
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23022 if test x$ac_cv_sizeof_unsigned_int != x ; then break; fi
23028 unsigned=$ac_cv_sizeof_unsigned_int
23029 if test x$unsigned = x ; then
23030 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned int" >&5
23031 echo "$as_me: error: cannot determine a size for unsigned int" >&2;}
23032 { (exit 1); exit 1; }; }
23034 if test x$unsigned != x$signed ; then
23035 { { echo "$as_me:$LINENO: error: 'signed int' and 'unsigned int' have different sizes ! ($signed != $unsigned)" >&5
23036 echo "$as_me: error: 'signed int' and 'unsigned int' have different sizes ! ($signed != $unsigned)" >&2;}
23037 { (exit 1); exit 1; }; }
23040 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
23041 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
23042 { echo "$as_me:$LINENO: checking for the minimal structure boundary of int" >&5
23043 echo $ECHO_N "checking for the minimal structure boundary of int... $ECHO_C" >&6; }
23045 if test "${ac_cv_struct_boundary_int+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23048 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23049 cat >conftest.$ac_ext <<_ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055 #include "confdefs.h"
23056 #include <sys/types.h>
23057 struct s { char c; int i; };
23062 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(int)):;
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23076 grep -v '^ *+' conftest.er1 >conftest.err
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_c_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 ac_cv_struct_boundary_int=$ac_size
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 if test x$ac_cv_struct_boundary_int != x ; then break; fi
23098 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_int" >&5
23099 echo "${ECHO_T}$ac_cv_struct_boundary_int" >&6; }
23100 if test x$ac_cv_struct_boundary_int = x ; then
23101 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of int in structures" >&5
23102 echo "$as_me: error: Cannot determine the minimal alignment boundary of int in structures" >&2;}
23103 { (exit 1); exit 1; }; }
23106 { echo "$as_me:$LINENO: checking size of long int" >&5
23107 echo $ECHO_N "checking size of long int... $ECHO_C" >&6; }
23108 if test "${ac_cv_sizeof_long_int+set}" = set; then
23109 echo $ECHO_N "(cached) $ECHO_C" >&6
23111 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23112 cat >conftest.$ac_ext <<_ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 #include "confdefs.h"
23119 #include <sys/types.h>
23125 switch (0) case 0: case (sizeof (long int) == $ac_size):;
23130 rm -f conftest.$ac_objext
23131 if { (ac_try="$ac_compile"
23132 case "(($ac_try" in
23133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23134 *) ac_try_echo=$ac_try;;
23136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23137 (eval "$ac_compile") 2>conftest.er1
23139 grep -v '^ *+' conftest.er1 >conftest.err
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } && {
23144 test -z "$ac_c_werror_flag" ||
23145 test ! -s conftest.err
23146 } && test -s conftest.$ac_objext; then
23147 ac_cv_sizeof_long_int=$ac_size
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 if test x$ac_cv_sizeof_long_int != x ; then break; fi
23162 unspecif=$ac_cv_sizeof_long_int
23163 if test x$unspecif = x ; then
23164 { { echo "$as_me:$LINENO: error: cannot determine a size for long int" >&5
23165 echo "$as_me: error: cannot determine a size for long int" >&2;}
23166 { (exit 1); exit 1; }; }
23169 if test "${ac_cv_sizeof_signed_long_int+set}" = set; then
23170 echo $ECHO_N "(cached) $ECHO_C" >&6
23172 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23173 cat >conftest.$ac_ext <<_ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179 #include "confdefs.h"
23180 #include <sys/types.h>
23186 switch (0) case 0: case (sizeof (signed long int) == $ac_size):;
23191 rm -f conftest.$ac_objext
23192 if { (ac_try="$ac_compile"
23193 case "(($ac_try" in
23194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23195 *) ac_try_echo=$ac_try;;
23197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23198 (eval "$ac_compile") 2>conftest.er1
23200 grep -v '^ *+' conftest.er1 >conftest.err
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } && {
23205 test -z "$ac_c_werror_flag" ||
23206 test ! -s conftest.err
23207 } && test -s conftest.$ac_objext; then
23208 ac_cv_sizeof_signed_long_int=$ac_size
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.$ac_ext >&5
23216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23217 if test x$ac_cv_sizeof_signed_long_int != x ; then break; fi
23223 signed=$ac_cv_sizeof_signed_long_int
23224 if test x$signed = x ; then
23225 { { echo "$as_me:$LINENO: error: cannot determine a size for signed long int" >&5
23226 echo "$as_me: error: cannot determine a size for signed long int" >&2;}
23227 { (exit 1); exit 1; }; }
23229 if test x$unspecif != x$signed ; then
23230 { { echo "$as_me:$LINENO: error: 'signed long int' and 'long int' have different sizes ! ($signed != $unspecif)" >&5
23231 echo "$as_me: error: 'signed long int' and 'long int' have different sizes ! ($signed != $unspecif)" >&2;}
23232 { (exit 1); exit 1; }; }
23235 if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
23236 echo $ECHO_N "(cached) $ECHO_C" >&6
23238 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23239 cat >conftest.$ac_ext <<_ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245 #include "confdefs.h"
23246 #include <sys/types.h>
23252 switch (0) case 0: case (sizeof (unsigned long int) == $ac_size):;
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1 >conftest.err
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_cv_sizeof_unsigned_long_int=$ac_size
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 if test x$ac_cv_sizeof_unsigned_long_int != x ; then break; fi
23289 unsigned=$ac_cv_sizeof_unsigned_long_int
23290 if test x$unsigned = x ; then
23291 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned long int" >&5
23292 echo "$as_me: error: cannot determine a size for unsigned long int" >&2;}
23293 { (exit 1); exit 1; }; }
23295 if test x$unsigned != x$signed ; then
23296 { { echo "$as_me:$LINENO: error: 'signed long int' and 'unsigned long int' have different sizes ! ($signed != $unsigned)" >&5
23297 echo "$as_me: error: 'signed long int' and 'unsigned long int' have different sizes ! ($signed != $unsigned)" >&2;}
23298 { (exit 1); exit 1; }; }
23301 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
23302 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6; }
23303 { echo "$as_me:$LINENO: checking for the minimal structure boundary of long int" >&5
23304 echo $ECHO_N "checking for the minimal structure boundary of long int... $ECHO_C" >&6; }
23306 if test "${ac_cv_struct_boundary_long_int+set}" = set; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23310 cat >conftest.$ac_ext <<_ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #include "confdefs.h"
23317 #include <sys/types.h>
23318 struct s { char c; long int i; };
23323 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(long int)):;
23328 rm -f conftest.$ac_objext
23329 if { (ac_try="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23337 grep -v '^ *+' conftest.er1 >conftest.err
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23345 ac_cv_struct_boundary_long_int=$ac_size
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 if test x$ac_cv_struct_boundary_long_int != x ; then break; fi
23359 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_long_int" >&5
23360 echo "${ECHO_T}$ac_cv_struct_boundary_long_int" >&6; }
23361 if test x$ac_cv_struct_boundary_long_int = x ; then
23362 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of long int in structures" >&5
23363 echo "$as_me: error: Cannot determine the minimal alignment boundary of long int in structures" >&2;}
23364 { (exit 1); exit 1; }; }
23367 { echo "$as_me:$LINENO: checking size of long long int" >&5
23368 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; }
23369 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23373 cat >conftest.$ac_ext <<_ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include "confdefs.h"
23380 #include <sys/types.h>
23386 switch (0) case 0: case (sizeof (long long int) == $ac_size):;
23391 rm -f conftest.$ac_objext
23392 if { (ac_try="$ac_compile"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_compile") 2>conftest.er1
23400 grep -v '^ *+' conftest.er1 >conftest.err
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_c_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest.$ac_objext; then
23408 ac_cv_sizeof_long_long_int=$ac_size
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 if test x$ac_cv_sizeof_long_long_int != x ; then break; fi
23423 unspecif=$ac_cv_sizeof_long_long_int
23424 if test x$unspecif = x ; then
23425 { { echo "$as_me:$LINENO: error: cannot determine a size for long long int" >&5
23426 echo "$as_me: error: cannot determine a size for long long int" >&2;}
23427 { (exit 1); exit 1; }; }
23430 if test "${ac_cv_sizeof_signed_long_long_int+set}" = set; then
23431 echo $ECHO_N "(cached) $ECHO_C" >&6
23433 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23434 cat >conftest.$ac_ext <<_ACEOF
23437 cat confdefs.h >>conftest.$ac_ext
23438 cat >>conftest.$ac_ext <<_ACEOF
23439 /* end confdefs.h. */
23440 #include "confdefs.h"
23441 #include <sys/types.h>
23447 switch (0) case 0: case (sizeof (signed long long int) == $ac_size):;
23452 rm -f conftest.$ac_objext
23453 if { (ac_try="$ac_compile"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_compile") 2>conftest.er1
23461 grep -v '^ *+' conftest.er1 >conftest.err
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_c_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest.$ac_objext; then
23469 ac_cv_sizeof_signed_long_long_int=$ac_size
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23478 if test x$ac_cv_sizeof_signed_long_long_int != x ; then break; fi
23484 signed=$ac_cv_sizeof_signed_long_long_int
23485 if test x$signed = x ; then
23486 { { echo "$as_me:$LINENO: error: cannot determine a size for signed long long int" >&5
23487 echo "$as_me: error: cannot determine a size for signed long long int" >&2;}
23488 { (exit 1); exit 1; }; }
23490 if test x$unspecif != x$signed ; then
23491 { { echo "$as_me:$LINENO: error: 'signed long long int' and 'long long int' have different sizes ! ($signed != $unspecif)" >&5
23492 echo "$as_me: error: 'signed long long int' and 'long long int' have different sizes ! ($signed != $unspecif)" >&2;}
23493 { (exit 1); exit 1; }; }
23496 if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then
23497 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23500 cat >conftest.$ac_ext <<_ACEOF
23503 cat confdefs.h >>conftest.$ac_ext
23504 cat >>conftest.$ac_ext <<_ACEOF
23505 /* end confdefs.h. */
23506 #include "confdefs.h"
23507 #include <sys/types.h>
23513 switch (0) case 0: case (sizeof (unsigned long long int) == $ac_size):;
23518 rm -f conftest.$ac_objext
23519 if { (ac_try="$ac_compile"
23520 case "(($ac_try" in
23521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23522 *) ac_try_echo=$ac_try;;
23524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23525 (eval "$ac_compile") 2>conftest.er1
23527 grep -v '^ *+' conftest.er1 >conftest.err
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } && {
23532 test -z "$ac_c_werror_flag" ||
23533 test ! -s conftest.err
23534 } && test -s conftest.$ac_objext; then
23535 ac_cv_sizeof_unsigned_long_long_int=$ac_size
23537 echo "$as_me: failed program was:" >&5
23538 sed 's/^/| /' conftest.$ac_ext >&5
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 if test x$ac_cv_sizeof_unsigned_long_long_int != x ; then break; fi
23550 unsigned=$ac_cv_sizeof_unsigned_long_long_int
23551 if test x$unsigned = x ; then
23552 { { echo "$as_me:$LINENO: error: cannot determine a size for unsigned long long int" >&5
23553 echo "$as_me: error: cannot determine a size for unsigned long long int" >&2;}
23554 { (exit 1); exit 1; }; }
23556 if test x$unsigned != x$signed ; then
23557 { { echo "$as_me:$LINENO: error: 'signed long long int' and 'unsigned long long int' have different sizes ! ($signed != $unsigned)" >&5
23558 echo "$as_me: error: 'signed long long int' and 'unsigned long long int' have different sizes ! ($signed != $unsigned)" >&2;}
23559 { (exit 1); exit 1; }; }
23562 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
23563 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long_int" >&6; }
23564 { echo "$as_me:$LINENO: checking for the minimal structure boundary of long long int" >&5
23565 echo $ECHO_N "checking for the minimal structure boundary of long long int... $ECHO_C" >&6; }
23567 if test "${ac_cv_struct_boundary_long_long_int+set}" = set; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23571 cat >conftest.$ac_ext <<_ACEOF
23574 cat confdefs.h >>conftest.$ac_ext
23575 cat >>conftest.$ac_ext <<_ACEOF
23576 /* end confdefs.h. */
23577 #include "confdefs.h"
23578 #include <sys/types.h>
23579 struct s { char c; long long int i; };
23584 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(long long int)):;
23589 rm -f conftest.$ac_objext
23590 if { (ac_try="$ac_compile"
23591 case "(($ac_try" in
23592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23593 *) ac_try_echo=$ac_try;;
23595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23596 (eval "$ac_compile") 2>conftest.er1
23598 grep -v '^ *+' conftest.er1 >conftest.err
23600 cat conftest.err >&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } && {
23603 test -z "$ac_c_werror_flag" ||
23604 test ! -s conftest.err
23605 } && test -s conftest.$ac_objext; then
23606 ac_cv_struct_boundary_long_long_int=$ac_size
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23615 if test x$ac_cv_struct_boundary_long_long_int != x ; then break; fi
23620 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_long_long_int" >&5
23621 echo "${ECHO_T}$ac_cv_struct_boundary_long_long_int" >&6; }
23622 if test x$ac_cv_struct_boundary_long_long_int = x ; then
23623 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of long long int in structures" >&5
23624 echo "$as_me: error: Cannot determine the minimal alignment boundary of long long int in structures" >&2;}
23625 { (exit 1); exit 1; }; }
23629 { echo "$as_me:$LINENO: checking for the minimal structure boundary of float" >&5
23630 echo $ECHO_N "checking for the minimal structure boundary of float... $ECHO_C" >&6; }
23632 if test "${ac_cv_struct_boundary_float+set}" = set; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23635 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23636 cat >conftest.$ac_ext <<_ACEOF
23639 cat confdefs.h >>conftest.$ac_ext
23640 cat >>conftest.$ac_ext <<_ACEOF
23641 /* end confdefs.h. */
23642 #include "confdefs.h"
23643 #include <sys/types.h>
23644 struct s { char c; float i; };
23649 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(float)):;
23654 rm -f conftest.$ac_objext
23655 if { (ac_try="$ac_compile"
23656 case "(($ac_try" in
23657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23658 *) ac_try_echo=$ac_try;;
23660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23661 (eval "$ac_compile") 2>conftest.er1
23663 grep -v '^ *+' conftest.er1 >conftest.err
23665 cat conftest.err >&5
23666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23667 (exit $ac_status); } && {
23668 test -z "$ac_c_werror_flag" ||
23669 test ! -s conftest.err
23670 } && test -s conftest.$ac_objext; then
23671 ac_cv_struct_boundary_float=$ac_size
23673 echo "$as_me: failed program was:" >&5
23674 sed 's/^/| /' conftest.$ac_ext >&5
23679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 if test x$ac_cv_struct_boundary_float != x ; then break; fi
23685 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_float" >&5
23686 echo "${ECHO_T}$ac_cv_struct_boundary_float" >&6; }
23687 if test x$ac_cv_struct_boundary_float = x ; then
23688 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of float in structures" >&5
23689 echo "$as_me: error: Cannot determine the minimal alignment boundary of float in structures" >&2;}
23690 { (exit 1); exit 1; }; }
23692 { echo "$as_me:$LINENO: checking for the minimal structure boundary of double" >&5
23693 echo $ECHO_N "checking for the minimal structure boundary of double... $ECHO_C" >&6; }
23695 if test "${ac_cv_struct_boundary_double+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23699 cat >conftest.$ac_ext <<_ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include "confdefs.h"
23706 #include <sys/types.h>
23707 struct s { char c; double i; };
23712 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(double)):;
23717 rm -f conftest.$ac_objext
23718 if { (ac_try="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23721 *) ac_try_echo=$ac_try;;
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23726 grep -v '^ *+' conftest.er1 >conftest.err
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.$ac_objext; then
23734 ac_cv_struct_boundary_double=$ac_size
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743 if test x$ac_cv_struct_boundary_double != x ; then break; fi
23748 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_double" >&5
23749 echo "${ECHO_T}$ac_cv_struct_boundary_double" >&6; }
23750 if test x$ac_cv_struct_boundary_double = x ; then
23751 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of double in structures" >&5
23752 echo "$as_me: error: Cannot determine the minimal alignment boundary of double in structures" >&2;}
23753 { (exit 1); exit 1; }; }
23757 { echo "$as_me:$LINENO: checking size of void *" >&5
23758 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
23759 if test "${ac_cv_sizeof_void_p+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23762 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23763 cat >conftest.$ac_ext <<_ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769 #include "confdefs.h"
23770 #include <sys/types.h>
23776 switch (0) case 0: case (sizeof (void *) == $ac_size):;
23781 rm -f conftest.$ac_objext
23782 if { (ac_try="$ac_compile"
23783 case "(($ac_try" in
23784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23785 *) ac_try_echo=$ac_try;;
23787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23788 (eval "$ac_compile") 2>conftest.er1
23790 grep -v '^ *+' conftest.er1 >conftest.err
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } && {
23795 test -z "$ac_c_werror_flag" ||
23796 test ! -s conftest.err
23797 } && test -s conftest.$ac_objext; then
23798 ac_cv_sizeof_void_p=$ac_size
23800 echo "$as_me: failed program was:" >&5
23801 sed 's/^/| /' conftest.$ac_ext >&5
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 if test x$ac_cv_sizeof_void_p != x ; then break; fi
23813 if test x$ac_cv_sizeof_void_p = x ; then
23814 { { echo "$as_me:$LINENO: error: cannot determine a size for void *" >&5
23815 echo "$as_me: error: cannot determine a size for void *" >&2;}
23816 { (exit 1); exit 1; }; }
23818 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
23819 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
23820 { echo "$as_me:$LINENO: checking for the minimal structure boundary of void *" >&5
23821 echo $ECHO_N "checking for the minimal structure boundary of void *... $ECHO_C" >&6; }
23823 if test "${ac_cv_struct_boundary_void_p+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23826 for ac_size in 1 2 4 8 16 32 64 3 ; do # List sizes in rough order of prevalence.
23827 cat >conftest.$ac_ext <<_ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 #include "confdefs.h"
23834 #include <sys/types.h>
23835 struct s { char c; void * i; };
23840 switch (0) case 0: case (sizeof (struct s) == $ac_size+sizeof(void *)):;
23845 rm -f conftest.$ac_objext
23846 if { (ac_try="$ac_compile"
23847 case "(($ac_try" in
23848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 *) ac_try_echo=$ac_try;;
23851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 (eval "$ac_compile") 2>conftest.er1
23854 grep -v '^ *+' conftest.er1 >conftest.err
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } && {
23859 test -z "$ac_c_werror_flag" ||
23860 test ! -s conftest.err
23861 } && test -s conftest.$ac_objext; then
23862 ac_cv_struct_boundary_void_p=$ac_size
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23871 if test x$ac_cv_struct_boundary_void_p != x ; then break; fi
23876 { echo "$as_me:$LINENO: result: $ac_cv_struct_boundary_void_p" >&5
23877 echo "${ECHO_T}$ac_cv_struct_boundary_void_p" >&6; }
23878 if test x$ac_cv_struct_boundary_void_p = x ; then
23879 { { echo "$as_me:$LINENO: error: Cannot determine the minimal alignment boundary of void * in structures" >&5
23880 echo "$as_me: error: Cannot determine the minimal alignment boundary of void * in structures" >&2;}
23881 { (exit 1); exit 1; }; }
23884 { echo "$as_me:$LINENO: checking size of void (*) (void)" >&5
23885 echo $ECHO_N "checking size of void (*) (void)... $ECHO_C" >&6; }
23886 if test "${ac_cv_sizeof_void_LpR_LvoidR+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
23890 cat >conftest.$ac_ext <<_ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include "confdefs.h"
23897 #include <sys/types.h>
23903 switch (0) case 0: case (sizeof (void (*) (void)) == $ac_size):;
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23917 grep -v '^ *+' conftest.er1 >conftest.err
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_c_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23925 ac_cv_sizeof_void_LpR_LvoidR=$ac_size
23927 echo "$as_me: failed program was:" >&5
23928 sed 's/^/| /' conftest.$ac_ext >&5
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 if test x$ac_cv_sizeof_void_LpR_LvoidR != x ; then break; fi
23940 if test x$ac_cv_sizeof_void_LpR_LvoidR = x ; then
23941 { { echo "$as_me:$LINENO: error: cannot determine a size for void (*) (void)" >&5
23942 echo "$as_me: error: cannot determine a size for void (*) (void)" >&2;}
23943 { (exit 1); exit 1; }; }
23945 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_LpR_LvoidR" >&5
23946 echo "${ECHO_T}$ac_cv_sizeof_void_LpR_LvoidR" >&6; }
23950 { echo "$as_me:$LINENO: checking the GRAS signature of this architecture" >&5
23951 echo $ECHO_N "checking the GRAS signature of this architecture... $ECHO_C" >&6; }
23952 if test x$endian = x1 ; then
23958 trace="$trace_endian"
23960 trace="${trace}_C:${ac_cv_sizeof_char}/${ac_cv_struct_boundary_char}:"
23962 trace="${trace}_I:${ac_cv_sizeof_short_int}/${ac_cv_struct_boundary_short_int}"
23963 trace="${trace}:${ac_cv_sizeof_int}/${ac_cv_struct_boundary_int}"
23964 trace="${trace}:${ac_cv_sizeof_long_int}/${ac_cv_struct_boundary_long_int}"
23965 trace="${trace}:${ac_cv_sizeof_long_long_int}/${ac_cv_struct_boundary_long_long_int}:"
23967 trace="${trace}_P:${ac_cv_sizeof_void_p}/${ac_cv_struct_boundary_void_p}"
23968 trace="${trace}:${ac_cv_sizeof_void_LpR_LvoidR}/${ac_cv_struct_boundary_void_p}:"
23970 trace="${trace}_D:4/${ac_cv_struct_boundary_float}:8/${ac_cv_struct_boundary_double}:"
23972 # sizeof float/double are not tested since IEEE 754 is assumed.
23973 # Check README.IEEE for rational.
23975 # The numbers after the _ in the arch name are the maximal packing boundary.
23976 # big32_2 means that all data are aligned on a 2 bytes boundary. (ARM)
23977 # big32_8_4 means that some or them are aligned on 8 bytes, some are on 4 bytes (AIX)
23979 l_C:1/1:_I:2/1:4/1:4/1:8/1:_P:4/1:4/1:_D:4/1:8/1:) gras_arch=0; gras_arch_name=little32_1;;
23980 l_C:1/1:_I:2/2:4/2:4/2:8/2:_P:4/2:4/2:_D:4/2:8/2:) gras_arch=1; gras_arch_name=little32_2;;
23981 l_C:1/1:_I:2/2:4/4:4/4:8/4:_P:4/4:4/4:_D:4/4:8/4:) gras_arch=2; gras_arch_name=little32_4;;
23982 l_C:1/1:_I:2/2:4/4:4/4:8/8:_P:4/4:4/4:_D:4/4:8/8:) gras_arch=3; gras_arch_name=little32_8;;
23984 l_C:1/1:_I:2/2:4/4:8/8:8/8:_P:8/8:8/8:_D:4/4:8/8:) gras_arch=4; gras_arch_name=little64;;
23986 B_C:1/1:_I:2/2:4/4:4/4:8/8:_P:4/4:4/4:_D:4/4:8/8:) gras_arch=5; gras_arch_name=big32;;
23987 B_C:1/1:_I:2/2:4/4:4/4:8/8:_P:4/4:4/4:_D:4/4:8/4:) gras_arch=6; gras_arch_name=big32_8_4;;
23988 B_C:1/1:_I:2/2:4/4:4/4:8/4:_P:4/4:4/4:_D:4/4:8/4:) gras_arch=7; gras_arch_name=big32_4;;
23989 B_C:1/1:_I:2/2:4/2:4/2:8/2:_P:4/2:4/2:_D:4/2:8/2:) gras_arch=8; gras_arch_name=big32_2;;
23991 B_C:1/1:_I:2/2:4/4:8/8:8/8:_P:8/8:8/8:_D:4/4:8/8:) gras_arch=9; gras_arch_name=big64;;
23992 B_C:1/1:_I:2/2:4/4:8/8:8/8:_P:8/8:8/8:_D:4/4:8/4:) gras_arch=10;gras_arch_name=big64_8_4;;
23994 if test x$gras_arch = xunknown ; then
23995 { echo "$as_me:$LINENO: result: damnit ($trace)" >&5
23996 echo "${ECHO_T}damnit ($trace)" >&6; }
23997 { { echo "$as_me:$LINENO: error: Impossible to determine the GRAS architecture signature.
23998 Please report this architecture trace ($trace) and what it corresponds to." >&5
23999 echo "$as_me: error: Impossible to determine the GRAS architecture signature.
24000 Please report this architecture trace ($trace) and what it corresponds to." >&2;}
24001 { (exit 1); exit 1; }; }
24003 echo "$as_me:$LINENO: GRAS trace of this machine: $trace" >&5
24005 cat >>confdefs.h <<_ACEOF
24006 #define GRAS_THISARCH $gras_arch
24009 { echo "$as_me:$LINENO: result: $gras_arch ($gras_arch_name)" >&5
24010 echo "${ECHO_T}$gras_arch ($gras_arch_name)" >&6; }
24012 { echo "$as_me:$LINENO: checking the maximal size of scalar" >&5
24013 echo $ECHO_N "checking the maximal size of scalar... $ECHO_C" >&6; }
24015 for s in $ac_cv_sizeof_char \
24016 $ac_cv_sizeof_short_int $ac_cv_sizeof_int $ac_cv_sizeof_long_int $ac_cv_sizeof_long_long_int \
24017 $ac_cv_sizeof_void_p $ac_cv_sizeof_void_LpR_LvoidR \
24020 if test $ac_cv_sizeof_max -lt $s ; then
24021 ac_cv_sizeof_max=$s
24024 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_max" >&5
24025 echo "${ECHO_T}$ac_cv_sizeof_max" >&6; }
24027 cat >>confdefs.h <<_ACEOF
24028 #define SIZEOF_MAX $ac_cv_sizeof_max
24033 # Check architecture signature end
24034 { echo "$as_me:$LINENO: checking whether the struct gets packed" >&5
24035 echo $ECHO_N "checking whether the struct gets packed... $ECHO_C" >&6; }
24036 cat >conftest.$ac_ext <<_ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042 #include "confdefs.h"
24043 #include <sys/types.h>
24044 #include <stddef.h> /* offsetof() */
24045 struct s {char c; double d;};
24052 case (sizeof(struct s) == sizeof(double)+sizeof(char)):;
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24067 grep -v '^ *+' conftest.er1 >conftest.err
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24075 gras_struct_packed=yes
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24080 gras_struct_packed=no
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 { echo "$as_me:$LINENO: result: $gras_struct_packed" >&5
24086 echo "${ECHO_T}$gras_struct_packed" >&6; }
24087 if test x$gras_struct_packed = "xyes" ; then
24088 { { echo "$as_me:$LINENO: error: GRAS does not support packed structures since it leads to nasty misalignments" >&5
24089 echo "$as_me: error: GRAS does not support packed structures since it leads to nasty misalignments" >&2;}
24090 { (exit 1); exit 1; }; }
24093 { echo "$as_me:$LINENO: checking whether the struct gets compacted" >&5
24094 echo $ECHO_N "checking whether the struct gets compacted... $ECHO_C" >&6; }
24095 cat >conftest.$ac_ext <<_ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24101 #include "confdefs.h"
24102 #include <sys/types.h>
24103 #include <stddef.h> /* offsetof() */
24104 struct s {double d; int i; char c;};
24111 case (offsetof(struct s,c) == sizeof(double)+sizeof(int)):;
24117 rm -f conftest.$ac_objext
24118 if { (ac_try="$ac_compile"
24119 case "(($ac_try" in
24120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24121 *) ac_try_echo=$ac_try;;
24123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24124 (eval "$ac_compile") 2>conftest.er1
24126 grep -v '^ *+' conftest.er1 >conftest.err
24128 cat conftest.err >&5
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); } && {
24131 test -z "$ac_c_werror_flag" ||
24132 test ! -s conftest.err
24133 } && test -s conftest.$ac_objext; then
24134 gras_struct_compact=yes
24136 echo "$as_me: failed program was:" >&5
24137 sed 's/^/| /' conftest.$ac_ext >&5
24139 gras_struct_compact=no
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144 { echo "$as_me:$LINENO: result: $gras_struct_compact" >&5
24145 echo "${ECHO_T}$gras_struct_compact" >&6; }
24147 if test x$gras_struct_compact != xyes ; then
24148 { { echo "$as_me:$LINENO: error: GRAS works only on structure compacting architectures (yet)" >&5
24149 echo "$as_me: error: GRAS works only on structure compacting architectures (yet)" >&2;}
24150 { (exit 1); exit 1; }; }
24153 cat >>confdefs.h <<_ACEOF
24154 #define GRAS_STRUCT_COMPACT 1
24157 { echo "$as_me:$LINENO: checking whether arrays can straddle struct alignment boundaries" >&5
24158 echo $ECHO_N "checking whether arrays can straddle struct alignment boundaries... $ECHO_C" >&6; }
24160 cat >conftest.$ac_ext <<_ACEOF
24163 cat confdefs.h >>conftest.$ac_ext
24164 cat >>conftest.$ac_ext <<_ACEOF
24165 /* end confdefs.h. */
24166 #include "confdefs.h"
24167 #include <sys/types.h>
24168 #include <stddef.h> /* offsetof() */
24169 struct s { double d; int i; char c[6]; };
24176 case (offsetof(struct s,c) == sizeof(double)+sizeof(int)):;
24182 rm -f conftest.$ac_objext
24183 if { (ac_try="$ac_compile"
24184 case "(($ac_try" in
24185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24186 *) ac_try_echo=$ac_try;;
24188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24189 (eval "$ac_compile") 2>conftest.er1
24191 grep -v '^ *+' conftest.er1 >conftest.err
24193 cat conftest.err >&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); } && {
24196 test -z "$ac_c_werror_flag" ||
24197 test ! -s conftest.err
24198 } && test -s conftest.$ac_objext; then
24199 gras_array_straddle_struct=yes
24201 echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.$ac_ext >&5
24204 gras_array_straddle_struct=no
24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24209 { echo "$as_me:$LINENO: result: $gras_array_straddle_struct" >&5
24210 echo "${ECHO_T}$gras_array_straddle_struct" >&6; }
24212 if test x$gras_array_straddle_struct = xyes ; then
24214 cat >>confdefs.h <<_ACEOF
24215 #define GRAS_ARRAY_STRADDLE_STRUCT 1
24219 { { echo "$as_me:$LINENO: error: GRAS can only work on architectures allowing array fields to straddle alignment boundaries (yet)" >&5
24220 echo "$as_me: error: GRAS can only work on architectures allowing array fields to straddle alignment boundaries (yet)" >&2;}
24221 { (exit 1); exit 1; }; }
24228 { echo "$as_me:$LINENO: result: " >&5
24229 echo "${ECHO_T}" >&6; }
24230 { echo "$as_me:$LINENO: result: ${T_MD}Checking for threads, contexts or assimilated...${T_ME}" >&5
24231 echo "${ECHO_T}${T_MD}Checking for threads, contexts or assimilated...${T_ME}" >&6; }
24236 { echo "$as_me:$LINENO: checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)" >&5
24237 echo $ECHO_N "checking for usable SVR4/SUSv2 makecontext(2)/swapcontext(2)... $ECHO_C" >&6; }
24238 if test "${ac_cv_check_mcsc+set}" = set; then
24239 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 if test "$cross_compiling" = yes; then
24243 ac_cv_check_mcsc=no
24246 cat >conftest.$ac_ext <<_ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24255 #include <stdlib.h>
24256 #include <ucontext.h>
24258 ucontext_t uc_child;
24259 ucontext_t uc_main;
24261 void child(void *arg)
24263 if (arg != (void *)2147483648)
24265 if (swapcontext(&uc_child, &uc_main) != 0)
24269 int main(int argc, char *argv[])
24274 /* the default is that it fails */
24275 if ((fp = fopen("conftestval", "w")) == NULL)
24277 fprintf(fp, "no\n");
24280 /* configure a child user-space context */
24281 if ((stack = malloc(64*1024)) == NULL)
24283 if (getcontext(&uc_child) != 0)
24285 uc_child.uc_link = NULL;
24286 uc_child.uc_stack.ss_sp = (char *)stack+(32*1024);
24287 uc_child.uc_stack.ss_size = 32*1024;
24288 uc_child.uc_stack.ss_flags = 0;
24289 makecontext(&uc_child, child, 2, (void *)2147483648);
24291 /* switch into the user context */
24292 if (swapcontext(&uc_main, &uc_child) != 0)
24295 /* Fine, child came home */
24296 if ((fp = fopen("conftestval", "w")) == NULL)
24298 fprintf(fp, "yes\n");
24301 /* die successfully */
24306 rm -f conftest$ac_exeext
24307 if { (ac_try="$ac_link"
24308 case "(($ac_try" in
24309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24310 *) ac_try_echo=$ac_try;;
24312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24313 (eval "$ac_link") 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24317 { (case "(($ac_try" in
24318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24319 *) ac_try_echo=$ac_try;;
24321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24322 (eval "$ac_try") 2>&5
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); }; }; then
24326 ac_cv_check_mcsc=`cat conftestval`
24328 echo "$as_me: program exited with status $ac_status" >&5
24329 echo "$as_me: failed program was:" >&5
24330 sed 's/^/| /' conftest.$ac_ext >&5
24332 ( exit $ac_status )
24333 ac_cv_check_mcsc=no
24335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24340 { echo "$as_me:$LINENO: result: $ac_cv_check_mcsc" >&5
24341 echo "${ECHO_T}$ac_cv_check_mcsc" >&6; }
24342 if test ".$ac_cv_check_mcsc" = .yes; then
24350 for ac_header in pthread.h
24352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24359 ac_res=`eval echo '${'$as_ac_Header'}'`
24360 { echo "$as_me:$LINENO: result: $ac_res" >&5
24361 echo "${ECHO_T}$ac_res" >&6; }
24363 # Is the header compilable?
24364 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24366 cat >conftest.$ac_ext <<_ACEOF
24369 cat confdefs.h >>conftest.$ac_ext
24370 cat >>conftest.$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24372 $ac_includes_default
24373 #include <$ac_header>
24375 rm -f conftest.$ac_objext
24376 if { (ac_try="$ac_compile"
24377 case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_compile") 2>conftest.er1
24384 grep -v '^ *+' conftest.er1 >conftest.err
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } && {
24389 test -z "$ac_c_werror_flag" ||
24390 test ! -s conftest.err
24391 } && test -s conftest.$ac_objext; then
24392 ac_header_compiler=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24397 ac_header_compiler=no
24400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24402 echo "${ECHO_T}$ac_header_compiler" >&6; }
24404 # Is the header present?
24405 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24407 cat >conftest.$ac_ext <<_ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24413 #include <$ac_header>
24415 if { (ac_try="$ac_cpp conftest.$ac_ext"
24416 case "(($ac_try" in
24417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24418 *) ac_try_echo=$ac_try;;
24420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24423 grep -v '^ *+' conftest.er1 >conftest.err
24425 cat conftest.err >&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } >/dev/null && {
24428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24429 test ! -s conftest.err
24431 ac_header_preproc=yes
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24436 ac_header_preproc=no
24439 rm -f conftest.err conftest.$ac_ext
24440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24441 echo "${ECHO_T}$ac_header_preproc" >&6; }
24443 # So? What about this header?
24444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24450 ac_header_preproc=yes
24453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24466 ## -------------------------------------------------- ##
24467 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
24468 ## -------------------------------------------------- ##
24470 ) | sed "s/^/$as_me: WARNING: /" >&2
24473 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 eval "$as_ac_Header=\$ac_header_preproc"
24480 ac_res=`eval echo '${'$as_ac_Header'}'`
24481 { echo "$as_me:$LINENO: result: $ac_res" >&5
24482 echo "${ECHO_T}$ac_res" >&6; }
24485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24486 cat >>confdefs.h <<_ACEOF
24487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24494 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
24495 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
24496 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
24497 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 ac_check_lib_save_LIBS=$LIBS
24500 LIBS="-lpthread $LIBS"
24501 cat >conftest.$ac_ext <<_ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24508 /* Override any GCC internal prototype to avoid an error.
24509 Use char because int might match the return type of a GCC
24510 builtin and then its argument prototype would still apply. */
24514 char pthread_create ();
24518 return pthread_create ();
24523 rm -f conftest.$ac_objext conftest$ac_exeext
24524 if { (ac_try="$ac_link"
24525 case "(($ac_try" in
24526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24527 *) ac_try_echo=$ac_try;;
24529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24530 (eval "$ac_link") 2>conftest.er1
24532 grep -v '^ *+' conftest.er1 >conftest.err
24534 cat conftest.err >&5
24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536 (exit $ac_status); } && {
24537 test -z "$ac_c_werror_flag" ||
24538 test ! -s conftest.err
24539 } && test -s conftest$ac_exeext &&
24540 $as_test_x conftest$ac_exeext; then
24541 ac_cv_lib_pthread_pthread_create=yes
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24546 ac_cv_lib_pthread_pthread_create=no
24549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24550 conftest$ac_exeext conftest.$ac_ext
24551 LIBS=$ac_check_lib_save_LIBS
24553 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
24554 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
24555 if test $ac_cv_lib_pthread_pthread_create = yes; then
24563 if test ".$mcsc" = .yes; then
24565 elif test ".$pthread" = .yes; then
24568 ac_header=windows.h
24569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24570 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24571 windows_context=yes
24573 { { echo "$as_me:$LINENO: error: no appropriate backend found" >&5
24574 echo "$as_me: error: no appropriate backend found" >&2;}
24575 { (exit 1); exit 1; }; }
24580 { echo "$as_me:$LINENO: checking what kind of backend should we use" >&5
24581 echo $ECHO_N "checking what kind of backend should we use... $ECHO_C" >&6; }
24584 # Check whether --with-pthread was given.
24585 if test "${with_pthread+set}" = set; then
24586 withval=$with_pthread; with_context=pthread
24591 # Check whether --with-context was given.
24592 if test "${with_context+set}" = set; then
24593 withval=$with_context;
24599 if test "x$with_context$mcsc" = "xucontextno" ; then
24600 { { echo "$as_me:$LINENO: error: --with-context=ucontext specified but ucontext unusable. Relaunch configure without this argument." >&5
24601 echo "$as_me: error: --with-context=ucontext specified but ucontext unusable. Relaunch configure without this argument." >&2;}
24602 { (exit 77); exit 77; }; }
24605 case $with_context in
24609 auto) with_context=ucontext;;
24610 *) { { echo "$as_me:$LINENO: error: --with-context must be either ucontext or pthread" >&5
24611 echo "$as_me: error: --with-context must be either ucontext or pthread" >&2;}
24612 { (exit 1); exit 1; }; } ;;
24615 if test "x$with_context" = "xucontext" ; then
24616 if test ".$mcsc" = .yes; then
24617 { echo "$as_me:$LINENO: result: found working ucontext. Great!" >&5
24618 echo "${ECHO_T}found working ucontext. Great!" >&6; }
24620 cat >>confdefs.h <<\_ACEOF
24621 #define USE_UCONTEXT 1
24625 if test ".$windows_context" = .yes ; then
24626 { echo "$as_me:$LINENO: result: use windows context portability layer." >&5
24627 echo "${ECHO_T}use windows context portability layer." >&6; }
24628 with_context=windows
24630 { echo "$as_me:$LINENO: result: no working ucontext found. Try pthreads as a fallback" >&5
24631 echo "${ECHO_T}no working ucontext found. Try pthreads as a fallback" >&6; }
24632 with_context=pthread
24637 if test "x$with_context" = "xpthread"; then
24639 for ac_header in pthread.h
24641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24643 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24646 echo $ECHO_N "(cached) $ECHO_C" >&6
24648 ac_res=`eval echo '${'$as_ac_Header'}'`
24649 { echo "$as_me:$LINENO: result: $ac_res" >&5
24650 echo "${ECHO_T}$ac_res" >&6; }
24652 # Is the header compilable?
24653 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24654 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24655 cat >conftest.$ac_ext <<_ACEOF
24658 cat confdefs.h >>conftest.$ac_ext
24659 cat >>conftest.$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24661 $ac_includes_default
24662 #include <$ac_header>
24664 rm -f conftest.$ac_objext
24665 if { (ac_try="$ac_compile"
24666 case "(($ac_try" in
24667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24668 *) ac_try_echo=$ac_try;;
24670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24671 (eval "$ac_compile") 2>conftest.er1
24673 grep -v '^ *+' conftest.er1 >conftest.err
24675 cat conftest.err >&5
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); } && {
24678 test -z "$ac_c_werror_flag" ||
24679 test ! -s conftest.err
24680 } && test -s conftest.$ac_objext; then
24681 ac_header_compiler=yes
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24686 ac_header_compiler=no
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24691 echo "${ECHO_T}$ac_header_compiler" >&6; }
24693 # Is the header present?
24694 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24696 cat >conftest.$ac_ext <<_ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #include <$ac_header>
24704 if { (ac_try="$ac_cpp conftest.$ac_ext"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24712 grep -v '^ *+' conftest.er1 >conftest.err
24714 cat conftest.err >&5
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } >/dev/null && {
24717 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24718 test ! -s conftest.err
24720 ac_header_preproc=yes
24722 echo "$as_me: failed program was:" >&5
24723 sed 's/^/| /' conftest.$ac_ext >&5
24725 ac_header_preproc=no
24728 rm -f conftest.err conftest.$ac_ext
24729 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24730 echo "${ECHO_T}$ac_header_preproc" >&6; }
24732 # So? What about this header?
24733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24739 ac_header_preproc=yes
24742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24755 ## -------------------------------------------------- ##
24756 ## Report this to simgrid-devel@lists.gforge.inria.fr ##
24757 ## -------------------------------------------------- ##
24759 ) | sed "s/^/$as_me: WARNING: /" >&2
24762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 eval "$as_ac_Header=\$ac_header_preproc"
24769 ac_res=`eval echo '${'$as_ac_Header'}'`
24770 { echo "$as_me:$LINENO: result: $ac_res" >&5
24771 echo "${ECHO_T}$ac_res" >&6; }
24774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24775 cat >>confdefs.h <<_ACEOF
24776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24784 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
24785 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
24786 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 ac_check_lib_save_LIBS=$LIBS
24790 LIBS="-lpthread $LIBS"
24791 cat >conftest.$ac_ext <<_ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24798 /* Override any GCC internal prototype to avoid an error.
24799 Use char because int might match the return type of a GCC
24800 builtin and then its argument prototype would still apply. */
24804 char pthread_create ();
24808 return pthread_create ();
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24822 grep -v '^ *+' conftest.er1 >conftest.err
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_c_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_lib_pthread_pthread_create=yes
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24836 ac_cv_lib_pthread_pthread_create=no
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 LIBS=$ac_check_lib_save_LIBS
24843 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
24844 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
24845 if test $ac_cv_lib_pthread_pthread_create = yes; then
24846 cat >>confdefs.h <<_ACEOF
24847 #define HAVE_LIBPTHREAD 1
24850 LIBS="-lpthread $LIBS"
24853 { { echo "$as_me:$LINENO: error: Cannot find pthreads, no way (try --with-context=ucontext if you haven't already tried)." >&5
24854 echo "$as_me: error: Cannot find pthreads, no way (try --with-context=ucontext if you haven't already tried)." >&2;}
24855 { (exit 1); exit 1; }; }
24859 cat >>confdefs.h <<\_ACEOF
24860 #define USE_PTHREADS 1
24863 { echo "$as_me:$LINENO: result: You have pthreads. Let's use them." >&5
24864 echo "${ECHO_T}You have pthreads. Let's use them." >&6; }
24868 if test "x$with_context" = "xucontext" ; then
24869 { echo "$as_me:$LINENO: checking for direction of stack growth" >&5
24870 echo $ECHO_N "checking for direction of stack growth... $ECHO_C" >&6; }
24871 if test "${ac_cv_check_stackgrowth+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 if test "$cross_compiling" = yes; then
24877 ac_cv_check_stackgrowth=down
24880 cat >conftest.$ac_ext <<_ACEOF
24883 cat confdefs.h >>conftest.$ac_ext
24884 cat >>conftest.$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24888 #include <stdlib.h>
24889 static int iterate = 10;
24890 static int growsdown(int *x)
24900 int main(int argc, char *argv[])
24904 if ((f = fopen("conftestval", "w")) == NULL)
24906 fprintf(f, "%s\n", growsdown(&x) ? "down" : "up");;
24913 rm -f conftest$ac_exeext
24914 if { (ac_try="$ac_link"
24915 case "(($ac_try" in
24916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24917 *) ac_try_echo=$ac_try;;
24919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24920 (eval "$ac_link") 2>&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24924 { (case "(($ac_try" in
24925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24926 *) ac_try_echo=$ac_try;;
24928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24929 (eval "$ac_try") 2>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); }; }; then
24933 ac_cv_check_stackgrowth=`cat conftestval`
24935 echo "$as_me: program exited with status $ac_status" >&5
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.$ac_ext >&5
24939 ( exit $ac_status )
24940 ac_cv_check_stackgrowth=down
24942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24947 { echo "$as_me:$LINENO: result: $ac_cv_check_stackgrowth" >&5
24948 echo "${ECHO_T}$ac_cv_check_stackgrowth" >&6; }
24949 if test ".$ac_cv_check_stackgrowth" = ".down"; then
24955 cat >>confdefs.h <<_ACEOF
24956 #define PTH_STACKGROWTH $val
24960 if test ".$ac_cv_check_stackgrowth" = ".down"; then
24961 PTH_STACK_GROWTH="down"
24963 PTH_STACK_GROWTH="up"
24971 for ac_func in makecontext
24973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24977 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 cat >conftest.$ac_ext <<_ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24987 #define $ac_func innocuous_$ac_func
24989 /* System header to define __stub macros and hopefully few prototypes,
24990 which can conflict with char $ac_func (); below.
24991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24992 <limits.h> exists even on freestanding compilers. */
24995 # include <limits.h>
24997 # include <assert.h>
25002 /* Override any GCC internal prototype to avoid an error.
25003 Use char because int might match the return type of a GCC
25004 builtin and then its argument prototype would still apply. */
25009 /* The GNU C library defines this for functions which it implements
25010 to always fail with ENOSYS. Some functions are actually named
25011 something starting with __ and the normal name is an alias. */
25012 #if defined __stub_$ac_func || defined __stub___$ac_func
25019 return $ac_func ();
25024 rm -f conftest.$ac_objext conftest$ac_exeext
25025 if { (ac_try="$ac_link"
25026 case "(($ac_try" in
25027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25028 *) ac_try_echo=$ac_try;;
25030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25031 (eval "$ac_link") 2>conftest.er1
25033 grep -v '^ *+' conftest.er1 >conftest.err
25035 cat conftest.err >&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } && {
25038 test -z "$ac_c_werror_flag" ||
25039 test ! -s conftest.err
25040 } && test -s conftest$ac_exeext &&
25041 $as_test_x conftest$ac_exeext; then
25042 eval "$as_ac_var=yes"
25044 echo "$as_me: failed program was:" >&5
25045 sed 's/^/| /' conftest.$ac_ext >&5
25047 eval "$as_ac_var=no"
25050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25051 conftest$ac_exeext conftest.$ac_ext
25053 ac_res=`eval echo '${'$as_ac_var'}'`
25054 { echo "$as_me:$LINENO: result: $ac_res" >&5
25055 echo "${ECHO_T}$ac_res" >&6; }
25056 if test `eval echo '${'$as_ac_var'}'` = yes; then
25057 cat >>confdefs.h <<_ACEOF
25058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25065 { echo "$as_me:$LINENO: checking for stack setup via makecontext" >&5
25066 echo $ECHO_N "checking for stack setup via makecontext... $ECHO_C" >&6; }
25067 if test "${ac_cv_stacksetup_makecontext+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 if test ".$ac_cv_func_makecontext" = .no; then
25072 ac_cv_stacksetup_makecontext="N.A.:/*N.A.*/,/*N.A.*/"
25075 CFLAGS="$CFLAGS -DTEST_makecontext"
25077 if test "$cross_compiling" = yes; then
25079 ac_cv_stacksetup_makecontext='guessed:(skaddr),(sksize)'
25082 cat >conftest.$ac_ext <<_ACEOF
25085 cat confdefs.h >>conftest.$ac_ext
25086 cat >>conftest.$ac_ext <<_ACEOF
25087 /* end confdefs.h. */
25090 #include <stdlib.h>
25091 #include <string.h>
25092 #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
25093 #include <sys/types.h>
25094 #include <signal.h>
25095 #include <unistd.h>
25097 #if defined(TEST_makecontext)
25098 #include <ucontext.h>
25107 static volatile char *handler_addr = (char *)0xDEAD;
25108 #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
25109 static volatile int handler_done = 0;
25110 void handler(int sig)
25112 char garbage[1024];
25115 for (i = 0; i < 1024; i++)
25117 handler_addr = (char *)&dummy;
25122 #if defined(TEST_makecontext)
25123 static ucontext_t uc_handler;
25124 static ucontext_t uc_main;
25127 char garbage[1024];
25130 for (i = 0; i < 1024; i++)
25132 handler_addr = (char *)&dummy;
25133 swapcontext(&uc_handler, &uc_main);
25137 int main(int argc, char *argv[])
25146 skbuf = (char *)malloc(sksize*2+2*sizeof(union alltypes));
25149 for (i = 0; i < sksize*2+2*sizeof(union alltypes); i++)
25151 skaddr = skbuf+sizeof(union alltypes);
25152 #if defined(TEST_sigstack) || defined(TEST_sigaltstack)
25154 struct sigaction sa;
25155 #if defined(TEST_sigstack)
25156 struct sigstack ss;
25157 #elif defined(TEST_sigaltstack) && defined(HAVE_STACK_T)
25160 struct sigaltstack ss;
25162 #if defined(TEST_sigstack)
25163 ss.ss_sp = (void *)(skaddr + sksize);
25165 if (sigstack(&ss, NULL) < 0)
25167 #elif defined(TEST_sigaltstack)
25168 ss.ss_sp = (void *)(skaddr + sksize);
25169 ss.ss_size = sksize;
25171 if (sigaltstack(&ss, NULL) < 0)
25174 memset((void *)&sa, 0, sizeof(struct sigaction));
25175 sa.sa_handler = handler;
25176 sa.sa_flags = SA_ONSTACK;
25177 sigemptyset(&sa.sa_mask);
25178 sigaction(SIGUSR1, &sa, NULL);
25179 kill(getpid(), SIGUSR1);
25180 while (!handler_done)
25184 #if defined(TEST_makecontext)
25186 if (getcontext(&uc_handler) != 0)
25188 uc_handler.uc_link = NULL;
25189 uc_handler.uc_stack.ss_sp = (void *)(skaddr + sksize);
25190 uc_handler.uc_stack.ss_size = sksize;
25191 uc_handler.uc_stack.ss_flags = 0;
25192 makecontext(&uc_handler, handler, 1);
25193 swapcontext(&uc_main, &uc_handler);
25196 if (handler_addr == (char *)0xDEAD)
25198 if (handler_addr < skaddr+sksize) {
25199 /* stack was placed into lower area */
25200 if (*(skaddr+sksize) != 'A')
25201 sprintf(result, "(skaddr)+(sksize)-%d,(sksize)-%d",
25202 sizeof(union alltypes), sizeof(union alltypes));
25204 strcpy(result, "(skaddr)+(sksize),(sksize)");
25207 /* stack was placed into higher area */
25208 if (*(skaddr+sksize*2) != 'A')
25209 sprintf(result, "(skaddr),(sksize)-%d", sizeof(union alltypes));
25211 strcpy(result, "(skaddr),(sksize)");
25213 if ((f = fopen("conftestval", "w")) == NULL)
25215 fprintf(f, "%s\n", result);
25221 rm -f conftest$ac_exeext
25222 if { (ac_try="$ac_link"
25223 case "(($ac_try" in
25224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25225 *) ac_try_echo=$ac_try;;
25227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25228 (eval "$ac_link") 2>&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25232 { (case "(($ac_try" in
25233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25234 *) ac_try_echo=$ac_try;;
25236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237 (eval "$ac_try") 2>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); }; }; then
25242 ac_cv_stacksetup_makecontext=`cat conftestval`
25243 ac_cv_stacksetup_makecontext="ok:$ac_cv_stacksetup_makecontext"
25246 echo "$as_me: program exited with status $ac_status" >&5
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25250 ( exit $ac_status )
25252 ac_cv_stacksetup_makecontext='guessed:(skaddr),(sksize)'
25255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25263 type=`echo $ac_cv_stacksetup_makecontext | sed -e 's;:.*$;;'`
25264 addr=`echo $ac_cv_stacksetup_makecontext | sed -e 's;^.*:;;' -e 's;,.*$;;'`
25265 size=`echo $ac_cv_stacksetup_makecontext | sed -e 's;^.*:;;' -e 's;^.*,;;'`
25266 pth_skaddr_makecontext="#define pth_skaddr_makecontext(skaddr,sksize) ($addr)"
25267 pth_sksize_makecontext="#define pth_sksize_makecontext(skaddr,sksize) ($size)"
25268 { echo "$as_me:$LINENO: result: $type" >&5
25269 echo "${ECHO_T}$type" >&6; }
25270 if test ".$verbose" = .yes; then
25271 { echo "$as_me:$LINENO: result: $pth_skaddr_makecontext" >&5
25272 echo "${ECHO_T} $pth_skaddr_makecontext" >&6; }
25275 if test ".$verbose" = .yes; then
25276 { echo "$as_me:$LINENO: result: $pth_sksize_makecontext" >&5
25277 echo "${ECHO_T} $pth_sksize_makecontext" >&6; }
25283 #########################################
25284 ## Check for libraries extra-dependencies
25288 { echo "$as_me:$LINENO: result: " >&5
25289 echo "${ECHO_T}" >&6; }
25290 { echo "$as_me:$LINENO: result: ${T_MD}Checking extra libraries dependencies...${T_ME}" >&5
25291 echo "${ECHO_T}${T_MD}Checking extra libraries dependencies...${T_ME}" >&6; }
25297 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25298 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
25299 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 ac_check_lib_save_LIBS=$LIBS
25304 cat >conftest.$ac_ext <<_ACEOF
25307 cat confdefs.h >>conftest.$ac_ext
25308 cat >>conftest.$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25311 /* Override any GCC internal prototype to avoid an error.
25312 Use char because int might match the return type of a GCC
25313 builtin and then its argument prototype would still apply. */
25317 char gethostbyname ();
25321 return gethostbyname ();
25326 rm -f conftest.$ac_objext conftest$ac_exeext
25327 if { (ac_try="$ac_link"
25328 case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;;
25332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25333 (eval "$ac_link") 2>conftest.er1
25335 grep -v '^ *+' conftest.er1 >conftest.err
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && {
25340 test -z "$ac_c_werror_flag" ||
25341 test ! -s conftest.err
25342 } && test -s conftest$ac_exeext &&
25343 $as_test_x conftest$ac_exeext; then
25344 ac_cv_lib_nsl_gethostbyname=yes
25346 echo "$as_me: failed program was:" >&5
25347 sed 's/^/| /' conftest.$ac_ext >&5
25349 ac_cv_lib_nsl_gethostbyname=no
25352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25353 conftest$ac_exeext conftest.$ac_ext
25354 LIBS=$ac_check_lib_save_LIBS
25356 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25357 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
25358 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25359 GRAS_DEP="$GRAS_DEP -lnsl"
25362 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25363 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
25364 if test "${ac_cv_lib_socket_connect+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25367 ac_check_lib_save_LIBS=$LIBS
25368 LIBS="-lsocket $LIBS"
25369 cat >conftest.$ac_ext <<_ACEOF
25372 cat confdefs.h >>conftest.$ac_ext
25373 cat >>conftest.$ac_ext <<_ACEOF
25374 /* end confdefs.h. */
25376 /* Override any GCC internal prototype to avoid an error.
25377 Use char because int might match the return type of a GCC
25378 builtin and then its argument prototype would still apply. */
25391 rm -f conftest.$ac_objext conftest$ac_exeext
25392 if { (ac_try="$ac_link"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_link") 2>conftest.er1
25400 grep -v '^ *+' conftest.er1 >conftest.err
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest$ac_exeext &&
25408 $as_test_x conftest$ac_exeext; then
25409 ac_cv_lib_socket_connect=yes
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25414 ac_cv_lib_socket_connect=no
25417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25418 conftest$ac_exeext conftest.$ac_ext
25419 LIBS=$ac_check_lib_save_LIBS
25421 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25422 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
25423 if test $ac_cv_lib_socket_connect = yes; then
25424 GRAS_DEP="$GRAS_DEP -lsocket"
25428 { echo "$as_me:$LINENO: checking for extra dependencies of libgras" >&5
25429 echo $ECHO_N "checking for extra dependencies of libgras... $ECHO_C" >&6; }
25431 *mingw* ) GRAS_DEP="$GRAS_DEP -lws2_32" ; SIMGRID_DEP="$SIMGRID_DEP -lws2_32" ;;
25434 if test "x$GRAS_DEP" = x; then
25435 { echo "$as_me:$LINENO: result: none" >&5
25436 echo "${ECHO_T}none" >&6; }
25438 { echo "$as_me:$LINENO: result: $GRAS_DEP" >&5
25439 echo "${ECHO_T}$GRAS_DEP" >&6; }
25443 ##############################################
25444 ## Enhance maintainer mode and SUBST variables
25445 ## (must be placed after any compilation tests since our overprotective flags
25446 ## let some tests fail)
25448 # Check whether we are doing a regular build or a GRAMINE (minimal) one
25449 # Next line is modified by sed when building gramine source tree
25451 if test x$gramine_mode = xyes
25453 USE_MAINTAINER_MODE=no
25457 if test x$gramine_mode != xno; then
25459 GRAMINE_MODE_FALSE='#'
25461 GRAMINE_MODE_TRUE='#'
25462 GRAMINE_MODE_FALSE=
25467 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
25468 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
25469 # Check whether --enable-maintainer-mode was given.
25470 if test "${enable_maintainer_mode+set}" = set; then
25471 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
25473 USE_MAINTAINER_MODE=no
25476 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
25477 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
25480 if test $USE_MAINTAINER_MODE = yes; then
25481 MAINTAINER_MODE_TRUE=
25482 MAINTAINER_MODE_FALSE='#'
25484 MAINTAINER_MODE_TRUE='#'
25485 MAINTAINER_MODE_FALSE=
25488 MAINT=$MAINTAINER_MODE_TRUE
25491 if test x$USE_MAINTAINER_MODE = xyes
25493 # Maintainers have no choice ! I'm a BOFH, and I plainly assume. [Mt]
25494 enable_compile_warnings=yes
25497 # Check whether --enable-compile-warnings was given.
25498 if test "${enable_compile_warnings+set}" = set; then
25499 enableval=$enable_compile_warnings; enable_compile_warnings=$enableval
25501 enable_compile_warnings=no
25505 # Check whether --enable-compile-optimizations was given.
25506 if test "${enable_compile_optimizations+set}" = set; then
25507 enableval=$enable_compile_optimizations; enable_compile_optimizations=$enableval
25509 enable_compile_optimizations=auto
25513 if test "x$cflags_set" != "xyes" ; then
25514 # if user didn't specify CFLAGS explicitely
25516 # AC PROG CC tests whether -g is accepted.
25517 # Cool, but it also tries to set -O2. I don't want it with gcc
25518 saveCFLAGS="$CFLAGS"
25520 case " $saveCFLAGS " in
25521 *-g*) CFLAGS="-g" ;;
25523 case " $saveCFLAGS " in
25524 *-O2*) test "x$CC" = xgcc || CFLAGS="$CFLAGS -O2" ;;
25527 # damn AC PROG CC, why did you set -O??
25531 if test "x$enable_compile_warnings" = "xyes" ; then
25532 { echo "$as_me:$LINENO: checking the warning flags for this compiler" >&5
25533 echo $ECHO_N "checking the warning flags for this compiler... $ECHO_C" >&6; }
25535 if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then
25536 case " $CFLAGS " in
25538 *) warnCFLAGS="-Wall -Wunused" ;;
25541 ## -W is not all that useful. And it cannot be controlled
25542 ## with individual -Wno-xxx flags, unlike -Wall
25544 ##Â -Wformat=2 chokes on the snprintf replacement because the format is passed to real sprintf
25545 ## -Wshadow chokes on try{ try{} } constructs
25546 if test "x$enable_compile_warnings" = "xyes"; then
25547 warnCFLAGS=`echo $warnCFLAGS -Wmissing-prototypes -Wmissing-declarations \
25548 -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings \
25549 -Wno-unused-function \
25552 # -Wno-unused-variable -Wno-unused-label
25555 { echo "$as_me:$LINENO: result: $warnCFLAGS" >&5
25556 echo "${ECHO_T}$warnCFLAGS" >&6; }
25557 # placed before since gcc remembers the last one on conflict
25558 CFLAGS="$warnCFLAGS $CFLAGS"
25561 if test "x$enable_compile_optimizations" = "xyes" ||
25562 test "x$enable_compile_optimizations" = "xauto" ; then
25563 { echo "$as_me:$LINENO: checking the optimization flags for this compiler" >&5
25564 echo $ECHO_N "checking the optimization flags for this compiler... $ECHO_C" >&6; }
25566 if test "x$CC" = "xgcc" || test "x$GCC" = "xyes" ; then
25567 case " $CFLAGS " in
25569 *) optCFLAGS="$optCFLAGS -O3" ;;
25571 optCFLAGS="$optCFLAGS -finline-functions -ffast-math -funroll-loops -fno-strict-aliasing"
25573 GCC_VER=`gcc --version | head -n 1 | sed 's/^^0-9*\(^ *\).*$/\1/'`
25574 GCC_VER_MAJ=`echo $GCC_VER | sed 's/^\(.\).*$/\1/'`
25575 if test "x$target_cpu" = "xpowerpc" && test "x$GCC_VER_MAJ" != "x2" ; then
25576 # avoid gcc bug #12828, which is fixed in 3.4.0, but this version
25577 # isn't propagated enough to desserve an extra check
25579 # Note that the flag didn't exist before gcc 3.0
25580 optCFLAGS="$optCFLAGS -fno-loop-optimize"
25583 { echo "$as_me:$LINENO: result: $optCFLAGS" >&5
25584 echo "${ECHO_T}$optCFLAGS" >&6; }
25585 # Take it only if CFLAGS not explicitly set. Unless the flag was explicitly given
25586 if test "x$cflags_set" != "xyes" ; then
25587 CFLAGS="$optCFLAGS $CFLAGS"
25591 if test x$lt_cv_prog_gnu_ld = xyes ; then
25592 LD_DYNAMIC_FLAGS=-Wl,--export-dynamic
25608 #####################
25609 ## Check for programs
25613 { echo "$as_me:$LINENO: result: " >&5
25614 echo "${ECHO_T}" >&6; }
25615 { echo "$as_me:$LINENO: result: ${T_MD}Check for programs...${T_ME}" >&5
25616 echo "${ECHO_T}${T_MD}Check for programs...${T_ME}" >&6; }
25618 # Extract the first word of "bash", so it can be a program name with args.
25619 set dummy bash; ac_word=$2
25620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25622 if test "${ac_cv_prog_BASH+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 if test -n "$BASH"; then
25626 ac_cv_prog_BASH="$BASH" # Let the user override the test.
25628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25629 for as_dir in $PATH
25632 test -z "$as_dir" && as_dir=.
25633 for ac_exec_ext in '' $ac_executable_extensions; do
25634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25635 ac_cv_prog_BASH="`which bash`"
25636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25643 test -z "$ac_cv_prog_BASH" && ac_cv_prog_BASH="/bin/sh"
25646 BASH=$ac_cv_prog_BASH
25647 if test -n "$BASH"; then
25648 { echo "$as_me:$LINENO: result: $BASH" >&5
25649 echo "${ECHO_T}$BASH" >&6; }
25651 { echo "$as_me:$LINENO: result: no" >&5
25652 echo "${ECHO_T}no" >&6; }
25656 WARNING="This file is generated, do not edit"
25660 # Can we rebuild the parsers?
25661 # We really want flex and refuse other lex. So, the parser is portable and
25662 # does not induce extra lib dependency
25663 for ac_prog in flex lex
25665 # Extract the first word of "$ac_prog", so it can be a program name with args.
25666 set dummy $ac_prog; ac_word=$2
25667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25669 if test "${ac_cv_prog_LEX+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 if test -n "$LEX"; then
25673 ac_cv_prog_LEX="$LEX" # Let the user override the test.
25675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25676 for as_dir in $PATH
25679 test -z "$as_dir" && as_dir=.
25680 for ac_exec_ext in '' $ac_executable_extensions; do
25681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25682 ac_cv_prog_LEX="$ac_prog"
25683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25692 LEX=$ac_cv_prog_LEX
25693 if test -n "$LEX"; then
25694 { echo "$as_me:$LINENO: result: $LEX" >&5
25695 echo "${ECHO_T}$LEX" >&6; }
25697 { echo "$as_me:$LINENO: result: no" >&5
25698 echo "${ECHO_T}no" >&6; }
25702 test -n "$LEX" && break
25704 test -n "$LEX" || LEX=":"
25706 if test "x$LEX" != "x:"; then
25707 cat >conftest.l <<_ACEOF
25713 e { yyless (input () != 0); }
25714 f { unput (yytext[0]); }
25715 . { BEGIN INITIAL; }
25717 #ifdef YYTEXT_POINTER
25718 extern char *yytext;
25723 return ! yylex () + ! yywrap ();
25726 { (ac_try="$LEX conftest.l"
25727 case "(($ac_try" in
25728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25729 *) ac_try_echo=$ac_try;;
25731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25732 (eval "$LEX conftest.l") 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); }
25736 { echo "$as_me:$LINENO: checking lex output file root" >&5
25737 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
25738 if test "${ac_cv_prog_lex_root+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 if test -f lex.yy.c; then
25743 ac_cv_prog_lex_root=lex.yy
25744 elif test -f lexyy.c; then
25745 ac_cv_prog_lex_root=lexyy
25747 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
25748 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
25749 { (exit 1); exit 1; }; }
25752 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
25753 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
25754 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
25756 if test -z "${LEXLIB+set}"; then
25757 { echo "$as_me:$LINENO: checking lex library" >&5
25758 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
25759 if test "${ac_cv_lib_lex+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25764 ac_cv_lib_lex='none needed'
25765 for ac_lib in '' -lfl -ll; do
25766 LIBS="$ac_lib $ac_save_LIBS"
25767 cat >conftest.$ac_ext <<_ACEOF
25768 `cat $LEX_OUTPUT_ROOT.c`
25770 rm -f conftest.$ac_objext conftest$ac_exeext
25771 if { (ac_try="$ac_link"
25772 case "(($ac_try" in
25773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25774 *) ac_try_echo=$ac_try;;
25776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25777 (eval "$ac_link") 2>conftest.er1
25779 grep -v '^ *+' conftest.er1 >conftest.err
25781 cat conftest.err >&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } && {
25784 test -z "$ac_c_werror_flag" ||
25785 test ! -s conftest.err
25786 } && test -s conftest$ac_exeext &&
25787 $as_test_x conftest$ac_exeext; then
25788 ac_cv_lib_lex=$ac_lib
25790 echo "$as_me: failed program was:" >&5
25791 sed 's/^/| /' conftest.$ac_ext >&5
25796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25797 conftest$ac_exeext conftest.$ac_ext
25798 test "$ac_cv_lib_lex" != 'none needed' && break
25803 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
25804 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
25805 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
25809 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
25810 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
25811 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 # POSIX says lex can declare yytext either as a pointer or an array; the
25815 # default is implementation-dependent. Figure out which it is, since
25816 # not all implementations provide the %pointer and %array declarations.
25817 ac_cv_prog_lex_yytext_pointer=no
25819 LIBS="$LEXLIB $ac_save_LIBS"
25820 cat >conftest.$ac_ext <<_ACEOF
25821 #define YYTEXT_POINTER 1
25822 `cat $LEX_OUTPUT_ROOT.c`
25824 rm -f conftest.$ac_objext conftest$ac_exeext
25825 if { (ac_try="$ac_link"
25826 case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;;
25830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25831 (eval "$ac_link") 2>conftest.er1
25833 grep -v '^ *+' conftest.er1 >conftest.err
25835 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && {
25838 test -z "$ac_c_werror_flag" ||
25839 test ! -s conftest.err
25840 } && test -s conftest$ac_exeext &&
25841 $as_test_x conftest$ac_exeext; then
25842 ac_cv_prog_lex_yytext_pointer=yes
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25851 conftest$ac_exeext conftest.$ac_ext
25855 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
25856 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
25857 if test $ac_cv_prog_lex_yytext_pointer = yes; then
25859 cat >>confdefs.h <<\_ACEOF
25860 #define YYTEXT_POINTER 1
25864 rm -f conftest.l $LEX_OUTPUT_ROOT.c
25868 if test "$LEX" != flex; then
25869 { echo "$as_me:$LINENO: Flex not found. Parsers won't get updated." >&5
25870 echo "$as_me: Flex not found. Parsers won't get updated." >&6;}
25871 LEX=${am_missing_run}flex
25875 if test "x2.5.30" != "x" ; then
25876 FLEX_VERSION=`flex --version | sed -e 's/^[^0-9]*//' -e 's/[^0-9]*$//'`
25878 FLEX_VER_MAJ=`echo "$FLEX_VERSION" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
25879 FLEX_VER_MED=`echo "$FLEX_VERSION" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
25880 FLEX_VER_MIN=`echo "$FLEX_VERSION" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
25882 WANT_VER_MAJ=`echo 2.5.30 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`;
25883 WANT_VER_MED=`echo 2.5.30 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`;
25884 WANT_VER_MIN=`echo 2.5.30 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`;
25886 if test "$FLEX_VER_MAJ" -lt "$WANT_VER_MAJ" ||
25887 test "$FLEX_VER_MAJ" -eq "$WANT_VER_MAJ" -a "$FLEX_VER_MED" -lt "$WANT_VER_MED" ||
25888 test "$FLEX_VER_MAJ" -eq "$WANT_VER_MAJ" -a "$FLEX_VER_MED" -eq "$WANT_VER_MED" -a "$FLEX_VER_MIN" -lt "$WANT_VER_MIN" ;
25890 { echo "$as_me:$LINENO: Found flex is too old. Parsers won't get updated (Found v$FLEX_VERSION < v2.5.30)" >&5
25891 echo "$as_me: Found flex is too old. Parsers won't get updated (Found v$FLEX_VERSION < v2.5.30)" >&6;}
25892 LEX=${am_missing_run}flex
25896 { echo "$as_me:$LINENO: Flex found. Parsers will get updated" >&5
25897 echo "$as_me: Flex found. Parsers will get updated" >&6;}
25903 # Can we rebuild the xml-lexers from the XML specification?
25904 # if not, simply touch the flex source files (which are distributed in
25905 # tarballs even if generated by flexml) and hope for the best.
25906 # Extract the first word of "flexml", so it can be a program name with args.
25907 set dummy flexml; ac_word=$2
25908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25910 if test "${ac_cv_prog_FLEXML+set}" = set; then
25911 echo $ECHO_N "(cached) $ECHO_C" >&6
25913 if test -n "$FLEXML"; then
25914 ac_cv_prog_FLEXML="$FLEXML" # Let the user override the test.
25916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25917 for as_dir in $PATH
25920 test -z "$as_dir" && as_dir=.
25921 for ac_exec_ext in '' $ac_executable_extensions; do
25922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25923 ac_cv_prog_FLEXML="`which flexml`"
25924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25931 test -z "$ac_cv_prog_FLEXML" && ac_cv_prog_FLEXML="NOTFOUND"
25934 FLEXML=$ac_cv_prog_FLEXML
25935 if test -n "$FLEXML"; then
25936 { echo "$as_me:$LINENO: result: $FLEXML" >&5
25937 echo "${ECHO_T}$FLEXML" >&6; }
25939 { echo "$as_me:$LINENO: result: no" >&5
25940 echo "${ECHO_T}no" >&6; }
25946 if test x$FLEXML != xNOTFOUND; then
25948 HAVE_FLEXML_FALSE='#'
25950 HAVE_FLEXML_TRUE='#'
25955 if test x$USE_MAINTAINER_MODE = xyes
25957 # Check for doxygen when in maintainer mode since dist* targets fail
25959 # Extract the first word of "doxygen", so it can be a program name with args.
25960 set dummy doxygen; ac_word=$2
25961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25963 if test "${ac_cv_path_DOXYGEN+set}" = set; then
25964 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
25971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25972 for as_dir in $PATH
25975 test -z "$as_dir" && as_dir=.
25976 for ac_exec_ext in '' $ac_executable_extensions; do
25977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25978 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
25979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25986 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="`which doxygen`"
25990 DOXYGEN=$ac_cv_path_DOXYGEN
25991 if test -n "$DOXYGEN"; then
25992 { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
25993 echo "${ECHO_T}$DOXYGEN" >&6; }
25995 { echo "$as_me:$LINENO: result: no" >&5
25996 echo "${ECHO_T}no" >&6; }
26000 if test x$DOXYGEN = x ; then
26001 { { echo "$as_me:$LINENO: error: doxygen is mandatory in maintainer mode" >&5
26002 echo "$as_me: error: doxygen is mandatory in maintainer mode" >&2;}
26003 { (exit 1); exit 1; }; }
26007 # Can we extract really usable backtraces? (also need the popen function)
26008 # Extract the first word of "addr2line", so it can be a program name with args.
26009 set dummy addr2line; ac_word=$2
26010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26012 if test "${ac_cv_path_ADDR2LINE+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 ac_cv_path_ADDR2LINE="$ADDR2LINE" # Let the user override the test with a path.
26020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26021 for as_dir in $PATH
26024 test -z "$as_dir" && as_dir=.
26025 for ac_exec_ext in '' $ac_executable_extensions; do
26026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26027 ac_cv_path_ADDR2LINE="$as_dir/$ac_word$ac_exec_ext"
26028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26038 ADDR2LINE=$ac_cv_path_ADDR2LINE
26039 if test -n "$ADDR2LINE"; then
26040 { echo "$as_me:$LINENO: result: $ADDR2LINE" >&5
26041 echo "${ECHO_T}$ADDR2LINE" >&6; }
26043 { echo "$as_me:$LINENO: result: no" >&5
26044 echo "${ECHO_T}no" >&6; }
26048 if test x$ADDR2LINE != x ; then
26050 cat >>confdefs.h <<_ACEOF
26051 #define ADDR2LINE "$ADDR2LINE"
26057 # Can we make status line about the compilation result?
26058 # Extract the first word of "md5sum", so it can be a program name with args.
26059 set dummy md5sum; ac_word=$2
26060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26062 if test "${ac_cv_prog_MD5SUM+set}" = set; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 if test -n "$MD5SUM"; then
26066 ac_cv_prog_MD5SUM="$MD5SUM" # Let the user override the test.
26068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26069 for as_dir in $PATH
26072 test -z "$as_dir" && as_dir=.
26073 for ac_exec_ext in '' $ac_executable_extensions; do
26074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26075 ac_cv_prog_MD5SUM="`which md5sum`"
26076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26085 MD5SUM=$ac_cv_prog_MD5SUM
26086 if test -n "$MD5SUM"; then
26087 { echo "$as_me:$LINENO: result: $MD5SUM" >&5
26088 echo "${ECHO_T}$MD5SUM" >&6; }
26090 { echo "$as_me:$LINENO: result: no" >&5
26091 echo "${ECHO_T}no" >&6; }
26095 if test x$MD5SUM != xno ; then
26096 build_version=`find -name '*.ch' |grep -v src/ucontext_stack.h | grep -v src/gras_config.h |\
26097 xargs cat| $MD5SUM | sed 's/ .*$//'`
26099 build_version="no_md5sum_binary"
26101 build_id="$PACKAGE ver=$VERSION build=$build_version args=\"$ac_configure_args\""
26104 ###################
26105 ## Makes the output
26110 # examples/gras/chord/Makefile examples/gras/chord/test_sg examples/gras/chord/test_rl
26111 # src/amok/Makefile
26114 { echo "$as_me:$LINENO: result: " >&5
26115 echo "${ECHO_T}" >&6; }
26116 { echo "$as_me:$LINENO: result: ${T_MD}Generating files...${T_ME}" >&5
26117 echo "${ECHO_T}${T_MD}Generating files...${T_ME}" >&6; }
26120 # Core of the libraries
26122 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile src/ucontext_stack.h"
26125 # Tools being embeeded in gramine (stub generator)
26126 ac_config_files="$ac_config_files tools/Makefile tools/gras/Makefile"
26129 # GRAMINE_CUT_BEGIN
26131 # Tools NOT being embeeded in gramine
26132 ac_config_files="$ac_config_files tools/graspe-slave"
26137 ac_config_files="$ac_config_files testsuite/Makefile testsuite/run_tests testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage"
26141 ac_config_files="$ac_config_files doc/Makefile doc/Doxyfile"
26146 ac_config_files="$ac_config_files examples/Makefile examples/msg/Makefile examples/msg/run_msg_test examples/simdag/Makefile examples/simdag/test_simdag examples/gras/Makefile examples/gras/ping/Makefile examples/gras/ping/test_sg examples/gras/ping/test_rl examples/gras/rpc/Makefile examples/gras/rpc/test_sg examples/gras/rpc/test_rl examples/gras/timer/Makefile examples/gras/timer/test_sg examples/gras/timer/test_rl examples/gras/chrono/Makefile examples/gras/chrono/test_sg examples/gras/chrono/test_rl examples/gras/mutual_exclusion/simple_token/Makefile examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl examples/gras/mmrpc/Makefile examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl examples/gras/pmm/Makefile examples/gras/pmm/test_sg examples/gras/pmm/test_rl examples/gras/all2all/Makefile examples/gras/all2all/test_sg examples/gras/all2all/test_rl examples/gras/p2p/Makefile examples/gras/p2p/chord/Makefile examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl examples/gras/p2p/can/Makefile examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl examples/amok/Makefile examples/amok/bandwidth/Makefile examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl examples/amok/saturate/Makefile examples/amok/saturate/test_sg examples/amok/saturate/test_rl"
26149 # examples/gras/chord/test_sg examples/gras/chord/test_rl \
26150 # examples/gras/pastry/test_sg
26154 # examples/gras/saturate/Makefile examples/gras/saturate/test_sg
26155 # examples/gras/alnem/Makefile examples/gras/alnem/test_sg
26160 cat >confcache <<\_ACEOF
26161 # This file is a shell script that caches the results of configure
26162 # tests run on this system so they can be shared between configure
26163 # scripts and configure runs, see configure's option --config-cache.
26164 # It is not useful on other systems. If it contains results you don't
26165 # want to keep, you may remove or edit it.
26167 # config.status only pays attention to the cache file if you give it
26168 # the --recheck option to rerun configure.
26170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26172 # following values.
26176 # The following way of writing the cache mishandles newlines in values,
26177 # but we know of no workaround that is simple, portable, and efficient.
26178 # So, we kill variables containing newlines.
26179 # Ultrix sh set writes to stderr and can't be redirected directly,
26180 # and sets the high bit in the cache file unless we assign to the vars.
26182 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26183 eval ac_val=\$$ac_var
26187 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26188 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26191 _ | IFS | as_nl) ;; #(
26192 *) $as_unset $ac_var ;;
26198 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26199 *${as_nl}ac_space=\ *)
26200 # `set' does not quote correctly, so add quotes (double-quote
26201 # substitution turns \\\\ into \\, and sed turns \\ into \).
26204 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26207 # `set' quotes correctly as required by POSIX, so do not add quotes.
26208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26217 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26219 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26221 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26222 if test -w "$cache_file"; then
26223 test "x$cache_file" != "x/dev/null" &&
26224 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26225 echo "$as_me: updating cache $cache_file" >&6;}
26226 cat confcache >$cache_file
26228 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26229 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26234 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26235 # Let make expand exec_prefix.
26236 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26238 DEFS=-DHAVE_CONFIG_H
26242 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26243 # 1. Remove the extension, and $U if already installed.
26244 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26245 ac_i=`echo "$ac_i" | sed "$ac_script"`
26246 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26247 # will be set to the directory where LIBOBJS objects are built.
26248 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26249 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26251 LIBOBJS=$ac_libobjs
26253 LTLIBOBJS=$ac_ltlibobjs
26256 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26257 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26258 Usually this means the macro was only invoked conditionally." >&5
26259 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26260 Usually this means the macro was only invoked conditionally." >&2;}
26261 { (exit 1); exit 1; }; }
26263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26264 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26265 Usually this means the macro was only invoked conditionally." >&5
26266 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26267 Usually this means the macro was only invoked conditionally." >&2;}
26268 { (exit 1); exit 1; }; }
26270 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26271 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26272 Usually this means the macro was only invoked conditionally." >&5
26273 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26274 Usually this means the macro was only invoked conditionally." >&2;}
26275 { (exit 1); exit 1; }; }
26277 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26278 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26279 Usually this means the macro was only invoked conditionally." >&5
26280 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26281 Usually this means the macro was only invoked conditionally." >&2;}
26282 { (exit 1); exit 1; }; }
26284 if test -z "${GRAMINE_MODE_TRUE}" && test -z "${GRAMINE_MODE_FALSE}"; then
26285 { { echo "$as_me:$LINENO: error: conditional \"GRAMINE_MODE\" was never defined.
26286 Usually this means the macro was only invoked conditionally." >&5
26287 echo "$as_me: error: conditional \"GRAMINE_MODE\" was never defined.
26288 Usually this means the macro was only invoked conditionally." >&2;}
26289 { (exit 1); exit 1; }; }
26291 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26292 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26293 Usually this means the macro was only invoked conditionally." >&5
26294 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26295 Usually this means the macro was only invoked conditionally." >&2;}
26296 { (exit 1); exit 1; }; }
26298 if test -z "${HAVE_FLEXML_TRUE}" && test -z "${HAVE_FLEXML_FALSE}"; then
26299 { { echo "$as_me:$LINENO: error: conditional \"HAVE_FLEXML\" was never defined.
26300 Usually this means the macro was only invoked conditionally." >&5
26301 echo "$as_me: error: conditional \"HAVE_FLEXML\" was never defined.
26302 Usually this means the macro was only invoked conditionally." >&2;}
26303 { (exit 1); exit 1; }; }
26306 : ${CONFIG_STATUS=./config.status}
26307 ac_clean_files_save=$ac_clean_files
26308 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26309 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26310 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26311 cat >$CONFIG_STATUS <<_ACEOF
26313 # Generated by $as_me.
26314 # Run this file to recreate the current configuration.
26315 # Compiler output produced by configure, useful for debugging
26316 # configure, is in config.log if it exists.
26319 ac_cs_recheck=false
26321 SHELL=\${CONFIG_SHELL-$SHELL}
26324 cat >>$CONFIG_STATUS <<\_ACEOF
26325 ## --------------------- ##
26326 ## M4sh Initialization. ##
26327 ## --------------------- ##
26329 # Be more Bourne compatible
26330 DUALCASE=1; export DUALCASE # for MKS sh
26331 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26334 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26335 # is contrary to our usage. Disable this feature.
26336 alias -g '${1+"$@"}'='"$@"'
26337 setopt NO_GLOB_SUBST
26339 case `(set -o) 2>/dev/null` in
26340 *posix*) set -o posix ;;
26349 # Avoid depending upon Character Ranges.
26350 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26351 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26352 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26353 as_cr_digits='0123456789'
26354 as_cr_alnum=$as_cr_Letters$as_cr_digits
26356 # The user is always right.
26357 if test "${PATH_SEPARATOR+set}" != set; then
26358 echo "#! /bin/sh" >conf$$.sh
26359 echo "exit 0" >>conf$$.sh
26361 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26369 # Support unset when possible.
26370 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26378 # We need space, tab and new line, in precisely that order. Quoting is
26379 # there to prevent editors from complaining about space-tab.
26380 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26381 # splitting by setting IFS to empty value.)
26386 # Find who we are. Look in the path if we contain no directory separator.
26388 *[\\/]* ) as_myself=$0 ;;
26389 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26390 for as_dir in $PATH
26393 test -z "$as_dir" && as_dir=.
26394 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26400 # We did not find ourselves, most probably we were run as `sh COMMAND'
26401 # in which case we are not to be found in the path.
26402 if test "x$as_myself" = x; then
26405 if test ! -f "$as_myself"; then
26406 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26407 { (exit 1); exit 1; }
26410 # Work around bugs in pre-3.0 UWIN ksh.
26411 for as_var in ENV MAIL MAILPATH
26412 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26420 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26421 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26422 LC_TELEPHONE LC_TIME
26424 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26425 eval $as_var=C; export $as_var
26427 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26431 # Required to use basename.
26432 if expr a : '\(a\)' >/dev/null 2>&1 &&
26433 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26439 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26440 as_basename=basename
26446 # Name of the executable.
26447 as_me=`$as_basename -- "$0" ||
26448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26449 X"$0" : 'X\(//\)$' \| \
26450 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26452 sed '/^.*\/\([^/][^/]*\)\/*$/{
26471 as_lineno_1=$LINENO
26472 as_lineno_2=$LINENO
26473 test "x$as_lineno_1" != "x$as_lineno_2" &&
26474 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26476 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26477 # uniformly replaced by the line number. The first 'sed' inserts a
26478 # line-number line after each line using $LINENO; the second 'sed'
26479 # does the real work. The second script uses 'N' to pair each
26480 # line-number line with the line containing $LINENO, and appends
26481 # trailing '-' during substitution so that $LINENO is not a special
26482 # case at line end.
26483 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26484 # scripts with optimization help from Paolo Bonzini. Blame Lee
26485 # E. McMahon (1931-1989) for sed's syntax. :-)
26497 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26500 ' >$as_me.lineno &&
26501 chmod +x "$as_me.lineno" ||
26502 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26503 { (exit 1); exit 1; }; }
26505 # Don't try to exec as it changes $[0], causing all sort of problems
26506 # (the dirname of $[0] is not the place where we might find the
26507 # original and so on. Autoconf is especially sensitive to this).
26508 . "./$as_me.lineno"
26509 # Exit status is that of the last command.
26514 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26520 ECHO_C= ECHO_N= ECHO_T=
26521 case `echo -n x` in
26523 case `echo 'x\c'` in
26524 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26531 if expr a : '\(a\)' >/dev/null 2>&1 &&
26532 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26538 rm -f conf$$ conf$$.exe conf$$.file
26539 if test -d conf$$.dir; then
26540 rm -f conf$$.dir/conf$$.file
26546 if ln -s conf$$.file conf$$ 2>/dev/null; then
26548 # ... but there are two gotchas:
26549 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26550 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26551 # In both cases, we have to default to `cp -p'.
26552 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26554 elif ln conf$$.file conf$$ 2>/dev/null; then
26559 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26560 rmdir conf$$.dir 2>/dev/null
26562 if mkdir -p . 2>/dev/null; then
26565 test -d ./-p && rmdir ./-p
26569 if test -x / >/dev/null 2>&1; then
26570 as_test_x='test -x'
26572 if ls -dL / >/dev/null 2>&1; then
26579 if test -d "$1"; then
26585 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26586 ???[sx]*):;;*)false;;esac;fi
26590 as_executable_p=$as_test_x
26592 # Sed expression to map a string onto a valid CPP name.
26593 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26595 # Sed expression to map a string onto a valid variable name.
26596 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26601 # Save the log message, to keep $[0] and so on meaningful, and to
26602 # report actual input values of CONFIG_FILES etc. instead of their
26603 # values after options handling.
26605 This file was extended by simgrid $as_me 3.1.1-cvs, which was
26606 generated by GNU Autoconf 2.61. Invocation command line was
26608 CONFIG_FILES = $CONFIG_FILES
26609 CONFIG_HEADERS = $CONFIG_HEADERS
26610 CONFIG_LINKS = $CONFIG_LINKS
26611 CONFIG_COMMANDS = $CONFIG_COMMANDS
26614 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26619 cat >>$CONFIG_STATUS <<_ACEOF
26620 # Files that config.status was made for.
26621 config_files="$ac_config_files"
26622 config_headers="$ac_config_headers"
26623 config_commands="$ac_config_commands"
26627 cat >>$CONFIG_STATUS <<\_ACEOF
26629 \`$as_me' instantiates files from templates according to the
26630 current configuration.
26632 Usage: $0 [OPTIONS] [FILE]...
26634 -h, --help print this help, then exit
26635 -V, --version print version number and configuration settings, then exit
26636 -q, --quiet do not print progress messages
26637 -d, --debug don't remove temporary files
26638 --recheck update $as_me by reconfiguring in the same conditions
26639 --file=FILE[:TEMPLATE]
26640 instantiate the configuration file FILE
26641 --header=FILE[:TEMPLATE]
26642 instantiate the configuration header FILE
26644 Configuration files:
26647 Configuration headers:
26650 Configuration commands:
26653 Report bugs to <bug-autoconf@gnu.org>."
26656 cat >>$CONFIG_STATUS <<_ACEOF
26658 simgrid config.status 3.1.1-cvs
26659 configured by $0, generated by GNU Autoconf 2.61,
26660 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26662 Copyright (C) 2006 Free Software Foundation, Inc.
26663 This config.status script is free software; the Free Software Foundation
26664 gives unlimited permission to copy, distribute and modify it."
26671 cat >>$CONFIG_STATUS <<\_ACEOF
26672 # If no file are specified by the user, then we need to provide default
26673 # value. By we need to know if files were specified by the user.
26679 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26680 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26691 # Handling of the options.
26692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26694 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26695 echo "$ac_cs_version"; exit ;;
26696 --debug | --debu | --deb | --de | --d | -d )
26698 --file | --fil | --fi | --f )
26700 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
26701 ac_need_defaults=false;;
26702 --header | --heade | --head | --hea )
26704 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
26705 ac_need_defaults=false;;
26707 # Conflict between --help and --header
26708 { echo "$as_me: error: ambiguous option: $1
26709 Try \`$0 --help' for more information." >&2
26710 { (exit 1); exit 1; }; };;
26711 --help | --hel | -h )
26712 echo "$ac_cs_usage"; exit ;;
26713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26714 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26717 # This is an error.
26718 -*) { echo "$as_me: error: unrecognized option: $1
26719 Try \`$0 --help' for more information." >&2
26720 { (exit 1); exit 1; }; } ;;
26722 *) ac_config_targets="$ac_config_targets $1"
26723 ac_need_defaults=false ;;
26729 ac_configure_extra_args=
26731 if $ac_cs_silent; then
26733 ac_configure_extra_args="$ac_configure_extra_args --silent"
26737 cat >>$CONFIG_STATUS <<_ACEOF
26738 if \$ac_cs_recheck; then
26739 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26740 CONFIG_SHELL=$SHELL
26741 export CONFIG_SHELL
26742 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26746 cat >>$CONFIG_STATUS <<\_ACEOF
26750 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26751 ## Running $as_me. ##
26757 cat >>$CONFIG_STATUS <<_ACEOF
26761 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26765 cat >>$CONFIG_STATUS <<\_ACEOF
26767 # Handling of arguments.
26768 for ac_config_target in $ac_config_targets
26770 case $ac_config_target in
26771 "src/gras_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/gras_config.h" ;;
26772 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26773 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26774 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
26775 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
26776 "src/ucontext_stack.h") CONFIG_FILES="$CONFIG_FILES src/ucontext_stack.h" ;;
26777 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
26778 "tools/gras/Makefile") CONFIG_FILES="$CONFIG_FILES tools/gras/Makefile" ;;
26779 "tools/graspe-slave") CONFIG_FILES="$CONFIG_FILES tools/graspe-slave" ;;
26780 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
26781 "testsuite/run_tests") CONFIG_FILES="$CONFIG_FILES testsuite/run_tests" ;;
26782 "testsuite/gras/trp_tcp_usage") CONFIG_FILES="$CONFIG_FILES testsuite/gras/trp_tcp_usage" ;;
26783 "testsuite/gras/trp_file_usage") CONFIG_FILES="$CONFIG_FILES testsuite/gras/trp_file_usage" ;;
26784 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
26785 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
26786 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
26787 "examples/msg/Makefile") CONFIG_FILES="$CONFIG_FILES examples/msg/Makefile" ;;
26788 "examples/msg/run_msg_test") CONFIG_FILES="$CONFIG_FILES examples/msg/run_msg_test" ;;
26789 "examples/simdag/Makefile") CONFIG_FILES="$CONFIG_FILES examples/simdag/Makefile" ;;
26790 "examples/simdag/test_simdag") CONFIG_FILES="$CONFIG_FILES examples/simdag/test_simdag" ;;
26791 "examples/gras/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/Makefile" ;;
26792 "examples/gras/ping/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/ping/Makefile" ;;
26793 "examples/gras/ping/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/ping/test_sg" ;;
26794 "examples/gras/ping/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/ping/test_rl" ;;
26795 "examples/gras/rpc/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/rpc/Makefile" ;;
26796 "examples/gras/rpc/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/rpc/test_sg" ;;
26797 "examples/gras/rpc/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/rpc/test_rl" ;;
26798 "examples/gras/timer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/timer/Makefile" ;;
26799 "examples/gras/timer/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/timer/test_sg" ;;
26800 "examples/gras/timer/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/timer/test_rl" ;;
26801 "examples/gras/chrono/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/chrono/Makefile" ;;
26802 "examples/gras/chrono/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/chrono/test_sg" ;;
26803 "examples/gras/chrono/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/chrono/test_rl" ;;
26804 "examples/gras/mutual_exclusion/simple_token/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/mutual_exclusion/simple_token/Makefile" ;;
26805 "examples/gras/mutual_exclusion/simple_token/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/mutual_exclusion/simple_token/test_sg" ;;
26806 "examples/gras/mutual_exclusion/simple_token/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/mutual_exclusion/simple_token/test_rl" ;;
26807 "examples/gras/mmrpc/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/mmrpc/Makefile" ;;
26808 "examples/gras/mmrpc/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/mmrpc/test_sg" ;;
26809 "examples/gras/mmrpc/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/mmrpc/test_rl" ;;
26810 "examples/gras/pmm/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/pmm/Makefile" ;;
26811 "examples/gras/pmm/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/pmm/test_sg" ;;
26812 "examples/gras/pmm/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/pmm/test_rl" ;;
26813 "examples/gras/all2all/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/all2all/Makefile" ;;
26814 "examples/gras/all2all/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/all2all/test_sg" ;;
26815 "examples/gras/all2all/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/all2all/test_rl" ;;
26816 "examples/gras/p2p/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/Makefile" ;;
26817 "examples/gras/p2p/chord/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/chord/Makefile" ;;
26818 "examples/gras/p2p/chord/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/chord/test_sg" ;;
26819 "examples/gras/p2p/chord/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/chord/test_rl" ;;
26820 "examples/gras/p2p/can/Makefile") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/can/Makefile" ;;
26821 "examples/gras/p2p/can/test_sg") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/can/test_sg" ;;
26822 "examples/gras/p2p/can/test_rl") CONFIG_FILES="$CONFIG_FILES examples/gras/p2p/can/test_rl" ;;
26823 "examples/amok/Makefile") CONFIG_FILES="$CONFIG_FILES examples/amok/Makefile" ;;
26824 "examples/amok/bandwidth/Makefile") CONFIG_FILES="$CONFIG_FILES examples/amok/bandwidth/Makefile" ;;
26825 "examples/amok/bandwidth/test_sg") CONFIG_FILES="$CONFIG_FILES examples/amok/bandwidth/test_sg" ;;
26826 "examples/amok/bandwidth/test_rl") CONFIG_FILES="$CONFIG_FILES examples/amok/bandwidth/test_rl" ;;
26827 "examples/amok/saturate/Makefile") CONFIG_FILES="$CONFIG_FILES examples/amok/saturate/Makefile" ;;
26828 "examples/amok/saturate/test_sg") CONFIG_FILES="$CONFIG_FILES examples/amok/saturate/test_sg" ;;
26829 "examples/amok/saturate/test_rl") CONFIG_FILES="$CONFIG_FILES examples/amok/saturate/test_rl" ;;
26831 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26832 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26833 { (exit 1); exit 1; }; };;
26838 # If the user did not use the arguments to specify the items to instantiate,
26839 # then the envvar interface is used. Set only those that are not.
26840 # We use the long form for the default assignment because of an extremely
26841 # bizarre bug on SunOS 4.1.3.
26842 if $ac_need_defaults; then
26843 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26844 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26845 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26848 # Have a temporary directory for convenience. Make it in the build tree
26849 # simply because there is no reason against having it here, and in addition,
26850 # creating and moving files from /tmp can sometimes cause problems.
26851 # Hook for its removal unless debugging.
26852 # Note that there is a small window in which the directory will not be cleaned:
26853 # after its creation but before its name has been assigned to `$tmp'.
26857 trap 'exit_status=$?
26858 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26860 trap '{ (exit 1); exit 1; }' 1 2 13 15
26862 # Create a (secure) tmp directory for tmp files.
26865 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26866 test -n "$tmp" && test -d "$tmp"
26869 tmp=./conf$$-$RANDOM
26870 (umask 077 && mkdir "$tmp")
26873 echo "$me: cannot create a temporary directory in ." >&2
26874 { (exit 1); exit 1; }
26878 # Set up the sed scripts for CONFIG_FILES section.
26881 # No need to generate the scripts if there are no CONFIG_FILES.
26882 # This happens for instance when ./config.status config.h
26883 if test -n "$CONFIG_FILES"; then
26890 for ac_last_try in false false false false false :; do
26891 cat >conf$$subs.sed <<_ACEOF
26892 SHELL!$SHELL$ac_delim
26893 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26894 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26895 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26896 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26897 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26898 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26899 exec_prefix!$exec_prefix$ac_delim
26900 prefix!$prefix$ac_delim
26901 program_transform_name!$program_transform_name$ac_delim
26902 bindir!$bindir$ac_delim
26903 sbindir!$sbindir$ac_delim
26904 libexecdir!$libexecdir$ac_delim
26905 datarootdir!$datarootdir$ac_delim
26906 datadir!$datadir$ac_delim
26907 sysconfdir!$sysconfdir$ac_delim
26908 sharedstatedir!$sharedstatedir$ac_delim
26909 localstatedir!$localstatedir$ac_delim
26910 includedir!$includedir$ac_delim
26911 oldincludedir!$oldincludedir$ac_delim
26912 docdir!$docdir$ac_delim
26913 infodir!$infodir$ac_delim
26914 htmldir!$htmldir$ac_delim
26915 dvidir!$dvidir$ac_delim
26916 pdfdir!$pdfdir$ac_delim
26917 psdir!$psdir$ac_delim
26918 libdir!$libdir$ac_delim
26919 localedir!$localedir$ac_delim
26920 mandir!$mandir$ac_delim
26921 DEFS!$DEFS$ac_delim
26922 ECHO_C!$ECHO_C$ac_delim
26923 ECHO_N!$ECHO_N$ac_delim
26924 ECHO_T!$ECHO_T$ac_delim
26925 LIBS!$LIBS$ac_delim
26926 build_alias!$build_alias$ac_delim
26927 host_alias!$host_alias$ac_delim
26928 target_alias!$target_alias$ac_delim
26929 build!$build$ac_delim
26930 build_cpu!$build_cpu$ac_delim
26931 build_vendor!$build_vendor$ac_delim
26932 build_os!$build_os$ac_delim
26933 host!$host$ac_delim
26934 host_cpu!$host_cpu$ac_delim
26935 host_vendor!$host_vendor$ac_delim
26936 host_os!$host_os$ac_delim
26937 target!$target$ac_delim
26938 target_cpu!$target_cpu$ac_delim
26939 target_vendor!$target_vendor$ac_delim
26940 target_os!$target_os$ac_delim
26941 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26942 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26943 INSTALL_DATA!$INSTALL_DATA$ac_delim
26944 CYGPATH_W!$CYGPATH_W$ac_delim
26945 PACKAGE!$PACKAGE$ac_delim
26946 VERSION!$VERSION$ac_delim
26947 ACLOCAL!$ACLOCAL$ac_delim
26948 AUTOCONF!$AUTOCONF$ac_delim
26949 AUTOMAKE!$AUTOMAKE$ac_delim
26950 AUTOHEADER!$AUTOHEADER$ac_delim
26951 MAKEINFO!$MAKEINFO$ac_delim
26952 install_sh!$install_sh$ac_delim
26953 STRIP!$STRIP$ac_delim
26954 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26955 mkdir_p!$mkdir_p$ac_delim
26957 SET_MAKE!$SET_MAKE$ac_delim
26958 am__leading_dot!$am__leading_dot$ac_delim
26959 AMTAR!$AMTAR$ac_delim
26960 am__tar!$am__tar$ac_delim
26961 am__untar!$am__untar$ac_delim
26963 CFLAGS!$CFLAGS$ac_delim
26964 LDFLAGS!$LDFLAGS$ac_delim
26965 CPPFLAGS!$CPPFLAGS$ac_delim
26966 ac_ct_CC!$ac_ct_CC$ac_delim
26967 EXEEXT!$EXEEXT$ac_delim
26968 OBJEXT!$OBJEXT$ac_delim
26969 DEPDIR!$DEPDIR$ac_delim
26970 am__include!$am__include$ac_delim
26971 am__quote!$am__quote$ac_delim
26972 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26973 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26974 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26975 CCDEPMODE!$CCDEPMODE$ac_delim
26976 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26977 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26978 GREP!$GREP$ac_delim
26979 EGREP!$EGREP$ac_delim
26980 LN_S!$LN_S$ac_delim
26981 ECHO!$ECHO$ac_delim
26983 RANLIB!$RANLIB$ac_delim
26984 DLLTOOL!$DLLTOOL$ac_delim
26986 OBJDUMP!$OBJDUMP$ac_delim
26991 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26993 elif $ac_last_try; then
26994 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26995 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26996 { (exit 1); exit 1; }; }
26998 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27002 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27003 if test -n "$ac_eof"; then
27004 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27005 ac_eof=`expr $ac_eof + 1`
27008 cat >>$CONFIG_STATUS <<_ACEOF
27009 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27010 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27013 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27014 s/^/s,@/; s/!/@,|#_!!_#|/
27017 s/'"$ac_delim"'$/,g/; t
27019 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27020 ' >>$CONFIG_STATUS <conf$$subs.sed
27021 rm -f conf$$subs.sed
27022 cat >>$CONFIG_STATUS <<_ACEOF
27028 for ac_last_try in false false false false false :; do
27029 cat >conf$$subs.sed <<_ACEOF
27030 CXXFLAGS!$CXXFLAGS$ac_delim
27031 ac_ct_CXX!$ac_ct_CXX$ac_delim
27032 CXXDEPMODE!$CXXDEPMODE$ac_delim
27033 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27034 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27035 CXXCPP!$CXXCPP$ac_delim
27037 FFLAGS!$FFLAGS$ac_delim
27038 ac_ct_F77!$ac_ct_F77$ac_delim
27039 LIBTOOL!$LIBTOOL$ac_delim
27040 LIBOBJS!$LIBOBJS$ac_delim
27041 PTH_STACK_GROWTH!$PTH_STACK_GROWTH$ac_delim
27042 pth_skaddr_makecontext!$pth_skaddr_makecontext$ac_delim
27043 pth_sksize_makecontext!$pth_sksize_makecontext$ac_delim
27044 SIMGRID_DEP!$SIMGRID_DEP$ac_delim
27045 GRAS_DEP!$GRAS_DEP$ac_delim
27046 GRAMINE_MODE_TRUE!$GRAMINE_MODE_TRUE$ac_delim
27047 GRAMINE_MODE_FALSE!$GRAMINE_MODE_FALSE$ac_delim
27048 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
27049 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
27050 MAINT!$MAINT$ac_delim
27051 LD_DYNAMIC_FLAGS!$LD_DYNAMIC_FLAGS$ac_delim
27052 abs_builddir!$abs_builddir$ac_delim
27053 abs_srcdir!$abs_srcdir$ac_delim
27054 abs_top_builddir!$abs_top_builddir$ac_delim
27055 abs_top_srcdir!$abs_top_srcdir$ac_delim
27056 BASH!$BASH$ac_delim
27057 WARNING!$WARNING$ac_delim
27059 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
27060 LEXLIB!$LEXLIB$ac_delim
27061 FLEXML!$FLEXML$ac_delim
27062 HAVE_FLEXML_TRUE!$HAVE_FLEXML_TRUE$ac_delim
27063 HAVE_FLEXML_FALSE!$HAVE_FLEXML_FALSE$ac_delim
27064 DOXYGEN!$DOXYGEN$ac_delim
27065 ADDR2LINE!$ADDR2LINE$ac_delim
27066 ac_configure_args!$ac_configure_args$ac_delim
27067 MD5SUM!$MD5SUM$ac_delim
27068 build_id!$build_id$ac_delim
27069 LTLIBOBJS!$LTLIBOBJS$ac_delim
27072 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 40; then
27074 elif $ac_last_try; then
27075 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27076 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27077 { (exit 1); exit 1; }; }
27079 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27083 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27084 if test -n "$ac_eof"; then
27085 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27086 ac_eof=`expr $ac_eof + 1`
27089 cat >>$CONFIG_STATUS <<_ACEOF
27090 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27094 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27095 s/^/s,@/; s/!/@,|#_!!_#|/
27098 s/'"$ac_delim"'$/,g/; t
27100 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27101 ' >>$CONFIG_STATUS <conf$$subs.sed
27102 rm -f conf$$subs.sed
27103 cat >>$CONFIG_STATUS <<_ACEOF
27110 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27111 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27112 # trailing colons and then remove the whole line if VPATH becomes empty
27113 # (actually we leave an empty line to preserve line numbers).
27114 if test "x$srcdir" = x.; then
27115 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27116 s/:*\$(srcdir):*/:/
27117 s/:*\${srcdir}:*/:/
27119 s/^\([^=]*=[ ]*\):*/\1/
27125 cat >>$CONFIG_STATUS <<\_ACEOF
27126 fi # test -n "$CONFIG_FILES"
27129 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
27132 :[FHLC]) ac_mode=$ac_tag; continue;;
27134 case $ac_mode$ac_tag in
27136 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27137 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27138 { (exit 1); exit 1; }; };;
27139 :[FH]-) ac_tag=-:-;;
27140 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27157 -) ac_f="$tmp/stdin";;
27158 *) # Look for the file first in the build tree, then in the source tree
27159 # (if the path is not absolute). The absolute path cannot be DOS-style,
27160 # because $ac_f cannot contain `:'.
27164 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27166 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27167 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27168 { (exit 1); exit 1; }; };;
27170 ac_file_inputs="$ac_file_inputs $ac_f"
27173 # Let's still pretend it is `configure' which instantiates (i.e., don't
27174 # use $as_me), people would be surprised to read:
27175 # /* config.h. Generated by config.status. */
27176 configure_input="Generated from "`IFS=:
27177 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27178 if test x"$ac_file" != x-; then
27179 configure_input="$ac_file. $configure_input"
27180 { echo "$as_me:$LINENO: creating $ac_file" >&5
27181 echo "$as_me: creating $ac_file" >&6;}
27185 *:-:* | *:-) cat >"$tmp/stdin";;
27190 ac_dir=`$as_dirname -- "$ac_file" ||
27191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27192 X"$ac_file" : 'X\(//\)[^/]' \| \
27193 X"$ac_file" : 'X\(//\)$' \| \
27194 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27200 /^X\(\/\/\)[^/].*/{
27215 -*) as_dir=./$as_dir;;
27217 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27221 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27222 *) as_qdir=$as_dir;;
27224 as_dirs="'$as_qdir' $as_dirs"
27225 as_dir=`$as_dirname -- "$as_dir" ||
27226 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27227 X"$as_dir" : 'X\(//\)[^/]' \| \
27228 X"$as_dir" : 'X\(//\)$' \| \
27229 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27235 /^X\(\/\/\)[^/].*/{
27248 test -d "$as_dir" && break
27250 test -z "$as_dirs" || eval "mkdir $as_dirs"
27251 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27252 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27253 { (exit 1); exit 1; }; }; }
27257 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27259 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27260 # A ".." for each directory in $ac_dir_suffix.
27261 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27262 case $ac_top_builddir_sub in
27263 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27264 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27267 ac_abs_top_builddir=$ac_pwd
27268 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27269 # for backward compatibility:
27270 ac_top_builddir=$ac_top_build_prefix
27273 .) # We are building in place.
27275 ac_top_srcdir=$ac_top_builddir_sub
27276 ac_abs_top_srcdir=$ac_pwd ;;
27277 [\\/]* | ?:[\\/]* ) # Absolute name.
27278 ac_srcdir=$srcdir$ac_dir_suffix;
27279 ac_top_srcdir=$srcdir
27280 ac_abs_top_srcdir=$srcdir ;;
27281 *) # Relative name.
27282 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27283 ac_top_srcdir=$ac_top_build_prefix$srcdir
27284 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27286 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27296 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27297 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27301 cat >>$CONFIG_STATUS <<\_ACEOF
27302 # If the template does not know about datarootdir, expand it.
27303 # FIXME: This hack should be removed a few years after 2.60.
27304 ac_datarootdir_hack=; ac_datarootdir_seen=
27306 case `sed -n '/datarootdir/ {
27315 ' $ac_file_inputs` in
27316 *datarootdir*) ac_datarootdir_seen=yes;;
27317 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27318 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27319 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27321 cat >>$CONFIG_STATUS <<_ACEOF
27322 ac_datarootdir_hack='
27323 s&@datadir@&$datadir&g
27324 s&@docdir@&$docdir&g
27325 s&@infodir@&$infodir&g
27326 s&@localedir@&$localedir&g
27327 s&@mandir@&$mandir&g
27328 s&\\\${datarootdir}&$datarootdir&g' ;;
27332 # Neutralize VPATH when `$srcdir' = `.'.
27333 # Shell code in configure.ac might set extrasub.
27334 # FIXME: do we really want to maintain this feature?
27335 cat >>$CONFIG_STATUS <<_ACEOF
27339 cat >>$CONFIG_STATUS <<\_ACEOF
27341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27342 s&@configure_input@&$configure_input&;t t
27343 s&@top_builddir@&$ac_top_builddir_sub&;t t
27344 s&@srcdir@&$ac_srcdir&;t t
27345 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27346 s&@top_srcdir@&$ac_top_srcdir&;t t
27347 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27348 s&@builddir@&$ac_builddir&;t t
27349 s&@abs_builddir@&$ac_abs_builddir&;t t
27350 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27351 s&@INSTALL@&$ac_INSTALL&;t t
27352 $ac_datarootdir_hack
27353 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27356 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27357 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27358 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27359 which seems to be undefined. Please make sure it is defined." >&5
27360 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27361 which seems to be undefined. Please make sure it is defined." >&2;}
27365 -) cat "$tmp/out"; rm -f "$tmp/out";;
27366 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27375 # Transform confdefs.h into a sed script `conftest.defines', that
27376 # substitutes the proper values into config.h.in to produce config.h.
27377 rm -f conftest.defines conftest.tail
27378 # First, append a space to every undef/define line, to ease matching.
27379 echo 's/$/ /' >conftest.defines
27380 # Then, protect against being on the right side of a sed subst, or in
27381 # an unquoted here document, in config.status. If some macros were
27382 # called several times there might be several #defines for the same
27383 # symbol, which is useless. But do not sort them, since the last
27384 # AC_DEFINE must be honored.
27385 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27386 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27387 # NAME is the cpp macro being defined, VALUE is the value it is being given.
27388 # PARAMS is the parameter list in the macro definition--in most cases, it's
27389 # just an empty string.
27390 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27391 ac_dB='\\)[ (].*,\\1define\\2'
27399 s/^[ ]*#[ ]*define[ ][ ]*//
27404 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27405 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27406 ' >>conftest.defines
27408 # Remove the space that was appended to ease matching.
27409 # Then replace #undef with comments. This is necessary, for
27410 # example, in the case of _POSIX_SOURCE, which is predefined and required
27411 # on some systems where configure will not decide to define it.
27412 # (The regexp can be short, since the line contains either #define or #undef.)
27414 s,^[ #]*u.*,/* & */,' >>conftest.defines
27416 # Break up conftest.defines:
27417 ac_max_sed_lines=50
27419 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27420 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27421 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27423 ac_in='$ac_file_inputs'
27424 ac_out='"$tmp/out1"'
27425 ac_nxt='"$tmp/out2"'
27429 # Write a here document:
27430 cat >>$CONFIG_STATUS <<_ACEOF
27431 # First, check the format of the line:
27432 cat >"\$tmp/defines.sed" <<\\CEOF
27433 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27434 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27438 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27440 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27441 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27442 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27443 grep . conftest.tail >/dev/null || break
27444 rm -f conftest.defines
27445 mv conftest.tail conftest.defines
27447 rm -f conftest.defines conftest.tail
27449 echo "ac_result=$ac_in" >>$CONFIG_STATUS
27450 cat >>$CONFIG_STATUS <<\_ACEOF
27451 if test x"$ac_file" != x-; then
27452 echo "/* $configure_input */" >"$tmp/config.h"
27453 cat "$ac_result" >>"$tmp/config.h"
27454 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27455 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27456 echo "$as_me: $ac_file is unchanged" >&6;}
27459 mv "$tmp/config.h" $ac_file
27462 echo "/* $configure_input */"
27466 # Compute $ac_file's index in $config_headers.
27468 for _am_header in $config_headers :; do
27469 case $_am_header in
27470 $ac_file | $ac_file:* )
27473 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27476 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27477 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27478 X$ac_file : 'X\(//\)[^/]' \| \
27479 X$ac_file : 'X\(//\)$' \| \
27480 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27486 /^X\(\/\/\)[^/].*/{
27498 s/.*/./; q'`/stamp-h$_am_stamp_count
27501 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27502 echo "$as_me: executing $ac_file commands" >&6;}
27507 case $ac_file$ac_mode in
27508 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
27509 # Strip MF so we end up with the name of the file.
27510 mf=`echo "$mf" | sed -e 's/:.*$//'`
27511 # Check whether this is an Automake generated Makefile or not.
27512 # We used to match only the files named `Makefile.in', but
27513 # some people rename them; so instead we look at the file content.
27514 # Grep'ing the first line is not enough: some people post-process
27515 # each Makefile.in and add a new line on top of each file to say so.
27516 # So let's grep whole file.
27517 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
27518 dirpart=`$as_dirname -- "$mf" ||
27519 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27520 X"$mf" : 'X\(//\)[^/]' \| \
27521 X"$mf" : 'X\(//\)$' \| \
27522 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27528 /^X\(\/\/\)[^/].*/{
27544 # Extract the definition of DEPDIR, am__include, and am__quote
27545 # from the Makefile without running `make'.
27546 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27547 test -z "$DEPDIR" && continue
27548 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27549 test -z "am__include" && continue
27550 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27551 # When using ansi2knr, U may be empty or an underscore; expand it
27552 U=`sed -n 's/^U = //p' < "$mf"`
27553 # Find all dependency output files, they are included files with
27554 # $(DEPDIR) in their names. We invoke sed twice because it is the
27555 # simplest approach to changing $(DEPDIR) to its actual value in the
27557 for file in `sed -n "
27558 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27559 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27560 # Make sure the directory exists.
27561 test -f "$dirpart/$file" && continue
27562 fdir=`$as_dirname -- "$file" ||
27563 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27564 X"$file" : 'X\(//\)[^/]' \| \
27565 X"$file" : 'X\(//\)$' \| \
27566 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27572 /^X\(\/\/\)[^/].*/{
27585 { as_dir=$dirpart/$fdir
27587 -*) as_dir=./$as_dir;;
27589 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27593 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27594 *) as_qdir=$as_dir;;
27596 as_dirs="'$as_qdir' $as_dirs"
27597 as_dir=`$as_dirname -- "$as_dir" ||
27598 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27599 X"$as_dir" : 'X\(//\)[^/]' \| \
27600 X"$as_dir" : 'X\(//\)$' \| \
27601 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27607 /^X\(\/\/\)[^/].*/{
27620 test -d "$as_dir" && break
27622 test -z "$as_dirs" || eval "mkdir $as_dirs"
27623 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27624 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27625 { (exit 1); exit 1; }; }; }
27626 # echo "creating $dirpart/$file"
27627 echo '# dummy' > "$dirpart/$file"
27631 "tools/graspe-slave":F)
27633 tools/graspe-slave tools/graspe-master \
27635 test -e $file && chmod +x $file; \
27638 "testsuite/Makefile":F)
27640 testsuite/run_tests \
27641 testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
27643 test -e $file && chmod +x $file; \
27646 "testsuite/run_tests":F)
27648 testsuite/run_tests \
27649 testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
27651 test -e $file && chmod +x $file; \
27654 "testsuite/gras/trp_tcp_usage":F)
27656 testsuite/run_tests \
27657 testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
27659 test -e $file && chmod +x $file; \
27662 "testsuite/gras/trp_file_usage":F)
27664 testsuite/run_tests \
27665 testsuite/gras/trp_tcp_usage testsuite/gras/trp_file_usage \
27667 test -e $file && chmod +x $file; \
27670 "examples/Makefile":F)
27673 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27674 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27676 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27677 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27678 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27679 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27680 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27681 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27682 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27683 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27684 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27685 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27686 examples/msg/run_msg_test \
27687 examples/simdag/test_simdag \
27689 test -e $file && chmod +x $file; \
27692 "examples/msg/Makefile":F)
27695 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27696 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27698 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27699 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27700 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27701 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27702 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27703 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27704 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27705 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27706 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27707 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27708 examples/msg/run_msg_test \
27709 examples/simdag/test_simdag \
27711 test -e $file && chmod +x $file; \
27714 "examples/msg/run_msg_test":F)
27717 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27718 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27720 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27721 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27722 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27723 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27724 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27725 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27726 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27727 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27728 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27729 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27730 examples/msg/run_msg_test \
27731 examples/simdag/test_simdag \
27733 test -e $file && chmod +x $file; \
27736 "examples/simdag/Makefile":F)
27739 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27740 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27742 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27743 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27744 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27745 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27746 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27747 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27748 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27749 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27750 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27751 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27752 examples/msg/run_msg_test \
27753 examples/simdag/test_simdag \
27755 test -e $file && chmod +x $file; \
27758 "examples/simdag/test_simdag":F)
27761 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27762 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27764 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27765 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27766 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27767 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27768 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27769 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27770 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27771 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27772 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27773 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27774 examples/msg/run_msg_test \
27775 examples/simdag/test_simdag \
27777 test -e $file && chmod +x $file; \
27780 "examples/gras/Makefile":F)
27783 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27784 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27786 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27787 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27788 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27789 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27790 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27791 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27792 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27793 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27794 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27795 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27796 examples/msg/run_msg_test \
27797 examples/simdag/test_simdag \
27799 test -e $file && chmod +x $file; \
27802 "examples/gras/ping/Makefile":F)
27805 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27806 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27808 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27809 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27810 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27811 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27812 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27813 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27814 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27815 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27816 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27817 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27818 examples/msg/run_msg_test \
27819 examples/simdag/test_simdag \
27821 test -e $file && chmod +x $file; \
27824 "examples/gras/ping/test_sg":F)
27827 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27828 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27830 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27831 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27832 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27833 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27834 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27835 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27836 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27837 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27838 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27839 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27840 examples/msg/run_msg_test \
27841 examples/simdag/test_simdag \
27843 test -e $file && chmod +x $file; \
27846 "examples/gras/ping/test_rl":F)
27849 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27850 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27852 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27853 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27854 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27855 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27856 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27857 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27858 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27859 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27860 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27861 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27862 examples/msg/run_msg_test \
27863 examples/simdag/test_simdag \
27865 test -e $file && chmod +x $file; \
27868 "examples/gras/rpc/Makefile":F)
27871 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27872 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27874 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27875 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27876 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27877 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27878 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27879 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27880 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27881 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27882 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27883 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27884 examples/msg/run_msg_test \
27885 examples/simdag/test_simdag \
27887 test -e $file && chmod +x $file; \
27890 "examples/gras/rpc/test_sg":F)
27893 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27894 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27896 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27897 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27898 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27899 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27900 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27901 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27902 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27903 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27904 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27905 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27906 examples/msg/run_msg_test \
27907 examples/simdag/test_simdag \
27909 test -e $file && chmod +x $file; \
27912 "examples/gras/rpc/test_rl":F)
27915 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27916 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27918 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27919 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27920 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27921 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27922 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27923 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27924 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27925 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27926 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27927 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27928 examples/msg/run_msg_test \
27929 examples/simdag/test_simdag \
27931 test -e $file && chmod +x $file; \
27934 "examples/gras/timer/Makefile":F)
27937 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27938 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27940 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27941 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27942 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27943 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27944 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27945 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27946 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27947 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27948 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27949 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27950 examples/msg/run_msg_test \
27951 examples/simdag/test_simdag \
27953 test -e $file && chmod +x $file; \
27956 "examples/gras/timer/test_sg":F)
27959 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27960 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27962 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27963 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27964 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27965 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27966 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27967 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27968 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27969 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27970 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27971 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27972 examples/msg/run_msg_test \
27973 examples/simdag/test_simdag \
27975 test -e $file && chmod +x $file; \
27978 "examples/gras/timer/test_rl":F)
27981 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
27982 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
27984 examples/gras/ping/test_sg examples/gras/ping/test_rl \
27985 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
27986 examples/gras/timer/test_sg examples/gras/timer/test_rl \
27987 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
27988 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
27989 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
27990 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
27991 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
27992 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
27993 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
27994 examples/msg/run_msg_test \
27995 examples/simdag/test_simdag \
27997 test -e $file && chmod +x $file; \
28000 "examples/gras/chrono/Makefile":F)
28003 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28004 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28006 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28007 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28008 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28009 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28010 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28011 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28012 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28013 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28014 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28015 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28016 examples/msg/run_msg_test \
28017 examples/simdag/test_simdag \
28019 test -e $file && chmod +x $file; \
28022 "examples/gras/chrono/test_sg":F)
28025 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28026 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28028 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28029 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28030 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28031 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28032 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28033 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28034 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28035 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28036 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28037 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28038 examples/msg/run_msg_test \
28039 examples/simdag/test_simdag \
28041 test -e $file && chmod +x $file; \
28044 "examples/gras/chrono/test_rl":F)
28047 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28048 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28050 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28051 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28052 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28053 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28054 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28055 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28056 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28057 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28058 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28059 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28060 examples/msg/run_msg_test \
28061 examples/simdag/test_simdag \
28063 test -e $file && chmod +x $file; \
28066 "examples/gras/mutual_exclusion/simple_token/Makefile":F)
28069 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28070 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28072 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28073 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28074 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28075 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28076 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28077 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28078 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28079 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28080 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28081 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28082 examples/msg/run_msg_test \
28083 examples/simdag/test_simdag \
28085 test -e $file && chmod +x $file; \
28088 "examples/gras/mutual_exclusion/simple_token/test_sg":F)
28091 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28092 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28094 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28095 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28096 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28097 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28098 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28099 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28100 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28101 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28102 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28103 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28104 examples/msg/run_msg_test \
28105 examples/simdag/test_simdag \
28107 test -e $file && chmod +x $file; \
28110 "examples/gras/mutual_exclusion/simple_token/test_rl":F)
28113 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28114 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28116 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28117 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28118 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28119 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28120 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28121 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28122 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28123 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28124 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28125 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28126 examples/msg/run_msg_test \
28127 examples/simdag/test_simdag \
28129 test -e $file && chmod +x $file; \
28132 "examples/gras/mmrpc/Makefile":F)
28135 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28136 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28138 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28139 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28140 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28141 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28142 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28143 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28144 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28145 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28146 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28147 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28148 examples/msg/run_msg_test \
28149 examples/simdag/test_simdag \
28151 test -e $file && chmod +x $file; \
28154 "examples/gras/mmrpc/test_sg":F)
28157 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28158 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28160 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28161 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28162 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28163 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28164 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28165 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28166 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28167 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28168 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28169 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28170 examples/msg/run_msg_test \
28171 examples/simdag/test_simdag \
28173 test -e $file && chmod +x $file; \
28176 "examples/gras/mmrpc/test_rl":F)
28179 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28180 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28182 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28183 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28184 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28185 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28186 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28187 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28188 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28189 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28190 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28191 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28192 examples/msg/run_msg_test \
28193 examples/simdag/test_simdag \
28195 test -e $file && chmod +x $file; \
28198 "examples/gras/pmm/Makefile":F)
28201 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28202 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28204 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28205 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28206 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28207 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28208 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28209 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28210 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28211 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28212 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28213 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28214 examples/msg/run_msg_test \
28215 examples/simdag/test_simdag \
28217 test -e $file && chmod +x $file; \
28220 "examples/gras/pmm/test_sg":F)
28223 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28224 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28226 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28227 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28228 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28229 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28230 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28231 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28232 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28233 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28234 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28235 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28236 examples/msg/run_msg_test \
28237 examples/simdag/test_simdag \
28239 test -e $file && chmod +x $file; \
28242 "examples/gras/pmm/test_rl":F)
28245 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28246 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28248 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28249 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28250 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28251 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28252 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28253 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28254 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28255 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28256 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28257 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28258 examples/msg/run_msg_test \
28259 examples/simdag/test_simdag \
28261 test -e $file && chmod +x $file; \
28264 "examples/gras/all2all/Makefile":F)
28267 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28268 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28270 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28271 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28272 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28273 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28274 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28275 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28276 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28277 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28278 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28279 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28280 examples/msg/run_msg_test \
28281 examples/simdag/test_simdag \
28283 test -e $file && chmod +x $file; \
28286 "examples/gras/all2all/test_sg":F)
28289 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28290 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28292 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28293 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28294 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28295 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28296 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28297 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28298 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28299 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28300 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28301 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28302 examples/msg/run_msg_test \
28303 examples/simdag/test_simdag \
28305 test -e $file && chmod +x $file; \
28308 "examples/gras/all2all/test_rl":F)
28311 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28312 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28314 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28315 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28316 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28317 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28318 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28319 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28320 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28321 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28322 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28323 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28324 examples/msg/run_msg_test \
28325 examples/simdag/test_simdag \
28327 test -e $file && chmod +x $file; \
28330 "examples/gras/p2p/Makefile":F)
28333 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28334 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28336 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28337 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28338 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28339 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28340 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28341 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28342 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28343 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28344 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28345 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28346 examples/msg/run_msg_test \
28347 examples/simdag/test_simdag \
28349 test -e $file && chmod +x $file; \
28352 "examples/gras/p2p/chord/Makefile":F)
28355 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28356 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28358 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28359 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28360 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28361 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28362 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28363 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28364 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28365 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28366 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28367 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28368 examples/msg/run_msg_test \
28369 examples/simdag/test_simdag \
28371 test -e $file && chmod +x $file; \
28374 "examples/gras/p2p/chord/test_sg":F)
28377 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28378 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28380 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28381 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28382 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28383 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28384 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28385 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28386 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28387 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28388 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28389 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28390 examples/msg/run_msg_test \
28391 examples/simdag/test_simdag \
28393 test -e $file && chmod +x $file; \
28396 "examples/gras/p2p/chord/test_rl":F)
28399 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28400 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28402 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28403 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28404 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28405 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28406 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28407 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28408 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28409 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28410 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28411 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28412 examples/msg/run_msg_test \
28413 examples/simdag/test_simdag \
28415 test -e $file && chmod +x $file; \
28418 "examples/gras/p2p/can/Makefile":F)
28421 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28422 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28424 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28425 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28426 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28427 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28428 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28429 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28430 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28431 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28432 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28433 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28434 examples/msg/run_msg_test \
28435 examples/simdag/test_simdag \
28437 test -e $file && chmod +x $file; \
28440 "examples/gras/p2p/can/test_sg":F)
28443 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28444 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28446 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28447 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28448 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28449 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28450 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28451 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28452 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28453 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28454 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28455 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28456 examples/msg/run_msg_test \
28457 examples/simdag/test_simdag \
28459 test -e $file && chmod +x $file; \
28462 "examples/gras/p2p/can/test_rl":F)
28465 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28466 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28468 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28469 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28470 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28471 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28472 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28473 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28474 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28475 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28476 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28477 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28478 examples/msg/run_msg_test \
28479 examples/simdag/test_simdag \
28481 test -e $file && chmod +x $file; \
28484 "examples/amok/Makefile":F)
28487 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28488 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28490 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28491 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28492 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28493 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28494 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28495 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28496 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28497 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28498 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28499 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28500 examples/msg/run_msg_test \
28501 examples/simdag/test_simdag \
28503 test -e $file && chmod +x $file; \
28506 "examples/amok/bandwidth/Makefile":F)
28509 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28510 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28512 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28513 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28514 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28515 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28516 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28517 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28518 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28519 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28520 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28521 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28522 examples/msg/run_msg_test \
28523 examples/simdag/test_simdag \
28525 test -e $file && chmod +x $file; \
28528 "examples/amok/bandwidth/test_sg":F)
28531 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28532 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28534 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28535 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28536 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28537 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28538 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28539 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28540 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28541 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28542 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28543 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28544 examples/msg/run_msg_test \
28545 examples/simdag/test_simdag \
28547 test -e $file && chmod +x $file; \
28550 "examples/amok/bandwidth/test_rl":F)
28553 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28554 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28556 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28557 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28558 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28559 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28560 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28561 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28562 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28563 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28564 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28565 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28566 examples/msg/run_msg_test \
28567 examples/simdag/test_simdag \
28569 test -e $file && chmod +x $file; \
28572 "examples/amok/saturate/Makefile":F)
28575 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28576 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28578 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28579 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28580 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28581 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28582 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28583 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28584 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28585 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28586 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28587 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28588 examples/msg/run_msg_test \
28589 examples/simdag/test_simdag \
28591 test -e $file && chmod +x $file; \
28594 "examples/amok/saturate/test_sg":F)
28597 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28598 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28600 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28601 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28602 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28603 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28604 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28605 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28606 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28607 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28608 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28609 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28610 examples/msg/run_msg_test \
28611 examples/simdag/test_simdag \
28613 test -e $file && chmod +x $file; \
28616 "examples/amok/saturate/test_rl":F)
28619 examples/amok/bandwidth/test_sg examples/amok/bandwidth/test_rl \
28620 examples/amok/saturate/test_sg examples/amok/saturate/test_rl \
28622 examples/gras/ping/test_sg examples/gras/ping/test_rl \
28623 examples/gras/rpc/test_sg examples/gras/rpc/test_rl \
28624 examples/gras/timer/test_sg examples/gras/timer/test_rl \
28625 examples/gras/chrono/test_sg examples/gras/chrono/test_rl \
28626 examples/gras/mutual_exclusion/simple_token/test_sg examples/gras/mutual_exclusion/simple_token/test_rl \
28627 examples/gras/mmrpc/test_sg examples/gras/mmrpc/test_rl \
28628 examples/gras/pmm/test_sg examples/gras/pmm/test_rl \
28629 examples/gras/all2all/test_sg examples/gras/all2all/test_rl \
28630 examples/gras/p2p/chord/test_sg examples/gras/p2p/chord/test_rl \
28631 examples/gras/p2p/can/test_sg examples/gras/p2p/can/test_rl \
28632 examples/msg/run_msg_test \
28633 examples/simdag/test_simdag \
28635 test -e $file && chmod +x $file; \
28643 { (exit 0); exit 0; }
28645 chmod +x $CONFIG_STATUS
28646 ac_clean_files=$ac_clean_files_save
28649 # configure is writing to config.log, and then calls config.status.
28650 # config.status does its own redirection, appending to config.log.
28651 # Unfortunately, on DOS this fails, as config.log is still kept open
28652 # by configure, so config.status won't be able to write to it; its
28653 # output is simply discarded. So we exec the FD to /dev/null,
28654 # effectively closing config.log, so it can be properly (re)opened and
28655 # appended to by config.status. When coming back to configure, we
28656 # need to make the FD available again.
28657 if test "$no_create" != yes; then
28659 ac_config_status_args=
28660 test "$silent" = yes &&
28661 ac_config_status_args="$ac_config_status_args --quiet"
28663 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28666 # would make configure fail if this is the last instruction.
28667 $ac_cs_success || { (exit 1); exit 1; }
28673 Configuration of package \`${PACKAGE}' (version ${VERSION}) on $gras_arch_name (=$gras_arch):
28675 Compiler: ${CC} (version: ${GCC_VERSION})
28678 CPPFlags: ${CPPFLAGS}
28679 LDFlags: ${LDFLAGS}
28681 Context backend: ${with_context}
28684 if test -e CVS && test x$USE_MAINTAINER_MODE != xyes ; then
28686 echo "WARNING: you seem to compile the CVS version without the maintainer mode."
28687 echo "WARNING: You may want to enable this by specifying:"
28689 echo "WARNING: ./configure --enable-maintainer-mode $ac_configure_args"
28692 echo $build_id > stamp.configure