2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $echo works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
619 echo_test_string
=`eval $cmd` &&
620 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
627 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
628 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 # The Solaris, AIX, and Digital Unix default echo programs unquote
633 # backslashes. This makes it impossible to quote backslashes using
634 # echo "$something" | sed 's/\\/\\\\/g'
636 # So, first we look for a working echo in the user's PATH.
638 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
639 for dir
in $PATH /usr
/ucb
; do
641 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
642 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
643 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
651 if test "X$echo" = Xecho
; then
652 # We didn't find a better echo, so look for alternatives.
653 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
654 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 # This shell has a builtin print -r that does the trick.
658 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
659 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
660 # If we have ksh, try running configure again with it.
661 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
662 export ORIGINAL_CONFIG_SHELL
663 CONFIG_SHELL
=/bin
/ksh
665 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
669 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
670 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
671 test "X$echo_testing_string" = "X$echo_test_string"; then
674 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
675 test "X$echo_testing_string" = 'X\t' &&
676 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
677 test "X$echo_testing_string" = "X$echo_test_string"; then
678 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
680 SHELL
="$CONFIG_SHELL"
682 echo="$CONFIG_SHELL $0 --fallback-echo"
683 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
684 test "X$echo_testing_string" = 'X\t' &&
685 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
686 test "X$echo_testing_string" = "X$echo_test_string"; then
687 echo="$CONFIG_SHELL $0 --fallback-echo"
689 # maybe with a smaller string...
692 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
693 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
700 if test "$prev" != 'sed 50q "$0"'; then
701 echo_test_string
=`eval $prev`
702 export echo_test_string
703 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705 # Oops. We lost completely, so just stick with echo.
714 # Copy echo and quote the copy suitably for passing to libtool from
715 # the Makefile, instead of quoting the original, which is used later.
717 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
718 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
724 tagnames
=${tagnames+${tagnames},}CXX
726 tagnames
=${tagnames+${tagnames},}F77
728 exec 7<&0 </dev
/null
6>&1
731 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
732 # so uname gets run too.
733 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
738 ac_default_prefix
=/usr
/local
740 ac_config_libobj_dir
=.
746 SHELL
=${CONFIG_SHELL-/bin/sh}
748 # Identity of this package.
755 ac_unique_file
="source/cloog.c"
756 # Factoring default headers for most tests.
757 ac_includes_default
="\
759 #ifdef HAVE_SYS_TYPES_H
760 # include <sys/types.h>
762 #ifdef HAVE_SYS_STAT_H
763 # include <sys/stat.h>
769 # ifdef HAVE_STDLIB_H
774 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
779 #ifdef HAVE_STRINGS_H
780 # include <strings.h>
782 #ifdef HAVE_INTTYPES_H
783 # include <inttypes.h>
792 ac_subst_vars
='LTLIBOBJS
854 CLOOG_VERSION_REVISION
860 INSTALL_STRIP_PROGRAM
902 program_transform_name
914 enable_option_checking
915 enable_dependency_tracking
925 with_polylib_exec_prefix
926 with_polylib_builddir
932 ac_precious_vars
='build_alias
949 # Initialize some variables set by options.
951 ac_init_version
=false
952 ac_unrecognized_opts
=
954 # The variables have the same names as the options, with
955 # dashes changed to underlines.
963 program_transform_name
=s
,x
,x
,
971 # Installation directory options.
972 # These are left unexpanded so users can "make install exec_prefix=/foo"
973 # and all the variables that are supposed to be based on exec_prefix
974 # by default will actually change.
975 # Use braces instead of parens because sh, perl, etc. also accept them.
976 # (The list follows the same order as the GNU Coding Standards.)
977 bindir
='${exec_prefix}/bin'
978 sbindir
='${exec_prefix}/sbin'
979 libexecdir
='${exec_prefix}/libexec'
980 datarootdir
='${prefix}/share'
981 datadir
='${datarootdir}'
982 sysconfdir
='${prefix}/etc'
983 sharedstatedir
='${prefix}/com'
984 localstatedir
='${prefix}/var'
985 includedir
='${prefix}/include'
986 oldincludedir
='/usr/include'
987 docdir
='${datarootdir}/doc/${PACKAGE}'
988 infodir
='${datarootdir}/info'
993 libdir
='${exec_prefix}/lib'
994 localedir
='${datarootdir}/locale'
995 mandir
='${datarootdir}/man'
1001 # If the previous option needs an argument, assign it.
1002 if test -n "$ac_prev"; then
1003 eval $ac_prev=\
$ac_option
1009 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013 # Accept the important Cygnus configure options, so we can diagnose typos.
1015 case $ac_dashdash$ac_option in
1019 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1021 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1022 bindir
=$ac_optarg ;;
1024 -build |
--build |
--buil |
--bui |
--bu)
1025 ac_prev
=build_alias
;;
1026 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1027 build_alias
=$ac_optarg ;;
1029 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1030 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1031 ac_prev
=cache_file
;;
1032 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1033 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1034 cache_file
=$ac_optarg ;;
1036 --config-cache |
-C)
1037 cache_file
=config.cache
;;
1039 -datadir |
--datadir |
--datadi |
--datad)
1041 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1042 datadir
=$ac_optarg ;;
1044 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1045 |
--dataroo |
--dataro |
--datar)
1046 ac_prev
=datarootdir
;;
1047 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1048 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1049 datarootdir
=$ac_optarg ;;
1051 -disable-* |
--disable-*)
1052 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1055 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1056 { (exit 1); exit 1; }; }
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=no
;;
1068 -docdir |
--docdir |
--docdi |
--doc |
--do)
1070 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1075 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* |
--enable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1083 { (exit 1); exit 1; }; }
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "enable_
$ac_useropt"
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval enable_
$ac_useropt=\
$ac_optarg ;;
1095 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1096 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1097 |
--exec |
--exe |
--ex)
1098 ac_prev
=exec_prefix
;;
1099 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1100 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1101 |
--exec=* |
--exe=* |
--ex=*)
1102 exec_prefix
=$ac_optarg ;;
1104 -gas |
--gas |
--ga |
--g)
1105 # Obsolete; use --with-gas.
1108 -help |
--help |
--hel |
--he |
-h)
1109 ac_init_help
=long
;;
1110 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1111 ac_init_help
=recursive
;;
1112 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1113 ac_init_help
=short
;;
1115 -host |
--host |
--hos |
--ho)
1116 ac_prev
=host_alias
;;
1117 -host=* |
--host=* |
--hos=* |
--ho=*)
1118 host_alias
=$ac_optarg ;;
1120 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1122 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1124 htmldir
=$ac_optarg ;;
1126 -includedir |
--includedir |
--includedi |
--included |
--include \
1127 |
--includ |
--inclu |
--incl |
--inc)
1128 ac_prev
=includedir
;;
1129 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1130 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1131 includedir
=$ac_optarg ;;
1133 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1135 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1136 infodir
=$ac_optarg ;;
1138 -libdir |
--libdir |
--libdi |
--libd)
1140 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1141 libdir
=$ac_optarg ;;
1143 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1144 |
--libexe |
--libex |
--libe)
1145 ac_prev
=libexecdir
;;
1146 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1147 |
--libexe=* |
--libex=* |
--libe=*)
1148 libexecdir
=$ac_optarg ;;
1150 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1151 ac_prev
=localedir
;;
1152 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1153 localedir
=$ac_optarg ;;
1155 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1156 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1157 ac_prev
=localstatedir
;;
1158 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1159 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1160 localstatedir
=$ac_optarg ;;
1162 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1164 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1165 mandir
=$ac_optarg ;;
1167 -nfp |
--nfp |
--nf)
1168 # Obsolete; use --without-fp.
1171 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1172 |
--no-cr |
--no-c |
-n)
1175 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1176 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1179 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1180 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1181 |
--oldin |
--oldi |
--old |
--ol |
--o)
1182 ac_prev
=oldincludedir
;;
1183 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1184 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1185 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1186 oldincludedir
=$ac_optarg ;;
1188 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1190 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1191 prefix
=$ac_optarg ;;
1193 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1194 |
--program-pre |
--program-pr |
--program-p)
1195 ac_prev
=program_prefix
;;
1196 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1197 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1198 program_prefix
=$ac_optarg ;;
1200 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1201 |
--program-suf |
--program-su |
--program-s)
1202 ac_prev
=program_suffix
;;
1203 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1204 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1205 program_suffix
=$ac_optarg ;;
1207 -program-transform-name |
--program-transform-name \
1208 |
--program-transform-nam |
--program-transform-na \
1209 |
--program-transform-n |
--program-transform- \
1210 |
--program-transform |
--program-transfor \
1211 |
--program-transfo |
--program-transf \
1212 |
--program-trans |
--program-tran \
1213 |
--progr-tra |
--program-tr |
--program-t)
1214 ac_prev
=program_transform_name
;;
1215 -program-transform-name=* |
--program-transform-name=* \
1216 |
--program-transform-nam=* |
--program-transform-na=* \
1217 |
--program-transform-n=* |
--program-transform-=* \
1218 |
--program-transform=* |
--program-transfor=* \
1219 |
--program-transfo=* |
--program-transf=* \
1220 |
--program-trans=* |
--program-tran=* \
1221 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1222 program_transform_name
=$ac_optarg ;;
1224 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1226 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1227 pdfdir
=$ac_optarg ;;
1229 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1231 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1234 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1235 |
-silent |
--silent |
--silen |
--sile |
--sil)
1238 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1240 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1242 sbindir
=$ac_optarg ;;
1244 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1245 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1246 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1248 ac_prev
=sharedstatedir
;;
1249 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1250 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1251 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1253 sharedstatedir
=$ac_optarg ;;
1255 -site |
--site |
--sit)
1257 -site=* |
--site=* |
--sit=*)
1260 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1262 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1263 srcdir
=$ac_optarg ;;
1265 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1266 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1267 ac_prev
=sysconfdir
;;
1268 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1269 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1270 sysconfdir
=$ac_optarg ;;
1272 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1273 ac_prev
=target_alias
;;
1274 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1275 target_alias
=$ac_optarg ;;
1277 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1280 -version |
--version |
--versio |
--versi |
--vers |
-V)
1281 ac_init_version
=: ;;
1284 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1287 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1288 { (exit 1); exit 1; }; }
1289 ac_useropt_orig
=$ac_useropt
1290 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep
=', ';;
1298 eval with_
$ac_useropt=\
$ac_optarg ;;
1300 -without-* |
--without-*)
1301 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1304 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1305 { (exit 1); exit 1; }; }
1306 ac_useropt_orig
=$ac_useropt
1307 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1313 ac_unrecognized_sep
=', ';;
1315 eval with_
$ac_useropt=no
;;
1318 # Obsolete; use --with-x.
1321 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1322 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1323 ac_prev
=x_includes
;;
1324 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1325 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1326 x_includes
=$ac_optarg ;;
1328 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1329 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1330 ac_prev
=x_libraries
;;
1331 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1332 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1333 x_libraries
=$ac_optarg ;;
1335 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1336 Try \`$0 --help' for more information." >&2
1337 { (exit 1); exit 1; }; }
1341 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1342 # Reject names that are not valid shell variable names.
1343 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1344 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1345 { (exit 1); exit 1; }; }
1346 eval $ac_envvar=\
$ac_optarg
1347 export $ac_envvar ;;
1350 # FIXME: should be removed in autoconf 3.0.
1351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1354 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1360 if test -n "$ac_prev"; then
1361 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1362 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1363 { (exit 1); exit 1; }; }
1366 if test -n "$ac_unrecognized_opts"; then
1367 case $enable_option_checking in
1369 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1370 { (exit 1); exit 1; }; } ;;
1371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1375 # Check all directory arguments for consistency.
1376 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1377 datadir sysconfdir sharedstatedir localstatedir includedir \
1378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1379 libdir localedir mandir
1381 eval ac_val
=\$
$ac_var
1382 # Remove trailing slashes.
1385 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1386 eval $ac_var=\
$ac_val;;
1388 # Be sure to have absolute directory names.
1390 [\\/$
]* | ?
:[\\/]* ) continue;;
1391 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1393 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1394 { (exit 1); exit 1; }; }
1397 # There might be people who depend on the old broken behavior: `$host'
1398 # used to hold the argument of --host etc.
1399 # FIXME: To remove some day.
1402 target
=$target_alias
1404 # FIXME: To remove some day.
1405 if test "x$host_alias" != x
; then
1406 if test "x$build_alias" = x
; then
1407 cross_compiling
=maybe
1408 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1409 If a cross compiler is detected then cross compile mode will be used." >&2
1410 elif test "x$build_alias" != "x$host_alias"; then
1416 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1418 test "$silent" = yes && exec 6>/dev
/null
1421 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1422 ac_ls_di
=`ls -di .` &&
1423 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1424 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1425 { (exit 1); exit 1; }; }
1426 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1427 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1428 { (exit 1); exit 1; }; }
1431 # Find the source files, if location was not specified.
1432 if test -z "$srcdir"; then
1433 ac_srcdir_defaulted
=yes
1434 # Try the directory containing this script, then the parent directory.
1435 ac_confdir
=`$as_dirname -- "$as_myself" ||
1436 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1437 X"$as_myself" : 'X\(//\)[^/]' \| \
1438 X"$as_myself" : 'X\(//\)$' \| \
1439 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1440 $as_echo X"$as_myself" |
1441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1463 ac_srcdir_defaulted
=no
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1466 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1467 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1468 { (exit 1); exit 1; }; }
1470 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1472 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1473 { (exit 1); exit 1; }; }
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1483 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 for ac_var
in $ac_precious_vars; do
1486 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1487 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1488 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1489 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1493 # Report the --help message.
1495 if test "$ac_init_help" = "long"; then
1496 # Omit some internal or obsolete options to make the list less imposing.
1497 # This message is too long to be a string in the A/UX 3.1 sh.
1499 \`configure' configures this package to adapt to many kinds of systems.
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE. See below for descriptions of some of the useful variables.
1506 Defaults for the options are specified in brackets.
1509 -h, --help display this help and exit
1510 --help=short display options specific to this package
1511 --help=recursive display the short help of all the included packages
1512 -V, --version display version information and exit
1513 -q, --quiet, --silent do not print \`checking...' messages
1514 --cache-file=FILE cache test results in FILE [disabled]
1515 -C, --config-cache alias for \`--cache-file=config.cache'
1516 -n, --no-create do not create output files
1517 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519 Installation directories:
1520 --prefix=PREFIX install architecture-independent files in PREFIX
1521 [$ac_default_prefix]
1522 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1530 For better control, use the options below.
1532 Fine tuning of the installation directories:
1533 --bindir=DIR user executables [EPREFIX/bin]
1534 --sbindir=DIR system admin executables [EPREFIX/sbin]
1535 --libexecdir=DIR program executables [EPREFIX/libexec]
1536 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1537 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1538 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1539 --libdir=DIR object code libraries [EPREFIX/lib]
1540 --includedir=DIR C header files [PREFIX/include]
1541 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1542 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1543 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1544 --infodir=DIR info documentation [DATAROOTDIR/info]
1545 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1546 --mandir=DIR man documentation [DATAROOTDIR/man]
1547 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1548 --htmldir=DIR html documentation [DOCDIR]
1549 --dvidir=DIR dvi documentation [DOCDIR]
1550 --pdfdir=DIR pdf documentation [DOCDIR]
1551 --psdir=DIR ps documentation [DOCDIR]
1557 --program-prefix=PREFIX prepend PREFIX to installed program names
1558 --program-suffix=SUFFIX append SUFFIX to installed program names
1559 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1562 --build=BUILD configure
for building on BUILD
[guessed
]
1563 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1567 if test -n "$ac_init_help"; then
1572 --disable-option-checking ignore unrecognized
--enable/--with options
1573 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1574 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1575 --disable-dependency-tracking Speeds up one-time builds
1576 --enable-dependency-tracking Do not reject slow dependency extractors
1577 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1578 --enable-static[=PKGS
] build static libraries
[default
=yes]
1579 --enable-fast-install[=PKGS
]
1580 optimize
for fast installation
[default
=yes]
1581 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1584 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1585 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1586 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1587 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1589 --with-tags[=TAGS
] include additional configurations
[automatic
]
1590 --with-ppl=DIR Prefix of Parma Polyhedral Library installation
1591 --with-polylib-prefix=DIR
1592 Prefix of PolyLib installation
1593 --with-polylib-exec-prefix=DIR
1594 Exec prefix of PolyLib installation
1595 --with-polylib-builddir=DIR
1596 Location of PolyLib builddir
1597 --with-bits=32|
64|gmp PolyLib library
type to use
1598 --with-gmp=DIR DIR where the gmp package is installed
1599 --with-gmp-include=DIR DIR where gmp.h is installed
1600 --with-gmp-library=DIR DIR where the gmp library is installed
1602 Some influential environment variables
:
1603 CC C compiler
command
1604 CFLAGS C compiler flags
1605 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1606 nonstandard directory
<lib dir
>
1607 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1608 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1609 you have headers
in a nonstandard directory
<include dir
>
1611 CXX C
++ compiler
command
1612 CXXFLAGS C
++ compiler flags
1613 CXXCPP C
++ preprocessor
1614 F77 Fortran
77 compiler
command
1615 FFLAGS Fortran
77 compiler flags
1617 Use these variables to override the choices made by
`configure' or to help
1618 it to find libraries and programs with nonstandard names/locations.
1624 if test "$ac_init_help" = "recursive"; then
1625 # If there are subdirs, report their specific --help.
1626 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1627 test -d "$ac_dir" ||
1628 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1636 # A ".." for each directory in $ac_dir_suffix.
1637 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1638 case $ac_top_builddir_sub in
1639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 ac_abs_top_builddir=$ac_pwd
1644 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1645 # for backward compatibility:
1646 ac_top_builddir=$ac_top_build_prefix
1649 .) # We are building in place.
1651 ac_top_srcdir=$ac_top_builddir_sub
1652 ac_abs_top_srcdir=$ac_pwd ;;
1653 [\\/]* | ?:[\\/]* ) # Absolute name.
1654 ac_srcdir=$srcdir$ac_dir_suffix;
1655 ac_top_srcdir=$srcdir
1656 ac_abs_top_srcdir=$srcdir ;;
1658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1659 ac_top_srcdir=$ac_top_build_prefix$srcdir
1660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1664 cd "$ac_dir" || { ac_status=$?; continue; }
1665 # Check for guested configure.
1666 if test -f "$ac_srcdir/configure.gnu"; then
1668 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1669 elif test -f "$ac_srcdir/configure"; then
1671 $SHELL "$ac_srcdir/configure" --help=recursive
1673 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1675 cd "$ac_pwd" || { ac_status=$?; break; }
1679 test -n "$ac_init_help" && exit $ac_status
1680 if $ac_init_version; then
1683 generated by GNU Autoconf 2.63
1685 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1686 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1687 This configure script is free software; the Free Software Foundation
1688 gives unlimited permission to copy, distribute and modify it.
1692 cat >config.log <<_ACEOF
1693 This file contains any messages produced by compilers while
1694 running configure, to aid debugging if configure makes a mistake.
1696 It was created by $as_me, which was
1697 generated by GNU Autoconf 2.63. Invocation command line was
1709 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1710 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1711 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1712 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1713 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1715 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1716 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1718 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1719 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1720 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1721 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1722 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1723 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1724 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir=.
1733 $as_echo "PATH: $as_dir"
1749 # Keep a trace of the command line.
1750 # Strip out --no-create and --no-recursion so they do not pile up.
1751 # Strip out --silent because we don't want to record it for future runs.
1752 # Also quote any args containing shell meta-characters.
1753 # Make two passes to allow for proper duplicate-argument suppression.
1757 ac_must_keep_next=false
1763 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1765 | -silent | --silent | --silen | --sile | --sil)
1768 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1771 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1773 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1774 if test $ac_must_keep_next = true; then
1775 ac_must_keep_next=false # Got value, back to normal.
1778 *=* | --config-cache | -C | -disable-* | --disable-* \
1779 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1780 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1781 | -with-* | --with-* | -without-* | --without-* | --x)
1782 case "$ac_configure_args0 " in
1783 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1786 -* ) ac_must_keep_next=true ;;
1789 ac_configure_args="$ac_configure_args '$ac_arg'"
1794 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1795 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1797 # When interrupted or exit'd, cleanup temporary files, and complete
1798 # config.log. We remove comments because anyway the quotes in there
1799 # would cause problems or look ugly.
1800 # WARNING: Use '\'' to represent an apostrophe within the trap.
1801 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1802 trap 'exit_status=$?
1803 # Save into config.log some information that might help in debugging.
1808 ## ---------------- ##
1809 ## Cache variables. ##
1810 ## ---------------- ##
1813 # The following way of writing the cache mishandles newlines in values,
1815 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1816 eval ac_val=\$$ac_var
1820 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1821 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1824 _ | IFS | as_nl) ;; #(
1825 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1826 *) $as_unset $ac_var ;;
1831 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1832 *${as_nl}ac_space=\ *)
1834 "s/'\''/'\''\\\\'\'''\''/g;
1835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1838 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1846 ## ----------------- ##
1847 ## Output variables. ##
1848 ## ----------------- ##
1851 for ac_var in $ac_subst_vars
1853 eval ac_val=\$$ac_var
1855 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857 $as_echo "$ac_var='\''$ac_val'\''"
1861 if test -n "$ac_subst_files"; then
1863 ## ------------------- ##
1864 ## File substitutions. ##
1865 ## ------------------- ##
1868 for ac_var in $ac_subst_files
1870 eval ac_val=\$$ac_var
1872 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1874 $as_echo "$ac_var='\''$ac_val'\''"
1879 if test -s confdefs.h; then
1889 test "$ac_signal" != 0 &&
1890 $as_echo "$as_me: caught signal $ac_signal"
1891 $as_echo "$as_me: exit $exit_status"
1893 rm -f core *.core core.conftest.* &&
1894 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1897 for ac_signal in 1 2 13 15; do
1898 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1902 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1903 rm -f -r conftest* confdefs.h
1905 # Predefined preprocessor variables.
1907 cat >>confdefs.h <<_ACEOF
1908 #define PACKAGE_NAME "$PACKAGE_NAME"
1912 cat >>confdefs.h <<_ACEOF
1913 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1917 cat >>confdefs.h <<_ACEOF
1918 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_STRING "$PACKAGE_STRING"
1927 cat >>confdefs.h <<_ACEOF
1928 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1932 # Let the site file select an alternate cache file if it wants to.
1933 # Prefer an explicitly selected file to automatically selected ones.
1936 if test -n "$CONFIG_SITE"; then
1937 ac_site_file1=$CONFIG_SITE
1938 elif test "x$prefix" != xNONE; then
1939 ac_site_file1=$prefix/share/config.site
1940 ac_site_file2=$prefix/etc/config.site
1942 ac_site_file1=$ac_default_prefix/share/config.site
1943 ac_site_file2=$ac_default_prefix/etc/config.site
1945 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1947 test "x$ac_site_file" = xNONE && continue
1948 if test -r "$ac_site_file"; then
1949 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1950 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1951 sed 's/^/| /' "$ac_site_file" >&5
1956 if test -r "$cache_file"; then
1957 # Some versions of bash will fail to source /dev/null (special
1958 # files actually), so we avoid doing that.
1959 if test -f "$cache_file"; then
1960 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1961 $as_echo "$as_me: loading cache $cache_file" >&6;}
1963 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1964 *) . "./$cache_file";;
1968 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1969 $as_echo "$as_me: creating cache $cache_file" >&6;}
1973 # Check that the precious variables saved in the cache have kept the same
1975 ac_cache_corrupted=false
1976 for ac_var in $ac_precious_vars; do
1977 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1978 eval ac_new_set=\$ac_env_${ac_var}_set
1979 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1980 eval ac_new_val=\$ac_env_${ac_var}_value
1981 case $ac_old_set,$ac_new_set in
1983 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1984 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1985 ac_cache_corrupted=: ;;
1987 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1988 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1989 ac_cache_corrupted=: ;;
1992 if test "x$ac_old_val" != "x$ac_new_val"; then
1993 # differences in whitespace do not lead to failure.
1994 ac_old_val_w=`echo x
$ac_old_val`
1995 ac_new_val_w=`echo x
$ac_new_val`
1996 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1997 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1998 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1999 ac_cache_corrupted=:
2001 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2002 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2003 eval $ac_var=\$ac_old_val
2005 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2006 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2007 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2008 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2011 # Pass precious variables to config.status.
2012 if test "$ac_new_set" = set; then
2014 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2015 *) ac_arg=$ac_var=$ac_new_val ;;
2017 case " $ac_configure_args " in
2018 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2019 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2023 if $ac_cache_corrupted; then
2024 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2026 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2027 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2028 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2029 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2030 { (exit 1); exit 1; }; }
2050 ac_cpp='$CPP $CPPFLAGS'
2051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2057 for ac_dir in autoconf "$srcdir"/autoconf; do
2058 if test -f "$ac_dir/install-sh
"; then
2060 ac_install_sh="$ac_aux_dir/install-sh
-c"
2062 elif test -f "$ac_dir/install.sh
"; then
2064 ac_install_sh="$ac_aux_dir/install.sh
-c"
2066 elif test -f "$ac_dir/shtool
"; then
2068 ac_install_sh="$ac_aux_dir/shtool
install -c"
2072 if test -z "$ac_aux_dir"; then
2073 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&5
2074 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in autoconf
\"$srcdir\"/autoconf
" >&2;}
2075 { (exit 1); exit 1; }; }
2078 # These three variables are undocumented and unsupported,
2079 # and are intended to be withdrawn in a future Autoconf release.
2080 # They can cause serious problems if a builder's source tree is in a directory
2081 # whose full name contains unusual characters.
2082 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2083 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2084 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2088 am__api_version="1.7"
2089 # Find a good install program. We prefer a C program (faster),
2090 # so one script is as good as another. But avoid the broken or
2091 # incompatible versions:
2092 # SysV /etc/install, /usr/sbin/install
2093 # SunOS /usr/etc/install
2094 # IRIX /sbin/install
2096 # AmigaOS /C/install, which installs bootblocks on floppy discs
2097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2100 # OS/2's system install, which has a completely different semantic
2101 # ./install, which can be erroneously created by make from ./install.sh.
2102 # Reject install programs that cannot install multiple files.
2103 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2104 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2105 if test -z "$INSTALL"; then
2106 if test "${ac_cv_path_install+set}" = set; then
2107 $as_echo_n "(cached
) " >&6
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 test -z "$as_dir" && as_dir=.
2114 # Account for people who put trailing slashes in PATH elements.
2116 ./ | .// | /cC/* | \
2117 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2118 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2121 # OSF1 and SCO ODT 3.0 have their own names for install.
2122 # Don't use installbsd from OSF since it installs stuff as root
2124 for ac_prog in ginstall scoinst install; do
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2127 if test $ac_prog = install &&
2128 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2129 # AIX install. It has an incompatible calling convention.
2131 elif test $ac_prog = install &&
2132 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2133 # program-specific install script used by HP pwplus--don't use.
2136 rm -rf conftest.one conftest.two conftest.dir
2137 echo one > conftest.one
2138 echo two > conftest.two
2140 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2141 test -s conftest.one && test -s conftest.two &&
2142 test -s conftest.dir/conftest.one &&
2143 test -s conftest.dir/conftest.two
2145 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2158 rm -rf conftest.one conftest.two conftest.dir
2161 if test "${ac_cv_path_install+set}" = set; then
2162 INSTALL=$ac_cv_path_install
2164 # As a last resort, use the slow shell script. Don't cache a
2165 # value for INSTALL within a source directory, because that will
2166 # break other packages using the cache if that directory is
2167 # removed, or if the value is a relative name.
2168 INSTALL=$ac_install_sh
2171 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2172 $as_echo "$INSTALL" >&6; }
2174 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2175 # It thinks the first close brace ends the variable substitution.
2176 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2178 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2180 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2182 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2183 $as_echo_n "checking whether build environment is sane...
" >&6; }
2186 echo timestamp > conftest.file
2187 # Do `set' in a subshell so we don't clobber the current shell's
2188 # arguments. Must try -L first in case configure is actually a
2189 # symlink; some systems play weird games with the mod time of symlinks
2190 # (eg FreeBSD returns the mod time of the symlink's containing
2193 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2194 if test "$
*" = "X
"; then
2196 set X `ls -t $srcdir/configure conftest.file`
2199 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2200 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2202 # If neither matched, then we have a broken ls. This can happen
2203 # if, for instance, CONFIG_SHELL is bash and it inherits a
2204 # broken ls alias from the environment. This has actually
2205 # happened. Such a system could not be considered "sane
".
2206 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2207 alias in your environment
" >&5
2208 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2209 alias in your environment
" >&2;}
2210 { (exit 1); exit 1; }; }
2213 test "$2" = conftest.file
2219 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2220 Check your system
clock" >&5
2221 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2222 Check your system
clock" >&2;}
2223 { (exit 1); exit 1; }; }
2225 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2226 $as_echo "yes" >&6; }
2227 test "$program_prefix" != NONE &&
2228 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2229 # Use a double $ so make ignores it.
2230 test "$program_suffix" != NONE &&
2231 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2232 # Double any \ or $.
2233 # By default was `s,x,x', remove it if useless.
2234 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2235 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2238 # expand $ac_aux_dir to an absolute path
2239 am_aux_dir=`cd $ac_aux_dir && pwd`
2241 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2242 # Use eval to expand $SHELL
2243 if eval "$MISSING --run true
"; then
2244 am_missing_run="$MISSING --run "
2247 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2248 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2251 for ac_prog in gawk mawk nawk awk
2253 # Extract the first word of "$ac_prog", so it can be a program name with args.
2254 set dummy $ac_prog; ac_word=$2
2255 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 $as_echo_n "checking for $ac_word... " >&6; }
2257 if test "${ac_cv_prog_AWK+set}" = set; then
2258 $as_echo_n "(cached) " >&6
2260 if test -n "$AWK"; then
2261 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270 ac_cv_prog_AWK="$ac_prog"
2271 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 if test -n "$AWK"; then
2282 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2283 $as_echo "$AWK" >&6; }
2285 { $as_echo "$as_me:$LINENO: result: no" >&5
2286 $as_echo "no" >&6; }
2290 test -n "$AWK" && break
2293 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2296 ac_make=`$as_echo "$2" | sed 's
/+/p
/g
; s
/[^a-zA-Z0-9_
]/_
/g
'`
2297 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2298 $as_echo_n "(cached) " >&6
2300 cat >conftest.make <<\_ACEOF
2303 @echo '@@@
%%%=$
(MAKE
)=@@@
%%%'
2305 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2308 eval ac_cv_prog_make_${ac_make}_set=yes;;
2310 eval ac_cv_prog_make_${ac_make}_set=no;;
2314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2315 { $as_echo "$as_me:$LINENO: result: yes" >&5
2316 $as_echo "yes" >&6; }
2319 { $as_echo "$as_me:$LINENO: result: no" >&5
2320 $as_echo "no" >&6; }
2321 SET_MAKE="MAKE=${MAKE-make}"
2324 rm -rf .tst 2>/dev/null
2325 mkdir .tst 2>/dev/null
2326 if test -d .tst; then
2331 rmdir .tst 2>/dev/null
2333 # test to see if srcdir already configured
2334 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2335 test -f $srcdir/config.status; then
2336 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2337 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2338 { (exit 1); exit 1; }; }
2341 # test whether we have cygpath
2342 if test -z "$CYGPATH_W"; then
2343 if (cygpath --version) >/dev/null 2>/dev/null; then
2344 CYGPATH_W='cygpath
-w'
2351 # Define the identity of the package.
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE "$PACKAGE"
2361 cat >>confdefs.h <<_ACEOF
2362 #define VERSION "$VERSION"
2365 # Some tools Automake needs.
2367 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2370 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2373 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2376 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2379 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2382 AMTAR=${AMTAR-"${am_missing_run}tar"}
2384 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2386 # Installed binaries are usually stripped using `strip' when the user
2387 # run `make install-strip'. However `strip' might not be the right
2388 # tool to use in cross-compilation environments, therefore Automake
2389 # will honor the `STRIP' environment variable to overrule this program.
2390 if test "$cross_compiling" != no
; then
2391 if test -n "$ac_tool_prefix"; then
2392 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2393 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 $as_echo_n "checking for $ac_word... " >&6; }
2396 if test "${ac_cv_prog_STRIP+set}" = set; then
2397 $as_echo_n "(cached) " >&6
2399 if test -n "$STRIP"; then
2400 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir
=.
2407 for ac_exec_ext
in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2409 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 STRIP
=$ac_cv_prog_STRIP
2420 if test -n "$STRIP"; then
2421 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2422 $as_echo "$STRIP" >&6; }
2424 { $as_echo "$as_me:$LINENO: result: no" >&5
2425 $as_echo "no" >&6; }
2430 if test -z "$ac_cv_prog_STRIP"; then
2432 # Extract the first word of "strip", so it can be a program name with args.
2433 set dummy strip
; ac_word
=$2
2434 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 $as_echo_n "checking for $ac_word... " >&6; }
2436 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2437 $as_echo_n "(cached) " >&6
2439 if test -n "$ac_ct_STRIP"; then
2440 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir
=.
2447 for ac_exec_ext
in '' $ac_executable_extensions; do
2448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2449 ac_cv_prog_ac_ct_STRIP
="strip"
2450 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2460 if test -n "$ac_ct_STRIP"; then
2461 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2462 $as_echo "$ac_ct_STRIP" >&6; }
2464 { $as_echo "$as_me:$LINENO: result: no" >&5
2465 $as_echo "no" >&6; }
2468 if test "x$ac_ct_STRIP" = x
; then
2471 case $cross_compiling:$ac_tool_warned in
2473 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2475 ac_tool_warned
=yes ;;
2480 STRIP
="$ac_cv_prog_STRIP"
2484 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2486 # We need awk for the "check" target. The system "awk" is bad on
2491 ac_config_headers
="$ac_config_headers include/cloog/cloog-config.h"
2498 # Version number machinery.
2499 if test -n "`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'`"
2501 CLOOG_VERSION_MAJOR
=`expr $VERSION : '\([0-9]*\)\.[0-9]*\.[0-9]*'`
2502 CLOOG_VERSION_MINOR
=`expr $VERSION : '[0-9]*\.\([0-9]*\)\.[0-9]*'`
2503 CLOOG_VERSION_REVISION
=`expr $VERSION : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
2504 CLOOG_VERSION_BETA
=`expr $VERSION : '[0-9]*\.[0-9]*\.[0-9]*pre\([0-9]*\)'`
2506 CLOOG_VERSION_MAJOR
=`expr $VERSION : '\([0-9]*\)\.[0-9]*'`
2507 CLOOG_VERSION_MINOR
=`expr $VERSION : '[0-9]*\.\([0-9]*\)'`
2508 CLOOG_VERSION_REVISION
=0
2509 CLOOG_VERSION_BETA
=`expr $VERSION : '[0-9]*\.[0-9]*pre\([0-9]*\)'`
2511 if test -z "$CLOOG_VERSION_BETA"
2513 CLOOG_VERSION_BETA
=0
2523 ac_cpp
='$CPP $CPPFLAGS'
2524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2527 if test -n "$ac_tool_prefix"; then
2528 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2529 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 $as_echo_n "checking for $ac_word... " >&6; }
2532 if test "${ac_cv_prog_CC+set}" = set; then
2533 $as_echo_n "(cached) " >&6
2535 if test -n "$CC"; then
2536 ac_cv_prog_CC
="$CC" # Let the user override the test.
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_exec_ext
in '' $ac_executable_extensions; do
2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2546 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 if test -n "$CC"; then
2557 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2558 $as_echo "$CC" >&6; }
2560 { $as_echo "$as_me:$LINENO: result: no" >&5
2561 $as_echo "no" >&6; }
2566 if test -z "$ac_cv_prog_CC"; then
2568 # Extract the first word of "gcc", so it can be a program name with args.
2569 set dummy gcc
; ac_word
=$2
2570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 $as_echo_n "checking for $ac_word... " >&6; }
2572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2573 $as_echo_n "(cached) " >&6
2575 if test -n "$ac_ct_CC"; then
2576 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2582 test -z "$as_dir" && as_dir
=.
2583 for ac_exec_ext
in '' $ac_executable_extensions; do
2584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2585 ac_cv_prog_ac_ct_CC
="gcc"
2586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2598 $as_echo "$ac_ct_CC" >&6; }
2600 { $as_echo "$as_me:$LINENO: result: no" >&5
2601 $as_echo "no" >&6; }
2604 if test "x$ac_ct_CC" = x
; then
2607 case $cross_compiling:$ac_tool_warned in
2609 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned
=yes ;;
2619 if test -z "$CC"; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2622 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if test "${ac_cv_prog_CC+set}" = set; then
2626 $as_echo_n "(cached) " >&6
2628 if test -n "$CC"; then
2629 ac_cv_prog_CC
="$CC" # Let the user override the test.
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_exec_ext
in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2639 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 if test -n "$CC"; then
2650 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2651 $as_echo "$CC" >&6; }
2653 { $as_echo "$as_me:$LINENO: result: no" >&5
2654 $as_echo "no" >&6; }
2660 if test -z "$CC"; then
2661 # Extract the first word of "cc", so it can be a program name with args.
2662 set dummy cc
; ac_word
=$2
2663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_CC+set}" = set; then
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$CC"; then
2669 ac_cv_prog_CC
="$CC" # Let the user override the test.
2672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir
=.
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2679 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2680 ac_prog_rejected
=yes
2684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2691 if test $ac_prog_rejected = yes; then
2692 # We found a bogon in the path, so make sure we never use it.
2693 set dummy
$ac_cv_prog_CC
2695 if test $# != 0; then
2696 # We chose a different compiler from the bogus one.
2697 # However, it has the same basename, so the bogon will be chosen
2698 # first if we set CC to just the basename; use the full file name.
2700 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2706 if test -n "$CC"; then
2707 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2708 $as_echo "$CC" >&6; }
2710 { $as_echo "$as_me:$LINENO: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$CC"; then
2717 if test -n "$ac_tool_prefix"; then
2718 for ac_prog
in cl.exe
2720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2721 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_CC+set}" = set; then
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$CC"; then
2728 ac_cv_prog_CC
="$CC" # Let the user override the test.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2738 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 if test -n "$CC"; then
2749 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2750 $as_echo "$CC" >&6; }
2752 { $as_echo "$as_me:$LINENO: result: no" >&5
2753 $as_echo "no" >&6; }
2757 test -n "$CC" && break
2760 if test -z "$CC"; then
2762 for ac_prog
in cl.exe
2764 # Extract the first word of "$ac_prog", so it can be a program name with args.
2765 set dummy
$ac_prog; ac_word
=$2
2766 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$ac_ct_CC"; then
2772 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 ac_cv_prog_ac_ct_CC
="$ac_prog"
2782 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2794 $as_echo "$ac_ct_CC" >&6; }
2796 { $as_echo "$as_me:$LINENO: result: no" >&5
2797 $as_echo "no" >&6; }
2801 test -n "$ac_ct_CC" && break
2804 if test "x$ac_ct_CC" = x
; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned
=yes ;;
2820 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2823 See \`config.log' for more details." >&5
2824 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&2;}
2826 { (exit 1); exit 1; }; }; }
2828 # Provide some information about the compiler.
2829 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2832 { (ac_try
="$ac_compiler --version >&5"
2834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2838 $as_echo "$ac_try_echo") >&5
2839 (eval "$ac_compiler --version >&5") 2>&5
2841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }
2843 { (ac_try="$ac_compiler -v >&5"
2845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2846 *) ac_try_echo
=$ac_try;;
2848 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2849 $as_echo "$ac_try_echo") >&5
2850 (eval "$ac_compiler -v >&5") 2>&5
2852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }
2854 { (ac_try
="$ac_compiler -V >&5"
2856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2860 $as_echo "$ac_try_echo") >&5
2861 (eval "$ac_compiler -V >&5") 2>&5
2863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2881 ac_clean_files_save=$ac_clean_files
2882 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2883 # Try to create an executable without -o first, disregard a.out.
2884 # It will help us diagnose broken compilers, and finding out an intuition
2886 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2887 $as_echo_n "checking for C compiler default output file name... " >&6; }
2888 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2890 # The possible output files:
2891 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2894 for ac_file in $ac_files
2897 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2898 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2903 if { (ac_try="$ac_link_default"
2905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2906 *) ac_try_echo
=$ac_try;;
2908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2909 $as_echo "$ac_try_echo") >&5
2910 (eval "$ac_link_default") 2>&5
2912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2915 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2916 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2917 # so that the user can short-circuit this test for compilers unknown to
2919 for ac_file
in $ac_files ''
2921 test -f "$ac_file" ||
continue
2923 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2926 # We found the default executable, but exeext='' is most
2930 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2932 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934 # We set ac_cv_exeext here because the later test for it is not
2935 # safe: cross compilers may not add the suffix if given an `-o'
2936 # argument, so we may need to know it at that point already.
2937 # Even if this section looks crufty: it has the advantage of
2944 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2950 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2951 $as_echo "$ac_file" >&6; }
2952 if test -z "$ac_file"; then
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2956 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2958 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2959 See \`config.log' for more details." >&5
2960 $as_echo "$as_me: error: C compiler cannot create executables
2961 See \`config.log' for more details." >&2;}
2962 { (exit 77); exit 77; }; }; }
2965 ac_exeext
=$ac_cv_exeext
2967 # Check that the compiler produces executables we can run. If not, either
2968 # the compiler is broken, or we cross compile.
2969 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2970 $as_echo_n "checking whether the C compiler works... " >&6; }
2971 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2972 # If not cross compiling, check that we can run a simple program.
2973 if test "$cross_compiling" != yes; then
2974 if { ac_try
='./$ac_file'
2975 { (case "(($ac_try" in
2976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2980 $as_echo "$ac_try_echo") >&5
2981 (eval "$ac_try") 2>&5
2983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); }; }; then
2987 if test "$cross_compiling" = maybe; then
2990 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2993 If you meant to cross compile
, use \
`--host'.
2994 See \`config.log
' for more details." >&5
2995 $as_echo "$as_me: error: cannot run C compiled programs.
2996 If you meant to cross compile, use \`--host'.
2997 See \
`config.log' for more details." >&2;}
2998 { (exit 1); exit 1; }; }; }
3002 { $as_echo "$as_me:$LINENO: result: yes" >&5
3003 $as_echo "yes" >&6; }
3005 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3006 ac_clean_files=$ac_clean_files_save
3007 # Check that the compiler produces executables we can run. If not, either
3008 # the compiler is broken, or we cross compile.
3009 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3010 $as_echo_n "checking whether we are cross compiling... " >&6; }
3011 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3012 $as_echo "$cross_compiling" >&6; }
3014 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3015 $as_echo_n "checking for suffix of executables... " >&6; }
3016 if { (ac_try="$ac_link"
3018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3019 *) ac_try_echo
=$ac_try;;
3021 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3022 $as_echo "$ac_try_echo") >&5
3023 (eval "$ac_link") 2>&5
3025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; then
3027 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3028 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3029 # work properly (i.e., refer to `conftest.exe'), while it won't with
3031 for ac_file
in conftest.exe conftest conftest.
*; do
3032 test -f "$ac_file" ||
continue
3034 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3035 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3041 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3043 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3044 See \`config.log' for more details." >&5
3045 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3046 See \`config.log' for more details." >&2;}
3047 { (exit 1); exit 1; }; }; }
3050 rm -f conftest
$ac_cv_exeext
3051 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3052 $as_echo "$ac_cv_exeext" >&6; }
3054 rm -f conftest.
$ac_ext
3055 EXEEXT
=$ac_cv_exeext
3057 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3058 $as_echo_n "checking for suffix of object files... " >&6; }
3059 if test "${ac_cv_objext+set}" = set; then
3060 $as_echo_n "(cached) " >&6
3062 cat >conftest.
$ac_ext <<_ACEOF
3065 cat confdefs.h
>>conftest.
$ac_ext
3066 cat >>conftest.
$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3077 rm -f conftest.o conftest.obj
3078 if { (ac_try
="$ac_compile"
3080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084 $as_echo "$ac_try_echo") >&5
3085 (eval "$ac_compile") 2>&5
3087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; then
3089 for ac_file in conftest.o conftest.obj conftest.*; do
3090 test -f "$ac_file" || continue;
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3104 See \
`config.log' for more details." >&5
3105 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3106 See \`config.log
' for more details." >&2;}
3107 { (exit 1); exit 1; }; }; }
3110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3112 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3113 $as_echo "$ac_cv_objext" >&6; }
3114 OBJEXT=$ac_cv_objext
3116 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3118 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3119 $as_echo_n "(cached) " >&6
3121 cat >conftest.$ac_ext <<_ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3139 rm -f conftest.$ac_objext
3140 if { (ac_try="$ac_compile"
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3146 $as_echo "$ac_try_echo") >&5
3147 (eval "$ac_compile") 2>conftest.er1
3149 grep -v '^
*+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } && {
3154 test -z "$ac_c_werror_flag" ||
3155 test ! -s conftest.err
3156 } && test -s conftest.$ac_objext; then
3159 $as_echo "$as_me: failed program was:" >&5
3160 sed 's
/^
/|
/' conftest.$ac_ext >&5
3165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3169 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3170 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3171 if test $ac_compiler_gnu = yes; then
3176 ac_test_CFLAGS=${CFLAGS+set}
3177 ac_save_CFLAGS=$CFLAGS
3178 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3179 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3180 if test "${ac_cv_prog_cc_g+set}" = set; then
3181 $as_echo_n "(cached) " >&6
3183 ac_save_c_werror_flag=$ac_c_werror_flag
3184 ac_c_werror_flag=yes
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3202 rm -f conftest.$ac_objext
3203 if { (ac_try="$ac_compile"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3209 $as_echo "$ac_try_echo") >&5
3210 (eval "$ac_compile") 2>conftest.er1
3212 grep -v '^
*+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && {
3217 test -z "$ac_c_werror_flag" ||
3218 test ! -s conftest.err
3219 } && test -s conftest.$ac_objext; then
3222 $as_echo "$as_me: failed program was:" >&5
3223 sed 's
/^
/|
/' conftest.$ac_ext >&5
3226 cat >conftest.$ac_ext <<_ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3248 $as_echo "$ac_try_echo") >&5
3249 (eval "$ac_compile") 2>conftest.er1
3251 grep -v '^
*+' conftest.er1 >conftest.err
3253 cat conftest.err >&5
3254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); } && {
3256 test -z "$ac_c_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest.$ac_objext; then
3261 $as_echo "$as_me: failed program was:" >&5
3262 sed 's
/^
/|
/' conftest.$ac_ext >&5
3264 ac_c_werror_flag=$ac_save_c_werror_flag
3266 cat >conftest.$ac_ext <<_ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3281 rm -f conftest.$ac_objext
3282 if { (ac_try="$ac_compile"
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3288 $as_echo "$ac_try_echo") >&5
3289 (eval "$ac_compile") 2>conftest.er1
3291 grep -v '^
*+' conftest.er1 >conftest.err
3293 cat conftest.err >&5
3294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); } && {
3296 test -z "$ac_c_werror_flag" ||
3297 test ! -s conftest.err
3298 } && test -s conftest.$ac_objext; then
3301 $as_echo "$as_me: failed program was:" >&5
3302 sed 's
/^
/|
/' conftest.$ac_ext >&5
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 ac_c_werror_flag=$ac_save_c_werror_flag
3316 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3317 $as_echo "$ac_cv_prog_cc_g" >&6; }
3318 if test "$ac_test_CFLAGS" = set; then
3319 CFLAGS=$ac_save_CFLAGS
3320 elif test $ac_cv_prog_cc_g = yes; then
3321 if test "$GCC" = yes; then
3327 if test "$GCC" = yes; then
3333 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3334 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3335 if test "${ac_cv_prog_cc_c89+set}" = set; then
3336 $as_echo_n "(cached) " >&6
3338 ac_cv_prog_cc_c89=no
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3348 #include <sys/types.h>
3349 #include <sys/stat.h>
3350 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3351 struct buf
{ int x
; };
3352 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3353 static char
*e
(p
, i
)
3359 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3364 s
= g
(p
, va_arg
(v
,int
));
3369 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3370 function prototypes and stuff
, but not
'\xHH' hex character constants.
3371 These don
't provoke an error unfortunately, instead are silently treated
3372 as 'x
'. The following induces an error, until -std is added to get
3373 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3374 array size at least. It's necessary to
write '\x00'==0 to get something
3375 that
's true only with -std. */
3376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3378 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3379 inside strings and character constants. */
3381 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3383 int test (int i, double x);
3384 struct s1 {int (*f) (int a);};
3385 struct s2 {int (*f) (double a);};
3386 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3392 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3398 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3400 CC="$ac_save_CC $ac_arg"
3401 rm -f conftest.$ac_objext
3402 if { (ac_try="$ac_compile"
3404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3405 *) ac_try_echo=$ac_try;;
3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3408 $as_echo "$ac_try_echo") >&5
3409 (eval "$ac_compile") 2>conftest.er1
3411 grep -v '^
*+' conftest.er1 >conftest.err
3413 cat conftest.err >&5
3414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); } && {
3416 test -z "$ac_c_werror_flag" ||
3417 test ! -s conftest.err
3418 } && test -s conftest.$ac_objext; then
3419 ac_cv_prog_cc_c89=$ac_arg
3421 $as_echo "$as_me: failed program was:" >&5
3422 sed 's
/^
/|
/' conftest.$ac_ext >&5
3427 rm -f core conftest.err conftest.$ac_objext
3428 test "x$ac_cv_prog_cc_c89" != "xno" && break
3430 rm -f conftest.$ac_ext
3435 case "x$ac_cv_prog_cc_c89" in
3437 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3438 $as_echo "none needed" >&6; } ;;
3440 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3441 $as_echo "unsupported" >&6; } ;;
3443 CC="$CC $ac_cv_prog_cc_c89"
3444 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3445 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 DEPDIR="${am__leading_dot}deps"
3456 ac_config_commands="$ac_config_commands depfiles"
3459 am_make=${MAKE-make}
3460 cat > confinc << 'END
'
3465 # If we don't
find an include directive
, just comment out the code.
3466 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3467 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3471 # First try GNU make style include.
3472 echo "include confinc" > confmf
3473 # We grep out `Entering directory' and `Leaving directory'
3474 # messages which can occur if `w' ends up in MAKEFLAGS.
3475 # In particular we don't look at `^make:' because GNU make might
3476 # be invoked under some other name (usually "gmake"), in which
3477 # case it prints its new name instead of `make'.
3478 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3483 # Now try BSD make style include.
3484 if test "$am__include" = "#"; then
3485 echo '.include "confinc"' > confmf
3486 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3487 am__include
=.include
3494 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3495 $as_echo "$_am_result" >&6; }
3496 rm -f confinc confmf
3498 # Check whether --enable-dependency-tracking was given.
3499 if test "${enable_dependency_tracking+set}" = set; then
3500 enableval
=$enable_dependency_tracking;
3503 if test "x$enable_dependency_tracking" != xno
; then
3504 am_depcomp
="$ac_aux_dir/depcomp"
3509 if test "x$enable_dependency_tracking" != xno; then
3520 depcc
="$CC" am_compiler_list
=
3522 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3523 $as_echo_n "checking dependency style of $depcc... " >&6; }
3524 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3525 $as_echo_n "(cached) " >&6
3527 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528 # We make a subdir and do the tests there. Otherwise we can end up
3529 # making bogus files that we don't know about and never remove. For
3530 # instance it was reported that on HP-UX the gcc test will end up
3531 # making a dummy file named `D' -- because `-MD' means `put the output
3534 # Copy depcomp to subdir because otherwise we won't find it if we're
3535 # using a relative directory.
3536 cp "$am_depcomp" conftest.dir
3538 # We will build objects and dependencies in a subdirectory because
3539 # it helps to detect inapplicable dependency modes. For instance
3540 # both Tru64's cc and ICC support -MD to output dependencies as a
3541 # side effect of compilation, but ICC will put the dependencies in
3542 # the current directory while Tru64 will put them in the object
3546 am_cv_CC_dependencies_compiler_type
=none
3547 if test "$am_compiler_list" = ""; then
3548 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3550 for depmode
in $am_compiler_list; do
3551 # Setup a source with many dependencies, because some compilers
3552 # like to wrap large dependency lists on column 80 (with \), and
3553 # we should not choose a depcomp mode which is confused by this.
3555 # We need to recreate these files for each test, as the compiler may
3556 # overwrite some of them when testing with obscure command lines.
3557 # This happens at least with the AIX C compiler.
3559 for i
in 1 2 3 4 5 6; do
3560 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3563 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3567 # after this tag, mechanisms are not by side-effect, so they'll
3568 # only be used when explicitly requested
3569 if test "x$enable_dependency_tracking" = xyes
; then
3577 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3578 # mode. It turns out that the SunPro C++ compiler does not properly
3579 # handle `-M -o', and we need to detect this.
3580 if depmode
=$depmode \
3581 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3582 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3583 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3584 >/dev
/null
2>conftest.err
&&
3585 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3586 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3587 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3588 # icc doesn't choke on unknown options, it will just issue warnings
3589 # (even with -Werror). So we grep stderr for any message
3590 # that says an option was ignored.
3591 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
3592 am_cv_CC_dependencies_compiler_type
=$depmode
3601 am_cv_CC_dependencies_compiler_type
=none
3605 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3606 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3607 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3612 test "x$enable_dependency_tracking" != xno \
3613 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3615 am__fastdepCC_FALSE
='#'
3617 am__fastdepCC_TRUE
='#'
3618 am__fastdepCC_FALSE
=
3622 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3623 $as_echo_n "checking whether ln -s works... " >&6; }
3625 if test "$LN_S" = "ln -s"; then
3626 { $as_echo "$as_me:$LINENO: result: yes" >&5
3627 $as_echo "yes" >&6; }
3629 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3630 $as_echo "no, using $LN_S" >&6; }
3633 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3634 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3636 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3637 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3638 $as_echo_n "(cached) " >&6
3640 cat >conftest.
make <<\_ACEOF
3643 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3645 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3646 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3648 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3650 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3654 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3655 { $as_echo "$as_me:$LINENO: result: yes" >&5
3656 $as_echo "yes" >&6; }
3659 { $as_echo "$as_me:$LINENO: result: no" >&5
3660 $as_echo "no" >&6; }
3661 SET_MAKE
="MAKE=${MAKE-make}"
3664 # Extract the first word of "cd", so it can be a program name with args.
3665 set dummy
cd; ac_word
=$2
3666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 $as_echo_n "checking for $ac_word... " >&6; }
3668 if test "${ac_cv_prog_CD+set}" = set; then
3669 $as_echo_n "(cached) " >&6
3671 if test -n "$CD"; then
3672 ac_cv_prog_CD
="$CD" # Let the user override the test.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test -n "$CD"; then
3693 { $as_echo "$as_me:$LINENO: result: $CD" >&5
3694 $as_echo "$CD" >&6; }
3696 { $as_echo "$as_me:$LINENO: result: no" >&5
3697 $as_echo "no" >&6; }
3701 # Find a good install program. We prefer a C program (faster),
3702 # so one script is as good as another. But avoid the broken or
3703 # incompatible versions:
3704 # SysV /etc/install, /usr/sbin/install
3705 # SunOS /usr/etc/install
3706 # IRIX /sbin/install
3708 # AmigaOS /C/install, which installs bootblocks on floppy discs
3709 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3710 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3711 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3712 # OS/2's system install, which has a completely different semantic
3713 # ./install, which can be erroneously created by make from ./install.sh.
3714 # Reject install programs that cannot install multiple files.
3715 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3716 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3717 if test -z "$INSTALL"; then
3718 if test "${ac_cv_path_install+set}" = set; then
3719 $as_echo_n "(cached) " >&6
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 # Account for people who put trailing slashes in PATH elements.
3728 .
/ | .
// |
/cC
/* | \
3729 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3730 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3733 # OSF1 and SCO ODT 3.0 have their own names for install.
3734 # Don't use installbsd from OSF since it installs stuff as root
3736 for ac_prog
in ginstall scoinst
install; do
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3739 if test $ac_prog = install &&
3740 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3741 # AIX install. It has an incompatible calling convention.
3743 elif test $ac_prog = install &&
3744 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3745 # program-specific install script used by HP pwplus--don't use.
3748 rm -rf conftest.one conftest.two conftest.dir
3749 echo one
> conftest.one
3750 echo two
> conftest.two
3752 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3753 test -s conftest.one
&& test -s conftest.two
&&
3754 test -s conftest.dir
/conftest.one
&&
3755 test -s conftest.dir
/conftest.two
3757 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3770 rm -rf conftest.one conftest.two conftest.dir
3773 if test "${ac_cv_path_install+set}" = set; then
3774 INSTALL
=$ac_cv_path_install
3776 # As a last resort, use the slow shell script. Don't cache a
3777 # value for INSTALL within a source directory, because that will
3778 # break other packages using the cache if that directory is
3779 # removed, or if the value is a relative name.
3780 INSTALL
=$ac_install_sh
3783 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3784 $as_echo "$INSTALL" >&6; }
3786 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3787 # It thinks the first close brace ends the variable substitution.
3788 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3790 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3792 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3794 # Check whether --enable-shared was given.
3795 if test "${enable_shared+set}" = set; then
3796 enableval
=$enable_shared; p
=${PACKAGE-default}
3798 yes) enable_shared
=yes ;;
3799 no
) enable_shared
=no
;;
3802 # Look at the argument we got. We use all the common list separators.
3803 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3804 for pkg
in $enableval; do
3806 if test "X$pkg" = "X$p"; then
3818 # Check whether --enable-static was given.
3819 if test "${enable_static+set}" = set; then
3820 enableval
=$enable_static; p
=${PACKAGE-default}
3822 yes) enable_static
=yes ;;
3823 no
) enable_static
=no
;;
3826 # Look at the argument we got. We use all the common list separators.
3827 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3828 for pkg
in $enableval; do
3830 if test "X$pkg" = "X$p"; then
3842 # Check whether --enable-fast-install was given.
3843 if test "${enable_fast_install+set}" = set; then
3844 enableval
=$enable_fast_install; p
=${PACKAGE-default}
3846 yes) enable_fast_install
=yes ;;
3847 no
) enable_fast_install
=no
;;
3849 enable_fast_install
=no
3850 # Look at the argument we got. We use all the common list separators.
3851 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3852 for pkg
in $enableval; do
3854 if test "X$pkg" = "X$p"; then
3855 enable_fast_install
=yes
3862 enable_fast_install
=yes
3866 # Make sure we can run config.sub.
3867 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3868 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3869 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3870 { (exit 1); exit 1; }; }
3872 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3873 $as_echo_n "checking build system type... " >&6; }
3874 if test "${ac_cv_build+set}" = set; then
3875 $as_echo_n "(cached) " >&6
3877 ac_build_alias
=$build_alias
3878 test "x$ac_build_alias" = x
&&
3879 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3880 test "x$ac_build_alias" = x
&&
3881 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3882 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3883 { (exit 1); exit 1; }; }
3884 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3885 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3886 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3887 { (exit 1); exit 1; }; }
3890 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3891 $as_echo "$ac_cv_build" >&6; }
3892 case $ac_cv_build in
3894 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3895 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3896 { (exit 1); exit 1; }; };;
3899 ac_save_IFS
=$IFS; IFS
='-'
3905 # Remember, the first character of IFS is used to create $*,
3906 # except with old shells:
3909 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3912 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3913 $as_echo_n "checking host system type... " >&6; }
3914 if test "${ac_cv_host+set}" = set; then
3915 $as_echo_n "(cached) " >&6
3917 if test "x$host_alias" = x
; then
3918 ac_cv_host
=$ac_cv_build
3920 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3921 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3922 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3923 { (exit 1); exit 1; }; }
3927 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3928 $as_echo "$ac_cv_host" >&6; }
3931 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3932 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3933 { (exit 1); exit 1; }; };;
3936 ac_save_IFS
=$IFS; IFS
='-'
3942 # Remember, the first character of IFS is used to create $*,
3943 # except with old shells:
3946 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3949 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3950 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3951 if test "${lt_cv_path_SED+set}" = set; then
3952 $as_echo_n "(cached) " >&6
3954 # Loop through the user's path and test for sed and gsed.
3955 # Then use that list of sed's as ones to test for truncation.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for lt_ac_prog
in sed gsed
; do
3962 for ac_exec_ext
in '' $ac_executable_extensions; do
3963 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3964 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3972 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3973 # along with /bin/sed that truncates output.
3974 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3975 test ! -f $lt_ac_sed && continue
3976 cat /dev
/null
> conftest.
in
3978 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3979 # Check for GNU sed and select it if it is found.
3980 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3981 lt_cv_path_SED
=$lt_ac_sed
3985 cat conftest.
in conftest.
in >conftest.tmp
3986 mv conftest.tmp conftest.
in
3987 cp conftest.
in conftest.
nl
3989 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3990 cmp -s conftest.out conftest.
nl ||
break
3991 # 10000 chars as input seems more than enough
3992 test $lt_ac_count -gt 10 && break
3993 lt_ac_count
=`expr $lt_ac_count + 1`
3994 if test $lt_ac_count -gt $lt_ac_max; then
3995 lt_ac_max
=$lt_ac_count
3996 lt_cv_path_SED
=$lt_ac_sed
4005 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4006 $as_echo "$SED" >&6; }
4008 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4009 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4010 if test "${ac_cv_path_GREP+set}" = set; then
4011 $as_echo_n "(cached) " >&6
4013 if test -z "$GREP"; then
4014 ac_path_GREP_found
=false
4015 # Loop through the user's path and test for each of PROGNAME-LIST
4016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4020 test -z "$as_dir" && as_dir
=.
4021 for ac_prog
in grep ggrep
; do
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4024 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4025 # Check for GNU ac_path_GREP and select it if it is found.
4026 # Check for GNU $ac_path_GREP
4027 case `"$ac_path_GREP" --version 2>&1` in
4029 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4032 $as_echo_n 0123456789 >"conftest.in"
4035 cat "conftest.in" "conftest.in" >"conftest.tmp"
4036 mv "conftest.tmp" "conftest.in"
4037 cp "conftest.in" "conftest.nl"
4038 $as_echo 'GREP' >> "conftest.nl"
4039 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4040 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4041 ac_count
=`expr $ac_count + 1`
4042 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4043 # Best one so far, save it but keep looking for a better one
4044 ac_cv_path_GREP
="$ac_path_GREP"
4045 ac_path_GREP_max
=$ac_count
4047 # 10*(2^10) chars as input seems more than enough
4048 test $ac_count -gt 10 && break
4050 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4053 $ac_path_GREP_found && break 3
4058 if test -z "$ac_cv_path_GREP"; then
4059 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4060 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4061 { (exit 1); exit 1; }; }
4064 ac_cv_path_GREP
=$GREP
4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4069 $as_echo "$ac_cv_path_GREP" >&6; }
4070 GREP
="$ac_cv_path_GREP"
4073 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4074 $as_echo_n "checking for egrep... " >&6; }
4075 if test "${ac_cv_path_EGREP+set}" = set; then
4076 $as_echo_n "(cached) " >&6
4078 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4079 then ac_cv_path_EGREP
="$GREP -E"
4081 if test -z "$EGREP"; then
4082 ac_path_EGREP_found
=false
4083 # Loop through the user's path and test for each of PROGNAME-LIST
4084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4088 test -z "$as_dir" && as_dir
=.
4089 for ac_prog
in egrep; do
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4092 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4093 # Check for GNU ac_path_EGREP and select it if it is found.
4094 # Check for GNU $ac_path_EGREP
4095 case `"$ac_path_EGREP" --version 2>&1` in
4097 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4100 $as_echo_n 0123456789 >"conftest.in"
4103 cat "conftest.in" "conftest.in" >"conftest.tmp"
4104 mv "conftest.tmp" "conftest.in"
4105 cp "conftest.in" "conftest.nl"
4106 $as_echo 'EGREP' >> "conftest.nl"
4107 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4108 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4109 ac_count
=`expr $ac_count + 1`
4110 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4111 # Best one so far, save it but keep looking for a better one
4112 ac_cv_path_EGREP
="$ac_path_EGREP"
4113 ac_path_EGREP_max
=$ac_count
4115 # 10*(2^10) chars as input seems more than enough
4116 test $ac_count -gt 10 && break
4118 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4121 $ac_path_EGREP_found && break 3
4126 if test -z "$ac_cv_path_EGREP"; then
4127 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4128 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4129 { (exit 1); exit 1; }; }
4132 ac_cv_path_EGREP
=$EGREP
4137 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4138 $as_echo "$ac_cv_path_EGREP" >&6; }
4139 EGREP
="$ac_cv_path_EGREP"
4143 # Check whether --with-gnu-ld was given.
4144 if test "${with_gnu_ld+set}" = set; then
4145 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4151 if test "$GCC" = yes; then
4152 # Check if gcc -print-prog-name=ld gives a path.
4153 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4154 $as_echo_n "checking for ld used by $CC... " >&6; }
4157 # gcc leaves a trailing carriage return which upsets mingw
4158 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4160 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4163 # Accept absolute paths.
4165 re_direlt
='/[^/][^/]*/\.\./'
4166 # Canonicalize the pathname of ld
4167 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4168 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4169 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4171 test -z "$LD" && LD
="$ac_prog"
4174 # If it fails, then pretend we aren't using GCC.
4178 # If it is relative, then search for the first ld in PATH.
4182 elif test "$with_gnu_ld" = yes; then
4183 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4184 $as_echo_n "checking for GNU ld... " >&6; }
4186 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4187 $as_echo_n "checking for non-GNU ld... " >&6; }
4189 if test "${lt_cv_path_LD+set}" = set; then
4190 $as_echo_n "(cached) " >&6
4192 if test -z "$LD"; then
4193 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4194 for ac_dir
in $PATH; do
4196 test -z "$ac_dir" && ac_dir
=.
4197 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4198 lt_cv_path_LD
="$ac_dir/$ac_prog"
4199 # Check to see if the program is GNU ld. I'd rather use --version,
4200 # but apparently some variants of GNU ld only accept -v.
4201 # Break only if it was the GNU/non-GNU ld that we prefer.
4202 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4203 *GNU
* |
*'with BFD'*)
4204 test "$with_gnu_ld" != no
&& break
4207 test "$with_gnu_ld" != yes && break
4214 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4219 if test -n "$LD"; then
4220 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4221 $as_echo "$LD" >&6; }
4223 { $as_echo "$as_me:$LINENO: result: no" >&5
4224 $as_echo "no" >&6; }
4226 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4227 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4228 { (exit 1); exit 1; }; }
4229 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4230 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4231 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4232 $as_echo_n "(cached) " >&6
4234 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4235 case `$LD -v 2>&1 </dev/null` in
4236 *GNU
* |
*'with BFD'*)
4237 lt_cv_prog_gnu_ld
=yes
4240 lt_cv_prog_gnu_ld
=no
4244 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4245 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4246 with_gnu_ld
=$lt_cv_prog_gnu_ld
4249 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4250 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4251 if test "${lt_cv_ld_reload_flag+set}" = set; then
4252 $as_echo_n "(cached) " >&6
4254 lt_cv_ld_reload_flag
='-r'
4256 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4257 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4258 reload_flag
=$lt_cv_ld_reload_flag
4259 case $reload_flag in
4261 *) reload_flag
=" $reload_flag" ;;
4263 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4266 if test "$GCC" = yes; then
4267 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4269 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4274 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4275 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4276 if test "${lt_cv_path_NM+set}" = set; then
4277 $as_echo_n "(cached) " >&6
4279 if test -n "$NM"; then
4280 # Let the user override the test.
4283 lt_nm_to_check
="${ac_tool_prefix}nm"
4284 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4285 lt_nm_to_check
="$lt_nm_to_check nm"
4287 for lt_tmp_nm
in $lt_nm_to_check; do
4288 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4289 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4291 test -z "$ac_dir" && ac_dir
=.
4292 tmp_nm
="$ac_dir/$lt_tmp_nm"
4293 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4294 # Check to see if the nm accepts a BSD-compat flag.
4295 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4296 # nm: unknown option "B" ignored
4297 # Tru64's nm complains that /dev/null is an invalid object file
4298 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4299 */dev
/null
* |
*'Invalid file or object type'*)
4300 lt_cv_path_NM
="$tmp_nm -B"
4304 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4306 lt_cv_path_NM
="$tmp_nm -p"
4310 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4311 continue # so that we can try to find one that supports BSD flags
4320 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4323 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4324 $as_echo "$lt_cv_path_NM" >&6; }
4327 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4328 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4329 if test "${lt_cv_deplibs_check_method+set}" = set; then
4330 $as_echo_n "(cached) " >&6
4332 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4333 lt_cv_file_magic_test_file
=
4334 lt_cv_deplibs_check_method
='unknown'
4335 # Need to set the preceding variable on all platforms that support
4336 # interlibrary dependencies.
4337 # 'none' -- dependencies not supported.
4338 # `unknown' -- same as none, but documents that we really don't know.
4339 # 'pass_all' -- all dependencies passed with no checks.
4340 # 'test_compile' -- check by making test program.
4341 # 'file_magic [[regex]]' -- check by looking for files in library path
4342 # which responds to the $file_magic_cmd with a given extended regex.
4343 # If you have `file' or equivalent on your system and you're not sure
4344 # whether `pass_all' will *always* work, you probably want this one.
4348 lt_cv_deplibs_check_method
=pass_all
4352 lt_cv_deplibs_check_method
=pass_all
4356 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4357 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4358 lt_cv_file_magic_test_file
=/shlib
/libc.so
4362 # func_win32_libid is a shell function defined in ltmain.sh
4363 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4364 lt_cv_file_magic_cmd
='func_win32_libid'
4368 # Base MSYS/MinGW do not provide the 'file' command needed by
4369 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4370 # unless we find 'file', for example because we are cross-compiling.
4371 if ( file / ) >/dev
/null
2>&1; then
4372 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4373 lt_cv_file_magic_cmd
='func_win32_libid'
4375 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4376 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4380 darwin
* | rhapsody
*)
4381 lt_cv_deplibs_check_method
=pass_all
4384 freebsd
* | dragonfly
*)
4385 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4388 # Not sure whether the presence of OpenBSD here was a mistake.
4389 # Let's accept both of them until this is cleared up.
4390 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4391 lt_cv_file_magic_cmd
=/usr
/bin
/file
4392 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4396 lt_cv_deplibs_check_method
=pass_all
4401 lt_cv_deplibs_check_method
=pass_all
4404 hpux10.20
* | hpux11
*)
4405 lt_cv_file_magic_cmd
=/usr
/bin
/file
4408 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4409 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4412 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]'
4413 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4416 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4417 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4423 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4424 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4427 irix5
* | irix6
* | nonstopux
*)
4429 *-32|
*"-32 ") libmagic
=32-bit;;
4430 *-n32|
*"-n32 ") libmagic
=N32
;;
4431 *-64|
*"-64 ") libmagic
=64-bit;;
4432 *) libmagic
=never-match
;;
4434 lt_cv_deplibs_check_method
=pass_all
4437 # This must be Linux ELF.
4438 linux
* | k
*bsd
*-gnu)
4439 lt_cv_deplibs_check_method
=pass_all
4442 netbsd
* | netbsdelf
*-gnu)
4443 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4444 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4446 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4451 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4452 lt_cv_file_magic_cmd
=/usr
/bin
/file
4453 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4457 lt_cv_deplibs_check_method
=unknown
4461 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4462 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4464 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4468 osf3
* | osf4
* | osf5
*)
4469 lt_cv_deplibs_check_method
=pass_all
4473 lt_cv_deplibs_check_method
=pass_all
4477 lt_cv_deplibs_check_method
=pass_all
4481 case $host_vendor in
4483 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]'
4484 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4487 lt_cv_deplibs_check_method
=pass_all
4490 lt_cv_file_magic_cmd
='/bin/file'
4491 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4494 lt_cv_file_magic_cmd
='/bin/file'
4495 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4496 lt_cv_file_magic_test_file
=/lib
/libc.so
4499 lt_cv_deplibs_check_method
=pass_all
4502 lt_cv_deplibs_check_method
=pass_all
4507 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4508 lt_cv_deplibs_check_method
=pass_all
4513 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4514 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4515 file_magic_cmd
=$lt_cv_file_magic_cmd
4516 deplibs_check_method
=$lt_cv_deplibs_check_method
4517 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4522 # If no C compiler was specified, use CC.
4525 # If no C compiler flags were specified, use CFLAGS.
4526 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4528 # Allow CC to be a program name with arguments.
4532 # Check whether --enable-libtool-lock was given.
4533 if test "${enable_libtool_lock+set}" = set; then
4534 enableval
=$enable_libtool_lock;
4537 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4539 # Some flags need to be propagated to the compiler or linker for good
4543 # Find out which ABI we are using.
4544 echo 'int i;' > conftest.
$ac_ext
4545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4546 (eval $ac_compile) 2>&5
4548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; then
4550 case `/usr/bin/file conftest.$ac_objext` in
4562 # Find out which ABI we are using.
4563 echo '#line 4563 "configure"' > conftest.
$ac_ext
4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4565 (eval $ac_compile) 2>&5
4567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; then
4569 if test "$lt_cv_prog_gnu_ld" = yes; then
4570 case `/usr/bin/file conftest.$ac_objext` in
4572 LD
="${LD-ld} -melf32bsmip"
4575 LD
="${LD-ld} -melf32bmipn32"
4578 LD
="${LD-ld} -melf64bmip"
4582 case `/usr/bin/file conftest.$ac_objext` in
4598 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4599 s390
*-*linux
*|sparc
*-*linux
*)
4600 # Find out which ABI we are using.
4601 echo 'int i;' > conftest.
$ac_ext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>&5
4605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; then
4607 case `/usr/bin/file conftest.o` in
4610 x86_64-
*kfreebsd
*-gnu)
4611 LD
="${LD-ld} -m elf_i386_fbsd"
4614 LD
="${LD-ld} -m elf_i386"
4616 ppc64-
*linux
*|powerpc64-
*linux
*)
4617 LD
="${LD-ld} -m elf32ppclinux"
4620 LD
="${LD-ld} -m elf_s390"
4623 LD
="${LD-ld} -m elf32_sparc"
4629 x86_64-
*kfreebsd
*-gnu)
4630 LD
="${LD-ld} -m elf_x86_64_fbsd"
4633 LD
="${LD-ld} -m elf_x86_64"
4635 ppc
*-*linux
*|powerpc
*-*linux
*)
4636 LD
="${LD-ld} -m elf64ppc"
4639 LD
="${LD-ld} -m elf64_s390"
4642 LD
="${LD-ld} -m elf64_sparc"
4652 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4653 SAVE_CFLAGS
="$CFLAGS"
4654 CFLAGS
="$CFLAGS -belf"
4655 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4656 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4657 if test "${lt_cv_cc_needs_belf+set}" = set; then
4658 $as_echo_n "(cached) " >&6
4661 ac_cpp
='$CPP $CPPFLAGS'
4662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4666 cat >conftest.
$ac_ext <<_ACEOF
4669 cat confdefs.h
>>conftest.
$ac_ext
4670 cat >>conftest.
$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4681 rm -f conftest.
$ac_objext conftest
$ac_exeext
4682 if { (ac_try
="$ac_link"
4684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4685 *) ac_try_echo=$ac_try;;
4687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4688 $as_echo "$ac_try_echo") >&5
4689 (eval "$ac_link") 2>conftest.er1
4691 grep -v '^ *+' conftest.er1 >conftest.err
4693 cat conftest.err >&5
4694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } && {
4696 test -z "$ac_c_werror_flag" ||
4697 test ! -s conftest.err
4698 } && test -s conftest$ac_exeext && {
4699 test "$cross_compiling" = yes ||
4700 $as_test_x conftest$ac_exeext
4702 lt_cv_cc_needs_belf=yes
4704 $as_echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4707 lt_cv_cc_needs_belf=no
4710 rm -rf conftest.dSYM
4711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4712 conftest$ac_exeext conftest.$ac_ext
4714 ac_cpp='$CPP $CPPFLAGS'
4715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4720 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4721 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4722 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4724 CFLAGS="$SAVE_CFLAGS"
4728 # Find out which ABI we are using.
4729 echo 'int i;' > conftest.$ac_ext
4730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4731 (eval $ac_compile) 2>&5
4733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; then
4735 case `/usr
/bin
/file conftest.o
` in
4737 case $lt_cv_prog_gnu_ld in
4738 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4740 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4754 need_locks="$enable_libtool_lock"
4758 ac_cpp='$CPP $CPPFLAGS'
4759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4762 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4763 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4764 # On Suns, sometimes $CPP names a directory.
4765 if test -n "$CPP" && test -d "$CPP"; then
4768 if test -z "$CPP"; then
4769 if test "${ac_cv_prog_CPP+set}" = set; then
4770 $as_echo_n "(cached) " >&6
4772 # Double quotes because CPP needs to be expanded
4773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4776 for ac_c_preproc_warn_flag in '' yes
4778 # Use a header file that comes with gcc, so configuring glibc
4779 # with a fresh cross-compiler works.
4780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4781 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4791 # include <limits.h>
4793 # include <assert.h>
4797 if { (ac_try="$ac_cpp conftest.$ac_ext"
4799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4800 *) ac_try_echo
=$ac_try;;
4802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4803 $as_echo "$ac_try_echo") >&5
4804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4806 grep -v '^ *+' conftest.er1
>conftest.err
4808 cat conftest.err
>&5
4809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } >/dev
/null
&& {
4811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4812 test ! -s conftest.err
4816 $as_echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4819 # Broken: fails on valid input.
4823 rm -f conftest.err conftest.
$ac_ext
4825 # OK, works on sane cases. Now check whether nonexistent headers
4826 # can be detected and how.
4827 cat >conftest.
$ac_ext <<_ACEOF
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4833 #include <ac_nonexistent.h>
4835 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4841 $as_echo "$ac_try_echo") >&5
4842 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4844 grep -v '^ *+' conftest.er1 >conftest.err
4846 cat conftest.err >&5
4847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } >/dev/null && {
4849 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4850 test ! -s conftest.err
4852 # Broken: success on invalid input.
4855 $as_echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 # Passes both tests.
4863 rm -f conftest.err conftest.$ac_ext
4866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4867 rm -f conftest.err conftest.
$ac_ext
4868 if $ac_preproc_ok; then
4880 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4881 $as_echo "$CPP" >&6; }
4883 for ac_c_preproc_warn_flag
in '' yes
4885 # Use a header file that comes with gcc, so configuring glibc
4886 # with a fresh cross-compiler works.
4887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4888 # <limits.h> exists even on freestanding compilers.
4889 # On the NeXT, cc -E runs the code through the compiler's parser,
4890 # not just through cpp. "Syntax error" is here to catch this case.
4891 cat >conftest.
$ac_ext <<_ACEOF
4894 cat confdefs.h
>>conftest.
$ac_ext
4895 cat >>conftest.
$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4898 # include <limits.h>
4900 # include <assert.h>
4904 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4906 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4910 $as_echo "$ac_try_echo") >&5
4911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4913 grep -v '^ *+' conftest.er1 >conftest.err
4915 cat conftest.err >&5
4916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } >/dev/null && {
4918 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4923 $as_echo "$as_me: failed program was:" >&5
4924 sed 's/^/| /' conftest.$ac_ext >&5
4926 # Broken: fails on valid input.
4930 rm -f conftest.err conftest.$ac_ext
4932 # OK, works on sane cases. Now check whether nonexistent headers
4933 # can be detected and how.
4934 cat >conftest.$ac_ext <<_ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4940 #include <ac_nonexistent.h>
4942 if { (ac_try="$ac_cpp conftest.$ac_ext"
4944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4945 *) ac_try_echo
=$ac_try;;
4947 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4948 $as_echo "$ac_try_echo") >&5
4949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4951 grep -v '^ *+' conftest.er1
>conftest.err
4953 cat conftest.err
>&5
4954 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } >/dev
/null
&& {
4956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4957 test ! -s conftest.err
4959 # Broken: success on invalid input.
4962 $as_echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.
$ac_ext >&5
4965 # Passes both tests.
4970 rm -f conftest.err conftest.
$ac_ext
4973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4974 rm -f conftest.err conftest.
$ac_ext
4975 if $ac_preproc_ok; then
4978 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4981 See \`config.log' for more details." >&5
4982 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4983 See \`config.log' for more details." >&2;}
4984 { (exit 1); exit 1; }; }; }
4988 ac_cpp
='$CPP $CPPFLAGS'
4989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4994 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4995 $as_echo_n "checking for ANSI C header files... " >&6; }
4996 if test "${ac_cv_header_stdc+set}" = set; then
4997 $as_echo_n "(cached) " >&6
4999 cat >conftest.
$ac_ext <<_ACEOF
5002 cat confdefs.h
>>conftest.
$ac_ext
5003 cat >>conftest.
$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5018 rm -f conftest.
$ac_objext
5019 if { (ac_try
="$ac_compile"
5021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5022 *) ac_try_echo=$ac_try;;
5024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5025 $as_echo "$ac_try_echo") >&5
5026 (eval "$ac_compile") 2>conftest.er1
5028 grep -v '^ *+' conftest.er1 >conftest.err
5030 cat conftest.err >&5
5031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } && {
5033 test -z "$ac_c_werror_flag" ||
5034 test ! -s conftest.err
5035 } && test -s conftest.$ac_objext; then
5036 ac_cv_header_stdc=yes
5038 $as_echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.$ac_ext >&5
5041 ac_cv_header_stdc=no
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 if test $ac_cv_header_stdc = yes; then
5047 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5048 cat >conftest.$ac_ext <<_ACEOF
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5058 $EGREP "memchr" >/dev/null 2>&1; then
5061 ac_cv_header_stdc=no
5067 if test $ac_cv_header_stdc = yes; then
5068 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5069 cat >conftest.$ac_ext <<_ACEOF
5072 cat confdefs.h >>conftest.$ac_ext
5073 cat >>conftest.$ac_ext <<_ACEOF
5074 /* end confdefs.h. */
5078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5079 $EGREP "free" >/dev/null 2>&1; then
5082 ac_cv_header_stdc=no
5088 if test $ac_cv_header_stdc = yes; then
5089 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5090 if test "$cross_compiling" = yes; then
5093 cat >conftest.$ac_ext <<_ACEOF
5096 cat confdefs.h >>conftest.$ac_ext
5097 cat >>conftest.$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5101 #if ((' ' & 0x0FF) == 0x020)
5102 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5103 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5105 # define ISLOWER(c) \
5106 (('a' <= (c) && (c) <= 'i') \
5107 || ('j' <= (c) && (c) <= 'r') \
5108 || ('s' <= (c) && (c) <= 'z'))
5109 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5112 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5117 for (i = 0; i < 256; i++)
5118 if (XOR (islower (i), ISLOWER (i))
5119 || toupper (i) != TOUPPER (i))
5124 rm -f conftest$ac_exeext
5125 if { (ac_try="$ac_link"
5127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5128 *) ac_try_echo
=$ac_try;;
5130 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5131 $as_echo "$ac_try_echo") >&5
5132 (eval "$ac_link") 2>&5
5134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5136 { (case "(($ac_try" in
5137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5141 $as_echo "$ac_try_echo") >&5
5142 (eval "$ac_try") 2>&5
5144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; }; then
5148 $as_echo "$as_me: program exited with status $ac_status" >&5
5149 $as_echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5153 ac_cv_header_stdc=no
5155 rm -rf conftest.dSYM
5156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5162 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5163 $as_echo "$ac_cv_header_stdc" >&6; }
5164 if test $ac_cv_header_stdc = yes; then
5166 cat >>confdefs.h <<\_ACEOF
5167 #define STDC_HEADERS 1
5172 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5182 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5183 inttypes.h stdint.h unistd.h
5185 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5186 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5187 $as_echo_n "checking for $ac_header... " >&6; }
5188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5189 $as_echo_n "(cached) " >&6
5191 cat >conftest.$ac_ext <<_ACEOF
5194 cat confdefs.h >>conftest.$ac_ext
5195 cat >>conftest.$ac_ext <<_ACEOF
5196 /* end confdefs.h. */
5197 $ac_includes_default
5199 #include <$ac_header>
5201 rm -f conftest.$ac_objext
5202 if { (ac_try="$ac_compile"
5204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5205 *) ac_try_echo
=$ac_try;;
5207 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5208 $as_echo "$ac_try_echo") >&5
5209 (eval "$ac_compile") 2>conftest.er1
5211 grep -v '^ *+' conftest.er1
>conftest.err
5213 cat conftest.err
>&5
5214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); } && {
5216 test -z "$ac_c_werror_flag" ||
5217 test ! -s conftest.err
5218 } && test -s conftest.
$ac_objext; then
5219 eval "$as_ac_Header=yes"
5221 $as_echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.
$ac_ext >&5
5224 eval "$as_ac_Header=no"
5227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5229 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5230 $as_echo "$as_val"'`
5231 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5232 $as_echo "$ac_res" >&6; }
5233 as_val
=`eval 'as_val=${'$as_ac_Header'}
5234 $as_echo "$as_val"'`
5235 if test "x$as_val" = x
""yes; then
5236 cat >>confdefs.h
<<_ACEOF
5237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5246 for ac_header
in dlfcn.h
5248 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5249 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5250 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5251 $as_echo_n "checking for $ac_header... " >&6; }
5252 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5253 $as_echo_n "(cached) " >&6
5255 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5256 $as_echo "$as_val"'`
5257 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5258 $as_echo "$ac_res" >&6; }
5260 # Is the header compilable?
5261 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5262 $as_echo_n "checking $ac_header usability... " >&6; }
5263 cat >conftest.
$ac_ext <<_ACEOF
5266 cat confdefs.h
>>conftest.
$ac_ext
5267 cat >>conftest.
$ac_ext <<_ACEOF
5268 /* end confdefs.h. */
5269 $ac_includes_default
5270 #include <$ac_header>
5272 rm -f conftest.
$ac_objext
5273 if { (ac_try
="$ac_compile"
5275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5276 *) ac_try_echo=$ac_try;;
5278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5279 $as_echo "$ac_try_echo") >&5
5280 (eval "$ac_compile") 2>conftest.er1
5282 grep -v '^ *+' conftest.er1 >conftest.err
5284 cat conftest.err >&5
5285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } && {
5287 test -z "$ac_c_werror_flag" ||
5288 test ! -s conftest.err
5289 } && test -s conftest.$ac_objext; then
5290 ac_header_compiler=yes
5292 $as_echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5295 ac_header_compiler=no
5298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5299 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5300 $as_echo "$ac_header_compiler" >&6; }
5302 # Is the header present?
5303 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5304 $as_echo_n "checking $ac_header presence... " >&6; }
5305 cat >conftest.$ac_ext <<_ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 #include <$ac_header>
5313 if { (ac_try="$ac_cpp conftest.$ac_ext"
5315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5316 *) ac_try_echo
=$ac_try;;
5318 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5319 $as_echo "$ac_try_echo") >&5
5320 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5322 grep -v '^ *+' conftest.er1
>conftest.err
5324 cat conftest.err
>&5
5325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); } >/dev
/null
&& {
5327 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5328 test ! -s conftest.err
5330 ac_header_preproc
=yes
5332 $as_echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.
$ac_ext >&5
5335 ac_header_preproc
=no
5338 rm -f conftest.err conftest.
$ac_ext
5339 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5340 $as_echo "$ac_header_preproc" >&6; }
5342 # So? What about this header?
5343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5346 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5348 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5349 ac_header_preproc
=yes
5352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5353 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5355 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5357 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5359 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5361 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5363 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5367 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5368 $as_echo_n "checking for $ac_header... " >&6; }
5369 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5370 $as_echo_n "(cached) " >&6
5372 eval "$as_ac_Header=\$ac_header_preproc"
5374 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5375 $as_echo "$as_val"'`
5376 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5377 $as_echo "$ac_res" >&6; }
5380 as_val
=`eval 'as_val=${'$as_ac_Header'}
5381 $as_echo "$as_val"'`
5382 if test "x$as_val" = x
""yes; then
5383 cat >>confdefs.h
<<_ACEOF
5384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5392 ac_cpp
='$CXXCPP $CPPFLAGS'
5393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5396 if test -z "$CXX"; then
5397 if test -n "$CCC"; then
5400 if test -n "$ac_tool_prefix"; then
5401 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5404 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if test "${ac_cv_prog_CXX+set}" = set; then
5408 $as_echo_n "(cached) " >&6
5410 if test -n "$CXX"; then
5411 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5417 test -z "$as_dir" && as_dir
=.
5418 for ac_exec_ext
in '' $ac_executable_extensions; do
5419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5420 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5431 if test -n "$CXX"; then
5432 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5433 $as_echo "$CXX" >&6; }
5435 { $as_echo "$as_me:$LINENO: result: no" >&5
5436 $as_echo "no" >&6; }
5440 test -n "$CXX" && break
5443 if test -z "$CXX"; then
5445 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5447 # Extract the first word of "$ac_prog", so it can be a program name with args.
5448 set dummy
$ac_prog; ac_word
=$2
5449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$ac_ct_CXX"; then
5455 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5475 if test -n "$ac_ct_CXX"; then
5476 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5477 $as_echo "$ac_ct_CXX" >&6; }
5479 { $as_echo "$as_me:$LINENO: result: no" >&5
5480 $as_echo "no" >&6; }
5484 test -n "$ac_ct_CXX" && break
5487 if test "x$ac_ct_CXX" = x
; then
5490 case $cross_compiling:$ac_tool_warned in
5492 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5494 ac_tool_warned
=yes ;;
5502 # Provide some information about the compiler.
5503 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5506 { (ac_try
="$ac_compiler --version >&5"
5508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5509 *) ac_try_echo=$ac_try;;
5511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5512 $as_echo "$ac_try_echo") >&5
5513 (eval "$ac_compiler --version >&5") 2>&5
5515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }
5517 { (ac_try="$ac_compiler -v >&5"
5519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5520 *) ac_try_echo
=$ac_try;;
5522 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5523 $as_echo "$ac_try_echo") >&5
5524 (eval "$ac_compiler -v >&5") 2>&5
5526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); }
5528 { (ac_try
="$ac_compiler -V >&5"
5530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5531 *) ac_try_echo=$ac_try;;
5533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5534 $as_echo "$ac_try_echo") >&5
5535 (eval "$ac_compiler -V >&5") 2>&5
5537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }
5540 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5541 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5542 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5543 $as_echo_n "(cached) " >&6
5545 cat >conftest.$ac_ext <<_ACEOF
5548 cat confdefs.h >>conftest.$ac_ext
5549 cat >>conftest.$ac_ext <<_ACEOF
5550 /* end confdefs.h. */
5563 rm -f conftest.$ac_objext
5564 if { (ac_try="$ac_compile"
5566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5567 *) ac_try_echo
=$ac_try;;
5569 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5570 $as_echo "$ac_try_echo") >&5
5571 (eval "$ac_compile") 2>conftest.er1
5573 grep -v '^ *+' conftest.er1
>conftest.err
5575 cat conftest.err
>&5
5576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577 (exit $ac_status); } && {
5578 test -z "$ac_cxx_werror_flag" ||
5579 test ! -s conftest.err
5580 } && test -s conftest.
$ac_objext; then
5583 $as_echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.
$ac_ext >&5
5589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5590 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5593 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5594 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5595 if test $ac_compiler_gnu = yes; then
5600 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5601 ac_save_CXXFLAGS
=$CXXFLAGS
5602 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5603 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5604 if test "${ac_cv_prog_cxx_g+set}" = set; then
5605 $as_echo_n "(cached) " >&6
5607 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5608 ac_cxx_werror_flag
=yes
5611 cat >conftest.
$ac_ext <<_ACEOF
5614 cat confdefs.h
>>conftest.
$ac_ext
5615 cat >>conftest.
$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5626 rm -f conftest.
$ac_objext
5627 if { (ac_try
="$ac_compile"
5629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5630 *) ac_try_echo=$ac_try;;
5632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5633 $as_echo "$ac_try_echo") >&5
5634 (eval "$ac_compile") 2>conftest.er1
5636 grep -v '^ *+' conftest.er1 >conftest.err
5638 cat conftest.err >&5
5639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && {
5641 test -z "$ac_cxx_werror_flag" ||
5642 test ! -s conftest.err
5643 } && test -s conftest.$ac_objext; then
5644 ac_cv_prog_cxx_g=yes
5646 $as_echo "$as_me: failed program was:" >&5
5647 sed 's/^/| /' conftest.$ac_ext >&5
5650 cat >conftest.$ac_ext <<_ACEOF
5653 cat confdefs.h >>conftest.$ac_ext
5654 cat >>conftest.$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5665 rm -f conftest.$ac_objext
5666 if { (ac_try="$ac_compile"
5668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5669 *) ac_try_echo
=$ac_try;;
5671 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5672 $as_echo "$ac_try_echo") >&5
5673 (eval "$ac_compile") 2>conftest.er1
5675 grep -v '^ *+' conftest.er1
>conftest.err
5677 cat conftest.err
>&5
5678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && {
5680 test -z "$ac_cxx_werror_flag" ||
5681 test ! -s conftest.err
5682 } && test -s conftest.
$ac_objext; then
5685 $as_echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.
$ac_ext >&5
5688 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5690 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5705 rm -f conftest.
$ac_objext
5706 if { (ac_try
="$ac_compile"
5708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5709 *) ac_try_echo=$ac_try;;
5711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5712 $as_echo "$ac_try_echo") >&5
5713 (eval "$ac_compile") 2>conftest.er1
5715 grep -v '^ *+' conftest.er1 >conftest.err
5717 cat conftest.err >&5
5718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } && {
5720 test -z "$ac_cxx_werror_flag" ||
5721 test ! -s conftest.err
5722 } && test -s conftest.$ac_objext; then
5723 ac_cv_prog_cxx_g=yes
5725 $as_echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.$ac_ext >&5
5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5738 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5740 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5741 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5742 if test "$ac_test_CXXFLAGS" = set; then
5743 CXXFLAGS=$ac_save_CXXFLAGS
5744 elif test $ac_cv_prog_cxx_g = yes; then
5745 if test "$GXX" = yes; then
5751 if test "$GXX" = yes; then
5758 ac_cpp='$CXXCPP $CPPFLAGS'
5759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5763 depcc="$CXX" am_compiler_list=
5765 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5766 $as_echo_n "checking dependency style of $depcc... " >&6; }
5767 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5768 $as_echo_n "(cached) " >&6
5770 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5771 # We make a subdir and do the tests there. Otherwise we can end up
5772 # making bogus files that we don't know about and never remove. For
5773 # instance it was reported that on HP-UX the gcc test will end up
5774 # making a dummy file named `D
' -- because `-MD' means
`put the output
5777 # Copy depcomp to subdir because otherwise we won't find it if we're
5778 # using a relative directory.
5779 cp "$am_depcomp" conftest.dir
5781 # We will build objects and dependencies in a subdirectory because
5782 # it helps to detect inapplicable dependency modes. For instance
5783 # both Tru64's cc and ICC support -MD to output dependencies as a
5784 # side effect of compilation, but ICC will put the dependencies in
5785 # the current directory while Tru64 will put them in the object
5789 am_cv_CXX_dependencies_compiler_type=none
5790 if test "$am_compiler_list" = ""; then
5791 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5793 for depmode in $am_compiler_list; do
5794 # Setup a source with many dependencies, because some compilers
5795 # like to wrap large dependency lists on column 80 (with \), and
5796 # we should not choose a depcomp mode which is confused by this.
5798 # We need to recreate these files for each test, as the compiler may
5799 # overwrite some of them when testing with obscure command lines.
5800 # This happens at least with the AIX C compiler.
5802 for i in 1 2 3 4 5 6; do
5803 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5806 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5810 # after this tag, mechanisms are not by side-effect, so they'll
5811 # only be used when explicitly requested
5812 if test "x$enable_dependency_tracking" = xyes; then
5820 # We check with `-c' and `-o' for the sake of the
"dashmstdout"
5821 # mode. It turns out that the SunPro C++ compiler does not properly
5822 # handle `-M -o', and we need to detect this.
5823 if depmode
=$depmode \
5824 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5825 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5826 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5827 >/dev
/null
2>conftest.err
&&
5828 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5829 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5830 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5831 # icc doesn't choke on unknown options, it will just issue warnings
5832 # (even with -Werror). So we grep stderr for any message
5833 # that says an option was ignored.
5834 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
5835 am_cv_CXX_dependencies_compiler_type
=$depmode
5844 am_cv_CXX_dependencies_compiler_type
=none
5848 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5849 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5850 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5855 test "x$enable_dependency_tracking" != xno \
5856 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5857 am__fastdepCXX_TRUE
=
5858 am__fastdepCXX_FALSE
='#'
5860 am__fastdepCXX_TRUE
='#'
5861 am__fastdepCXX_FALSE
=
5867 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5868 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5869 (test "X$CXX" != "Xg++"))) ; then
5871 ac_cpp
='$CXXCPP $CPPFLAGS'
5872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5875 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5876 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5877 if test -z "$CXXCPP"; then
5878 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5879 $as_echo_n "(cached) " >&6
5881 # Double quotes because CXXCPP needs to be expanded
5882 for CXXCPP
in "$CXX -E" "/lib/cpp"
5885 for ac_cxx_preproc_warn_flag
in '' yes
5887 # Use a header file that comes with gcc, so configuring glibc
5888 # with a fresh cross-compiler works.
5889 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5890 # <limits.h> exists even on freestanding compilers.
5891 # On the NeXT, cc -E runs the code through the compiler's parser,
5892 # not just through cpp. "Syntax error" is here to catch this case.
5893 cat >conftest.
$ac_ext <<_ACEOF
5896 cat confdefs.h
>>conftest.
$ac_ext
5897 cat >>conftest.
$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5900 # include <limits.h>
5902 # include <assert.h>
5906 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5909 *) ac_try_echo=$ac_try;;
5911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5912 $as_echo "$ac_try_echo") >&5
5913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5915 grep -v '^ *+' conftest.er1 >conftest.err
5917 cat conftest.err >&5
5918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } >/dev/null && {
5920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921 test ! -s conftest.err
5925 $as_echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 # Broken: fails on valid input.
5932 rm -f conftest.err conftest.$ac_ext
5934 # OK, works on sane cases. Now check whether nonexistent headers
5935 # can be detected and how.
5936 cat >conftest.$ac_ext <<_ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 #include <ac_nonexistent.h>
5944 if { (ac_try="$ac_cpp conftest.$ac_ext"
5946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5947 *) ac_try_echo
=$ac_try;;
5949 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5950 $as_echo "$ac_try_echo") >&5
5951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5953 grep -v '^ *+' conftest.er1
>conftest.err
5955 cat conftest.err
>&5
5956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); } >/dev
/null
&& {
5958 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5959 test ! -s conftest.err
5961 # Broken: success on invalid input.
5964 $as_echo "$as_me: failed program was:" >&5
5965 sed 's/^/| /' conftest.
$ac_ext >&5
5967 # Passes both tests.
5972 rm -f conftest.err conftest.
$ac_ext
5975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5976 rm -f conftest.err conftest.
$ac_ext
5977 if $ac_preproc_ok; then
5982 ac_cv_prog_CXXCPP
=$CXXCPP
5985 CXXCPP
=$ac_cv_prog_CXXCPP
5987 ac_cv_prog_CXXCPP
=$CXXCPP
5989 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
5990 $as_echo "$CXXCPP" >&6; }
5992 for ac_cxx_preproc_warn_flag
in '' yes
5994 # Use a header file that comes with gcc, so configuring glibc
5995 # with a fresh cross-compiler works.
5996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5997 # <limits.h> exists even on freestanding compilers.
5998 # On the NeXT, cc -E runs the code through the compiler's parser,
5999 # not just through cpp. "Syntax error" is here to catch this case.
6000 cat >conftest.
$ac_ext <<_ACEOF
6003 cat confdefs.h
>>conftest.
$ac_ext
6004 cat >>conftest.
$ac_ext <<_ACEOF
6005 /* end confdefs.h. */
6007 # include <limits.h>
6009 # include <assert.h>
6013 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6019 $as_echo "$ac_try_echo") >&5
6020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6022 grep -v '^ *+' conftest.er1 >conftest.err
6024 cat conftest.err >&5
6025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } >/dev/null && {
6027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6028 test ! -s conftest.err
6032 $as_echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.$ac_ext >&5
6035 # Broken: fails on valid input.
6039 rm -f conftest.err conftest.$ac_ext
6041 # OK, works on sane cases. Now check whether nonexistent headers
6042 # can be detected and how.
6043 cat >conftest.$ac_ext <<_ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 #include <ac_nonexistent.h>
6051 if { (ac_try="$ac_cpp conftest.$ac_ext"
6053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6054 *) ac_try_echo
=$ac_try;;
6056 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } >/dev
/null
&& {
6065 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6066 test ! -s conftest.err
6068 # Broken: success on invalid input.
6071 $as_echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 # Passes both tests.
6079 rm -f conftest.err conftest.
$ac_ext
6082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6083 rm -f conftest.err conftest.
$ac_ext
6084 if $ac_preproc_ok; then
6087 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6089 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6090 See \`config.log' for more details." >&5
6091 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6092 See \`config.log' for more details." >&2;}
6093 { (exit 1); exit 1; }; }; }
6097 ac_cpp
='$CXXCPP $CPPFLAGS'
6098 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6099 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6100 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6106 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6107 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6108 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6109 if test -n "$ac_tool_prefix"; then
6110 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
6112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6113 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_F77+set}" = set; then
6117 $as_echo_n "(cached) " >&6
6119 if test -n "$F77"; then
6120 ac_cv_prog_F77
="$F77" # Let the user override the test.
6122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6126 test -z "$as_dir" && as_dir
=.
6127 for ac_exec_ext
in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6140 if test -n "$F77"; then
6141 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6142 $as_echo "$F77" >&6; }
6144 { $as_echo "$as_me:$LINENO: result: no" >&5
6145 $as_echo "no" >&6; }
6149 test -n "$F77" && break
6152 if test -z "$F77"; then
6154 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
6156 # Extract the first word of "$ac_prog", so it can be a program name with args.
6157 set dummy
$ac_prog; ac_word
=$2
6158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6159 $as_echo_n "checking for $ac_word... " >&6; }
6160 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6161 $as_echo_n "(cached) " >&6
6163 if test -n "$ac_ct_F77"; then
6164 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir
=.
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_ac_ct_F77
="$ac_prog"
6174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6184 if test -n "$ac_ct_F77"; then
6185 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6186 $as_echo "$ac_ct_F77" >&6; }
6188 { $as_echo "$as_me:$LINENO: result: no" >&5
6189 $as_echo "no" >&6; }
6193 test -n "$ac_ct_F77" && break
6196 if test "x$ac_ct_F77" = x
; then
6199 case $cross_compiling:$ac_tool_warned in
6201 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6203 ac_tool_warned
=yes ;;
6210 # Provide some information about the compiler.
6211 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6214 { (ac_try
="$ac_compiler --version >&5"
6216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6217 *) ac_try_echo=$ac_try;;
6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220 $as_echo "$ac_try_echo") >&5
6221 (eval "$ac_compiler --version >&5") 2>&5
6223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }
6225 { (ac_try="$ac_compiler -v >&5"
6227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6228 *) ac_try_echo
=$ac_try;;
6230 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6231 $as_echo "$ac_try_echo") >&5
6232 (eval "$ac_compiler -v >&5") 2>&5
6234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); }
6236 { (ac_try
="$ac_compiler -V >&5"
6238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6239 *) ac_try_echo=$ac_try;;
6241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6242 $as_echo "$ac_try_echo") >&5
6243 (eval "$ac_compiler -V >&5") 2>&5
6245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); }
6249 # If we don't use `.F
' as extension, the preprocessor is not run on the
6250 # input file. (Note that this only needs to work for GNU compilers.)
6253 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6254 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6255 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6256 $as_echo_n "(cached) " >&6
6258 cat >conftest.$ac_ext <<_ACEOF
6266 rm -f conftest.$ac_objext
6267 if { (ac_try="$ac_compile"
6269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6270 *) ac_try_echo=$ac_try;;
6272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6273 $as_echo "$ac_try_echo") >&5
6274 (eval "$ac_compile") 2>conftest.er1
6276 grep -v '^
*+' conftest.er1 >conftest.err
6278 cat conftest.err >&5
6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } && {
6281 test -z "$ac_f77_werror_flag" ||
6282 test ! -s conftest.err
6283 } && test -s conftest.$ac_objext; then
6286 $as_echo "$as_me: failed program was:" >&5
6287 sed 's
/^
/|
/' conftest.$ac_ext >&5
6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6293 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6296 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6297 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6299 ac_test_FFLAGS=${FFLAGS+set}
6300 ac_save_FFLAGS=$FFLAGS
6302 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6303 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6304 if test "${ac_cv_prog_f77_g+set}" = set; then
6305 $as_echo_n "(cached) " >&6
6308 cat >conftest.$ac_ext <<_ACEOF
6313 rm -f conftest.$ac_objext
6314 if { (ac_try="$ac_compile"
6316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6317 *) ac_try_echo=$ac_try;;
6319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6320 $as_echo "$ac_try_echo") >&5
6321 (eval "$ac_compile") 2>conftest.er1
6323 grep -v '^
*+' conftest.er1 >conftest.err
6325 cat conftest.err >&5
6326 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); } && {
6328 test -z "$ac_f77_werror_flag" ||
6329 test ! -s conftest.err
6330 } && test -s conftest.$ac_objext; then
6331 ac_cv_prog_f77_g=yes
6333 $as_echo "$as_me: failed program was:" >&5
6334 sed 's
/^
/|
/' conftest.$ac_ext >&5
6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6343 $as_echo "$ac_cv_prog_f77_g" >&6; }
6344 if test "$ac_test_FFLAGS" = set; then
6345 FFLAGS=$ac_save_FFLAGS
6346 elif test $ac_cv_prog_f77_g = yes; then
6347 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6353 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6360 if test $ac_compiler_gnu = yes; then
6366 ac_cpp='$CPP $CPPFLAGS'
6367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6368 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6373 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6374 # find the maximum length of command line arguments
6375 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6376 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6377 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6378 $as_echo_n "(cached) " >&6
6385 # On DJGPP, this test can blow up pretty badly due to problems in libc
6386 # (any single argument exceeding 2000 bytes causes a buffer overrun
6387 # during glob expansion). Even if it were fixed, the result of this
6388 # check would be larger than it should be.
6389 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6393 # Under GNU Hurd, this test is not required because there is
6394 # no limit to the length of command line arguments.
6395 # Libtool will interpret -1 as no limit whatsoever
6396 lt_cv_sys_max_cmd_len
=-1;
6400 # On Win9x/ME, this test blows up -- it succeeds, but takes
6401 # about 5 minutes as the teststring grows exponentially.
6402 # Worse, since 9x/ME are not pre-emptively multitasking,
6403 # you end up with a "frozen" computer, even though with patience
6404 # the test eventually succeeds (with a max line length of 256k).
6405 # Instead, let's just punt: use the minimum linelength reported by
6406 # all of the supported platforms: 8192 (on NT/2K/XP).
6407 lt_cv_sys_max_cmd_len
=8192;
6411 # On AmigaOS with pdksh, this test takes hours, literally.
6412 # So we just punt and use a minimum line length of 8192.
6413 lt_cv_sys_max_cmd_len
=8192;
6416 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6417 # This has been around since 386BSD, at least. Likely further.
6418 if test -x /sbin
/sysctl
; then
6419 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6420 elif test -x /usr
/sbin
/sysctl
; then
6421 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6423 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6425 # And add a safety zone
6426 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6427 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6431 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6432 lt_cv_sys_max_cmd_len
=196608
6436 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6437 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6438 # nice to cause kernel panics so lets avoid the loop below.
6439 # First set a reasonable default.
6440 lt_cv_sys_max_cmd_len
=16384
6442 if test -x /sbin
/sysconfig
; then
6443 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6444 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6449 lt_cv_sys_max_cmd_len
=102400
6451 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6452 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6453 if test -n "$kargmax"; then
6454 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6456 lt_cv_sys_max_cmd_len
=32768
6460 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6461 if test -n "$lt_cv_sys_max_cmd_len"; then
6462 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6463 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6465 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6466 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6467 = "XX$teststring") >/dev
/null
2>&1 &&
6468 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6469 lt_cv_sys_max_cmd_len
=$new_result &&
6470 test $i != 17 # 1/2 MB should be enough
6473 teststring
=$teststring$teststring
6476 # Add a significant safety factor because C++ compilers can tack on massive
6477 # amounts of additional arguments before passing them to the linker.
6478 # It appears as though 1/2 is a usable value.
6479 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6486 if test -n $lt_cv_sys_max_cmd_len ; then
6487 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6488 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6490 { $as_echo "$as_me:$LINENO: result: none" >&5
6491 $as_echo "none" >&6; }
6498 # Check for command to grab the raw symbol name followed by C symbol from nm.
6499 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6500 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6501 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6502 $as_echo_n "(cached) " >&6
6505 # These are sane defaults that work on at least a few old systems.
6506 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6508 # Character class describing NM global symbol codes.
6509 symcode
='[BCDEGRST]'
6511 # Regexp to match symbols that can be accessed directly from C.
6512 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6514 # Transform an extracted symbol line into a proper C declaration
6515 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6517 # Transform an extracted symbol line into symbol name and symbol address
6518 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'"
6520 # Define system-specific variables.
6525 cygwin
* | mingw
* | pw32
*)
6526 symcode
='[ABCDGISTW]'
6528 hpux
*) # Its linker distinguishes data from code symbols
6529 if test "$host_cpu" = ia64
; then
6530 symcode
='[ABCDEGRST]'
6532 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6533 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'"
6535 linux
* | k
*bsd
*-gnu)
6536 if test "$host_cpu" = ia64
; then
6537 symcode
='[ABCDGIRSTW]'
6538 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6539 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'"
6543 symcode
='[BCDEGRST]'
6546 symcode
='[BCDEGQRST]'
6557 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6565 # Handle CRLF in mingw tool chain
6569 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6573 # If we're using GNU nm, then use its standard symbol codes.
6574 case `$NM -V 2>&1` in
6575 *GNU
* |
*'with BFD'*)
6576 symcode
='[ABCDGIRSTW]' ;;
6579 # Try without a prefix undercore, then with it.
6580 for ac_symprfx
in "" "_"; do
6582 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6583 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6585 # Write the raw and C identifiers.
6586 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6588 # Check to see that the pipe works correctly.
6592 cat > conftest.
$ac_ext <<EOF
6597 void nm_test_func(){}
6601 int main(){nm_test_var='a';nm_test_func();return(0);}
6604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6605 (eval $ac_compile) 2>&5
6607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); }; then
6609 # Now try to grab the symbols.
6611 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6612 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } && test -s "$nlist"; then
6616 # Try sorting and uniquifying the output.
6617 if sort "$nlist" |
uniq > "$nlist"T
; then
6618 mv -f "$nlist"T
"$nlist"
6623 # Make sure that we snagged all the symbols we need.
6624 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6625 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6626 cat <<EOF > conftest.$ac_ext
6632 # Now generate the symbol file.
6633 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6635 cat <<EOF >> conftest.$ac_ext
6636 #if defined (__STDC__) && __STDC__
6637 # define lt_ptr_t void *
6639 # define lt_ptr_t char *
6643 /* The mapping between symbol names and symbols. */
6648 lt_preloaded_symbols[] =
6651 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6652 cat <<\EOF
>> conftest.
$ac_ext
6660 # Now try linking the two files.
6661 mv conftest.
$ac_objext conftstm.
$ac_objext
6662 lt_save_LIBS
="$LIBS"
6663 lt_save_CFLAGS
="$CFLAGS"
6664 LIBS
="conftstm.$ac_objext"
6665 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6667 (eval $ac_link) 2>&5
6669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6673 LIBS
="$lt_save_LIBS"
6674 CFLAGS
="$lt_save_CFLAGS"
6676 echo "cannot find nm_test_func in $nlist" >&5
6679 echo "cannot find nm_test_var in $nlist" >&5
6682 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6685 echo "$progname: failed program was:" >&5
6686 cat conftest.
$ac_ext >&5
6688 rm -rf conftest
* conftst
*
6690 # Do not use the global_symbol_pipe unless it works.
6691 if test "$pipe_works" = yes; then
6694 lt_cv_sys_global_symbol_pipe
=
6700 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6701 lt_cv_sys_global_symbol_to_cdecl
=
6703 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6704 { $as_echo "$as_me:$LINENO: result: failed" >&5
6705 $as_echo "failed" >&6; }
6707 { $as_echo "$as_me:$LINENO: result: ok" >&5
6708 $as_echo "ok" >&6; }
6711 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6712 $as_echo_n "checking for objdir... " >&6; }
6713 if test "${lt_cv_objdir+set}" = set; then
6714 $as_echo_n "(cached) " >&6
6716 rm -f .libs
2>/dev
/null
6717 mkdir .libs
2>/dev
/null
6718 if test -d .libs
; then
6721 # MS-DOS does not allow filenames that begin with a dot.
6724 rmdir .libs
2>/dev
/null
6726 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6727 $as_echo "$lt_cv_objdir" >&6; }
6728 objdir
=$lt_cv_objdir
6736 # AIX sometimes has problems with the GCC collect2 program. For some
6737 # reason, if we set the COLLECT_NAMES environment variable, the problems
6738 # vanish in a puff of smoke.
6739 if test "X${COLLECT_NAMES+set}" != Xset
; then
6741 export COLLECT_NAMES
6746 # Sed substitution that helps us do robust quoting. It backslashifies
6747 # metacharacters that are still active within double-quoted strings.
6748 Xsed
='sed -e 1s/^X//'
6749 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6751 # Same as above, but do not quote variable references.
6752 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6754 # Sed substitution to delay expansion of an escaped shell variable in a
6755 # double_quote_subst'ed string.
6756 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6758 # Sed substitution to avoid accidental globbing in evaled expressions
6759 no_glob_subst
='s/\*/\\\*/g'
6765 default_ofile
=libtool
6766 can_build_shared
=yes
6768 # All known linkers require a `.a' archive for static linking (except MSVC,
6769 # which needs '.lib').
6771 ltmain
="$ac_aux_dir/ltmain.sh"
6772 ofile
="$default_ofile"
6773 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6775 if test -n "$ac_tool_prefix"; then
6776 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6777 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6778 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6779 $as_echo_n "checking for $ac_word... " >&6; }
6780 if test "${ac_cv_prog_AR+set}" = set; then
6781 $as_echo_n "(cached) " >&6
6783 if test -n "$AR"; then
6784 ac_cv_prog_AR
="$AR" # Let the user override the test.
6786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6790 test -z "$as_dir" && as_dir
=.
6791 for ac_exec_ext
in '' $ac_executable_extensions; do
6792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6793 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6794 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6804 if test -n "$AR"; then
6805 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6806 $as_echo "$AR" >&6; }
6808 { $as_echo "$as_me:$LINENO: result: no" >&5
6809 $as_echo "no" >&6; }
6814 if test -z "$ac_cv_prog_AR"; then
6816 # Extract the first word of "ar", so it can be a program name with args.
6817 set dummy
ar; ac_word
=$2
6818 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6819 $as_echo_n "checking for $ac_word... " >&6; }
6820 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6821 $as_echo_n "(cached) " >&6
6823 if test -n "$ac_ct_AR"; then
6824 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6830 test -z "$as_dir" && as_dir
=.
6831 for ac_exec_ext
in '' $ac_executable_extensions; do
6832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6833 ac_cv_prog_ac_ct_AR
="ar"
6834 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6843 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6844 if test -n "$ac_ct_AR"; then
6845 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6846 $as_echo "$ac_ct_AR" >&6; }
6848 { $as_echo "$as_me:$LINENO: result: no" >&5
6849 $as_echo "no" >&6; }
6852 if test "x$ac_ct_AR" = x
; then
6855 case $cross_compiling:$ac_tool_warned in
6857 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6859 ac_tool_warned
=yes ;;
6867 if test -n "$ac_tool_prefix"; then
6868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6869 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if test "${ac_cv_prog_RANLIB+set}" = set; then
6873 $as_echo_n "(cached) " >&6
6875 if test -n "$RANLIB"; then
6876 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6882 test -z "$as_dir" && as_dir
=.
6883 for ac_exec_ext
in '' $ac_executable_extensions; do
6884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6885 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6886 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6895 RANLIB
=$ac_cv_prog_RANLIB
6896 if test -n "$RANLIB"; then
6897 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6898 $as_echo "$RANLIB" >&6; }
6900 { $as_echo "$as_me:$LINENO: result: no" >&5
6901 $as_echo "no" >&6; }
6906 if test -z "$ac_cv_prog_RANLIB"; then
6907 ac_ct_RANLIB
=$RANLIB
6908 # Extract the first word of "ranlib", so it can be a program name with args.
6909 set dummy ranlib
; ac_word
=$2
6910 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6911 $as_echo_n "checking for $ac_word... " >&6; }
6912 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6913 $as_echo_n "(cached) " >&6
6915 if test -n "$ac_ct_RANLIB"; then
6916 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6922 test -z "$as_dir" && as_dir
=.
6923 for ac_exec_ext
in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6926 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6935 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6936 if test -n "$ac_ct_RANLIB"; then
6937 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6938 $as_echo "$ac_ct_RANLIB" >&6; }
6940 { $as_echo "$as_me:$LINENO: result: no" >&5
6941 $as_echo "no" >&6; }
6944 if test "x$ac_ct_RANLIB" = x
; then
6947 case $cross_compiling:$ac_tool_warned in
6949 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6951 ac_tool_warned
=yes ;;
6953 RANLIB
=$ac_ct_RANLIB
6956 RANLIB
="$ac_cv_prog_RANLIB"
6959 if test -n "$ac_tool_prefix"; then
6960 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6961 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6962 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6963 $as_echo_n "checking for $ac_word... " >&6; }
6964 if test "${ac_cv_prog_STRIP+set}" = set; then
6965 $as_echo_n "(cached) " >&6
6967 if test -n "$STRIP"; then
6968 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6974 test -z "$as_dir" && as_dir
=.
6975 for ac_exec_ext
in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6978 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6987 STRIP
=$ac_cv_prog_STRIP
6988 if test -n "$STRIP"; then
6989 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6990 $as_echo "$STRIP" >&6; }
6992 { $as_echo "$as_me:$LINENO: result: no" >&5
6993 $as_echo "no" >&6; }
6998 if test -z "$ac_cv_prog_STRIP"; then
7000 # Extract the first word of "strip", so it can be a program name with args.
7001 set dummy strip
; ac_word
=$2
7002 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7003 $as_echo_n "checking for $ac_word... " >&6; }
7004 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7005 $as_echo_n "(cached) " >&6
7007 if test -n "$ac_ct_STRIP"; then
7008 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir
=.
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_prog_ac_ct_STRIP
="strip"
7018 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7027 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7028 if test -n "$ac_ct_STRIP"; then
7029 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7030 $as_echo "$ac_ct_STRIP" >&6; }
7032 { $as_echo "$as_me:$LINENO: result: no" >&5
7033 $as_echo "no" >&6; }
7036 if test "x$ac_ct_STRIP" = x
; then
7039 case $cross_compiling:$ac_tool_warned in
7041 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7043 ac_tool_warned
=yes ;;
7048 STRIP
="$ac_cv_prog_STRIP"
7053 old_CFLAGS
="$CFLAGS"
7055 # Set sane defaults for various variables
7056 test -z "$AR" && AR
=ar
7057 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7058 test -z "$AS" && AS
=as
7059 test -z "$CC" && CC
=cc
7060 test -z "$LTCC" && LTCC
=$CC
7061 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7062 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7063 test -z "$LD" && LD
=ld
7064 test -z "$LN_S" && LN_S
="ln -s"
7065 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7066 test -z "$NM" && NM
=nm
7067 test -z "$SED" && SED
=sed
7068 test -z "$OBJDUMP" && OBJDUMP
=objdump
7069 test -z "$RANLIB" && RANLIB
=:
7070 test -z "$STRIP" && STRIP
=:
7071 test -z "$ac_objext" && ac_objext
=o
7073 # Determine commands to create old-style static archives.
7074 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7075 old_postinstall_cmds
='chmod 644 $oldlib'
7076 old_postuninstall_cmds
=
7078 if test -n "$RANLIB"; then
7081 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7084 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7087 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7090 for cc_temp
in $compiler""; do
7092 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7093 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7098 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7101 # Only perform the check for file, if the check method requires it
7102 case $deplibs_check_method in
7104 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7105 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7106 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7107 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7108 $as_echo_n "(cached) " >&6
7112 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7115 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7116 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7117 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7118 for ac_dir
in $ac_dummy; do
7120 test -z "$ac_dir" && ac_dir
=.
7121 if test -f $ac_dir/${ac_tool_prefix}file; then
7122 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7123 if test -n "$file_magic_test_file"; then
7124 case $deplibs_check_method in
7126 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7127 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7128 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7129 $EGREP "$file_magic_regex" > /dev
/null
; then
7134 *** Warning: the command libtool uses to detect shared libraries,
7135 *** $file_magic_cmd, produces output that libtool cannot recognize.
7136 *** The result is that libtool may fail to recognize shared libraries
7137 *** as such. This will affect the creation of libtool libraries that
7138 *** depend on shared libraries, but programs linked with such libtool
7139 *** libraries will work regardless of this problem. Nevertheless, you
7140 *** may want to report the problem to your system manager and/or to
7141 *** bug-libtool@gnu.org
7151 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7156 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7157 if test -n "$MAGIC_CMD"; then
7158 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7159 $as_echo "$MAGIC_CMD" >&6; }
7161 { $as_echo "$as_me:$LINENO: result: no" >&5
7162 $as_echo "no" >&6; }
7165 if test -z "$lt_cv_path_MAGIC_CMD"; then
7166 if test -n "$ac_tool_prefix"; then
7167 { $as_echo "$as_me:$LINENO: checking for file" >&5
7168 $as_echo_n "checking for file... " >&6; }
7169 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7170 $as_echo_n "(cached) " >&6
7174 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7177 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7178 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7179 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7180 for ac_dir
in $ac_dummy; do
7182 test -z "$ac_dir" && ac_dir
=.
7183 if test -f $ac_dir/file; then
7184 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7185 if test -n "$file_magic_test_file"; then
7186 case $deplibs_check_method in
7188 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7190 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7191 $EGREP "$file_magic_regex" > /dev
/null
; then
7196 *** Warning: the command libtool uses to detect shared libraries,
7197 *** $file_magic_cmd, produces output that libtool cannot recognize.
7198 *** The result is that libtool may fail to recognize shared libraries
7199 *** as such. This will affect the creation of libtool libraries that
7200 *** depend on shared libraries, but programs linked with such libtool
7201 *** libraries will work regardless of this problem. Nevertheless, you
7202 *** may want to report the problem to your system manager and/or to
7203 *** bug-libtool@gnu.org
7213 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7218 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7219 if test -n "$MAGIC_CMD"; then
7220 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7221 $as_echo "$MAGIC_CMD" >&6; }
7223 { $as_echo "$as_me:$LINENO: result: no" >&5
7224 $as_echo "no" >&6; }
7238 rhapsody
* | darwin
*)
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$DSYMUTIL"; then
7248 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir
=.
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7258 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7272 { $as_echo "$as_me:$LINENO: result: no" >&5
7273 $as_echo "no" >&6; }
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279 ac_ct_DSYMUTIL
=$DSYMUTIL
7280 # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil
; ac_word
=$2
7282 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7285 $as_echo_n "(cached) " >&6
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7294 test -z "$as_dir" && as_dir
=.
7295 for ac_exec_ext
in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7312 { $as_echo "$as_me:$LINENO: result: no" >&5
7313 $as_echo "no" >&6; }
7316 if test "x$ac_ct_DSYMUTIL" = x
; then
7319 case $cross_compiling:$ac_tool_warned in
7321 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned
=yes ;;
7325 DSYMUTIL
=$ac_ct_DSYMUTIL
7328 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7337 $as_echo_n "(cached) " >&6
7339 if test -n "$NMEDIT"; then
7340 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7346 test -z "$as_dir" && as_dir
=.
7347 for ac_exec_ext
in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7350 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7359 NMEDIT
=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7364 { $as_echo "$as_me:$LINENO: result: no" >&5
7365 $as_echo "no" >&6; }
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371 ac_ct_NMEDIT
=$NMEDIT
7372 # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit
; ac_word
=$2
7374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7377 $as_echo_n "(cached) " >&6
7379 if test -n "$ac_ct_NMEDIT"; then
7380 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7382 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7386 test -z "$as_dir" && as_dir
=.
7387 for ac_exec_ext
in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7404 { $as_echo "$as_me:$LINENO: result: no" >&5
7405 $as_echo "no" >&6; }
7408 if test "x$ac_ct_NMEDIT" = x
; then
7411 case $cross_compiling:$ac_tool_warned in
7413 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned
=yes ;;
7417 NMEDIT
=$ac_ct_NMEDIT
7420 NMEDIT
="$ac_cv_prog_NMEDIT"
7424 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7425 $as_echo_n "checking for -single_module linker flag... " >&6; }
7426 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7427 $as_echo_n "(cached) " >&6
7429 lt_cv_apple_cc_single_mod
=no
7430 if test -z "${LT_MULTI_MODULE}"; then
7431 # By default we will add the -single_module flag. You can override
7432 # by either setting the environment variable LT_MULTI_MODULE
7433 # non-empty at configure time, or by adding -multi_module to the
7435 echo "int foo(void){return 1;}" > conftest.c
7436 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7437 -dynamiclib ${wl}-single_module conftest.c
7438 if test -f libconftest.dylib
; then
7439 lt_cv_apple_cc_single_mod
=yes
7440 rm -rf libconftest.dylib
*
7445 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7446 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7447 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7448 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7449 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7450 $as_echo_n "(cached) " >&6
7452 lt_cv_ld_exported_symbols_list
=no
7453 save_LDFLAGS
=$LDFLAGS
7454 echo "_main" > conftest.sym
7455 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7456 cat >conftest.
$ac_ext <<_ACEOF
7459 cat confdefs.h
>>conftest.
$ac_ext
7460 cat >>conftest.
$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7471 rm -f conftest.
$ac_objext conftest
$ac_exeext
7472 if { (ac_try
="$ac_link"
7474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7475 *) ac_try_echo=$ac_try;;
7477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7478 $as_echo "$ac_try_echo") >&5
7479 (eval "$ac_link") 2>conftest.er1
7481 grep -v '^ *+' conftest.er1 >conftest.err
7483 cat conftest.err >&5
7484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } && {
7486 test -z "$ac_c_werror_flag" ||
7487 test ! -s conftest.err
7488 } && test -s conftest$ac_exeext && {
7489 test "$cross_compiling" = yes ||
7490 $as_test_x conftest$ac_exeext
7492 lt_cv_ld_exported_symbols_list=yes
7494 $as_echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7497 lt_cv_ld_exported_symbols_list=no
7500 rm -rf conftest.dSYM
7501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7502 conftest$ac_exeext conftest.$ac_ext
7503 LDFLAGS="$save_LDFLAGS"
7506 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7507 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7509 rhapsody* | darwin1.[0123])
7510 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7512 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7514 # if running on 10.5 or later, the deployment target defaults
7515 # to the OS version, if on x86, and 10.4, the deployment
7516 # target defaults to 10.4. Don't you love it?
7517 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7518 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7519 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7521 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7523 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7527 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7528 _lt_dar_single_mod='$single_module'
7530 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7531 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7533 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7535 if test "$DSYMUTIL" != ":"; then
7536 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7547 # Check whether --enable-libtool-lock was given.
7548 if test "${enable_libtool_lock+set}" = set; then
7549 enableval=$enable_libtool_lock;
7552 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7555 # Check whether --with-pic was given.
7556 if test "${with_pic+set}" = set; then
7557 withval=$with_pic; pic_mode="$withval"
7562 test -z "$pic_mode" && pic_mode=default
7564 # Use C for the default configuration in the libtool script
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7574 # Source file extension for C test sources.
7577 # Object file extension for compiled C test sources.
7581 # Code to be used in simple compile tests
7582 lt_simple_compile_test_code="int some_variable = 0;"
7584 # Code to be used in simple link tests
7585 lt_simple_link_test_code='int main(){return(0);}'
7588 # If no C compiler was specified, use CC.
7591 # If no C compiler flags were specified, use CFLAGS.
7592 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7594 # Allow CC to be a program name with arguments.
7598 # save warnings/boilerplate of simple test code
7599 ac_outfile=conftest.$ac_objext
7600 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7601 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7602 _lt_compiler_boilerplate=`cat conftest.err
`
7605 ac_outfile=conftest.$ac_objext
7606 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7607 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7608 _lt_linker_boilerplate=`cat conftest.err
`
7613 lt_prog_compiler_no_builtin_flag=
7615 if test "$GCC" = yes; then
7616 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7619 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7620 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7621 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7622 $as_echo_n "(cached) " >&6
7624 lt_cv_prog_compiler_rtti_exceptions=no
7625 ac_outfile=conftest.$ac_objext
7626 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7627 lt_compiler_flag="-fno-rtti -fno-exceptions"
7628 # Insert the option either (1) after the last *FLAGS variable, or
7629 # (2) before a word containing "conftest.", or (3) at the end.
7630 # Note that $ac_compile itself does not contain backslashes and begins
7631 # with a dollar sign (not a hyphen), so the echo should work correctly.
7632 # The option is referenced via a variable to avoid confusing sed.
7633 lt_compile=`echo "$ac_compile" |
$SED \
7634 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7635 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7636 -e 's:$: $lt_compiler_flag:'`
7637 (eval echo "\"\$as_me:7637: $lt_compile\"" >&5)
7638 (eval "$lt_compile" 2>conftest.err)
7640 cat conftest.err >&5
7641 echo "$as_me:7641: \$? = $ac_status" >&5
7642 if (exit $ac_status) && test -s "$ac_outfile"; then
7643 # The compiler can only warn and ignore the option if not recognized
7644 # So say no if there are warnings other than the usual output.
7645 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7647 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7648 lt_cv_prog_compiler_rtti_exceptions=yes
7654 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7655 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7657 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7658 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7665 lt_prog_compiler_wl=
7666 lt_prog_compiler_pic=
7667 lt_prog_compiler_static=
7669 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7670 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7672 if test "$GCC" = yes; then
7673 lt_prog_compiler_wl='-Wl,'
7674 lt_prog_compiler_static='-static'
7678 # All AIX code is PIC.
7679 if test "$host_cpu" = ia64; then
7680 # AIX 5 now supports IA64 processor
7681 lt_prog_compiler_static='-Bstatic'
7686 # FIXME: we need at least 68020 code to build shared libraries, but
7687 # adding the `-m68020' flag to GCC prevents building anything better,
7689 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7692 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7693 # PIC is the default for these OSes.
7696 mingw
* | cygwin
* | pw32
* | os2
*)
7697 # This hack is so that the source file can tell whether it is being
7698 # built for inclusion in a dll (and should export symbols for example).
7699 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7700 # (--disable-auto-import) libraries
7701 lt_prog_compiler_pic
='-DDLL_EXPORT'
7704 darwin
* | rhapsody
*)
7705 # PIC is the default on this platform
7706 # Common symbols not allowed in MH_DYLIB files
7707 lt_prog_compiler_pic
='-fno-common'
7711 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7712 # Instead, we relocate shared libraries at runtime.
7716 # Just because we use GCC doesn't mean we suddenly get shared libraries
7717 # on systems that don't support them.
7718 lt_prog_compiler_can_build_shared
=no
7723 if test -d /usr
/nec
; then
7724 lt_prog_compiler_pic
=-Kconform_pic
7729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7736 lt_prog_compiler_pic
='-fPIC'
7742 lt_prog_compiler_pic
='-fPIC'
7746 # PORTME Check for flag to pass linker flags through the system compiler.
7749 lt_prog_compiler_wl
='-Wl,'
7750 if test "$host_cpu" = ia64
; then
7751 # AIX 5 now supports IA64 processor
7752 lt_prog_compiler_static
='-Bstatic'
7754 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7758 # PIC is the default on this platform
7759 # Common symbols not allowed in MH_DYLIB files
7760 case $cc_basename in
7762 lt_prog_compiler_pic
='-qnocommon'
7763 lt_prog_compiler_wl
='-Wl,'
7768 mingw
* | cygwin
* | pw32
* | os2
*)
7769 # This hack is so that the source file can tell whether it is being
7770 # built for inclusion in a dll (and should export symbols for example).
7771 lt_prog_compiler_pic
='-DDLL_EXPORT'
7774 hpux9
* | hpux10
* | hpux11
*)
7775 lt_prog_compiler_wl
='-Wl,'
7776 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7783 lt_prog_compiler_pic
='+Z'
7786 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7787 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7790 irix5
* | irix6
* | nonstopux
*)
7791 lt_prog_compiler_wl
='-Wl,'
7792 # PIC (with -KPIC) is the default.
7793 lt_prog_compiler_static
='-non_shared'
7797 lt_prog_compiler_pic
='-KPIC'
7798 lt_prog_compiler_static
='-Bstatic'
7801 linux
* | k
*bsd
*-gnu)
7802 case $cc_basename in
7804 lt_prog_compiler_wl
='-Wl,'
7805 lt_prog_compiler_pic
='-KPIC'
7806 lt_prog_compiler_static
='-static'
7808 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7809 # Portland Group compilers (*not* the Pentium gcc compiler,
7810 # which looks to be a dead project)
7811 lt_prog_compiler_wl
='-Wl,'
7812 lt_prog_compiler_pic
='-fpic'
7813 lt_prog_compiler_static
='-Bstatic'
7816 lt_prog_compiler_wl
='-Wl,'
7817 # All Alpha code is PIC.
7818 lt_prog_compiler_static
='-non_shared'
7821 case `$CC -V 2>&1 | sed 5q` in
7824 lt_prog_compiler_pic
='-KPIC'
7825 lt_prog_compiler_static
='-Bstatic'
7826 lt_prog_compiler_wl
='-Wl,'
7829 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7830 lt_prog_compiler_pic
='-KPIC'
7831 lt_prog_compiler_static
='-Bstatic'
7832 lt_prog_compiler_wl
=''
7839 osf3
* | osf4
* | osf5
*)
7840 lt_prog_compiler_wl
='-Wl,'
7841 # All OSF/1 code is PIC.
7842 lt_prog_compiler_static
='-non_shared'
7846 lt_prog_compiler_static
='-non_shared'
7850 lt_prog_compiler_pic
='-KPIC'
7851 lt_prog_compiler_static
='-Bstatic'
7852 case $cc_basename in
7854 lt_prog_compiler_wl
='-Qoption ld ';;
7856 lt_prog_compiler_wl
='-Wl,';;
7861 lt_prog_compiler_wl
='-Qoption ld '
7862 lt_prog_compiler_pic
='-PIC'
7863 lt_prog_compiler_static
='-Bstatic'
7866 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7867 lt_prog_compiler_wl
='-Wl,'
7868 lt_prog_compiler_pic
='-KPIC'
7869 lt_prog_compiler_static
='-Bstatic'
7873 if test -d /usr
/nec
;then
7874 lt_prog_compiler_pic
='-Kconform_pic'
7875 lt_prog_compiler_static
='-Bstatic'
7879 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7880 lt_prog_compiler_wl
='-Wl,'
7881 lt_prog_compiler_pic
='-KPIC'
7882 lt_prog_compiler_static
='-Bstatic'
7886 lt_prog_compiler_wl
='-Wl,'
7887 lt_prog_compiler_can_build_shared
=no
7891 lt_prog_compiler_pic
='-pic'
7892 lt_prog_compiler_static
='-Bstatic'
7896 lt_prog_compiler_can_build_shared
=no
7901 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7902 $as_echo "$lt_prog_compiler_pic" >&6; }
7905 # Check to make sure the PIC flag actually works.
7907 if test -n "$lt_prog_compiler_pic"; then
7909 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7912 $as_echo_n "(cached) " >&6
7914 lt_cv_prog_compiler_pic_works
=no
7915 ac_outfile
=conftest.
$ac_objext
7916 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7917 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7918 # Insert the option either (1) after the last *FLAGS variable, or
7919 # (2) before a word containing "conftest.", or (3) at the end.
7920 # Note that $ac_compile itself does not contain backslashes and begins
7921 # with a dollar sign (not a hyphen), so the echo should work correctly.
7922 # The option is referenced via a variable to avoid confusing sed.
7923 lt_compile
=`echo "$ac_compile" | $SED \
7924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7926 -e 's:$: $lt_compiler_flag:'`
7927 (eval echo "\"\$as_me:7927: $lt_compile\"" >&5)
7928 (eval "$lt_compile" 2>conftest.err
)
7930 cat conftest.err
>&5
7931 echo "$as_me:7931: \$? = $ac_status" >&5
7932 if (exit $ac_status) && test -s "$ac_outfile"; then
7933 # The compiler can only warn and ignore the option if not recognized
7934 # So say no if there are warnings other than the usual output.
7935 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7936 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7937 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7938 lt_cv_prog_compiler_pic_works
=yes
7944 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7947 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7948 case $lt_prog_compiler_pic in
7950 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7953 lt_prog_compiler_pic
=
7954 lt_prog_compiler_can_build_shared
=no
7959 # For platforms which do not support PIC, -DPIC is meaningless:
7961 lt_prog_compiler_pic
=
7964 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7969 # Check to make sure the static flag actually works.
7971 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7972 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7973 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7974 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7975 $as_echo_n "(cached) " >&6
7977 lt_cv_prog_compiler_static_works
=no
7978 save_LDFLAGS
="$LDFLAGS"
7979 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7980 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7981 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7982 # The linker can only warn and ignore the option if not recognized
7983 # So say no if there are warnings
7984 if test -s conftest.err
; then
7985 # Append any errors to the config.log.
7986 cat conftest.err
1>&5
7987 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7988 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7989 if diff conftest.exp conftest.er2
>/dev
/null
; then
7990 lt_cv_prog_compiler_static_works
=yes
7993 lt_cv_prog_compiler_static_works
=yes
7997 LDFLAGS
="$save_LDFLAGS"
8000 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8001 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8003 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8006 lt_prog_compiler_static
=
8010 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8012 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8013 $as_echo_n "(cached) " >&6
8015 lt_cv_prog_compiler_c_o
=no
8016 $rm -r conftest
2>/dev
/null
8020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8022 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8023 # Insert the option either (1) after the last *FLAGS variable, or
8024 # (2) before a word containing "conftest.", or (3) at the end.
8025 # Note that $ac_compile itself does not contain backslashes and begins
8026 # with a dollar sign (not a hyphen), so the echo should work correctly.
8027 lt_compile
=`echo "$ac_compile" | $SED \
8028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8030 -e 's:$: $lt_compiler_flag:'`
8031 (eval echo "\"\$as_me:8031: $lt_compile\"" >&5)
8032 (eval "$lt_compile" 2>out
/conftest.err
)
8034 cat out
/conftest.err
>&5
8035 echo "$as_me:8035: \$? = $ac_status" >&5
8036 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8038 # The compiler can only warn and ignore the option if not recognized
8039 # So say no if there are warnings
8040 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8041 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8042 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8043 lt_cv_prog_compiler_c_o
=yes
8048 # SGI C++ compiler will create directory out/ii_files/ for
8049 # template instantiation
8050 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8051 $rm out
/* && rmdir out
8057 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8058 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8061 hard_links
="nottested"
8062 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8063 # do not overwrite the value of need_locks provided by the user
8064 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8065 $as_echo_n "checking if we can lock with hard links... " >&6; }
8068 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8070 ln conftest.a conftest.b
2>&5 || hard_links
=no
8071 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8072 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8073 $as_echo "$hard_links" >&6; }
8074 if test "$hard_links" = no
; then
8075 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8076 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8083 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8084 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8087 allow_undefined_flag
=
8088 enable_shared_with_static_runtimes
=no
8090 archive_expsym_cmds
=
8091 old_archive_From_new_cmds
=
8092 old_archive_from_expsyms_cmds
=
8093 export_dynamic_flag_spec
=
8094 whole_archive_flag_spec
=
8095 thread_safe_flag_spec
=
8096 hardcode_libdir_flag_spec
=
8097 hardcode_libdir_flag_spec_ld
=
8098 hardcode_libdir_separator
=
8101 hardcode_shlibpath_var
=unsupported
8102 link_all_deplibs
=unknown
8103 hardcode_automatic
=no
8106 always_export_symbols
=no
8107 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8108 # include_expsyms should be a list of space-separated symbols to be *always*
8109 # included in the symbol list
8111 # exclude_expsyms can be an extended regexp of symbols to exclude
8112 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8113 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8114 # as well as any symbol that contains `d'.
8115 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8116 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8117 # platforms (ab)use it in PIC code, but their linkers get confused if
8118 # the symbol is explicitly referenced. Since portable code cannot
8119 # rely on this symbol name, it's probably fine to never include it in
8120 # preloaded symbol tables.
8121 # Exclude shared library initialization/finalization symbols.
8122 extract_expsyms_cmds
=
8123 # Just being paranoid about ensuring that cc_basename is set.
8124 for cc_temp
in $compiler""; do
8126 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8127 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8132 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8135 cygwin
* | mingw
* | pw32
*)
8136 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8137 # When not using gcc, we currently assume that we are using
8138 # Microsoft Visual C++.
8139 if test "$GCC" != yes; then
8144 # we just hope/assume this is gcc and not c89 (= MSVC++)
8153 if test "$with_gnu_ld" = yes; then
8154 # If archive_cmds runs LD, not CC, wlarc should be empty
8157 # Set some defaults for GNU ld with shared library support. These
8158 # are reset later if shared libraries are not supported. Putting them
8159 # here allows them to be overridden if necessary.
8160 runpath_var
=LD_RUN_PATH
8161 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8162 export_dynamic_flag_spec
='${wl}--export-dynamic'
8163 # ancient GNU ld didn't support --whole-archive et. al.
8164 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8165 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8167 whole_archive_flag_spec
=
8169 supports_anon_versioning
=no
8170 case `$LD -v 2>/dev/null` in
8171 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8172 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8173 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8174 *\
2.11.
*) ;; # other 2.11 versions
8175 *) supports_anon_versioning
=yes ;;
8178 # See if GNU ld supports shared libraries.
8181 # On AIX/PPC, the GNU linker is very broken
8182 if test "$host_cpu" != ia64
; then
8186 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8187 *** to be unable to reliably create shared libraries on AIX.
8188 *** Therefore, libtool is disabling shared libraries support. If you
8189 *** really care for shared libraries, you may want to modify your PATH
8190 *** so that a non-GNU linker is found, and then restart.
8197 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)'
8198 hardcode_libdir_flag_spec
='-L$libdir'
8199 hardcode_minus_L
=yes
8201 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8202 # that the semantics of dynamic libraries on AmigaOS, at least up
8203 # to version 4, is to share data among multiple programs linked
8204 # with the same dynamic library. Since this doesn't match the
8205 # behavior of shared libraries on other platforms, we can't use
8211 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8212 allow_undefined_flag
=unsupported
8213 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8214 # support --undefined. This deserves some investigation. FIXME
8215 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8221 cygwin
* | mingw
* | pw32
*)
8222 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8223 # as there is no search path for DLLs.
8224 hardcode_libdir_flag_spec
='-L$libdir'
8225 allow_undefined_flag
=unsupported
8226 always_export_symbols
=no
8227 enable_shared_with_static_runtimes
=yes
8228 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8230 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8231 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8232 # If the export-symbols file already is a .def file (1st line
8233 # is EXPORTS), use it as is; otherwise, prepend...
8234 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8235 cp $export_symbols $output_objdir/$soname.def;
8237 echo EXPORTS > $output_objdir/$soname.def;
8238 cat $export_symbols >> $output_objdir/$soname.def;
8240 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8248 hardcode_shlibpath_var
=no
8249 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8250 export_dynamic_flag_spec
='${wl}-E'
8251 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8252 # Instead, shared libraries are loaded at an image base (0x10000000 by
8253 # default) and relocated if they conflict, which is a slow very memory
8254 # consuming and fragmenting process. To avoid this, we pick a random,
8255 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8256 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8257 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8258 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'
8261 gnu
* | linux
* | k
*bsd
*-gnu)
8262 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8264 case $cc_basename,$host_cpu in
8265 pgcc
*) # Portland Group C compiler
8266 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'
8267 tmp_addflag
=' $pic_flag'
8269 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8270 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'
8271 tmp_addflag
=' $pic_flag -Mnomain' ;;
8272 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8273 tmp_addflag
=' -i_dynamic' ;;
8274 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8275 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8276 ifc
* | ifort
*) # Intel Fortran compiler
8277 tmp_addflag
=' -nofor_main' ;;
8279 case `$CC -V 2>&1 | sed 5q` in
8280 *Sun\ C
*) # Sun C 5.9
8281 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
8282 tmp_sharedflag
='-G' ;;
8283 *Sun\ F
*) # Sun Fortran 8.3
8284 tmp_sharedflag
='-G' ;;
8286 tmp_sharedflag
='-shared' ;;
8288 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8290 if test $supports_anon_versioning = yes; then
8291 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8292 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8293 $echo "local: *; };" >> $output_objdir/$libname.ver~
8294 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8302 netbsd
* | netbsdelf
*-gnu)
8303 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8304 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8313 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8317 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8318 *** create shared libraries on Solaris systems. Therefore, libtool
8319 *** is disabling shared libraries support. We urge you to upgrade GNU
8320 *** binutils to release 2.9.1 or newer. Another option is to modify
8321 *** your PATH or compiler configuration so that the native linker is
8322 *** used, and then restart.
8325 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8326 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8327 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8333 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8334 case `$LD -v 2>&1` in
8335 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8339 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8340 *** reliably create shared libraries on SCO systems. Therefore, libtool
8341 *** is disabling shared libraries support. We urge you to upgrade GNU
8342 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8343 *** your PATH or compiler configuration so that the native linker is
8344 *** used, and then restart.
8349 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8350 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8351 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8352 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8361 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8364 hardcode_shlibpath_var
=no
8368 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8369 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8370 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8377 if test "$ld_shlibs" = no
; then
8379 hardcode_libdir_flag_spec
=
8380 export_dynamic_flag_spec
=
8381 whole_archive_flag_spec
=
8384 # PORTME fill in a description of your system's linker (not GNU ld)
8387 allow_undefined_flag
=unsupported
8388 always_export_symbols
=yes
8389 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'
8390 # Note: this linker hardcodes the directories in LIBPATH if there
8391 # are no directories specified by -L.
8392 hardcode_minus_L
=yes
8393 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8394 # Neither direct hardcoding nor static linking is supported with a
8396 hardcode_direct
=unsupported
8401 if test "$host_cpu" = ia64
; then
8402 # On IA64, the linker does run time linking by default, so we don't
8403 # have to do anything special.
8404 aix_use_runtimelinking
=no
8405 exp_sym_flag
='-Bexport'
8408 # If we're using GNU nm, then we don't want the "-C" option.
8409 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8410 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8411 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'
8413 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'
8415 aix_use_runtimelinking
=no
8417 # Test if we are trying to use run time linking or normal
8418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8419 # need to do runtime linking.
8420 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8421 for ld_flag
in $LDFLAGS; do
8422 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8423 aix_use_runtimelinking
=yes
8430 exp_sym_flag
='-bexport'
8431 no_entry_flag
='-bnoentry'
8434 # When large executables or shared objects are built, AIX ld can
8435 # have problems creating the table of contents. If linking a library
8436 # or program results in "error TOC overflow" add -mminimal-toc to
8437 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8438 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8442 hardcode_libdir_separator
=':'
8443 link_all_deplibs
=yes
8445 if test "$GCC" = yes; then
8446 case $host_os in aix4.
[012]|aix4.
[012].
*)
8447 # We only want to do this on AIX 4.2 and lower, the check
8448 # below for broken collect2 doesn't work under 4.3+
8449 collect2name
=`${CC} -print-prog-name=collect2`
8450 if test -f "$collect2name" && \
8451 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8453 # We have reworked collect2
8456 # We have old collect2
8457 hardcode_direct
=unsupported
8458 # It fails to find uninstalled libraries when the uninstalled
8459 # path is not listed in the libpath. Setting hardcode_minus_L
8460 # to unsupported forces relinking
8461 hardcode_minus_L
=yes
8462 hardcode_libdir_flag_spec
='-L$libdir'
8463 hardcode_libdir_separator
=
8467 shared_flag
='-shared'
8468 if test "$aix_use_runtimelinking" = yes; then
8469 shared_flag
="$shared_flag "'${wl}-G'
8473 if test "$host_cpu" = ia64
; then
8474 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8475 # chokes on -Wl,-G. The following line is correct:
8478 if test "$aix_use_runtimelinking" = yes; then
8479 shared_flag
='${wl}-G'
8481 shared_flag
='${wl}-bM:SRE'
8486 # It seems that -bexpall does not export symbols beginning with
8487 # underscore (_), so it is better to generate a list of symbols to export.
8488 always_export_symbols
=yes
8489 if test "$aix_use_runtimelinking" = yes; then
8490 # Warning - without using the other runtime loading flags (-brtl),
8491 # -berok will link without error, but may produce a broken library.
8492 allow_undefined_flag
='-berok'
8493 # Determine the default libpath from the value encoded in an empty executable.
8494 cat >conftest.
$ac_ext <<_ACEOF
8497 cat confdefs.h
>>conftest.
$ac_ext
8498 cat >>conftest.
$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8509 rm -f conftest.
$ac_objext conftest
$ac_exeext
8510 if { (ac_try
="$ac_link"
8512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8513 *) ac_try_echo=$ac_try;;
8515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8516 $as_echo "$ac_try_echo") >&5
8517 (eval "$ac_link") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest$ac_exeext && {
8527 test "$cross_compiling" = yes ||
8528 $as_test_x conftest$ac_exeext
8531 lt_aix_libpath_sed='
8532 /Import File Strings/,/^$/ {
8538 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8539 # Check for a 64-bit object if we didn't find anything.
8540 if test -z "$aix_libpath"; then
8541 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8544 $as_echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8550 rm -rf conftest.dSYM
8551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8552 conftest$ac_exeext conftest.$ac_ext
8553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8556 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"
8558 if test "$host_cpu" = ia64; then
8559 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8560 allow_undefined_flag="-z nodefs"
8561 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"
8563 # Determine the default libpath from the value encoded in an empty executable.
8564 cat >conftest.$ac_ext <<_ACEOF
8567 cat confdefs.h >>conftest.$ac_ext
8568 cat >>conftest.$ac_ext <<_ACEOF
8569 /* end confdefs.h. */
8579 rm -f conftest.$ac_objext conftest$ac_exeext
8580 if { (ac_try="$ac_link"
8582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8583 *) ac_try_echo
=$ac_try;;
8585 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8586 $as_echo "$ac_try_echo") >&5
8587 (eval "$ac_link") 2>conftest.er1
8589 grep -v '^ *+' conftest.er1
>conftest.err
8591 cat conftest.err
>&5
8592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } && {
8594 test -z "$ac_c_werror_flag" ||
8595 test ! -s conftest.err
8596 } && test -s conftest
$ac_exeext && {
8597 test "$cross_compiling" = yes ||
8598 $as_test_x conftest
$ac_exeext
8601 lt_aix_libpath_sed
='
8602 /Import File Strings/,/^$/ {
8608 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8609 # Check for a 64-bit object if we didn't find anything.
8610 if test -z "$aix_libpath"; then
8611 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8614 $as_echo "$as_me: failed program was:" >&5
8615 sed 's/^/| /' conftest.
$ac_ext >&5
8620 rm -rf conftest.dSYM
8621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8622 conftest
$ac_exeext conftest.
$ac_ext
8623 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8625 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8626 # Warning - without using the other run time loading flags,
8627 # -berok will link without error, but may produce a broken library.
8628 no_undefined_flag
=' ${wl}-bernotok'
8629 allow_undefined_flag
=' ${wl}-berok'
8630 # Exported symbols can be pulled into shared objects from archives
8631 whole_archive_flag_spec
='$convenience'
8632 archive_cmds_need_lc
=yes
8633 # This is similar to how AIX traditionally builds its shared libraries.
8634 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'
8640 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)'
8641 hardcode_libdir_flag_spec
='-L$libdir'
8642 hardcode_minus_L
=yes
8643 # see comment about different semantics on the GNU ld section
8648 export_dynamic_flag_spec
=-rdynamic
8651 cygwin
* | mingw
* | pw32
*)
8652 # When not using gcc, we currently assume that we are using
8653 # Microsoft Visual C++.
8654 # hardcode_libdir_flag_spec is actually meaningless, as there is
8655 # no search path for DLLs.
8656 hardcode_libdir_flag_spec
=' '
8657 allow_undefined_flag
=unsupported
8658 # Tell ltmain to make .lib files, not .a files.
8660 # Tell ltmain to make .dll files, not .so files.
8662 # FIXME: Setting linknames here is a bad hack.
8663 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8664 # The linker will automatically build a .lib file if we build a DLL.
8665 old_archive_From_new_cmds
='true'
8666 # FIXME: Should let the user specify the lib program.
8667 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8668 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8669 enable_shared_with_static_runtimes
=yes
8672 darwin
* | rhapsody
*)
8674 rhapsody
* | darwin1.
[012])
8675 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8678 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8679 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8681 case ${MACOSX_DEPLOYMENT_TARGET} in
8683 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8686 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8692 archive_cmds_need_lc
=no
8694 hardcode_automatic
=yes
8695 hardcode_shlibpath_var
=unsupported
8696 whole_archive_flag_spec
=''
8697 link_all_deplibs
=yes
8698 if test "$GCC" = yes ; then
8699 output_verbose_link_cmd
='echo'
8700 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8701 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8702 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8703 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8705 case $cc_basename in
8707 output_verbose_link_cmd
='echo'
8708 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8709 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8710 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8711 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8712 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}'
8722 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8723 hardcode_libdir_flag_spec
='-L$libdir'
8724 hardcode_shlibpath_var
=no
8731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8732 # support. Future versions do this automatically, but an explicit c++rt0.o
8733 # does not break anything, and helps significantly (at the cost of a little
8736 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8737 hardcode_libdir_flag_spec
='-R$libdir'
8739 hardcode_shlibpath_var
=no
8742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8744 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8746 hardcode_minus_L
=yes
8747 hardcode_shlibpath_var
=no
8750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8751 freebsd
* | dragonfly
*)
8752 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8753 hardcode_libdir_flag_spec
='-R$libdir'
8755 hardcode_shlibpath_var
=no
8759 if test "$GCC" = yes; then
8760 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'
8762 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'
8764 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8765 hardcode_libdir_separator
=:
8768 # hardcode_minus_L: Not really in the search PATH,
8769 # but as the default location of the library.
8770 hardcode_minus_L
=yes
8771 export_dynamic_flag_spec
='${wl}-E'
8775 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8776 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8778 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8780 if test "$with_gnu_ld" = no
; then
8781 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8782 hardcode_libdir_separator
=:
8785 export_dynamic_flag_spec
='${wl}-E'
8787 # hardcode_minus_L: Not really in the search PATH,
8788 # but as the default location of the library.
8789 hardcode_minus_L
=yes
8794 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8797 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8800 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8819 if test "$with_gnu_ld" = no
; then
8820 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8821 hardcode_libdir_separator
=:
8825 hardcode_libdir_flag_spec_ld
='+b $libdir'
8827 hardcode_shlibpath_var
=no
8831 export_dynamic_flag_spec
='${wl}-E'
8833 # hardcode_minus_L: Not really in the search PATH,
8834 # but as the default location of the library.
8835 hardcode_minus_L
=yes
8841 irix5
* | irix6
* | nonstopux
*)
8842 if test "$GCC" = yes; then
8843 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'
8845 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'
8846 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8848 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8849 hardcode_libdir_separator
=:
8850 link_all_deplibs
=yes
8853 netbsd
* | netbsdelf
*-gnu)
8854 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8855 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8857 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8859 hardcode_libdir_flag_spec
='-R$libdir'
8861 hardcode_shlibpath_var
=no
8865 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8867 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8868 hardcode_libdir_separator
=:
8869 hardcode_shlibpath_var
=no
8873 if test -f /usr
/libexec
/ld.so
; then
8875 hardcode_shlibpath_var
=no
8876 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8877 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8878 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8879 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8880 export_dynamic_flag_spec
='${wl}-E'
8883 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8884 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8885 hardcode_libdir_flag_spec
='-R$libdir'
8888 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8889 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8899 hardcode_libdir_flag_spec
='-L$libdir'
8900 hardcode_minus_L
=yes
8901 allow_undefined_flag
=unsupported
8902 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'
8903 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8907 if test "$GCC" = yes; then
8908 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8909 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'
8911 allow_undefined_flag
=' -expect_unresolved \*'
8912 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'
8914 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8915 hardcode_libdir_separator
=:
8918 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8919 if test "$GCC" = yes; then
8920 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8921 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'
8922 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8924 allow_undefined_flag
=' -expect_unresolved \*'
8925 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'
8926 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8927 $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'
8929 # Both c and cxx compiler support -rpath directly
8930 hardcode_libdir_flag_spec
='-rpath $libdir'
8932 hardcode_libdir_separator
=:
8936 no_undefined_flag
=' -z text'
8937 if test "$GCC" = yes; then
8939 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8940 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8941 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8944 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8945 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8946 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8948 hardcode_libdir_flag_spec
='-R$libdir'
8949 hardcode_shlibpath_var
=no
8951 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8953 # The compiler driver will combine and reorder linker options,
8954 # but understands `-z linker_flag'. GCC discards it without `$wl',
8955 # but is careful enough not to reorder.
8956 # Supported since Solaris 2.6 (maybe 2.5.1?)
8957 if test "$GCC" = yes; then
8958 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8960 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8964 link_all_deplibs
=yes
8968 if test "x$host_vendor" = xsequent
; then
8969 # Use $CC to link under sequent, because it throws in some extra .o
8970 # files that make .init and .fini sections work.
8971 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8973 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8975 hardcode_libdir_flag_spec
='-L$libdir'
8977 hardcode_minus_L
=yes
8978 hardcode_shlibpath_var
=no
8982 case $host_vendor in
8984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8985 hardcode_direct
=yes # is this really true???
8988 ## LD is ld it makes a PLAMLIB
8989 ## CC just makes a GrossModule.
8990 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8991 reload_cmds
='$CC -r -o $output$reload_objs'
8995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8999 runpath_var
='LD_RUN_PATH'
9000 hardcode_shlibpath_var
=no
9004 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9005 hardcode_shlibpath_var
=no
9006 export_dynamic_flag_spec
='-Bexport'
9010 if test -d /usr
/nec
; then
9011 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9012 hardcode_shlibpath_var
=no
9013 runpath_var
=LD_RUN_PATH
9014 hardcode_runpath_var
=yes
9019 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9020 no_undefined_flag
='${wl}-z,text'
9021 archive_cmds_need_lc
=no
9022 hardcode_shlibpath_var
=no
9023 runpath_var
='LD_RUN_PATH'
9025 if test "$GCC" = yes; then
9026 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9027 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9029 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9030 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9034 sysv5
* | sco3.2v5
* | sco5v6
*)
9035 # Note: We can NOT use -z defs as we might desire, because we do not
9036 # link with -lc, and that would cause any symbols used from libc to
9037 # always be unresolved, which means just about no library would
9038 # ever link correctly. If we're not using GNU ld we use -z text
9039 # though, which does catch some bad symbols but isn't as heavy-handed
9041 no_undefined_flag
='${wl}-z,text'
9042 allow_undefined_flag
='${wl}-z,nodefs'
9043 archive_cmds_need_lc
=no
9044 hardcode_shlibpath_var
=no
9045 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9046 hardcode_libdir_separator
=':'
9047 link_all_deplibs
=yes
9048 export_dynamic_flag_spec
='${wl}-Bexport'
9049 runpath_var
='LD_RUN_PATH'
9051 if test "$GCC" = yes; then
9052 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9053 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9055 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9056 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9061 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9062 hardcode_libdir_flag_spec
='-L$libdir'
9063 hardcode_shlibpath_var
=no
9072 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9073 $as_echo "$ld_shlibs" >&6; }
9074 test "$ld_shlibs" = no
&& can_build_shared
=no
9077 # Do we need to explicitly link libc?
9079 case "x$archive_cmds_need_lc" in
9081 # Assume -lc should be added
9082 archive_cmds_need_lc
=yes
9084 if test "$enable_shared" = yes && test "$GCC" = yes; then
9085 case $archive_cmds in
9087 # FIXME: we may have to deal with multi-command sequences.
9090 # Test whether the compiler implicitly links with -lc since on some
9091 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9092 # to ld, don't add -lc before -lgcc.
9093 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9094 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9096 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9099 (eval $ac_compile) 2>&5
9101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } 2>conftest.err
; then
9105 libobjs
=conftest.
$ac_objext
9107 wl
=$lt_prog_compiler_wl
9108 pic_flag
=$lt_prog_compiler_pic
9114 lt_save_allow_undefined_flag
=$allow_undefined_flag
9115 allow_undefined_flag
=
9116 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9117 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 (exit $ac_status); }
9122 archive_cmds_need_lc
=no
9124 archive_cmds_need_lc
=yes
9126 allow_undefined_flag
=$lt_save_allow_undefined_flag
9128 cat conftest.err
1>&5
9131 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9132 $as_echo "$archive_cmds_need_lc" >&6; }
9139 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9140 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9142 libname_spec
='lib$name'
9150 shlibpath_overrides_runpath
=unknown
9152 dynamic_linker
="$host_os ld.so"
9153 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9155 if test "$GCC" = yes; then
9157 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9158 *) lt_awk_arg
="/^libraries:/" ;;
9160 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9161 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9162 # if the path contains ";" then we assume it to be the separator
9163 # otherwise default to the standard path separator (i.e. ":") - it is
9164 # assumed that no part of a normal pathname contains ";" but that should
9165 # okay in the real world where ";" in dirpaths is itself problematic.
9166 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9168 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9170 # Ok, now we have the path, separated by spaces, we can step through it
9171 # and add multilib dir if necessary.
9172 lt_tmp_lt_search_path_spec
=
9173 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9174 for lt_sys_path
in $lt_search_path_spec; do
9175 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9176 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9178 test -d "$lt_sys_path" && \
9179 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9182 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9183 BEGIN {RS=" "; FS="/|\n";} {
9186 for (lt_i = NF; lt_i > 0; lt_i--) {
9187 if ($lt_i != "" && $lt_i != ".") {
9188 if ($lt_i == "..") {
9191 if (lt_count == 0) {
9192 lt_foo="/" $lt_i lt_foo;
9199 if (lt_foo != "") { lt_freq[lt_foo]++; }
9200 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9202 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9204 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9206 need_lib_prefix
=unknown
9207 hardcode_into_libs
=no
9209 # when you set need_version to no, make sure it does not cause -set_version
9210 # flags to be left without arguments
9211 need_version
=unknown
9216 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9217 shlibpath_var
=LIBPATH
9219 # AIX 3 has no versioning support, so we append a major version to the name.
9220 soname_spec
='${libname}${release}${shared_ext}$major'
9227 hardcode_into_libs
=yes
9228 if test "$host_cpu" = ia64
; then
9229 # AIX 5 supports IA64
9230 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9231 shlibpath_var
=LD_LIBRARY_PATH
9233 # With GCC up to 2.95.x, collect2 would create an import file
9234 # for dependence libraries. The import file would start with
9235 # the line `#! .'. This would cause the generated library to
9236 # depend on `.', always an invalid library. This was fixed in
9237 # development snapshots of GCC prior to 3.0.
9239 aix4 | aix4.
[01] | aix4.
[01].
*)
9240 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9242 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9249 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9250 # soname into executable. Probably we can add versioning support to
9251 # collect2, so additional links can be useful in future.
9252 if test "$aix_use_runtimelinking" = yes; then
9253 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9254 # instead of lib<name>.a to let people know that these are not
9255 # typical AIX shared libraries.
9256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258 # We preserve .a as extension for shared libraries through AIX4.2
9259 # and later when we are not doing run time linking.
9260 library_names_spec
='${libname}${release}.a $libname.a'
9261 soname_spec
='${libname}${release}${shared_ext}$major'
9263 shlibpath_var
=LIBPATH
9268 library_names_spec
='$libname.ixlibrary $libname.a'
9269 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9270 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'
9274 library_names_spec
='${libname}${shared_ext}'
9275 dynamic_linker
="$host_os ld.so"
9276 shlibpath_var
=LIBRARY_PATH
9282 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9283 soname_spec
='${libname}${release}${shared_ext}$major'
9284 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9285 shlibpath_var
=LD_LIBRARY_PATH
9286 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9287 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9288 # the default ld.so.conf also contains /usr/contrib/lib and
9289 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9290 # libtool to hard-code these into programs
9293 cygwin
* | mingw
* | pw32
*)
9294 version_type
=windows
9299 case $GCC,$host_os in
9300 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9301 library_names_spec
='$libname.dll.a'
9302 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9303 postinstall_cmds
='base_file=`basename \${file}`~
9304 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9305 dldir=$destdir/`dirname \$dlpath`~
9306 test -d \$dldir || mkdir -p \$dldir~
9307 $install_prog $dir/$dlname \$dldir/$dlname~
9308 chmod a+x \$dldir/$dlname'
9309 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9310 dlpath=$dir/\$dldll~
9312 shlibpath_overrides_runpath
=yes
9316 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9317 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9318 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9321 # MinGW DLLs use traditional 'lib' prefix
9322 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9323 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9324 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9325 # It is most probably a Windows format PATH printed by
9326 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9327 # path with ; separators, and with drive letters. We can handle the
9328 # drive letters (cygwin fileutils understands them), so leave them,
9329 # especially as we might pass files found there to a mingw objdump,
9330 # which wouldn't understand a cygwinified path. Ahh.
9331 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9333 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9337 # pw32 DLLs use 'pw' prefix rather than 'lib'
9338 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9344 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9347 dynamic_linker
='Win32 ld.exe'
9348 # FIXME: first we should search . and the directory the executable is in
9352 darwin
* | rhapsody
*)
9353 dynamic_linker
="$host_os dyld"
9357 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9358 soname_spec
='${libname}${release}${major}$shared_ext'
9359 shlibpath_overrides_runpath
=yes
9360 shlibpath_var
=DYLD_LIBRARY_PATH
9361 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9363 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9364 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9372 soname_spec
='${libname}${release}${shared_ext}$major'
9373 shlibpath_var
=LD_LIBRARY_PATH
9380 freebsd
* | dragonfly
*)
9381 # DragonFly does not have aout. When/if they implement a new
9382 # versioning mechanism, adjust this.
9383 if test -x /usr
/bin
/objformat
; then
9384 objformat
=`/usr/bin/objformat`
9387 freebsd
[123]*) objformat
=aout
;;
9391 version_type
=freebsd-
$objformat
9392 case $version_type in
9394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9399 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9403 shlibpath_var
=LD_LIBRARY_PATH
9406 shlibpath_overrides_runpath
=yes
9408 freebsd3.
[01]* | freebsdelf3.
[01]*)
9409 shlibpath_overrides_runpath
=yes
9410 hardcode_into_libs
=yes
9412 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9413 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9414 shlibpath_overrides_runpath
=no
9415 hardcode_into_libs
=yes
9417 *) # from 4.6 on, and DragonFly
9418 shlibpath_overrides_runpath
=yes
9419 hardcode_into_libs
=yes
9428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9429 soname_spec
='${libname}${release}${shared_ext}$major'
9430 shlibpath_var
=LD_LIBRARY_PATH
9431 hardcode_into_libs
=yes
9434 hpux9
* | hpux10
* | hpux11
*)
9435 # Give a soname corresponding to the major version so that dld.sl refuses to
9436 # link against other versions.
9443 hardcode_into_libs
=yes
9444 dynamic_linker
="$host_os dld.so"
9445 shlibpath_var
=LD_LIBRARY_PATH
9446 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9447 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9448 soname_spec
='${libname}${release}${shared_ext}$major'
9449 if test "X$HPUX_IA64_MODE" = X32
; then
9450 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9452 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9454 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9458 hardcode_into_libs
=yes
9459 dynamic_linker
="$host_os dld.sl"
9460 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9461 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9463 soname_spec
='${libname}${release}${shared_ext}$major'
9464 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9465 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9469 dynamic_linker
="$host_os dld.sl"
9470 shlibpath_var
=SHLIB_PATH
9471 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9473 soname_spec
='${libname}${release}${shared_ext}$major'
9476 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9477 postinstall_cmds
='chmod 555 $lib'
9484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9485 soname_spec
='${libname}${release}${shared_ext}$major'
9486 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9487 shlibpath_var
=LD_LIBRARY_PATH
9488 shlibpath_overrides_runpath
=no
9489 hardcode_into_libs
=yes
9492 irix5
* | irix6
* | nonstopux
*)
9494 nonstopux
*) version_type
=nonstopux
;;
9496 if test "$lt_cv_prog_gnu_ld" = yes; then
9504 soname_spec
='${libname}${release}${shared_ext}$major'
9505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9507 irix5
* | nonstopux
*)
9511 case $LD in # libtool.m4 will add one of these switches to LD
9512 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9513 libsuff
= shlibsuff
= libmagic
=32-bit;;
9514 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9515 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9516 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9517 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9518 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9522 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9523 shlibpath_overrides_runpath
=no
9524 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9525 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9526 hardcode_into_libs
=yes
9529 # No shared lib support for Linux oldld, aout, or coff.
9530 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9534 # This must be Linux ELF.
9535 linux
* | k
*bsd
*-gnu)
9539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9540 soname_spec
='${libname}${release}${shared_ext}$major'
9541 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9542 shlibpath_var
=LD_LIBRARY_PATH
9543 shlibpath_overrides_runpath
=no
9544 # This implies no fast_install, which is unacceptable.
9545 # Some rework will be needed to allow for fast_install
9546 # before this can be enabled.
9547 hardcode_into_libs
=yes
9549 # Append ld.so.conf contents to the search path
9550 if test -f /etc
/ld.so.conf
; then
9551 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9552 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9555 # We used to test for /lib/ld.so.1 and disable shared libraries on
9556 # powerpc, because MkLinux only supported shared libraries with the
9557 # GNU dynamic linker. Since this was broken with cross compilers,
9558 # most powerpc-linux boxes support dynamic linking these days and
9559 # people can always --disable-shared, the test was removed, and we
9560 # assume the GNU/Linux dynamic linker is in use.
9561 dynamic_linker
='GNU/Linux ld.so'
9568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9569 soname_spec
='${libname}${release}${shared_ext}$major'
9570 shlibpath_var
=LD_LIBRARY_PATH
9571 shlibpath_overrides_runpath
=no
9572 hardcode_into_libs
=yes
9573 dynamic_linker
='NetBSD ld.elf_so'
9580 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9582 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9583 dynamic_linker
='NetBSD (a.out) ld.so'
9585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9586 soname_spec
='${libname}${release}${shared_ext}$major'
9587 dynamic_linker
='NetBSD ld.elf_so'
9589 shlibpath_var
=LD_LIBRARY_PATH
9590 shlibpath_overrides_runpath
=yes
9591 hardcode_into_libs
=yes
9596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9597 shlibpath_var
=LD_LIBRARY_PATH
9598 shlibpath_overrides_runpath
=yes
9605 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9606 soname_spec
='${libname}${release}${shared_ext}$major'
9607 shlibpath_var
=LD_LIBRARY_PATH
9608 shlibpath_overrides_runpath
=yes
9613 sys_lib_dlsearch_path_spec
="/usr/lib"
9615 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9617 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9618 *) need_version
=no
;;
9620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9621 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9622 shlibpath_var
=LD_LIBRARY_PATH
9623 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9625 openbsd2.
[89] | openbsd2.
[89].
*)
9626 shlibpath_overrides_runpath
=no
9629 shlibpath_overrides_runpath
=yes
9633 shlibpath_overrides_runpath
=yes
9638 libname_spec
='$name'
9641 library_names_spec
='$libname${shared_ext} $libname.a'
9642 dynamic_linker
='OS/2 ld.exe'
9643 shlibpath_var
=LIBPATH
9646 osf3
* | osf4
* | osf5
*)
9650 soname_spec
='${libname}${release}${shared_ext}$major'
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9652 shlibpath_var
=LD_LIBRARY_PATH
9653 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9654 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec
='${libname}${release}${shared_ext}$major'
9667 shlibpath_var
=LD_LIBRARY_PATH
9668 shlibpath_overrides_runpath
=yes
9669 hardcode_into_libs
=yes
9670 # ldd complains unless libraries are executable
9671 postinstall_cmds
='chmod +x $lib'
9676 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9677 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9678 shlibpath_var
=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath
=yes
9680 if test "$with_gnu_ld" = yes; then
9688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689 soname_spec
='${libname}${release}${shared_ext}$major'
9690 shlibpath_var
=LD_LIBRARY_PATH
9691 case $host_vendor in
9693 shlibpath_overrides_runpath
=no
9695 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9696 runpath_var
=LD_RUN_PATH
9704 shlibpath_overrides_runpath
=no
9705 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9711 if test -d /usr
/nec
;then
9713 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9714 soname_spec
='$libname${shared_ext}.$major'
9715 shlibpath_var
=LD_LIBRARY_PATH
9719 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9720 version_type
=freebsd-elf
9723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9724 soname_spec
='${libname}${release}${shared_ext}$major'
9725 shlibpath_var
=LD_LIBRARY_PATH
9726 hardcode_into_libs
=yes
9727 if test "$with_gnu_ld" = yes; then
9728 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9729 shlibpath_overrides_runpath
=no
9731 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9732 shlibpath_overrides_runpath
=yes
9735 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9739 sys_lib_dlsearch_path_spec
='/usr/lib'
9744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745 soname_spec
='${libname}${release}${shared_ext}$major'
9746 shlibpath_var
=LD_LIBRARY_PATH
9753 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9754 $as_echo "$dynamic_linker" >&6; }
9755 test "$dynamic_linker" = no
&& can_build_shared
=no
9757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9758 $as_echo_n "(cached) " >&6
9760 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9763 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9764 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9765 $as_echo_n "(cached) " >&6
9767 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9770 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9772 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9773 if test "$GCC" = yes; then
9774 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9777 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9780 if test -n "$hardcode_libdir_flag_spec" || \
9781 test -n "$runpath_var" || \
9782 test "X$hardcode_automatic" = "Xyes" ; then
9784 # We can hardcode non-existant directories.
9785 if test "$hardcode_direct" != no
&&
9786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9787 # have to relink, otherwise we might link with an installed library
9788 # when we should be linking with a yet-to-be-installed one
9789 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9790 test "$hardcode_minus_L" != no
; then
9791 # Linking always hardcodes the temporary library directory.
9792 hardcode_action
=relink
9794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9795 hardcode_action
=immediate
9798 # We cannot hardcode anything, or else we can only hardcode existing
9800 hardcode_action
=unsupported
9802 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9803 $as_echo "$hardcode_action" >&6; }
9805 if test "$hardcode_action" = relink
; then
9806 # Fast installation is not supported
9807 enable_fast_install
=no
9808 elif test "$shlibpath_overrides_runpath" = yes ||
9809 test "$enable_shared" = no
; then
9810 # Fast installation is not necessary
9811 enable_fast_install
=needless
9816 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9817 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9818 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9819 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9820 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9821 { $as_echo "$as_me:$LINENO: result: yes" >&5
9822 $as_echo "yes" >&6; }
9824 # FIXME - insert some real tests, host_os isn't really good enough
9827 if test -n "$STRIP" ; then
9828 striplib
="$STRIP -x"
9829 old_striplib
="$STRIP -S"
9830 { $as_echo "$as_me:$LINENO: result: yes" >&5
9831 $as_echo "yes" >&6; }
9833 { $as_echo "$as_me:$LINENO: result: no" >&5
9834 $as_echo "no" >&6; }
9838 { $as_echo "$as_me:$LINENO: result: no" >&5
9839 $as_echo "no" >&6; }
9844 if test "x$enable_dlopen" != xyes
; then
9845 enable_dlopen
=unknown
9846 enable_dlopen_self
=unknown
9847 enable_dlopen_self_static
=unknown
9854 lt_cv_dlopen
="load_add_on"
9856 lt_cv_dlopen_self
=yes
9860 lt_cv_dlopen
="LoadLibrary"
9865 lt_cv_dlopen
="dlopen"
9870 # if libdl is installed we need to link against it
9871 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9874 $as_echo_n "(cached) " >&6
9876 ac_check_lib_save_LIBS
=$LIBS
9878 cat >conftest.
$ac_ext <<_ACEOF
9881 cat confdefs.h
>>conftest.
$ac_ext
9882 cat >>conftest.
$ac_ext <<_ACEOF
9883 /* end confdefs.h. */
9885 /* Override any GCC internal prototype to avoid an error.
9886 Use char because int might match the return type of a GCC
9887 builtin and then its argument prototype would still apply. */
9900 rm -f conftest.
$ac_objext conftest
$ac_exeext
9901 if { (ac_try
="$ac_link"
9903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9904 *) ac_try_echo=$ac_try;;
9906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9907 $as_echo "$ac_try_echo") >&5
9908 (eval "$ac_link") 2>conftest.er1
9910 grep -v '^ *+' conftest.er1 >conftest.err
9912 cat conftest.err >&5
9913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 (exit $ac_status); } && {
9915 test -z "$ac_c_werror_flag" ||
9916 test ! -s conftest.err
9917 } && test -s conftest$ac_exeext && {
9918 test "$cross_compiling" = yes ||
9919 $as_test_x conftest$ac_exeext
9921 ac_cv_lib_dl_dlopen=yes
9923 $as_echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 ac_cv_lib_dl_dlopen=no
9929 rm -rf conftest.dSYM
9930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9931 conftest$ac_exeext conftest.$ac_ext
9932 LIBS=$ac_check_lib_save_LIBS
9934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9936 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9937 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9942 lt_cv_dlopen_self=yes
9949 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9950 $as_echo_n "checking for shl_load... " >&6; }
9951 if test "${ac_cv_func_shl_load+set}" = set; then
9952 $as_echo_n "(cached) " >&6
9954 cat >conftest.$ac_ext <<_ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9960 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9962 #define shl_load innocuous_shl_load
9964 /* System header to define __stub macros and hopefully few prototypes,
9965 which can conflict with char shl_load (); below.
9966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9967 <limits.h> exists even on freestanding compilers. */
9970 # include <limits.h>
9972 # include <assert.h>
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9984 /* The GNU C library defines this for functions which it implements
9985 to always fail with ENOSYS. Some functions are actually named
9986 something starting with __ and the normal name is an alias. */
9987 #if defined __stub_shl_load || defined __stub___shl_load
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 ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10006 $as_echo "$ac_try_echo") >&5
10007 (eval "$ac_link") 2>conftest.er1
10009 grep -v '^ *+' conftest.er1
>conftest.err
10011 cat conftest.err
>&5
10012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 (exit $ac_status); } && {
10014 test -z "$ac_c_werror_flag" ||
10015 test ! -s conftest.err
10016 } && test -s conftest
$ac_exeext && {
10017 test "$cross_compiling" = yes ||
10018 $as_test_x conftest
$ac_exeext
10020 ac_cv_func_shl_load
=yes
10022 $as_echo "$as_me: failed program was:" >&5
10023 sed 's/^/| /' conftest.
$ac_ext >&5
10025 ac_cv_func_shl_load
=no
10028 rm -rf conftest.dSYM
10029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10030 conftest
$ac_exeext conftest.
$ac_ext
10032 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10033 $as_echo "$ac_cv_func_shl_load" >&6; }
10034 if test "x$ac_cv_func_shl_load" = x
""yes; then
10035 lt_cv_dlopen
="shl_load"
10037 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10038 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10039 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10040 $as_echo_n "(cached) " >&6
10042 ac_check_lib_save_LIBS
=$LIBS
10044 cat >conftest.
$ac_ext <<_ACEOF
10047 cat confdefs.h
>>conftest.
$ac_ext
10048 cat >>conftest.
$ac_ext <<_ACEOF
10049 /* end confdefs.h. */
10051 /* Override any GCC internal prototype to avoid an error.
10052 Use char because int might match the return type of a GCC
10053 builtin and then its argument prototype would still apply. */
10061 return shl_load ();
10066 rm -f conftest.
$ac_objext conftest
$ac_exeext
10067 if { (ac_try
="$ac_link"
10068 case "(($ac_try" in
10069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10070 *) ac_try_echo=$ac_try;;
10072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10073 $as_echo "$ac_try_echo") >&5
10074 (eval "$ac_link") 2>conftest.er1
10076 grep -v '^ *+' conftest.er1 >conftest.err
10078 cat conftest.err >&5
10079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10080 (exit $ac_status); } && {
10081 test -z "$ac_c_werror_flag" ||
10082 test ! -s conftest.err
10083 } && test -s conftest$ac_exeext && {
10084 test "$cross_compiling" = yes ||
10085 $as_test_x conftest$ac_exeext
10087 ac_cv_lib_dld_shl_load=yes
10089 $as_echo "$as_me: failed program was:" >&5
10090 sed 's/^/| /' conftest.$ac_ext >&5
10092 ac_cv_lib_dld_shl_load=no
10095 rm -rf conftest.dSYM
10096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10097 conftest$ac_exeext conftest.$ac_ext
10098 LIBS=$ac_check_lib_save_LIBS
10100 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10101 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10102 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10103 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10105 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10106 $as_echo_n "checking for dlopen... " >&6; }
10107 if test "${ac_cv_func_dlopen+set}" = set; then
10108 $as_echo_n "(cached) " >&6
10110 cat >conftest.$ac_ext <<_ACEOF
10113 cat confdefs.h >>conftest.$ac_ext
10114 cat >>conftest.$ac_ext <<_ACEOF
10115 /* end confdefs.h. */
10116 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10118 #define dlopen innocuous_dlopen
10120 /* System header to define __stub macros and hopefully few prototypes,
10121 which can conflict with char dlopen (); below.
10122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10123 <limits.h> exists even on freestanding compilers. */
10126 # include <limits.h>
10128 # include <assert.h>
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10140 /* The GNU C library defines this for functions which it implements
10141 to always fail with ENOSYS. Some functions are actually named
10142 something starting with __ and the normal name is an alias. */
10143 #if defined __stub_dlopen || defined __stub___dlopen
10155 rm -f conftest.$ac_objext conftest$ac_exeext
10156 if { (ac_try="$ac_link"
10157 case "(($ac_try" in
10158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10159 *) ac_try_echo
=$ac_try;;
10161 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10162 $as_echo "$ac_try_echo") >&5
10163 (eval "$ac_link") 2>conftest.er1
10165 grep -v '^ *+' conftest.er1
>conftest.err
10167 cat conftest.err
>&5
10168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10169 (exit $ac_status); } && {
10170 test -z "$ac_c_werror_flag" ||
10171 test ! -s conftest.err
10172 } && test -s conftest
$ac_exeext && {
10173 test "$cross_compiling" = yes ||
10174 $as_test_x conftest
$ac_exeext
10176 ac_cv_func_dlopen
=yes
10178 $as_echo "$as_me: failed program was:" >&5
10179 sed 's/^/| /' conftest.
$ac_ext >&5
10181 ac_cv_func_dlopen
=no
10184 rm -rf conftest.dSYM
10185 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10186 conftest
$ac_exeext conftest.
$ac_ext
10188 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10189 $as_echo "$ac_cv_func_dlopen" >&6; }
10190 if test "x$ac_cv_func_dlopen" = x
""yes; then
10191 lt_cv_dlopen
="dlopen"
10193 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10194 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10195 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10196 $as_echo_n "(cached) " >&6
10198 ac_check_lib_save_LIBS
=$LIBS
10200 cat >conftest.
$ac_ext <<_ACEOF
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10222 rm -f conftest.
$ac_objext conftest
$ac_exeext
10223 if { (ac_try
="$ac_link"
10224 case "(($ac_try" in
10225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10226 *) ac_try_echo=$ac_try;;
10228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10229 $as_echo "$ac_try_echo") >&5
10230 (eval "$ac_link") 2>conftest.er1
10232 grep -v '^ *+' conftest.er1 >conftest.err
10234 cat conftest.err >&5
10235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } && {
10237 test -z "$ac_c_werror_flag" ||
10238 test ! -s conftest.err
10239 } && test -s conftest$ac_exeext && {
10240 test "$cross_compiling" = yes ||
10241 $as_test_x conftest$ac_exeext
10243 ac_cv_lib_dl_dlopen=yes
10245 $as_echo "$as_me: failed program was:" >&5
10246 sed 's/^/| /' conftest.$ac_ext >&5
10248 ac_cv_lib_dl_dlopen=no
10251 rm -rf conftest.dSYM
10252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10253 conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_lib_save_LIBS
10256 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10257 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10258 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10259 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10261 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10262 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10263 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10264 $as_echo_n "(cached) " >&6
10266 ac_check_lib_save_LIBS=$LIBS
10267 LIBS="-lsvld $LIBS"
10268 cat >conftest.$ac_ext <<_ACEOF
10271 cat confdefs.h >>conftest.$ac_ext
10272 cat >>conftest.$ac_ext <<_ACEOF
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10290 rm -f conftest.$ac_objext conftest$ac_exeext
10291 if { (ac_try="$ac_link"
10292 case "(($ac_try" in
10293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10294 *) ac_try_echo
=$ac_try;;
10296 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10297 $as_echo "$ac_try_echo") >&5
10298 (eval "$ac_link") 2>conftest.er1
10300 grep -v '^ *+' conftest.er1
>conftest.err
10302 cat conftest.err
>&5
10303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } && {
10305 test -z "$ac_c_werror_flag" ||
10306 test ! -s conftest.err
10307 } && test -s conftest
$ac_exeext && {
10308 test "$cross_compiling" = yes ||
10309 $as_test_x conftest
$ac_exeext
10311 ac_cv_lib_svld_dlopen
=yes
10313 $as_echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.
$ac_ext >&5
10316 ac_cv_lib_svld_dlopen
=no
10319 rm -rf conftest.dSYM
10320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10321 conftest
$ac_exeext conftest.
$ac_ext
10322 LIBS
=$ac_check_lib_save_LIBS
10324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10325 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10326 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
10327 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10329 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10330 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10331 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10332 $as_echo_n "(cached) " >&6
10334 ac_check_lib_save_LIBS
=$LIBS
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10353 return dld_link ();
10358 rm -f conftest.
$ac_objext conftest
$ac_exeext
10359 if { (ac_try
="$ac_link"
10360 case "(($ac_try" in
10361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10362 *) ac_try_echo=$ac_try;;
10364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10365 $as_echo "$ac_try_echo") >&5
10366 (eval "$ac_link") 2>conftest.er1
10368 grep -v '^ *+' conftest.er1 >conftest.err
10370 cat conftest.err >&5
10371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } && {
10373 test -z "$ac_c_werror_flag" ||
10374 test ! -s conftest.err
10375 } && test -s conftest$ac_exeext && {
10376 test "$cross_compiling" = yes ||
10377 $as_test_x conftest$ac_exeext
10379 ac_cv_lib_dld_dld_link=yes
10381 $as_echo "$as_me: failed program was:" >&5
10382 sed 's/^/| /' conftest.$ac_ext >&5
10384 ac_cv_lib_dld_dld_link=no
10387 rm -rf conftest.dSYM
10388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10389 conftest$ac_exeext conftest.$ac_ext
10390 LIBS=$ac_check_lib_save_LIBS
10392 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10393 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10394 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10395 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10416 if test "x$lt_cv_dlopen" != xno; then
10422 case $lt_cv_dlopen in
10424 save_CPPFLAGS="$CPPFLAGS"
10425 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10427 save_LDFLAGS="$LDFLAGS"
10428 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10431 LIBS="$lt_cv_dlopen_libs $LIBS"
10433 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10434 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10435 if test "${lt_cv_dlopen_self+set}" = set; then
10436 $as_echo_n "(cached) " >&6
10438 if test "$cross_compiling" = yes; then :
10439 lt_cv_dlopen_self=cross
10441 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10442 lt_status=$lt_dlunknown
10443 cat > conftest.$ac_ext <<EOF
10444 #line 10444 "configure"
10445 #include "confdefs.h"
10454 # define LT_DLGLOBAL RTLD_GLOBAL
10457 # define LT_DLGLOBAL DL_GLOBAL
10459 # define LT_DLGLOBAL 0
10463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10464 find out it does not work in some platform. */
10465 #ifndef LT_DLLAZY_OR_NOW
10467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10470 # define LT_DLLAZY_OR_NOW DL_LAZY
10473 # define LT_DLLAZY_OR_NOW RTLD_NOW
10476 # define LT_DLLAZY_OR_NOW DL_NOW
10478 # define LT_DLLAZY_OR_NOW 0
10486 extern "C" void exit (int);
10489 void fnord() { int i=42;}
10492 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10493 int status = $lt_dlunknown;
10497 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10498 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10499 /* dlclose (self); */
10507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10508 (eval $ac_link) 2>&5
10510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10512 (./conftest; exit; ) >&5 2>/dev/null
10514 case x$lt_status in
10515 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10516 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10517 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10520 # compilation failed
10521 lt_cv_dlopen_self=no
10528 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10529 $as_echo "$lt_cv_dlopen_self" >&6; }
10531 if test "x$lt_cv_dlopen_self" = xyes; then
10532 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10533 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10534 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10535 if test "${lt_cv_dlopen_self_static+set}" = set; then
10536 $as_echo_n "(cached) " >&6
10538 if test "$cross_compiling" = yes; then :
10539 lt_cv_dlopen_self_static=cross
10541 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10542 lt_status=$lt_dlunknown
10543 cat > conftest.$ac_ext <<EOF
10544 #line 10544 "configure"
10545 #include "confdefs.h"
10554 # define LT_DLGLOBAL RTLD_GLOBAL
10557 # define LT_DLGLOBAL DL_GLOBAL
10559 # define LT_DLGLOBAL 0
10563 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10564 find out it does not work in some platform. */
10565 #ifndef LT_DLLAZY_OR_NOW
10567 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10570 # define LT_DLLAZY_OR_NOW DL_LAZY
10573 # define LT_DLLAZY_OR_NOW RTLD_NOW
10576 # define LT_DLLAZY_OR_NOW DL_NOW
10578 # define LT_DLLAZY_OR_NOW 0
10586 extern "C" void exit (int);
10589 void fnord() { int i=42;}
10592 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10593 int status = $lt_dlunknown;
10597 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10598 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10599 /* dlclose (self); */
10607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10608 (eval $ac_link) 2>&5
10610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10612 (./conftest; exit; ) >&5 2>/dev/null
10614 case x$lt_status in
10615 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10616 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10617 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10620 # compilation failed
10621 lt_cv_dlopen_self_static=no
10628 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10629 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10632 CPPFLAGS="$save_CPPFLAGS"
10633 LDFLAGS="$save_LDFLAGS"
10638 case $lt_cv_dlopen_self in
10639 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10640 *) enable_dlopen_self=unknown ;;
10643 case $lt_cv_dlopen_self_static in
10644 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10645 *) enable_dlopen_self_static=unknown ;;
10650 # Report which library types will actually be built
10651 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10652 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10653 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10654 $as_echo "$can_build_shared" >&6; }
10656 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10657 $as_echo_n "checking whether to build shared libraries... " >&6; }
10658 test "$can_build_shared" = "no" && enable_shared=no
10660 # On AIX, shared libraries and static libraries use the same namespace, and
10661 # are all built from PIC.
10664 test "$enable_shared" = yes && enable_static=no
10665 if test -n "$RANLIB"; then
10666 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10667 postinstall_cmds='$RANLIB $lib'
10672 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10673 test "$enable_shared" = yes && enable_static=no
10677 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10678 $as_echo "$enable_shared" >&6; }
10680 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10681 $as_echo_n "checking whether to build static libraries... " >&6; }
10682 # Make sure either enable_shared or enable_static is yes.
10683 test "$enable_shared" = yes || enable_static=yes
10684 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10685 $as_echo "$enable_static" >&6; }
10687 # The else clause should only fire when bootstrapping the
10688 # libtool distribution, otherwise you forgot to ship ltmain.sh
10689 # with your package, and you will get complaints that there are
10690 # no rules to generate ltmain.sh.
10691 if test -f "$ltmain"; then
10692 # See if we are running on zsh, and set the options which allow our commands through
10693 # without removal of \ escapes.
10694 if test -n "${ZSH_VERSION+set}" ; then
10695 setopt NO_GLOB_SUBST
10697 # Now quote all the things that may contain metacharacters while being
10698 # careful not to overquote the AC_SUBSTed values. We take copies of the
10699 # variables and quote the copies for generation of the libtool script.
10700 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10702 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10703 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10704 deplibs_check_method reload_flag reload_cmds need_locks \
10705 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10706 lt_cv_sys_global_symbol_to_c_name_address \
10707 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10708 old_postinstall_cmds old_postuninstall_cmds \
10712 lt_prog_compiler_wl \
10713 lt_prog_compiler_pic \
10714 lt_prog_compiler_static \
10715 lt_prog_compiler_no_builtin_flag \
10716 export_dynamic_flag_spec \
10717 thread_safe_flag_spec \
10718 whole_archive_flag_spec \
10719 enable_shared_with_static_runtimes \
10721 old_archive_from_new_cmds \
10726 compiler_lib_search_path \
10727 compiler_lib_search_dirs \
10729 archive_expsym_cmds \
10731 postuninstall_cmds \
10732 old_archive_from_expsyms_cmds \
10733 allow_undefined_flag \
10734 no_undefined_flag \
10735 export_symbols_cmds \
10736 hardcode_libdir_flag_spec \
10737 hardcode_libdir_flag_spec_ld \
10738 hardcode_libdir_separator \
10739 hardcode_automatic \
10741 module_expsym_cmds \
10742 lt_cv_prog_compiler_c_o \
10745 include_expsyms; do
10748 old_archive_cmds | \
10749 old_archive_from_new_cmds | \
10751 archive_expsym_cmds | \
10753 module_expsym_cmds | \
10754 old_archive_from_expsyms_cmds | \
10755 export_symbols_cmds | \
10756 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10757 postinstall_cmds | postuninstall_cmds | \
10758 old_postinstall_cmds | old_postuninstall_cmds | \
10759 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10760 # Double-quote double-evaled strings.
10761 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10764 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10770 *'\$0 --fallback-echo"')
10771 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10775 cfgfile="${ofile}T"
10776 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10778 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10779 $as_echo "$as_me: creating $ofile" >&6;}
10781 cat <<__EOF__ >> "$cfgfile"
10784 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10785 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10788 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10789 # Free Software Foundation, Inc.
10791 # This file is part of GNU Libtool:
10792 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10794 # This program is free software; you can redistribute it and/or modify
10795 # it under the terms of the GNU General Public License as published by
10796 # the Free Software Foundation; either version 2 of the License, or
10797 # (at your option) any later version.
10799 # This program is distributed in the hope that it will be useful, but
10800 # WITHOUT ANY WARRANTY; without even the implied warranty of
10801 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10802 # General Public License for more details.
10804 # You should have received a copy of the GNU General Public License
10805 # along with this program; if not, write to the Free Software
10806 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10808 # As a special exception to the GNU General Public License, if you
10809 # distribute this file as part of a program that contains a
10810 # configuration script generated by Autoconf, you may include it under
10811 # the same distribution terms that you use for the rest of that program.
10813 # A sed program that does not truncate output.
10816 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10817 Xsed="$SED -e 1s/^X//"
10819 # The HP-UX ksh and POSIX shell print the target directory to stdout
10820 # if CDPATH is set.
10821 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10823 # The names of the tagged configurations supported by this script.
10826 # ### BEGIN LIBTOOL CONFIG
10828 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10830 # Shell to use when invoking shell scripts.
10833 # Whether or not to build shared libraries.
10834 build_libtool_libs=$enable_shared
10836 # Whether or not to build static libraries.
10837 build_old_libs=$enable_static
10839 # Whether or not to add -lc for building shared libraries.
10840 build_libtool_need_lc=$archive_cmds_need_lc
10842 # Whether or not to disallow shared libs when runtime libs are static
10843 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10845 # Whether or not to optimize for fast installation.
10846 fast_install=$enable_fast_install
10849 host_alias=$host_alias
10853 # The build system.
10854 build_alias=$build_alias
10858 # An echo program that does not interpret backslashes.
10863 AR_FLAGS=$lt_AR_FLAGS
10868 # LTCC compiler flags.
10869 LTCFLAGS=$lt_LTCFLAGS
10871 # A language-specific compiler.
10874 # Is the compiler the GNU C compiler?
10880 # The linker used to build libraries.
10883 # Whether we need hard or soft links.
10886 # A BSD-compatible nm program.
10889 # A symbol stripping program
10892 # Used to examine libraries when file_magic_cmd begins "file"
10893 MAGIC_CMD=$MAGIC_CMD
10895 # Used on cygwin: DLL creation program.
10898 # Used on cygwin: object dumper.
10901 # Used on cygwin: assembler.
10904 # The name of the directory that contains temporary libtool files.
10907 # How to create reloadable object files.
10908 reload_flag=$lt_reload_flag
10909 reload_cmds=$lt_reload_cmds
10911 # How to pass a linker flag through the compiler.
10912 wl=$lt_lt_prog_compiler_wl
10914 # Object file suffix (normally "o").
10915 objext="$ac_objext"
10917 # Old archive suffix (normally "a").
10920 # Shared library suffix (normally ".so").
10921 shrext_cmds='$shrext_cmds'
10923 # Executable file suffix (normally "").
10926 # Additional compiler flags for building library objects.
10927 pic_flag=$lt_lt_prog_compiler_pic
10930 # What is the maximum length of a command?
10931 max_cmd_len=$lt_cv_sys_max_cmd_len
10933 # Does compiler simultaneously support -c and -o options?
10934 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10936 # Must we lock files when doing compilation?
10937 need_locks=$lt_need_locks
10939 # Do we need the lib prefix for modules?
10940 need_lib_prefix=$need_lib_prefix
10942 # Do we need a version for libraries?
10943 need_version=$need_version
10945 # Whether dlopen is supported.
10946 dlopen_support=$enable_dlopen
10948 # Whether dlopen of programs is supported.
10949 dlopen_self=$enable_dlopen_self
10951 # Whether dlopen of statically linked programs is supported.
10952 dlopen_self_static=$enable_dlopen_self_static
10954 # Compiler flag to prevent dynamic linking.
10955 link_static_flag=$lt_lt_prog_compiler_static
10957 # Compiler flag to turn off builtin functions.
10958 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10960 # Compiler flag to allow reflexive dlopens.
10961 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10963 # Compiler flag to generate shared objects directly from archives.
10964 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10966 # Compiler flag to generate thread-safe objects.
10967 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10969 # Library versioning type.
10970 version_type=$version_type
10972 # Format of library name prefix.
10973 libname_spec=$lt_libname_spec
10975 # List of archive names. First name is the real one, the rest are links.
10976 # The last name is the one that the linker finds with -lNAME.
10977 library_names_spec=$lt_library_names_spec
10979 # The coded name of the library, if different from the real name.
10980 soname_spec=$lt_soname_spec
10982 # Commands used to build and install an old-style archive.
10984 old_archive_cmds=$lt_old_archive_cmds
10985 old_postinstall_cmds=$lt_old_postinstall_cmds
10986 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10988 # Create an old-style archive from a shared archive.
10989 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10991 # Create a temporary old-style archive to link instead of a shared archive.
10992 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10994 # Commands used to build and install a shared archive.
10995 archive_cmds=$lt_archive_cmds
10996 archive_expsym_cmds=$lt_archive_expsym_cmds
10997 postinstall_cmds=$lt_postinstall_cmds
10998 postuninstall_cmds=$lt_postuninstall_cmds
11000 # Commands used to build a loadable module (assumed same as above if empty)
11001 module_cmds=$lt_module_cmds
11002 module_expsym_cmds=$lt_module_expsym_cmds
11004 # Commands to strip libraries.
11005 old_striplib=$lt_old_striplib
11006 striplib=$lt_striplib
11008 # Dependencies to place before the objects being linked to create a
11010 predep_objects=$lt_predep_objects
11012 # Dependencies to place after the objects being linked to create a
11014 postdep_objects=$lt_postdep_objects
11016 # Dependencies to place before the objects being linked to create a
11018 predeps=$lt_predeps
11020 # Dependencies to place after the objects being linked to create a
11022 postdeps=$lt_postdeps
11024 # The directories searched by this compiler when creating a shared
11026 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11028 # The library search path used internally by the compiler when linking
11029 # a shared library.
11030 compiler_lib_search_path=$lt_compiler_lib_search_path
11032 # Method to check whether dependent libraries are shared objects.
11033 deplibs_check_method=$lt_deplibs_check_method
11035 # Command to use when deplibs_check_method == file_magic.
11036 file_magic_cmd=$lt_file_magic_cmd
11038 # Flag that allows shared libraries with undefined symbols to be built.
11039 allow_undefined_flag=$lt_allow_undefined_flag
11041 # Flag that forces no undefined symbols.
11042 no_undefined_flag=$lt_no_undefined_flag
11044 # Commands used to finish a libtool library installation in a directory.
11045 finish_cmds=$lt_finish_cmds
11047 # Same as above, but a single script fragment to be evaled but not shown.
11048 finish_eval=$lt_finish_eval
11050 # Take the output of nm and produce a listing of raw symbols and C names.
11051 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11053 # Transform the output of nm in a proper C declaration
11054 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11056 # Transform the output of nm in a C name address pair
11057 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11059 # This is the shared library runtime path variable.
11060 runpath_var=$runpath_var
11062 # This is the shared library path variable.
11063 shlibpath_var=$shlibpath_var
11065 # Is shlibpath searched before the hard-coded library search path?
11066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11068 # How to hardcode a shared library path into an executable.
11069 hardcode_action=$hardcode_action
11071 # Whether we should hardcode library paths into libraries.
11072 hardcode_into_libs=$hardcode_into_libs
11074 # Flag to hardcode \$libdir into a binary during linking.
11075 # This must work even if \$libdir does not exist.
11076 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11078 # If ld is used when linking, flag to hardcode \$libdir into
11079 # a binary during linking. This must work even if \$libdir does
11081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11083 # Whether we need a single -rpath flag with a separated argument.
11084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11086 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11087 # resulting binary.
11088 hardcode_direct=$hardcode_direct
11090 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11091 # resulting binary.
11092 hardcode_minus_L=$hardcode_minus_L
11094 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11095 # the resulting binary.
11096 hardcode_shlibpath_var=$hardcode_shlibpath_var
11098 # Set to yes if building a shared library automatically hardcodes DIR into the library
11099 # and all subsequent libraries and executables linked against it.
11100 hardcode_automatic=$hardcode_automatic
11102 # Variables whose values should be saved in libtool wrapper scripts and
11103 # restored at relink time.
11104 variables_saved_for_relink="$variables_saved_for_relink"
11106 # Whether libtool must link a program against all its dependency libraries.
11107 link_all_deplibs=$link_all_deplibs
11109 # Compile-time system search path for libraries
11110 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11112 # Run-time system search path for libraries
11113 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11115 # Fix the shell variable \$srcfile for the compiler.
11116 fix_srcfile_path=$lt_fix_srcfile_path
11118 # Set to yes if exported symbols are required.
11119 always_export_symbols=$always_export_symbols
11121 # The commands to list exported symbols.
11122 export_symbols_cmds=$lt_export_symbols_cmds
11124 # The commands to extract the exported symbol list from a shared archive.
11125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11127 # Symbols that should not be listed in the preloaded symbols.
11128 exclude_expsyms=$lt_exclude_expsyms
11130 # Symbols that must always be exported.
11131 include_expsyms=$lt_include_expsyms
11133 # ### END LIBTOOL CONFIG
11140 cat <<\EOF >> "$cfgfile"
11142 # AIX sometimes has problems with the GCC collect2 program. For some
11143 # reason, if we set the COLLECT_NAMES environment variable, the problems
11144 # vanish in a puff of smoke.
11145 if test "X${COLLECT_NAMES+set}" != Xset; then
11147 export COLLECT_NAMES
11153 # We use sed instead of cat because bash on DJGPP gets confused if
11154 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11155 # text mode, it properly converts lines to CR/LF. This bash problem
11156 # is reportedly fixed, but why not run on old versions too?
11157 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11159 mv -f "$cfgfile" "$ofile" || \
11160 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11164 # If there is no Makefile yet, we rely on a make rule to execute
11165 # `config.status
--recheck' to rerun these tests and create the
11166 # libtool script then.
11167 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11168 if test -f "$ltmain_in"; then
11169 test -f Makefile && make "$ltmain"
11175 ac_cpp='$CPP $CPPFLAGS'
11176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11177 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11183 # Check whether --with-tags was given.
11184 if test "${with_tags+set}" = set; then
11185 withval=$with_tags; tagnames="$withval"
11189 if test -f "$ltmain" && test -n "$tagnames"; then
11190 if test ! -f "${ofile}"; then
11191 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11192 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11195 if test -z "$LTCC"; then
11196 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11197 if test -z "$LTCC"; then
11198 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11199 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11201 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11202 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11205 if test -z "$LTCFLAGS"; then
11206 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11209 # Extract list of available tagged configurations in $ofile.
11210 # Note that this assumes the entire list is on one line.
11211 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11213 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11214 for tagname in $tagnames; do
11216 # Check whether tagname contains only valid characters
11217 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11219 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11220 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11221 { (exit 1); exit 1; }; }
11225 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11227 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11228 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11229 { (exit 1); exit 1; }; }
11232 # Update the list of available tags.
11233 if test -n "$tagname"; then
11234 echo appending configuration tag \"$tagname\" to $ofile
11238 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11239 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11240 (test "X$CXX" != "Xg++"))) ; then
11242 ac_cpp='$CXXCPP $CPPFLAGS'
11243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11250 archive_cmds_need_lc_CXX=no
11251 allow_undefined_flag_CXX=
11252 always_export_symbols_CXX=no
11253 archive_expsym_cmds_CXX=
11254 export_dynamic_flag_spec_CXX=
11255 hardcode_direct_CXX=no
11256 hardcode_libdir_flag_spec_CXX=
11257 hardcode_libdir_flag_spec_ld_CXX=
11258 hardcode_libdir_separator_CXX=
11259 hardcode_minus_L_CXX=no
11260 hardcode_shlibpath_var_CXX=unsupported
11261 hardcode_automatic_CXX=no
11263 module_expsym_cmds_CXX=
11264 link_all_deplibs_CXX=unknown
11265 old_archive_cmds_CXX=$old_archive_cmds
11266 no_undefined_flag_CXX=
11267 whole_archive_flag_spec_CXX=
11268 enable_shared_with_static_runtimes_CXX=no
11270 # Dependencies to place before and after the object being linked:
11271 predep_objects_CXX=
11272 postdep_objects_CXX=
11275 compiler_lib_search_path_CXX=
11276 compiler_lib_search_dirs_CXX=
11278 # Source file extension for C++ test sources.
11281 # Object file extension for compiled C++ test sources.
11285 # Code to be used in simple compile tests
11286 lt_simple_compile_test_code="int some_variable = 0;"
11288 # Code to be used in simple link tests
11289 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11291 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11293 # If no C compiler was specified, use CC.
11296 # If no C compiler flags were specified, use CFLAGS.
11297 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11299 # Allow CC to be a program name with arguments.
11303 # save warnings/boilerplate of simple test code
11304 ac_outfile=conftest.$ac_objext
11305 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11306 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11307 _lt_compiler_boilerplate=`cat conftest.err
`
11310 ac_outfile=conftest.$ac_objext
11311 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11312 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11313 _lt_linker_boilerplate=`cat conftest.err
`
11317 # Allow CC to be a program name with arguments.
11322 lt_save_with_gnu_ld=$with_gnu_ld
11323 lt_save_path_LD=$lt_cv_path_LD
11324 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11325 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11327 $as_unset lt_cv_prog_gnu_ld
11329 if test -n "${lt_cv_path_LDCXX+set}"; then
11330 lt_cv_path_LD=$lt_cv_path_LDCXX
11332 $as_unset lt_cv_path_LD
11334 test -z "${LDCXX+set}" || LD=$LDCXX
11338 for cc_temp in $compiler""; do
11340 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11341 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11346 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11349 # We don't want -fno-exception wen compiling C++ code, so set the
11350 # no_builtin_flag separately
11351 if test "$GXX" = yes; then
11352 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11354 lt_prog_compiler_no_builtin_flag_CXX=
11357 if test "$GXX" = yes; then
11358 # Set up default GNU C++ configuration
11361 # Check whether --with-gnu-ld was given.
11362 if test "${with_gnu_ld+set}" = set; then
11363 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11369 if test "$GCC" = yes; then
11370 # Check if gcc -print-prog-name=ld gives a path.
11371 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11372 $as_echo_n "checking for ld used by $CC... " >&6; }
11375 # gcc leaves a trailing carriage return which upsets mingw
11376 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11378 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11381 # Accept absolute paths.
11383 re_direlt='/[^/][^/]*/\.\./'
11384 # Canonicalize the pathname of ld
11385 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11386 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11387 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11389 test -z "$LD" && LD="$ac_prog"
11392 # If it fails, then pretend we aren't using GCC.
11396 # If it is relative, then search for the first ld in PATH.
11397 with_gnu_ld=unknown
11400 elif test "$with_gnu_ld" = yes; then
11401 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11402 $as_echo_n "checking for GNU ld... " >&6; }
11404 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11405 $as_echo_n "checking for non-GNU ld... " >&6; }
11407 if test "${lt_cv_path_LD+set}" = set; then
11408 $as_echo_n "(cached) " >&6
11410 if test -z "$LD"; then
11411 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11412 for ac_dir in $PATH; do
11414 test -z "$ac_dir" && ac_dir=.
11415 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11416 lt_cv_path_LD="$ac_dir/$ac_prog"
11417 # Check to see if the program is GNU ld. I'd rather use --version,
11418 # but apparently some variants of GNU ld only accept -v.
11419 # Break only if it was the GNU/non-GNU ld that we prefer.
11420 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11421 *GNU* | *'with BFD'*)
11422 test "$with_gnu_ld" != no && break
11425 test "$with_gnu_ld" != yes && break
11432 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11436 LD="$lt_cv_path_LD"
11437 if test -n "$LD"; then
11438 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11439 $as_echo "$LD" >&6; }
11441 { $as_echo "$as_me:$LINENO: result: no" >&5
11442 $as_echo "no" >&6; }
11444 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11445 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11446 { (exit 1); exit 1; }; }
11447 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11448 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11449 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11450 $as_echo_n "(cached) " >&6
11452 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11453 case `$LD -v 2>&1 </dev
/null
` in
11454 *GNU* | *'with BFD'*)
11455 lt_cv_prog_gnu_ld=yes
11458 lt_cv_prog_gnu_ld=no
11462 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11463 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11464 with_gnu_ld=$lt_cv_prog_gnu_ld
11468 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11469 # archiving commands below assume that GNU ld is being used.
11470 if test "$with_gnu_ld" = yes; then
11471 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11472 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'
11474 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11475 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11477 # If archive_cmds runs LD, not CC, wlarc should be empty
11478 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11479 # investigate it a little bit more. (MM)
11482 # ancient GNU ld didn't support --whole-archive et. al.
11483 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11484 grep 'no-whole-archive' > /dev/null; then
11485 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11487 whole_archive_flag_spec_CXX=
11493 # A generic and very simple default shared library creation
11494 # command for GNU C++ for the case where it uses the native
11495 # linker, instead of GNU ld. If possible, this setting should
11496 # overridden to take advantage of the native linker features on
11497 # the platform it is being used on.
11498 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11501 # Commands to make compiler produce verbose output that lists
11502 # what "hidden" libraries, object files and flags are used when
11503 # linking a shared library.
11504 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11512 # PORTME: fill in a description of your system's C++ link characteristics
11513 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11514 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11518 # FIXME: insert proper C++ library support
11522 if test "$host_cpu" = ia64; then
11523 # On IA64, the linker does run time linking by default, so we don't
11524 # have to do anything special.
11525 aix_use_runtimelinking=no
11526 exp_sym_flag='-Bexport'
11529 aix_use_runtimelinking=no
11531 # Test if we are trying to use run time linking or normal
11532 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11533 # need to do runtime linking.
11534 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11535 for ld_flag in $LDFLAGS; do
11538 aix_use_runtimelinking=yes
11546 exp_sym_flag='-bexport'
11547 no_entry_flag='-bnoentry'
11550 # When large executables or shared objects are built, AIX ld can
11551 # have problems creating the table of contents. If linking a library
11552 # or program results in "error TOC overflow" add -mminimal-toc to
11553 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11554 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11556 archive_cmds_CXX=''
11557 hardcode_direct_CXX=yes
11558 hardcode_libdir_separator_CXX=':'
11559 link_all_deplibs_CXX=yes
11561 if test "$GXX" = yes; then
11562 case $host_os in aix4.[012]|aix4.[012].*)
11563 # We only want to do this on AIX 4.2 and lower, the check
11564 # below for broken collect2 doesn't work under 4.3+
11565 collect2name=`${CC} -print-prog-name=collect2
`
11566 if test -f "$collect2name" && \
11567 strings "$collect2name" | grep resolve_lib_name >/dev/null
11569 # We have reworked collect2
11572 # We have old collect2
11573 hardcode_direct_CXX=unsupported
11574 # It fails to find uninstalled libraries when the uninstalled
11575 # path is not listed in the libpath. Setting hardcode_minus_L
11576 # to unsupported forces relinking
11577 hardcode_minus_L_CXX=yes
11578 hardcode_libdir_flag_spec_CXX='-L$libdir'
11579 hardcode_libdir_separator_CXX=
11583 shared_flag='-shared'
11584 if test "$aix_use_runtimelinking" = yes; then
11585 shared_flag="$shared_flag "'${wl}-G'
11589 if test "$host_cpu" = ia64; then
11590 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11591 # chokes on -Wl,-G. The following line is correct:
11594 if test "$aix_use_runtimelinking" = yes; then
11595 shared_flag='${wl}-G'
11597 shared_flag='${wl}-bM:SRE'
11602 # It seems that -bexpall does not export symbols beginning with
11603 # underscore (_), so it is better to generate a list of symbols to export.
11604 always_export_symbols_CXX=yes
11605 if test "$aix_use_runtimelinking" = yes; then
11606 # Warning - without using the other runtime loading flags (-brtl),
11607 # -berok will link without error, but may produce a broken library.
11608 allow_undefined_flag_CXX='-berok'
11609 # Determine the default libpath from the value encoded in an empty executable.
11610 cat >conftest.$ac_ext <<_ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11625 rm -f conftest.$ac_objext conftest$ac_exeext
11626 if { (ac_try="$ac_link"
11627 case "(($ac_try" in
11628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11629 *) ac_try_echo
=$ac_try;;
11631 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11632 $as_echo "$ac_try_echo") >&5
11633 (eval "$ac_link") 2>conftest.er1
11635 grep -v '^ *+' conftest.er1
>conftest.err
11637 cat conftest.err
>&5
11638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); } && {
11640 test -z "$ac_cxx_werror_flag" ||
11641 test ! -s conftest.err
11642 } && test -s conftest
$ac_exeext && {
11643 test "$cross_compiling" = yes ||
11644 $as_test_x conftest
$ac_exeext
11647 lt_aix_libpath_sed
='
11648 /Import File Strings/,/^$/ {
11654 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11655 # Check for a 64-bit object if we didn't find anything.
11656 if test -z "$aix_libpath"; then
11657 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11660 $as_echo "$as_me: failed program was:" >&5
11661 sed 's/^/| /' conftest.
$ac_ext >&5
11666 rm -rf conftest.dSYM
11667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11668 conftest
$ac_exeext conftest.
$ac_ext
11669 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11671 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11673 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"
11675 if test "$host_cpu" = ia64
; then
11676 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11677 allow_undefined_flag_CXX
="-z nodefs"
11678 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"
11680 # Determine the default libpath from the value encoded in an empty executable.
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11696 rm -f conftest.
$ac_objext conftest
$ac_exeext
11697 if { (ac_try
="$ac_link"
11698 case "(($ac_try" in
11699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11700 *) ac_try_echo=$ac_try;;
11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11703 $as_echo "$ac_try_echo") >&5
11704 (eval "$ac_link") 2>conftest.er1
11706 grep -v '^ *+' conftest.er1 >conftest.err
11708 cat conftest.err >&5
11709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } && {
11711 test -z "$ac_cxx_werror_flag" ||
11712 test ! -s conftest.err
11713 } && test -s conftest$ac_exeext && {
11714 test "$cross_compiling" = yes ||
11715 $as_test_x conftest$ac_exeext
11718 lt_aix_libpath_sed='
11719 /Import File Strings/,/^$/ {
11725 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11726 # Check for a 64-bit object if we didn't find anything.
11727 if test -z "$aix_libpath"; then
11728 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11731 $as_echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11737 rm -rf conftest.dSYM
11738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11739 conftest$ac_exeext conftest.$ac_ext
11740 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11742 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11743 # Warning - without using the other run time loading flags,
11744 # -berok will link without error, but may produce a broken library.
11745 no_undefined_flag_CXX=' ${wl}-bernotok'
11746 allow_undefined_flag_CXX=' ${wl}-berok'
11747 # Exported symbols can be pulled into shared objects from archives
11748 whole_archive_flag_spec_CXX='$convenience'
11749 archive_cmds_need_lc_CXX=yes
11750 # This is similar to how AIX traditionally builds its shared libraries.
11751 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'
11757 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11758 allow_undefined_flag_CXX=unsupported
11759 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11760 # support --undefined. This deserves some investigation. FIXME
11761 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11768 case $cc_basename in
11770 # FIXME: insert proper C++ library support
11776 cygwin* | mingw* | pw32*)
11777 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11778 # as there is no search path for DLLs.
11779 hardcode_libdir_flag_spec_CXX='-L$libdir'
11780 allow_undefined_flag_CXX=unsupported
11781 always_export_symbols_CXX=no
11782 enable_shared_with_static_runtimes_CXX=yes
11784 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11785 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'
11786 # If the export-symbols file already is a .def file (1st line
11787 # is EXPORTS), use it as is; otherwise, prepend...
11788 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11789 cp $export_symbols $output_objdir/$soname.def;
11791 echo EXPORTS > $output_objdir/$soname.def;
11792 cat $export_symbols >> $output_objdir/$soname.def;
11794 $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'
11799 darwin* | rhapsody*)
11800 archive_cmds_need_lc_CXX=no
11801 hardcode_direct_CXX=no
11802 hardcode_automatic_CXX=yes
11803 hardcode_shlibpath_var_CXX=unsupported
11804 whole_archive_flag_spec_CXX=''
11805 link_all_deplibs_CXX=yes
11806 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11807 if test "$GXX" = yes ; then
11808 output_verbose_link_cmd='echo'
11809 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11810 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11811 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11812 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11813 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11814 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${_lt_dsymutil}"
11815 archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
11818 case $cc_basename in
11820 output_verbose_link_cmd='echo'
11821 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11822 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11823 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11824 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11825 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}'
11835 case $cc_basename in
11837 # FIXME: insert proper C++ library support
11841 # Green Hills C++ Compiler
11842 # FIXME: insert proper C++ library support
11846 # FIXME: insert proper C++ library support
11852 # C++ shared libraries reported to be fairly broken before switch to ELF
11856 archive_cmds_need_lc_CXX=no
11858 freebsd* | dragonfly*)
11859 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11866 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11867 hardcode_libdir_separator_CXX=:
11868 export_dynamic_flag_spec_CXX='${wl}-E'
11869 hardcode_direct_CXX=yes
11870 hardcode_minus_L_CXX=yes # Not in the search PATH,
11871 # but as the default
11872 # location of the library.
11874 case $cc_basename in
11876 # FIXME: insert proper C++ library support
11880 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'
11881 # Commands to make compiler produce verbose output that lists
11882 # what "hidden" libraries, object files and flags are used when
11883 # linking a shared library.
11885 # There doesn't appear to be a way to prevent this compiler from
11886 # explicitly linking system object files so we need to strip them
11887 # from the output so that they don't get included in the library
11889 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'
11892 if test "$GXX" = yes; then
11893 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'
11895 # FIXME: insert proper C++ library support
11902 if test $with_gnu_ld = no; then
11903 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11904 hardcode_libdir_separator_CXX=:
11909 export_dynamic_flag_spec_CXX='${wl}-E'
11915 hardcode_direct_CXX=no
11916 hardcode_shlibpath_var_CXX=no
11919 hardcode_direct_CXX=yes
11920 hardcode_minus_L_CXX=yes # Not in the search PATH,
11921 # but as the default
11922 # location of the library.
11926 case $cc_basename in
11928 # FIXME: insert proper C++ library support
11934 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11937 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11940 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11943 # Commands to make compiler produce verbose output that lists
11944 # what "hidden" libraries, object files and flags are used when
11945 # linking a shared library.
11947 # There doesn't appear to be a way to prevent this compiler from
11948 # explicitly linking system object files so we need to strip them
11949 # from the output so that they don't get included in the library
11951 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'
11954 if test "$GXX" = yes; then
11955 if test $with_gnu_ld = no; then
11958 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11961 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11964 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'
11969 # FIXME: insert proper C++ library support
11976 hardcode_direct_CXX=no
11977 hardcode_shlibpath_var_CXX=no
11978 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11979 export_dynamic_flag_spec_CXX='${wl}-E'
11980 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11981 # Instead, shared libraries are loaded at an image base (0x10000000 by
11982 # default) and relocated if they conflict, which is a slow very memory
11983 # consuming and fragmenting process. To avoid this, we pick a random,
11984 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11985 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11986 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'
11987 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'
11990 case $cc_basename in
11993 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'
11995 # Archives containing C++ object files must be created using
11996 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11997 # necessary to make sure instantiated templates are included
11999 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12002 if test "$GXX" = yes; then
12003 if test "$with_gnu_ld" = no; then
12004 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'
12006 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'
12009 link_all_deplibs_CXX=yes
12012 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12013 hardcode_libdir_separator_CXX=:
12015 linux* | k*bsd*-gnu)
12016 case $cc_basename in
12018 # Kuck and Associates, Inc. (KAI) C++ Compiler
12020 # KCC will only create a shared library if the output file
12021 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12022 # to its proper name (with version) after linking.
12023 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'
12024 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'
12025 # Commands to make compiler produce verbose output that lists
12026 # what "hidden" libraries, object files and flags are used when
12027 # linking a shared library.
12029 # There doesn't appear to be a way to prevent this compiler from
12030 # explicitly linking system object files so we need to strip them
12031 # from the output so that they don't get included in the library
12033 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'
12035 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12036 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12038 # Archives containing C++ object files must be created using
12039 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12040 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12045 # version 8.0 and above of icpc choke on multiply defined symbols
12046 # if we add $predep_objects and $postdep_objects, however 7.1 and
12047 # earlier do not add the objects themselves.
12048 case `$CC -V 2>&1` in
12050 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12051 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'
12053 *) # Version 8.0 or newer
12056 ia64
*) tmp_idyn
=' -i_dynamic';;
12058 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12059 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'
12062 archive_cmds_need_lc_CXX
=no
12063 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12064 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12065 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12068 # Portland Group C++ compiler
12069 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12070 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'
12072 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12073 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12074 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'
12078 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12079 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'
12081 runpath_var
=LD_RUN_PATH
12082 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12083 hardcode_libdir_separator_CXX
=:
12085 # Commands to make compiler produce verbose output that lists
12086 # what "hidden" libraries, object files and flags are used when
12087 # linking a shared library.
12089 # There doesn't appear to be a way to prevent this compiler from
12090 # explicitly linking system object files so we need to strip them
12091 # from the output so that they don't get included in the library
12093 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'
12096 case `$CC -V 2>&1 | sed 5q` in
12099 no_undefined_flag_CXX
=' -zdefs'
12100 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12101 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12102 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12103 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12105 # Not sure whether something based on
12106 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12108 output_verbose_link_cmd
='echo'
12110 # Archives containing C++ object files must be created using
12111 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12112 # necessary to make sure instantiated templates are included
12114 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12121 # FIXME: insert proper C++ library support
12125 # FIXME: insert proper C++ library support
12129 case $cc_basename in
12131 # FIXME: insert proper C++ library support
12135 # FIXME: insert proper C++ library support
12140 netbsd
* | netbsdelf
*-gnu)
12141 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12142 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12144 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12145 hardcode_direct_CXX
=yes
12146 hardcode_shlibpath_var_CXX
=no
12148 # Workaround some broken pre-1.5 toolchains
12149 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12152 # C++ shared libraries are fairly broken
12156 if test -f /usr
/libexec
/ld.so
; then
12157 hardcode_direct_CXX
=yes
12158 hardcode_shlibpath_var_CXX
=no
12159 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12160 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12161 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12162 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12163 export_dynamic_flag_spec_CXX
='${wl}-E'
12164 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12166 output_verbose_link_cmd
='echo'
12172 case $cc_basename in
12174 # Kuck and Associates, Inc. (KAI) C++ Compiler
12176 # KCC will only create a shared library if the output file
12177 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12178 # to its proper name (with version) after linking.
12179 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'
12181 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12182 hardcode_libdir_separator_CXX
=:
12184 # Archives containing C++ object files must be created using
12185 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12186 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12190 # Rational C++ 2.4.1
12191 # FIXME: insert proper C++ library support
12195 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12196 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'
12198 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12199 hardcode_libdir_separator_CXX
=:
12201 # Commands to make compiler produce verbose output that lists
12202 # what "hidden" libraries, object files and flags are used when
12203 # linking a shared library.
12205 # There doesn't appear to be a way to prevent this compiler from
12206 # explicitly linking system object files so we need to strip them
12207 # from the output so that they don't get included in the library
12209 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'
12212 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12213 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12214 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'
12216 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12217 hardcode_libdir_separator_CXX
=:
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12222 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12225 # FIXME: insert proper C++ library support
12232 case $cc_basename in
12234 # Kuck and Associates, Inc. (KAI) C++ Compiler
12236 # KCC will only create a shared library if the output file
12237 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12238 # to its proper name (with version) after linking.
12239 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'
12241 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12242 hardcode_libdir_separator_CXX
=:
12244 # Archives containing C++ object files must be created using
12245 # the KAI C++ compiler.
12246 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12249 # Rational C++ 2.4.1
12250 # FIXME: insert proper C++ library support
12254 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12255 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'
12256 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12257 echo "-hidden">> $lib.exp~
12258 $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~
12261 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12262 hardcode_libdir_separator_CXX
=:
12264 # Commands to make compiler produce verbose output that lists
12265 # what "hidden" libraries, object files and flags are used when
12266 # linking a shared library.
12268 # There doesn't appear to be a way to prevent this compiler from
12269 # explicitly linking system object files so we need to strip them
12270 # from the output so that they don't get included in the library
12272 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'
12275 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12276 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12277 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'
12279 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12280 hardcode_libdir_separator_CXX
=:
12282 # Commands to make compiler produce verbose output that lists
12283 # what "hidden" libraries, object files and flags are used when
12284 # linking a shared library.
12285 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12288 # FIXME: insert proper C++ library support
12295 # FIXME: insert proper C++ library support
12299 case $cc_basename in
12302 # FIXME: insert proper C++ library support
12307 # FIXME: insert proper C++ library support
12311 # FIXME: insert proper C++ library support
12317 case $cc_basename in
12319 # Sun C++ 4.2, 5.x and Centerline C++
12320 archive_cmds_need_lc_CXX
=yes
12321 no_undefined_flag_CXX
=' -zdefs'
12322 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12323 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12324 $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'
12326 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12327 hardcode_shlibpath_var_CXX
=no
12329 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12331 # The compiler driver will combine and reorder linker options,
12332 # but understands `-z linker_flag'.
12333 # Supported since Solaris 2.6 (maybe 2.5.1?)
12334 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12337 link_all_deplibs_CXX
=yes
12339 output_verbose_link_cmd
='echo'
12341 # Archives containing C++ object files must be created using
12342 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12343 # necessary to make sure instantiated templates are included
12345 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12348 # Green Hills C++ Compiler
12349 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12351 # The C++ compiler must be used to create the archive.
12352 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12355 # GNU C++ compiler with Solaris linker
12356 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12357 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12358 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12359 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12360 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12361 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12363 # Commands to make compiler produce verbose output that lists
12364 # what "hidden" libraries, object files and flags are used when
12365 # linking a shared library.
12366 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12368 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12370 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12371 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12372 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12374 # Commands to make compiler produce verbose output that lists
12375 # what "hidden" libraries, object files and flags are used when
12376 # linking a shared library.
12377 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12380 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12382 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12384 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12391 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12392 no_undefined_flag_CXX
='${wl}-z,text'
12393 archive_cmds_need_lc_CXX
=no
12394 hardcode_shlibpath_var_CXX
=no
12395 runpath_var
='LD_RUN_PATH'
12397 case $cc_basename in
12399 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12400 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12403 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12404 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12408 sysv5
* | sco3.2v5
* | sco5v6
*)
12409 # Note: We can NOT use -z defs as we might desire, because we do not
12410 # link with -lc, and that would cause any symbols used from libc to
12411 # always be unresolved, which means just about no library would
12412 # ever link correctly. If we're not using GNU ld we use -z text
12413 # though, which does catch some bad symbols but isn't as heavy-handed
12415 # For security reasons, it is highly recommended that you always
12416 # use absolute paths for naming shared libraries, and exclude the
12417 # DT_RUNPATH tag from executables and libraries. But doing so
12418 # requires that you compile everything twice, which is a pain.
12419 # So that behaviour is only enabled if SCOABSPATH is set to a
12420 # non-empty value in the environment. Most likely only useful for
12421 # creating official distributions of packages.
12422 # This is a hack until libtool officially supports absolute path
12423 # names for shared libraries.
12424 no_undefined_flag_CXX
='${wl}-z,text'
12425 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12426 archive_cmds_need_lc_CXX
=no
12427 hardcode_shlibpath_var_CXX
=no
12428 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12429 hardcode_libdir_separator_CXX
=':'
12430 link_all_deplibs_CXX
=yes
12431 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12432 runpath_var
='LD_RUN_PATH'
12434 case $cc_basename in
12436 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12437 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12440 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12441 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12446 case $cc_basename in
12448 # NonStop-UX NCC 3.20
12449 # FIXME: insert proper C++ library support
12453 # FIXME: insert proper C++ library support
12459 # FIXME: insert proper C++ library support
12463 # FIXME: insert proper C++ library support
12467 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12468 $as_echo "$ld_shlibs_CXX" >&6; }
12469 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12474 cat > conftest.
$ac_ext <<EOF
12478 Foo (void) { a = 0; }
12484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12485 (eval $ac_compile) 2>&5
12487 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; then
12489 # Parse the compiler output and extract the necessary
12490 # objects, libraries and library flags.
12492 # Sentinel used to keep track of whether or not we are before
12493 # the conftest object file.
12494 pre_test_object_deps_done
=no
12496 # The `*' in the case matches for architectures that use `case' in
12497 # $output_verbose_cmd can trigger glob expansion during the loop
12498 # eval without this substitution.
12499 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12501 for p
in `eval $output_verbose_link_cmd`; do
12505 # Some compilers place space between "-{L,R}" and the path.
12506 # Remove the space.
12507 if test $p = "-L" \
12508 ||
test $p = "-R"; then
12515 if test "$pre_test_object_deps_done" = no
; then
12518 # Internal compiler library paths should come after those
12519 # provided the user. The postdeps already come after the
12520 # user supplied libs so there is no need to process them.
12521 if test -z "$compiler_lib_search_path_CXX"; then
12522 compiler_lib_search_path_CXX
="${prev}${p}"
12524 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12527 # The "-l" case would never come before the object being
12528 # linked, so don't bother handling this case.
12531 if test -z "$postdeps_CXX"; then
12532 postdeps_CXX
="${prev}${p}"
12534 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12540 # This assumes that the test object file only shows up
12541 # once in the compiler output.
12542 if test "$p" = "conftest.$objext"; then
12543 pre_test_object_deps_done
=yes
12547 if test "$pre_test_object_deps_done" = no
; then
12548 if test -z "$predep_objects_CXX"; then
12549 predep_objects_CXX
="$p"
12551 predep_objects_CXX
="$predep_objects_CXX $p"
12554 if test -z "$postdep_objects_CXX"; then
12555 postdep_objects_CXX
="$p"
12557 postdep_objects_CXX
="$postdep_objects_CXX $p"
12562 *) ;; # Ignore the rest.
12570 echo "libtool.m4: error: problem compiling CXX test program"
12573 $rm -f confest.
$objext
12575 compiler_lib_search_dirs_CXX
=
12576 if test -n "$compiler_lib_search_path_CXX"; then
12577 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12580 # PORTME: override above test on systems where it is broken
12583 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12584 # hack all around it, let's just trust "g++" to DTRT.
12585 predep_objects_CXX
=
12586 postdep_objects_CXX
=
12591 case `$CC -V 2>&1 | sed 5q` in
12595 # The more standards-conforming stlport4 library is
12596 # incompatible with the Cstd library. Avoid specifying
12597 # it if it's in CXXFLAGS. Ignore libCrun as
12598 # -library=stlport4 depends on it.
12599 case " $CXX $CXXFLAGS " in
12600 *" -library=stlport4 "*)
12601 solaris_use_stlport4
=yes
12604 if test "$solaris_use_stlport4" != yes; then
12605 postdeps_CXX
='-library=Cstd -library=Crun'
12612 case $cc_basename in
12614 # The more standards-conforming stlport4 library is
12615 # incompatible with the Cstd library. Avoid specifying
12616 # it if it's in CXXFLAGS. Ignore libCrun as
12617 # -library=stlport4 depends on it.
12618 case " $CXX $CXXFLAGS " in
12619 *" -library=stlport4 "*)
12620 solaris_use_stlport4
=yes
12624 # Adding this requires a known-good setup of shared libraries for
12625 # Sun compiler versions before 5.6, else PIC objects from an old
12626 # archive will be linked into the output, leading to subtle bugs.
12627 if test "$solaris_use_stlport4" != yes; then
12628 postdeps_CXX
='-library=Cstd -library=Crun'
12635 case " $postdeps_CXX " in
12636 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12639 lt_prog_compiler_wl_CXX
=
12640 lt_prog_compiler_pic_CXX
=
12641 lt_prog_compiler_static_CXX
=
12643 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12644 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12646 # C++ specific cases for pic, static, wl, etc.
12647 if test "$GXX" = yes; then
12648 lt_prog_compiler_wl_CXX
='-Wl,'
12649 lt_prog_compiler_static_CXX
='-static'
12653 # All AIX code is PIC.
12654 if test "$host_cpu" = ia64
; then
12655 # AIX 5 now supports IA64 processor
12656 lt_prog_compiler_static_CXX
='-Bstatic'
12660 # FIXME: we need at least 68020 code to build shared libraries, but
12661 # adding the `-m68020' flag to GCC prevents building anything better,
12663 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12665 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12666 # PIC is the default for these OSes.
12668 mingw
* | cygwin
* | os2
* | pw32
*)
12669 # This hack is so that the source file can tell whether it is being
12670 # built for inclusion in a dll (and should export symbols for example).
12671 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12672 # (--disable-auto-import) libraries
12673 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12675 darwin
* | rhapsody
*)
12676 # PIC is the default on this platform
12677 # Common symbols not allowed in MH_DYLIB files
12678 lt_prog_compiler_pic_CXX
='-fno-common'
12681 # DJGPP does not support shared libraries at all
12682 lt_prog_compiler_pic_CXX
=
12685 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12686 # Instead, we relocate shared libraries at runtime.
12689 if test -d /usr
/nec
; then
12690 lt_prog_compiler_pic_CXX
=-Kconform_pic
12694 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12695 # not for PA HP-UX.
12700 lt_prog_compiler_pic_CXX
='-fPIC'
12705 lt_prog_compiler_pic_CXX
='-fPIC'
12711 # All AIX code is PIC.
12712 if test "$host_cpu" = ia64
; then
12713 # AIX 5 now supports IA64 processor
12714 lt_prog_compiler_static_CXX
='-Bstatic'
12716 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12720 case $cc_basename in
12722 # Green Hills C++ Compiler
12723 # _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"
12728 # PIC is the default on this platform
12729 # Common symbols not allowed in MH_DYLIB files
12730 case $cc_basename in
12732 lt_prog_compiler_pic_CXX
='-qnocommon'
12733 lt_prog_compiler_wl_CXX
='-Wl,'
12738 case $cc_basename in
12740 lt_prog_compiler_pic_CXX
='-KPIC'
12743 # Green Hills C++ Compiler
12744 lt_prog_compiler_pic_CXX
='-pic'
12750 freebsd
* | dragonfly
*)
12751 # FreeBSD uses GNU C++
12753 hpux9
* | hpux10
* | hpux11
*)
12754 case $cc_basename in
12756 lt_prog_compiler_wl_CXX
='-Wl,'
12757 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12758 if test "$host_cpu" != ia64
; then
12759 lt_prog_compiler_pic_CXX
='+Z'
12763 lt_prog_compiler_wl_CXX
='-Wl,'
12764 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12770 lt_prog_compiler_pic_CXX
='+Z'
12779 # This is c89, which is MS Visual C++ (no shared libs)
12780 # Anyone wants to do a port?
12782 irix5
* | irix6
* | nonstopux
*)
12783 case $cc_basename in
12785 lt_prog_compiler_wl_CXX
='-Wl,'
12786 lt_prog_compiler_static_CXX
='-non_shared'
12787 # CC pic flag -KPIC is the default.
12793 linux
* | k
*bsd
*-gnu)
12794 case $cc_basename in
12797 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12798 lt_prog_compiler_pic_CXX
='-fPIC'
12802 lt_prog_compiler_wl_CXX
='-Wl,'
12803 lt_prog_compiler_pic_CXX
='-KPIC'
12804 lt_prog_compiler_static_CXX
='-static'
12807 # Portland Group C++ compiler.
12808 lt_prog_compiler_wl_CXX
='-Wl,'
12809 lt_prog_compiler_pic_CXX
='-fpic'
12810 lt_prog_compiler_static_CXX
='-Bstatic'
12814 # Make sure the PIC flag is empty. It appears that all Alpha
12815 # Linux and Compaq Tru64 Unix objects are PIC.
12816 lt_prog_compiler_pic_CXX
=
12817 lt_prog_compiler_static_CXX
='-non_shared'
12820 case `$CC -V 2>&1 | sed 5q` in
12823 lt_prog_compiler_pic_CXX
='-KPIC'
12824 lt_prog_compiler_static_CXX
='-Bstatic'
12825 lt_prog_compiler_wl_CXX
='-Qoption ld '
12836 case $cc_basename in
12838 lt_prog_compiler_pic_CXX
='-W c,exportall'
12844 netbsd
* | netbsdelf
*-gnu)
12846 osf3
* | osf4
* | osf5
*)
12847 case $cc_basename in
12849 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12852 # Rational C++ 2.4.1
12853 lt_prog_compiler_pic_CXX
='-pic'
12856 # Digital/Compaq C++
12857 lt_prog_compiler_wl_CXX
='-Wl,'
12858 # Make sure the PIC flag is empty. It appears that all Alpha
12859 # Linux and Compaq Tru64 Unix objects are PIC.
12860 lt_prog_compiler_pic_CXX
=
12861 lt_prog_compiler_static_CXX
='-non_shared'
12870 case $cc_basename in
12872 # Sun C++ 4.2, 5.x and Centerline C++
12873 lt_prog_compiler_pic_CXX
='-KPIC'
12874 lt_prog_compiler_static_CXX
='-Bstatic'
12875 lt_prog_compiler_wl_CXX
='-Qoption ld '
12878 # Green Hills C++ Compiler
12879 lt_prog_compiler_pic_CXX
='-PIC'
12886 case $cc_basename in
12889 lt_prog_compiler_pic_CXX
='-pic'
12890 lt_prog_compiler_static_CXX
='-Bstatic'
12894 lt_prog_compiler_pic_CXX
='-pic'
12901 case $cc_basename in
12903 # NonStop-UX NCC 3.20
12904 lt_prog_compiler_pic_CXX
='-KPIC'
12910 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12911 case $cc_basename in
12913 lt_prog_compiler_wl_CXX
='-Wl,'
12914 lt_prog_compiler_pic_CXX
='-KPIC'
12915 lt_prog_compiler_static_CXX
='-Bstatic'
12922 lt_prog_compiler_can_build_shared_CXX
=no
12927 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12928 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12931 # Check to make sure the PIC flag actually works.
12933 if test -n "$lt_prog_compiler_pic_CXX"; then
12935 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12936 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12937 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12938 $as_echo_n "(cached) " >&6
12940 lt_cv_prog_compiler_pic_works_CXX
=no
12941 ac_outfile
=conftest.
$ac_objext
12942 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12943 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12944 # Insert the option either (1) after the last *FLAGS variable, or
12945 # (2) before a word containing "conftest.", or (3) at the end.
12946 # Note that $ac_compile itself does not contain backslashes and begins
12947 # with a dollar sign (not a hyphen), so the echo should work correctly.
12948 # The option is referenced via a variable to avoid confusing sed.
12949 lt_compile
=`echo "$ac_compile" | $SED \
12950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12952 -e 's:$: $lt_compiler_flag:'`
12953 (eval echo "\"\$as_me:12953: $lt_compile\"" >&5)
12954 (eval "$lt_compile" 2>conftest.err
)
12956 cat conftest.err
>&5
12957 echo "$as_me:12957: \$? = $ac_status" >&5
12958 if (exit $ac_status) && test -s "$ac_outfile"; then
12959 # The compiler can only warn and ignore the option if not recognized
12960 # So say no if there are warnings other than the usual output.
12961 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12962 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12963 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12964 lt_cv_prog_compiler_pic_works_CXX
=yes
12970 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12971 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12973 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12974 case $lt_prog_compiler_pic_CXX in
12976 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12979 lt_prog_compiler_pic_CXX
=
12980 lt_prog_compiler_can_build_shared_CXX
=no
12985 # For platforms which do not support PIC, -DPIC is meaningless:
12987 lt_prog_compiler_pic_CXX
=
12990 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12995 # Check to make sure the static flag actually works.
12997 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12998 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13000 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13001 $as_echo_n "(cached) " >&6
13003 lt_cv_prog_compiler_static_works_CXX
=no
13004 save_LDFLAGS
="$LDFLAGS"
13005 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13006 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13007 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13008 # The linker can only warn and ignore the option if not recognized
13009 # So say no if there are warnings
13010 if test -s conftest.err
; then
13011 # Append any errors to the config.log.
13012 cat conftest.err
1>&5
13013 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
13014 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13015 if diff conftest.exp conftest.er2
>/dev
/null
; then
13016 lt_cv_prog_compiler_static_works_CXX
=yes
13019 lt_cv_prog_compiler_static_works_CXX
=yes
13023 LDFLAGS
="$save_LDFLAGS"
13026 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13027 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13029 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13032 lt_prog_compiler_static_CXX
=
13036 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13037 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13038 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13039 $as_echo_n "(cached) " >&6
13041 lt_cv_prog_compiler_c_o_CXX
=no
13042 $rm -r conftest
2>/dev
/null
13046 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13048 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13049 # Insert the option either (1) after the last *FLAGS variable, or
13050 # (2) before a word containing "conftest.", or (3) at the end.
13051 # Note that $ac_compile itself does not contain backslashes and begins
13052 # with a dollar sign (not a hyphen), so the echo should work correctly.
13053 lt_compile
=`echo "$ac_compile" | $SED \
13054 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13055 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13056 -e 's:$: $lt_compiler_flag:'`
13057 (eval echo "\"\$as_me:13057: $lt_compile\"" >&5)
13058 (eval "$lt_compile" 2>out
/conftest.err
)
13060 cat out
/conftest.err
>&5
13061 echo "$as_me:13061: \$? = $ac_status" >&5
13062 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13064 # The compiler can only warn and ignore the option if not recognized
13065 # So say no if there are warnings
13066 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13067 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13068 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13069 lt_cv_prog_compiler_c_o_CXX
=yes
13074 # SGI C++ compiler will create directory out/ii_files/ for
13075 # template instantiation
13076 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13077 $rm out
/* && rmdir out
13083 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13084 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13087 hard_links
="nottested"
13088 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13089 # do not overwrite the value of need_locks provided by the user
13090 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13091 $as_echo_n "checking if we can lock with hard links... " >&6; }
13094 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13096 ln conftest.a conftest.b
2>&5 || hard_links
=no
13097 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13098 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13099 $as_echo "$hard_links" >&6; }
13100 if test "$hard_links" = no
; then
13101 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13102 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13109 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13112 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13115 # If we're using GNU nm, then we don't want the "-C" option.
13116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13117 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13118 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'
13120 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'
13124 export_symbols_cmds_CXX
="$ltdll_cmds"
13127 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'
13129 linux
* | k
*bsd
*-gnu)
13130 link_all_deplibs_CXX
=no
13133 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13136 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13138 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13139 $as_echo "$ld_shlibs_CXX" >&6; }
13140 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13143 # Do we need to explicitly link libc?
13145 case "x$archive_cmds_need_lc_CXX" in
13147 # Assume -lc should be added
13148 archive_cmds_need_lc_CXX
=yes
13150 if test "$enable_shared" = yes && test "$GCC" = yes; then
13151 case $archive_cmds_CXX in
13153 # FIXME: we may have to deal with multi-command sequences.
13156 # Test whether the compiler implicitly links with -lc since on some
13157 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13158 # to ld, don't add -lc before -lgcc.
13159 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13160 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13165 (eval $ac_compile) 2>&5
13167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); } 2>conftest.err
; then
13171 libobjs
=conftest.
$ac_objext
13173 wl
=$lt_prog_compiler_wl_CXX
13174 pic_flag
=$lt_prog_compiler_pic_CXX
13180 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13181 allow_undefined_flag_CXX
=
13182 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13183 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); }
13188 archive_cmds_need_lc_CXX
=no
13190 archive_cmds_need_lc_CXX
=yes
13192 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13194 cat conftest.err
1>&5
13197 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13198 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13205 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13206 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13207 library_names_spec
=
13208 libname_spec
='lib$name'
13212 postuninstall_cmds
=
13216 shlibpath_overrides_runpath
=unknown
13218 dynamic_linker
="$host_os ld.so"
13219 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13221 need_lib_prefix
=unknown
13222 hardcode_into_libs
=no
13224 # when you set need_version to no, make sure it does not cause -set_version
13225 # flags to be left without arguments
13226 need_version
=unknown
13231 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13232 shlibpath_var
=LIBPATH
13234 # AIX 3 has no versioning support, so we append a major version to the name.
13235 soname_spec
='${libname}${release}${shared_ext}$major'
13242 hardcode_into_libs
=yes
13243 if test "$host_cpu" = ia64
; then
13244 # AIX 5 supports IA64
13245 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13246 shlibpath_var
=LD_LIBRARY_PATH
13248 # With GCC up to 2.95.x, collect2 would create an import file
13249 # for dependence libraries. The import file would start with
13250 # the line `#! .'. This would cause the generated library to
13251 # depend on `.', always an invalid library. This was fixed in
13252 # development snapshots of GCC prior to 3.0.
13254 aix4 | aix4.
[01] | aix4.
[01].
*)
13255 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13257 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13260 can_build_shared
=no
13264 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13265 # soname into executable. Probably we can add versioning support to
13266 # collect2, so additional links can be useful in future.
13267 if test "$aix_use_runtimelinking" = yes; then
13268 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13269 # instead of lib<name>.a to let people know that these are not
13270 # typical AIX shared libraries.
13271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13273 # We preserve .a as extension for shared libraries through AIX4.2
13274 # and later when we are not doing run time linking.
13275 library_names_spec
='${libname}${release}.a $libname.a'
13276 soname_spec
='${libname}${release}${shared_ext}$major'
13278 shlibpath_var
=LIBPATH
13283 library_names_spec
='$libname.ixlibrary $libname.a'
13284 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13285 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'
13289 library_names_spec
='${libname}${shared_ext}'
13290 dynamic_linker
="$host_os ld.so"
13291 shlibpath_var
=LIBRARY_PATH
13297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13298 soname_spec
='${libname}${release}${shared_ext}$major'
13299 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13300 shlibpath_var
=LD_LIBRARY_PATH
13301 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13302 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13303 # the default ld.so.conf also contains /usr/contrib/lib and
13304 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13305 # libtool to hard-code these into programs
13308 cygwin
* | mingw
* | pw32
*)
13309 version_type
=windows
13314 case $GCC,$host_os in
13315 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13316 library_names_spec
='$libname.dll.a'
13317 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13318 postinstall_cmds
='base_file=`basename \${file}`~
13319 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13320 dldir=$destdir/`dirname \$dlpath`~
13321 test -d \$dldir || mkdir -p \$dldir~
13322 $install_prog $dir/$dlname \$dldir/$dlname~
13323 chmod a+x \$dldir/$dlname'
13324 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13325 dlpath=$dir/\$dldll~
13327 shlibpath_overrides_runpath
=yes
13331 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13332 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13333 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13336 # MinGW DLLs use traditional 'lib' prefix
13337 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13338 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13339 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13340 # It is most probably a Windows format PATH printed by
13341 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13342 # path with ; separators, and with drive letters. We can handle the
13343 # drive letters (cygwin fileutils understands them), so leave them,
13344 # especially as we might pass files found there to a mingw objdump,
13345 # which wouldn't understand a cygwinified path. Ahh.
13346 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13348 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13352 # pw32 DLLs use 'pw' prefix rather than 'lib'
13353 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13359 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13362 dynamic_linker
='Win32 ld.exe'
13363 # FIXME: first we should search . and the directory the executable is in
13367 darwin
* | rhapsody
*)
13368 dynamic_linker
="$host_os dyld"
13369 version_type
=darwin
13372 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13373 soname_spec
='${libname}${release}${major}$shared_ext'
13374 shlibpath_overrides_runpath
=yes
13375 shlibpath_var
=DYLD_LIBRARY_PATH
13376 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13378 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13386 soname_spec
='${libname}${release}${shared_ext}$major'
13387 shlibpath_var
=LD_LIBRARY_PATH
13394 freebsd
* | dragonfly
*)
13395 # DragonFly does not have aout. When/if they implement a new
13396 # versioning mechanism, adjust this.
13397 if test -x /usr
/bin
/objformat
; then
13398 objformat
=`/usr/bin/objformat`
13401 freebsd
[123]*) objformat
=aout
;;
13402 *) objformat
=elf
;;
13405 version_type
=freebsd-
$objformat
13406 case $version_type in
13408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13413 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13417 shlibpath_var
=LD_LIBRARY_PATH
13420 shlibpath_overrides_runpath
=yes
13422 freebsd3.
[01]* | freebsdelf3.
[01]*)
13423 shlibpath_overrides_runpath
=yes
13424 hardcode_into_libs
=yes
13426 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13427 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13428 shlibpath_overrides_runpath
=no
13429 hardcode_into_libs
=yes
13431 *) # from 4.6 on, and DragonFly
13432 shlibpath_overrides_runpath
=yes
13433 hardcode_into_libs
=yes
13442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13443 soname_spec
='${libname}${release}${shared_ext}$major'
13444 shlibpath_var
=LD_LIBRARY_PATH
13445 hardcode_into_libs
=yes
13448 hpux9
* | hpux10
* | hpux11
*)
13449 # Give a soname corresponding to the major version so that dld.sl refuses to
13450 # link against other versions.
13457 hardcode_into_libs
=yes
13458 dynamic_linker
="$host_os dld.so"
13459 shlibpath_var
=LD_LIBRARY_PATH
13460 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13462 soname_spec
='${libname}${release}${shared_ext}$major'
13463 if test "X$HPUX_IA64_MODE" = X32
; then
13464 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13466 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13468 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13472 hardcode_into_libs
=yes
13473 dynamic_linker
="$host_os dld.sl"
13474 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13475 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13477 soname_spec
='${libname}${release}${shared_ext}$major'
13478 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13479 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13483 dynamic_linker
="$host_os dld.sl"
13484 shlibpath_var
=SHLIB_PATH
13485 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13487 soname_spec
='${libname}${release}${shared_ext}$major'
13490 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13491 postinstall_cmds
='chmod 555 $lib'
13498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13499 soname_spec
='${libname}${release}${shared_ext}$major'
13500 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13501 shlibpath_var
=LD_LIBRARY_PATH
13502 shlibpath_overrides_runpath
=no
13503 hardcode_into_libs
=yes
13506 irix5
* | irix6
* | nonstopux
*)
13508 nonstopux
*) version_type
=nonstopux
;;
13510 if test "$lt_cv_prog_gnu_ld" = yes; then
13518 soname_spec
='${libname}${release}${shared_ext}$major'
13519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13521 irix5
* | nonstopux
*)
13522 libsuff
= shlibsuff
=
13525 case $LD in # libtool.m4 will add one of these switches to LD
13526 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13527 libsuff
= shlibsuff
= libmagic
=32-bit;;
13528 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13529 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13530 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13531 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13532 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13536 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13537 shlibpath_overrides_runpath
=no
13538 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13539 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13540 hardcode_into_libs
=yes
13543 # No shared lib support for Linux oldld, aout, or coff.
13544 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13548 # This must be Linux ELF.
13549 linux
* | k
*bsd
*-gnu)
13553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13554 soname_spec
='${libname}${release}${shared_ext}$major'
13555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13556 shlibpath_var
=LD_LIBRARY_PATH
13557 shlibpath_overrides_runpath
=no
13558 # This implies no fast_install, which is unacceptable.
13559 # Some rework will be needed to allow for fast_install
13560 # before this can be enabled.
13561 hardcode_into_libs
=yes
13563 # Append ld.so.conf contents to the search path
13564 if test -f /etc
/ld.so.conf
; then
13565 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13566 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13569 # We used to test for /lib/ld.so.1 and disable shared libraries on
13570 # powerpc, because MkLinux only supported shared libraries with the
13571 # GNU dynamic linker. Since this was broken with cross compilers,
13572 # most powerpc-linux boxes support dynamic linking these days and
13573 # people can always --disable-shared, the test was removed, and we
13574 # assume the GNU/Linux dynamic linker is in use.
13575 dynamic_linker
='GNU/Linux ld.so'
13582 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13583 soname_spec
='${libname}${release}${shared_ext}$major'
13584 shlibpath_var
=LD_LIBRARY_PATH
13585 shlibpath_overrides_runpath
=no
13586 hardcode_into_libs
=yes
13587 dynamic_linker
='NetBSD ld.elf_so'
13594 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13596 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13597 dynamic_linker
='NetBSD (a.out) ld.so'
13599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13600 soname_spec
='${libname}${release}${shared_ext}$major'
13601 dynamic_linker
='NetBSD ld.elf_so'
13603 shlibpath_var
=LD_LIBRARY_PATH
13604 shlibpath_overrides_runpath
=yes
13605 hardcode_into_libs
=yes
13610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13611 shlibpath_var
=LD_LIBRARY_PATH
13612 shlibpath_overrides_runpath
=yes
13619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec
='${libname}${release}${shared_ext}$major'
13621 shlibpath_var
=LD_LIBRARY_PATH
13622 shlibpath_overrides_runpath
=yes
13627 sys_lib_dlsearch_path_spec
="/usr/lib"
13629 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13631 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13632 *) need_version
=no
;;
13634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13635 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13636 shlibpath_var
=LD_LIBRARY_PATH
13637 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13639 openbsd2.
[89] | openbsd2.
[89].
*)
13640 shlibpath_overrides_runpath
=no
13643 shlibpath_overrides_runpath
=yes
13647 shlibpath_overrides_runpath
=yes
13652 libname_spec
='$name'
13655 library_names_spec
='$libname${shared_ext} $libname.a'
13656 dynamic_linker
='OS/2 ld.exe'
13657 shlibpath_var
=LIBPATH
13660 osf3
* | osf4
* | osf5
*)
13664 soname_spec
='${libname}${release}${shared_ext}$major'
13665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13666 shlibpath_var
=LD_LIBRARY_PATH
13667 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13668 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13680 soname_spec
='${libname}${release}${shared_ext}$major'
13681 shlibpath_var
=LD_LIBRARY_PATH
13682 shlibpath_overrides_runpath
=yes
13683 hardcode_into_libs
=yes
13684 # ldd complains unless libraries are executable
13685 postinstall_cmds
='chmod +x $lib'
13690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13691 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13692 shlibpath_var
=LD_LIBRARY_PATH
13693 shlibpath_overrides_runpath
=yes
13694 if test "$with_gnu_ld" = yes; then
13702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13703 soname_spec
='${libname}${release}${shared_ext}$major'
13704 shlibpath_var
=LD_LIBRARY_PATH
13705 case $host_vendor in
13707 shlibpath_overrides_runpath
=no
13709 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13710 runpath_var
=LD_RUN_PATH
13718 shlibpath_overrides_runpath
=no
13719 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13725 if test -d /usr
/nec
;then
13727 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13728 soname_spec
='$libname${shared_ext}.$major'
13729 shlibpath_var
=LD_LIBRARY_PATH
13733 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13734 version_type
=freebsd-elf
13737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13738 soname_spec
='${libname}${release}${shared_ext}$major'
13739 shlibpath_var
=LD_LIBRARY_PATH
13740 hardcode_into_libs
=yes
13741 if test "$with_gnu_ld" = yes; then
13742 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13743 shlibpath_overrides_runpath
=no
13745 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13746 shlibpath_overrides_runpath
=yes
13749 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13753 sys_lib_dlsearch_path_spec
='/usr/lib'
13758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13759 soname_spec
='${libname}${release}${shared_ext}$major'
13760 shlibpath_var
=LD_LIBRARY_PATH
13767 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13768 $as_echo "$dynamic_linker" >&6; }
13769 test "$dynamic_linker" = no
&& can_build_shared
=no
13771 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13772 $as_echo_n "(cached) " >&6
13774 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13777 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13779 $as_echo_n "(cached) " >&6
13781 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13784 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13786 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13787 if test "$GCC" = yes; then
13788 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13791 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13792 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13793 hardcode_action_CXX
=
13794 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13795 test -n "$runpath_var_CXX" || \
13796 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13798 # We can hardcode non-existant directories.
13799 if test "$hardcode_direct_CXX" != no
&&
13800 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13801 # have to relink, otherwise we might link with an installed library
13802 # when we should be linking with a yet-to-be-installed one
13803 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13804 test "$hardcode_minus_L_CXX" != no
; then
13805 # Linking always hardcodes the temporary library directory.
13806 hardcode_action_CXX
=relink
13808 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13809 hardcode_action_CXX
=immediate
13812 # We cannot hardcode anything, or else we can only hardcode existing
13814 hardcode_action_CXX
=unsupported
13816 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13817 $as_echo "$hardcode_action_CXX" >&6; }
13819 if test "$hardcode_action_CXX" = relink
; then
13820 # Fast installation is not supported
13821 enable_fast_install
=no
13822 elif test "$shlibpath_overrides_runpath" = yes ||
13823 test "$enable_shared" = no
; then
13824 # Fast installation is not necessary
13825 enable_fast_install
=needless
13829 # The else clause should only fire when bootstrapping the
13830 # libtool distribution, otherwise you forgot to ship ltmain.sh
13831 # with your package, and you will get complaints that there are
13832 # no rules to generate ltmain.sh.
13833 if test -f "$ltmain"; then
13834 # See if we are running on zsh, and set the options which allow our commands through
13835 # without removal of \ escapes.
13836 if test -n "${ZSH_VERSION+set}" ; then
13837 setopt NO_GLOB_SUBST
13839 # Now quote all the things that may contain metacharacters while being
13840 # careful not to overquote the AC_SUBSTed values. We take copies of the
13841 # variables and quote the copies for generation of the libtool script.
13842 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13844 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13845 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13846 deplibs_check_method reload_flag reload_cmds need_locks \
13847 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13848 lt_cv_sys_global_symbol_to_c_name_address \
13849 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13850 old_postinstall_cmds old_postuninstall_cmds \
13854 lt_prog_compiler_wl_CXX \
13855 lt_prog_compiler_pic_CXX \
13856 lt_prog_compiler_static_CXX \
13857 lt_prog_compiler_no_builtin_flag_CXX \
13858 export_dynamic_flag_spec_CXX \
13859 thread_safe_flag_spec_CXX \
13860 whole_archive_flag_spec_CXX \
13861 enable_shared_with_static_runtimes_CXX \
13862 old_archive_cmds_CXX \
13863 old_archive_from_new_cmds_CXX \
13864 predep_objects_CXX \
13865 postdep_objects_CXX \
13868 compiler_lib_search_path_CXX \
13869 compiler_lib_search_dirs_CXX \
13871 archive_expsym_cmds_CXX \
13872 postinstall_cmds_CXX \
13873 postuninstall_cmds_CXX \
13874 old_archive_from_expsyms_cmds_CXX \
13875 allow_undefined_flag_CXX \
13876 no_undefined_flag_CXX \
13877 export_symbols_cmds_CXX \
13878 hardcode_libdir_flag_spec_CXX \
13879 hardcode_libdir_flag_spec_ld_CXX \
13880 hardcode_libdir_separator_CXX \
13881 hardcode_automatic_CXX \
13883 module_expsym_cmds_CXX \
13884 lt_cv_prog_compiler_c_o_CXX \
13885 fix_srcfile_path_CXX \
13886 exclude_expsyms_CXX \
13887 include_expsyms_CXX
; do
13890 old_archive_cmds_CXX | \
13891 old_archive_from_new_cmds_CXX | \
13892 archive_cmds_CXX | \
13893 archive_expsym_cmds_CXX | \
13894 module_cmds_CXX | \
13895 module_expsym_cmds_CXX | \
13896 old_archive_from_expsyms_cmds_CXX | \
13897 export_symbols_cmds_CXX | \
13898 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13899 postinstall_cmds | postuninstall_cmds | \
13900 old_postinstall_cmds | old_postuninstall_cmds | \
13901 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13902 # Double-quote double-evaled strings.
13903 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13906 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13912 *'\$0 --fallback-echo"')
13913 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13919 cat <<__EOF__ >> "$cfgfile"
13920 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13922 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13924 # Shell to use when invoking shell scripts.
13927 # Whether or not to build shared libraries.
13928 build_libtool_libs=$enable_shared
13930 # Whether or not to build static libraries.
13931 build_old_libs=$enable_static
13933 # Whether or not to add -lc for building shared libraries.
13934 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13936 # Whether or not to disallow shared libs when runtime libs are static
13937 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13939 # Whether or not to optimize for fast installation.
13940 fast_install=$enable_fast_install
13943 host_alias=$host_alias
13947 # The build system.
13948 build_alias=$build_alias
13952 # An echo program that does not interpret backslashes.
13957 AR_FLAGS=$lt_AR_FLAGS
13962 # LTCC compiler flags.
13963 LTCFLAGS=$lt_LTCFLAGS
13965 # A language-specific compiler.
13966 CC=$lt_compiler_CXX
13968 # Is the compiler the GNU C compiler?
13974 # The linker used to build libraries.
13977 # Whether we need hard or soft links.
13980 # A BSD-compatible nm program.
13983 # A symbol stripping program
13986 # Used to examine libraries when file_magic_cmd begins "file"
13987 MAGIC_CMD=$MAGIC_CMD
13989 # Used on cygwin: DLL creation program.
13992 # Used on cygwin: object dumper.
13995 # Used on cygwin: assembler.
13998 # The name of the directory that contains temporary libtool files.
14001 # How to create reloadable object files.
14002 reload_flag=$lt_reload_flag
14003 reload_cmds=$lt_reload_cmds
14005 # How to pass a linker flag through the compiler.
14006 wl=$lt_lt_prog_compiler_wl_CXX
14008 # Object file suffix (normally "o").
14009 objext="$ac_objext"
14011 # Old archive suffix (normally "a").
14014 # Shared library suffix (normally ".so").
14015 shrext_cmds='$shrext_cmds'
14017 # Executable file suffix (normally "").
14020 # Additional compiler flags for building library objects.
14021 pic_flag=$lt_lt_prog_compiler_pic_CXX
14024 # What is the maximum length of a command?
14025 max_cmd_len=$lt_cv_sys_max_cmd_len
14027 # Does compiler simultaneously support -c and -o options?
14028 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14030 # Must we lock files when doing compilation?
14031 need_locks=$lt_need_locks
14033 # Do we need the lib prefix for modules?
14034 need_lib_prefix=$need_lib_prefix
14036 # Do we need a version for libraries?
14037 need_version=$need_version
14039 # Whether dlopen is supported.
14040 dlopen_support=$enable_dlopen
14042 # Whether dlopen of programs is supported.
14043 dlopen_self=$enable_dlopen_self
14045 # Whether dlopen of statically linked programs is supported.
14046 dlopen_self_static=$enable_dlopen_self_static
14048 # Compiler flag to prevent dynamic linking.
14049 link_static_flag=$lt_lt_prog_compiler_static_CXX
14051 # Compiler flag to turn off builtin functions.
14052 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14054 # Compiler flag to allow reflexive dlopens.
14055 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14057 # Compiler flag to generate shared objects directly from archives.
14058 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14060 # Compiler flag to generate thread-safe objects.
14061 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14063 # Library versioning type.
14064 version_type=$version_type
14066 # Format of library name prefix.
14067 libname_spec=$lt_libname_spec
14069 # List of archive names. First name is the real one, the rest are links.
14070 # The last name is the one that the linker finds with -lNAME.
14071 library_names_spec=$lt_library_names_spec
14073 # The coded name of the library, if different from the real name.
14074 soname_spec=$lt_soname_spec
14076 # Commands used to build and install an old-style archive.
14078 old_archive_cmds=$lt_old_archive_cmds_CXX
14079 old_postinstall_cmds=$lt_old_postinstall_cmds
14080 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14082 # Create an old-style archive from a shared archive.
14083 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14085 # Create a temporary old-style archive to link instead of a shared archive.
14086 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14088 # Commands used to build and install a shared archive.
14089 archive_cmds=$lt_archive_cmds_CXX
14090 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14091 postinstall_cmds=$lt_postinstall_cmds
14092 postuninstall_cmds=$lt_postuninstall_cmds
14094 # Commands used to build a loadable module (assumed same as above if empty)
14095 module_cmds=$lt_module_cmds_CXX
14096 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14098 # Commands to strip libraries.
14099 old_striplib=$lt_old_striplib
14100 striplib=$lt_striplib
14102 # Dependencies to place before the objects being linked to create a
14104 predep_objects=$lt_predep_objects_CXX
14106 # Dependencies to place after the objects being linked to create a
14108 postdep_objects=$lt_postdep_objects_CXX
14110 # Dependencies to place before the objects being linked to create a
14112 predeps=$lt_predeps_CXX
14114 # Dependencies to place after the objects being linked to create a
14116 postdeps=$lt_postdeps_CXX
14118 # The directories searched by this compiler when creating a shared
14120 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14122 # The library search path used internally by the compiler when linking
14123 # a shared library.
14124 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14126 # Method to check whether dependent libraries are shared objects.
14127 deplibs_check_method=$lt_deplibs_check_method
14129 # Command to use when deplibs_check_method == file_magic.
14130 file_magic_cmd=$lt_file_magic_cmd
14132 # Flag that allows shared libraries with undefined symbols to be built.
14133 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14135 # Flag that forces no undefined symbols.
14136 no_undefined_flag=$lt_no_undefined_flag_CXX
14138 # Commands used to finish a libtool library installation in a directory.
14139 finish_cmds=$lt_finish_cmds
14141 # Same as above, but a single script fragment to be evaled but not shown.
14142 finish_eval=$lt_finish_eval
14144 # Take the output of nm and produce a listing of raw symbols and C names.
14145 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14147 # Transform the output of nm in a proper C declaration
14148 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14150 # Transform the output of nm in a C name address pair
14151 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14153 # This is the shared library runtime path variable.
14154 runpath_var=$runpath_var
14156 # This is the shared library path variable.
14157 shlibpath_var=$shlibpath_var
14159 # Is shlibpath searched before the hard-coded library search path?
14160 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14162 # How to hardcode a shared library path into an executable.
14163 hardcode_action=$hardcode_action_CXX
14165 # Whether we should hardcode library paths into libraries.
14166 hardcode_into_libs=$hardcode_into_libs
14168 # Flag to hardcode \$libdir into a binary during linking.
14169 # This must work even if \$libdir does not exist.
14170 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14172 # If ld is used when linking, flag to hardcode \$libdir into
14173 # a binary during linking. This must work even if \$libdir does
14175 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14177 # Whether we need a single -rpath flag with a separated argument.
14178 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14180 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14181 # resulting binary.
14182 hardcode_direct=$hardcode_direct_CXX
14184 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14185 # resulting binary.
14186 hardcode_minus_L=$hardcode_minus_L_CXX
14188 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14189 # the resulting binary.
14190 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14192 # Set to yes if building a shared library automatically hardcodes DIR into the library
14193 # and all subsequent libraries and executables linked against it.
14194 hardcode_automatic=$hardcode_automatic_CXX
14196 # Variables whose values should be saved in libtool wrapper scripts and
14197 # restored at relink time.
14198 variables_saved_for_relink="$variables_saved_for_relink"
14200 # Whether libtool must link a program against all its dependency libraries.
14201 link_all_deplibs=$link_all_deplibs_CXX
14203 # Compile-time system search path for libraries
14204 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14206 # Run-time system search path for libraries
14207 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14209 # Fix the shell variable \$srcfile for the compiler.
14210 fix_srcfile_path=$lt_fix_srcfile_path
14212 # Set to yes if exported symbols are required.
14213 always_export_symbols=$always_export_symbols_CXX
14215 # The commands to list exported symbols.
14216 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14218 # The commands to extract the exported symbol list from a shared archive.
14219 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14221 # Symbols that should not be listed in the preloaded symbols.
14222 exclude_expsyms=$lt_exclude_expsyms_CXX
14224 # Symbols that must always be exported.
14225 include_expsyms=$lt_include_expsyms_CXX
14227 # ### END LIBTOOL TAG CONFIG: $tagname
14233 # If there is no Makefile yet, we rely on a make rule to execute
14234 # `config.status --recheck' to rerun these tests and create the
14235 # libtool script then.
14236 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14237 if test -f "$ltmain_in"; then
14238 test -f Makefile
&& make "$ltmain"
14244 ac_cpp
='$CPP $CPPFLAGS'
14245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14253 with_gnu_ldcxx
=$with_gnu_ld
14254 with_gnu_ld
=$lt_save_with_gnu_ld
14255 lt_cv_path_LDCXX
=$lt_cv_path_LD
14256 lt_cv_path_LD
=$lt_save_path_LD
14257 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14258 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14266 if test -n "$F77" && test "X$F77" != "Xno"; then
14269 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14270 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14274 archive_cmds_need_lc_F77
=no
14275 allow_undefined_flag_F77
=
14276 always_export_symbols_F77
=no
14277 archive_expsym_cmds_F77
=
14278 export_dynamic_flag_spec_F77
=
14279 hardcode_direct_F77
=no
14280 hardcode_libdir_flag_spec_F77
=
14281 hardcode_libdir_flag_spec_ld_F77
=
14282 hardcode_libdir_separator_F77
=
14283 hardcode_minus_L_F77
=no
14284 hardcode_automatic_F77
=no
14286 module_expsym_cmds_F77
=
14287 link_all_deplibs_F77
=unknown
14288 old_archive_cmds_F77
=$old_archive_cmds
14289 no_undefined_flag_F77
=
14290 whole_archive_flag_spec_F77
=
14291 enable_shared_with_static_runtimes_F77
=no
14293 # Source file extension for f77 test sources.
14296 # Object file extension for compiled f77 test sources.
14300 # Code to be used in simple compile tests
14301 lt_simple_compile_test_code
="\
14307 # Code to be used in simple link tests
14308 lt_simple_link_test_code
="\
14313 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14315 # If no C compiler was specified, use CC.
14318 # If no C compiler flags were specified, use CFLAGS.
14319 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14321 # Allow CC to be a program name with arguments.
14325 # save warnings/boilerplate of simple test code
14326 ac_outfile
=conftest.
$ac_objext
14327 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14328 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14329 _lt_compiler_boilerplate
=`cat conftest.err`
14332 ac_outfile
=conftest.
$ac_objext
14333 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14334 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14335 _lt_linker_boilerplate
=`cat conftest.err`
14339 # Allow CC to be a program name with arguments.
14344 for cc_temp
in $compiler""; do
14346 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14347 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14352 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14355 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14356 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14357 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14358 $as_echo "$can_build_shared" >&6; }
14360 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14361 $as_echo_n "checking whether to build shared libraries... " >&6; }
14362 test "$can_build_shared" = "no" && enable_shared
=no
14364 # On AIX, shared libraries and static libraries use the same namespace, and
14365 # are all built from PIC.
14368 test "$enable_shared" = yes && enable_static
=no
14369 if test -n "$RANLIB"; then
14370 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14371 postinstall_cmds
='$RANLIB $lib'
14375 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14376 test "$enable_shared" = yes && enable_static
=no
14380 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14381 $as_echo "$enable_shared" >&6; }
14383 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14384 $as_echo_n "checking whether to build static libraries... " >&6; }
14385 # Make sure either enable_shared or enable_static is yes.
14386 test "$enable_shared" = yes || enable_static
=yes
14387 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14388 $as_echo "$enable_static" >&6; }
14393 lt_prog_compiler_wl_F77
=
14394 lt_prog_compiler_pic_F77
=
14395 lt_prog_compiler_static_F77
=
14397 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14398 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14400 if test "$GCC" = yes; then
14401 lt_prog_compiler_wl_F77
='-Wl,'
14402 lt_prog_compiler_static_F77
='-static'
14406 # All AIX code is PIC.
14407 if test "$host_cpu" = ia64
; then
14408 # AIX 5 now supports IA64 processor
14409 lt_prog_compiler_static_F77
='-Bstatic'
14414 # FIXME: we need at least 68020 code to build shared libraries, but
14415 # adding the `-m68020' flag to GCC prevents building anything better,
14417 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14420 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14421 # PIC is the default for these OSes.
14424 mingw
* | cygwin
* | pw32
* | os2
*)
14425 # This hack is so that the source file can tell whether it is being
14426 # built for inclusion in a dll (and should export symbols for example).
14427 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14428 # (--disable-auto-import) libraries
14429 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14432 darwin
* | rhapsody
*)
14433 # PIC is the default on this platform
14434 # Common symbols not allowed in MH_DYLIB files
14435 lt_prog_compiler_pic_F77
='-fno-common'
14439 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14440 # Instead, we relocate shared libraries at runtime.
14444 # Just because we use GCC doesn't mean we suddenly get shared libraries
14445 # on systems that don't support them.
14446 lt_prog_compiler_can_build_shared_F77
=no
14451 if test -d /usr
/nec
; then
14452 lt_prog_compiler_pic_F77
=-Kconform_pic
14457 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14458 # not for PA HP-UX.
14464 lt_prog_compiler_pic_F77
='-fPIC'
14470 lt_prog_compiler_pic_F77
='-fPIC'
14474 # PORTME Check for flag to pass linker flags through the system compiler.
14477 lt_prog_compiler_wl_F77
='-Wl,'
14478 if test "$host_cpu" = ia64
; then
14479 # AIX 5 now supports IA64 processor
14480 lt_prog_compiler_static_F77
='-Bstatic'
14482 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14486 # PIC is the default on this platform
14487 # Common symbols not allowed in MH_DYLIB files
14488 case $cc_basename in
14490 lt_prog_compiler_pic_F77
='-qnocommon'
14491 lt_prog_compiler_wl_F77
='-Wl,'
14496 mingw
* | cygwin
* | pw32
* | os2
*)
14497 # This hack is so that the source file can tell whether it is being
14498 # built for inclusion in a dll (and should export symbols for example).
14499 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14502 hpux9
* | hpux10
* | hpux11
*)
14503 lt_prog_compiler_wl_F77
='-Wl,'
14504 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14505 # not for PA HP-UX.
14511 lt_prog_compiler_pic_F77
='+Z'
14514 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14515 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14518 irix5
* | irix6
* | nonstopux
*)
14519 lt_prog_compiler_wl_F77
='-Wl,'
14520 # PIC (with -KPIC) is the default.
14521 lt_prog_compiler_static_F77
='-non_shared'
14525 lt_prog_compiler_pic_F77
='-KPIC'
14526 lt_prog_compiler_static_F77
='-Bstatic'
14529 linux
* | k
*bsd
*-gnu)
14530 case $cc_basename in
14532 lt_prog_compiler_wl_F77
='-Wl,'
14533 lt_prog_compiler_pic_F77
='-KPIC'
14534 lt_prog_compiler_static_F77
='-static'
14536 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14537 # Portland Group compilers (*not* the Pentium gcc compiler,
14538 # which looks to be a dead project)
14539 lt_prog_compiler_wl_F77
='-Wl,'
14540 lt_prog_compiler_pic_F77
='-fpic'
14541 lt_prog_compiler_static_F77
='-Bstatic'
14544 lt_prog_compiler_wl_F77
='-Wl,'
14545 # All Alpha code is PIC.
14546 lt_prog_compiler_static_F77
='-non_shared'
14549 case `$CC -V 2>&1 | sed 5q` in
14552 lt_prog_compiler_pic_F77
='-KPIC'
14553 lt_prog_compiler_static_F77
='-Bstatic'
14554 lt_prog_compiler_wl_F77
='-Wl,'
14557 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14558 lt_prog_compiler_pic_F77
='-KPIC'
14559 lt_prog_compiler_static_F77
='-Bstatic'
14560 lt_prog_compiler_wl_F77
=''
14567 osf3
* | osf4
* | osf5
*)
14568 lt_prog_compiler_wl_F77
='-Wl,'
14569 # All OSF/1 code is PIC.
14570 lt_prog_compiler_static_F77
='-non_shared'
14574 lt_prog_compiler_static_F77
='-non_shared'
14578 lt_prog_compiler_pic_F77
='-KPIC'
14579 lt_prog_compiler_static_F77
='-Bstatic'
14580 case $cc_basename in
14581 f77
* | f90
* | f95
*)
14582 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14584 lt_prog_compiler_wl_F77
='-Wl,';;
14589 lt_prog_compiler_wl_F77
='-Qoption ld '
14590 lt_prog_compiler_pic_F77
='-PIC'
14591 lt_prog_compiler_static_F77
='-Bstatic'
14594 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14595 lt_prog_compiler_wl_F77
='-Wl,'
14596 lt_prog_compiler_pic_F77
='-KPIC'
14597 lt_prog_compiler_static_F77
='-Bstatic'
14601 if test -d /usr
/nec
;then
14602 lt_prog_compiler_pic_F77
='-Kconform_pic'
14603 lt_prog_compiler_static_F77
='-Bstatic'
14607 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14608 lt_prog_compiler_wl_F77
='-Wl,'
14609 lt_prog_compiler_pic_F77
='-KPIC'
14610 lt_prog_compiler_static_F77
='-Bstatic'
14614 lt_prog_compiler_wl_F77
='-Wl,'
14615 lt_prog_compiler_can_build_shared_F77
=no
14619 lt_prog_compiler_pic_F77
='-pic'
14620 lt_prog_compiler_static_F77
='-Bstatic'
14624 lt_prog_compiler_can_build_shared_F77
=no
14629 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14630 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14633 # Check to make sure the PIC flag actually works.
14635 if test -n "$lt_prog_compiler_pic_F77"; then
14637 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14638 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14639 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14640 $as_echo_n "(cached) " >&6
14642 lt_cv_prog_compiler_pic_works_F77
=no
14643 ac_outfile
=conftest.
$ac_objext
14644 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14645 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14646 # Insert the option either (1) after the last *FLAGS variable, or
14647 # (2) before a word containing "conftest.", or (3) at the end.
14648 # Note that $ac_compile itself does not contain backslashes and begins
14649 # with a dollar sign (not a hyphen), so the echo should work correctly.
14650 # The option is referenced via a variable to avoid confusing sed.
14651 lt_compile
=`echo "$ac_compile" | $SED \
14652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14654 -e 's:$: $lt_compiler_flag:'`
14655 (eval echo "\"\$as_me:14655: $lt_compile\"" >&5)
14656 (eval "$lt_compile" 2>conftest.err
)
14658 cat conftest.err
>&5
14659 echo "$as_me:14659: \$? = $ac_status" >&5
14660 if (exit $ac_status) && test -s "$ac_outfile"; then
14661 # The compiler can only warn and ignore the option if not recognized
14662 # So say no if there are warnings other than the usual output.
14663 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14664 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14665 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14666 lt_cv_prog_compiler_pic_works_F77
=yes
14672 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14673 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14675 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14676 case $lt_prog_compiler_pic_F77 in
14678 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14681 lt_prog_compiler_pic_F77
=
14682 lt_prog_compiler_can_build_shared_F77
=no
14687 # For platforms which do not support PIC, -DPIC is meaningless:
14689 lt_prog_compiler_pic_F77
=
14692 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14697 # Check to make sure the static flag actually works.
14699 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14700 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14701 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14702 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14703 $as_echo_n "(cached) " >&6
14705 lt_cv_prog_compiler_static_works_F77
=no
14706 save_LDFLAGS
="$LDFLAGS"
14707 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14710 # The linker can only warn and ignore the option if not recognized
14711 # So say no if there are warnings
14712 if test -s conftest.err
; then
14713 # Append any errors to the config.log.
14714 cat conftest.err
1>&5
14715 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14717 if diff conftest.exp conftest.er2
>/dev
/null
; then
14718 lt_cv_prog_compiler_static_works_F77
=yes
14721 lt_cv_prog_compiler_static_works_F77
=yes
14725 LDFLAGS
="$save_LDFLAGS"
14728 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14729 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14731 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14734 lt_prog_compiler_static_F77
=
14738 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14740 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14741 $as_echo_n "(cached) " >&6
14743 lt_cv_prog_compiler_c_o_F77
=no
14744 $rm -r conftest
2>/dev
/null
14748 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14750 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14751 # Insert the option either (1) after the last *FLAGS variable, or
14752 # (2) before a word containing "conftest.", or (3) at the end.
14753 # Note that $ac_compile itself does not contain backslashes and begins
14754 # with a dollar sign (not a hyphen), so the echo should work correctly.
14755 lt_compile
=`echo "$ac_compile" | $SED \
14756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14758 -e 's:$: $lt_compiler_flag:'`
14759 (eval echo "\"\$as_me:14759: $lt_compile\"" >&5)
14760 (eval "$lt_compile" 2>out
/conftest.err
)
14762 cat out
/conftest.err
>&5
14763 echo "$as_me:14763: \$? = $ac_status" >&5
14764 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14766 # The compiler can only warn and ignore the option if not recognized
14767 # So say no if there are warnings
14768 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14769 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14770 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14771 lt_cv_prog_compiler_c_o_F77
=yes
14776 # SGI C++ compiler will create directory out/ii_files/ for
14777 # template instantiation
14778 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14779 $rm out
/* && rmdir out
14785 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14786 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14789 hard_links
="nottested"
14790 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14791 # do not overwrite the value of need_locks provided by the user
14792 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14793 $as_echo_n "checking if we can lock with hard links... " >&6; }
14796 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14798 ln conftest.a conftest.b
2>&5 || hard_links
=no
14799 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14800 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14801 $as_echo "$hard_links" >&6; }
14802 if test "$hard_links" = no
; then
14803 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14804 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14811 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14815 allow_undefined_flag_F77
=
14816 enable_shared_with_static_runtimes_F77
=no
14818 archive_expsym_cmds_F77
=
14819 old_archive_From_new_cmds_F77
=
14820 old_archive_from_expsyms_cmds_F77
=
14821 export_dynamic_flag_spec_F77
=
14822 whole_archive_flag_spec_F77
=
14823 thread_safe_flag_spec_F77
=
14824 hardcode_libdir_flag_spec_F77
=
14825 hardcode_libdir_flag_spec_ld_F77
=
14826 hardcode_libdir_separator_F77
=
14827 hardcode_direct_F77
=no
14828 hardcode_minus_L_F77
=no
14829 hardcode_shlibpath_var_F77
=unsupported
14830 link_all_deplibs_F77
=unknown
14831 hardcode_automatic_F77
=no
14833 module_expsym_cmds_F77
=
14834 always_export_symbols_F77
=no
14835 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14836 # include_expsyms should be a list of space-separated symbols to be *always*
14837 # included in the symbol list
14838 include_expsyms_F77
=
14839 # exclude_expsyms can be an extended regexp of symbols to exclude
14840 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14841 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14842 # as well as any symbol that contains `d'.
14843 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14844 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14845 # platforms (ab)use it in PIC code, but their linkers get confused if
14846 # the symbol is explicitly referenced. Since portable code cannot
14847 # rely on this symbol name, it's probably fine to never include it in
14848 # preloaded symbol tables.
14849 # Exclude shared library initialization/finalization symbols.
14850 extract_expsyms_cmds
=
14851 # Just being paranoid about ensuring that cc_basename is set.
14852 for cc_temp
in $compiler""; do
14854 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14855 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14860 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14863 cygwin
* | mingw
* | pw32
*)
14864 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14865 # When not using gcc, we currently assume that we are using
14866 # Microsoft Visual C++.
14867 if test "$GCC" != yes; then
14872 # we just hope/assume this is gcc and not c89 (= MSVC++)
14881 if test "$with_gnu_ld" = yes; then
14882 # If archive_cmds runs LD, not CC, wlarc should be empty
14885 # Set some defaults for GNU ld with shared library support. These
14886 # are reset later if shared libraries are not supported. Putting them
14887 # here allows them to be overridden if necessary.
14888 runpath_var
=LD_RUN_PATH
14889 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14890 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14891 # ancient GNU ld didn't support --whole-archive et. al.
14892 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14893 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14895 whole_archive_flag_spec_F77
=
14897 supports_anon_versioning
=no
14898 case `$LD -v 2>/dev/null` in
14899 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14900 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14901 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14902 *\
2.11.
*) ;; # other 2.11 versions
14903 *) supports_anon_versioning
=yes ;;
14906 # See if GNU ld supports shared libraries.
14909 # On AIX/PPC, the GNU linker is very broken
14910 if test "$host_cpu" != ia64
; then
14914 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14915 *** to be unable to reliably create shared libraries on AIX.
14916 *** Therefore, libtool is disabling shared libraries support. If you
14917 *** really care for shared libraries, you may want to modify your PATH
14918 *** so that a non-GNU linker is found, and then restart.
14925 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)'
14926 hardcode_libdir_flag_spec_F77
='-L$libdir'
14927 hardcode_minus_L_F77
=yes
14929 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14930 # that the semantics of dynamic libraries on AmigaOS, at least up
14931 # to version 4, is to share data among multiple programs linked
14932 # with the same dynamic library. Since this doesn't match the
14933 # behavior of shared libraries on other platforms, we can't use
14939 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14940 allow_undefined_flag_F77
=unsupported
14941 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14942 # support --undefined. This deserves some investigation. FIXME
14943 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14949 cygwin
* | mingw
* | pw32
*)
14950 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14951 # as there is no search path for DLLs.
14952 hardcode_libdir_flag_spec_F77
='-L$libdir'
14953 allow_undefined_flag_F77
=unsupported
14954 always_export_symbols_F77
=no
14955 enable_shared_with_static_runtimes_F77
=yes
14956 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14958 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14959 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14960 # If the export-symbols file already is a .def file (1st line
14961 # is EXPORTS), use it as is; otherwise, prepend...
14962 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14963 cp $export_symbols $output_objdir/$soname.def;
14965 echo EXPORTS > $output_objdir/$soname.def;
14966 cat $export_symbols >> $output_objdir/$soname.def;
14968 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14975 hardcode_direct_F77
=no
14976 hardcode_shlibpath_var_F77
=no
14977 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14978 export_dynamic_flag_spec_F77
='${wl}-E'
14979 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14980 # Instead, shared libraries are loaded at an image base (0x10000000 by
14981 # default) and relocated if they conflict, which is a slow very memory
14982 # consuming and fragmenting process. To avoid this, we pick a random,
14983 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14984 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14985 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'
14986 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'
14989 gnu
* | linux
* | k
*bsd
*-gnu)
14990 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14992 case $cc_basename,$host_cpu in
14993 pgcc
*) # Portland Group C compiler
14994 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'
14995 tmp_addflag
=' $pic_flag'
14997 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14998 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'
14999 tmp_addflag
=' $pic_flag -Mnomain' ;;
15000 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15001 tmp_addflag
=' -i_dynamic' ;;
15002 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15003 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15004 ifc
* | ifort
*) # Intel Fortran compiler
15005 tmp_addflag
=' -nofor_main' ;;
15007 case `$CC -V 2>&1 | sed 5q` in
15008 *Sun\ C
*) # Sun C 5.9
15009 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15010 tmp_sharedflag
='-G' ;;
15011 *Sun\ F
*) # Sun Fortran 8.3
15012 tmp_sharedflag
='-G' ;;
15014 tmp_sharedflag
='-shared' ;;
15016 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15018 if test $supports_anon_versioning = yes; then
15019 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15021 $echo "local: *; };" >> $output_objdir/$libname.ver~
15022 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15024 link_all_deplibs_F77
=no
15030 netbsd
* | netbsdelf
*-gnu)
15031 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15032 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15035 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15036 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15041 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15045 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15046 *** create shared libraries on Solaris systems. Therefore, libtool
15047 *** is disabling shared libraries support. We urge you to upgrade GNU
15048 *** binutils to release 2.9.1 or newer. Another option is to modify
15049 *** your PATH or compiler configuration so that the native linker is
15050 *** used, and then restart.
15053 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15054 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15055 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15061 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15062 case `$LD -v 2>&1` in
15063 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15067 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15068 *** reliably create shared libraries on SCO systems. Therefore, libtool
15069 *** is disabling shared libraries support. We urge you to upgrade GNU
15070 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15071 *** your PATH or compiler configuration so that the native linker is
15072 *** used, and then restart.
15077 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15078 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15079 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15080 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15089 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15091 hardcode_direct_F77
=yes
15092 hardcode_shlibpath_var_F77
=no
15096 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15097 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15098 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15105 if test "$ld_shlibs_F77" = no
; then
15107 hardcode_libdir_flag_spec_F77
=
15108 export_dynamic_flag_spec_F77
=
15109 whole_archive_flag_spec_F77
=
15112 # PORTME fill in a description of your system's linker (not GNU ld)
15115 allow_undefined_flag_F77
=unsupported
15116 always_export_symbols_F77
=yes
15117 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'
15118 # Note: this linker hardcodes the directories in LIBPATH if there
15119 # are no directories specified by -L.
15120 hardcode_minus_L_F77
=yes
15121 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15122 # Neither direct hardcoding nor static linking is supported with a
15124 hardcode_direct_F77
=unsupported
15129 if test "$host_cpu" = ia64
; then
15130 # On IA64, the linker does run time linking by default, so we don't
15131 # have to do anything special.
15132 aix_use_runtimelinking
=no
15133 exp_sym_flag
='-Bexport'
15136 # If we're using GNU nm, then we don't want the "-C" option.
15137 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15138 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15139 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'
15141 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'
15143 aix_use_runtimelinking
=no
15145 # Test if we are trying to use run time linking or normal
15146 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15147 # need to do runtime linking.
15148 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15149 for ld_flag
in $LDFLAGS; do
15150 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15151 aix_use_runtimelinking
=yes
15158 exp_sym_flag
='-bexport'
15159 no_entry_flag
='-bnoentry'
15162 # When large executables or shared objects are built, AIX ld can
15163 # have problems creating the table of contents. If linking a library
15164 # or program results in "error TOC overflow" add -mminimal-toc to
15165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15168 archive_cmds_F77
=''
15169 hardcode_direct_F77
=yes
15170 hardcode_libdir_separator_F77
=':'
15171 link_all_deplibs_F77
=yes
15173 if test "$GCC" = yes; then
15174 case $host_os in aix4.
[012]|aix4.
[012].
*)
15175 # We only want to do this on AIX 4.2 and lower, the check
15176 # below for broken collect2 doesn't work under 4.3+
15177 collect2name
=`${CC} -print-prog-name=collect2`
15178 if test -f "$collect2name" && \
15179 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15181 # We have reworked collect2
15184 # We have old collect2
15185 hardcode_direct_F77
=unsupported
15186 # It fails to find uninstalled libraries when the uninstalled
15187 # path is not listed in the libpath. Setting hardcode_minus_L
15188 # to unsupported forces relinking
15189 hardcode_minus_L_F77
=yes
15190 hardcode_libdir_flag_spec_F77
='-L$libdir'
15191 hardcode_libdir_separator_F77
=
15195 shared_flag
='-shared'
15196 if test "$aix_use_runtimelinking" = yes; then
15197 shared_flag
="$shared_flag "'${wl}-G'
15201 if test "$host_cpu" = ia64
; then
15202 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15203 # chokes on -Wl,-G. The following line is correct:
15206 if test "$aix_use_runtimelinking" = yes; then
15207 shared_flag
='${wl}-G'
15209 shared_flag
='${wl}-bM:SRE'
15214 # It seems that -bexpall does not export symbols beginning with
15215 # underscore (_), so it is better to generate a list of symbols to export.
15216 always_export_symbols_F77
=yes
15217 if test "$aix_use_runtimelinking" = yes; then
15218 # Warning - without using the other runtime loading flags (-brtl),
15219 # -berok will link without error, but may produce a broken library.
15220 allow_undefined_flag_F77
='-berok'
15221 # Determine the default libpath from the value encoded in an empty executable.
15222 cat >conftest.
$ac_ext <<_ACEOF
15227 rm -f conftest.
$ac_objext conftest
$ac_exeext
15228 if { (ac_try
="$ac_link"
15229 case "(($ac_try" in
15230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15231 *) ac_try_echo=$ac_try;;
15233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15234 $as_echo "$ac_try_echo") >&5
15235 (eval "$ac_link") 2>conftest.er1
15237 grep -v '^ *+' conftest.er1 >conftest.err
15239 cat conftest.err >&5
15240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } && {
15242 test -z "$ac_f77_werror_flag" ||
15243 test ! -s conftest.err
15244 } && test -s conftest$ac_exeext && {
15245 test "$cross_compiling" = yes ||
15246 $as_test_x conftest$ac_exeext
15249 lt_aix_libpath_sed='
15250 /Import File Strings/,/^$/ {
15256 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15257 # Check for a 64-bit object if we didn't find anything.
15258 if test -z "$aix_libpath"; then
15259 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15262 $as_echo "$as_me: failed program was:" >&5
15263 sed 's/^/| /' conftest.$ac_ext >&5
15268 rm -rf conftest.dSYM
15269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15270 conftest$ac_exeext conftest.$ac_ext
15271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15273 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15274 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"
15276 if test "$host_cpu" = ia64; then
15277 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15278 allow_undefined_flag_F77="-z nodefs"
15279 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"
15281 # Determine the default libpath from the value encoded in an empty executable.
15282 cat >conftest.$ac_ext <<_ACEOF
15287 rm -f conftest.$ac_objext conftest$ac_exeext
15288 if { (ac_try="$ac_link"
15289 case "(($ac_try" in
15290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15291 *) ac_try_echo
=$ac_try;;
15293 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15294 $as_echo "$ac_try_echo") >&5
15295 (eval "$ac_link") 2>conftest.er1
15297 grep -v '^ *+' conftest.er1
>conftest.err
15299 cat conftest.err
>&5
15300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && {
15302 test -z "$ac_f77_werror_flag" ||
15303 test ! -s conftest.err
15304 } && test -s conftest
$ac_exeext && {
15305 test "$cross_compiling" = yes ||
15306 $as_test_x conftest
$ac_exeext
15309 lt_aix_libpath_sed
='
15310 /Import File Strings/,/^$/ {
15316 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15317 # Check for a 64-bit object if we didn't find anything.
15318 if test -z "$aix_libpath"; then
15319 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15322 $as_echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.
$ac_ext >&5
15328 rm -rf conftest.dSYM
15329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15330 conftest
$ac_exeext conftest.
$ac_ext
15331 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15333 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15334 # Warning - without using the other run time loading flags,
15335 # -berok will link without error, but may produce a broken library.
15336 no_undefined_flag_F77
=' ${wl}-bernotok'
15337 allow_undefined_flag_F77
=' ${wl}-berok'
15338 # Exported symbols can be pulled into shared objects from archives
15339 whole_archive_flag_spec_F77
='$convenience'
15340 archive_cmds_need_lc_F77
=yes
15341 # This is similar to how AIX traditionally builds its shared libraries.
15342 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'
15348 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)'
15349 hardcode_libdir_flag_spec_F77
='-L$libdir'
15350 hardcode_minus_L_F77
=yes
15351 # see comment about different semantics on the GNU ld section
15356 export_dynamic_flag_spec_F77
=-rdynamic
15359 cygwin
* | mingw
* | pw32
*)
15360 # When not using gcc, we currently assume that we are using
15361 # Microsoft Visual C++.
15362 # hardcode_libdir_flag_spec is actually meaningless, as there is
15363 # no search path for DLLs.
15364 hardcode_libdir_flag_spec_F77
=' '
15365 allow_undefined_flag_F77
=unsupported
15366 # Tell ltmain to make .lib files, not .a files.
15368 # Tell ltmain to make .dll files, not .so files.
15370 # FIXME: Setting linknames here is a bad hack.
15371 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15372 # The linker will automatically build a .lib file if we build a DLL.
15373 old_archive_From_new_cmds_F77
='true'
15374 # FIXME: Should let the user specify the lib program.
15375 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15376 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15377 enable_shared_with_static_runtimes_F77
=yes
15380 darwin
* | rhapsody
*)
15382 rhapsody
* | darwin1.
[012])
15383 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15386 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15387 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15389 case ${MACOSX_DEPLOYMENT_TARGET} in
15391 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15394 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15400 archive_cmds_need_lc_F77
=no
15401 hardcode_direct_F77
=no
15402 hardcode_automatic_F77
=yes
15403 hardcode_shlibpath_var_F77
=unsupported
15404 whole_archive_flag_spec_F77
=''
15405 link_all_deplibs_F77
=yes
15406 if test "$GCC" = yes ; then
15407 output_verbose_link_cmd
='echo'
15408 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15409 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15410 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15411 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15413 case $cc_basename in
15415 output_verbose_link_cmd
='echo'
15416 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15417 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15418 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15419 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15420 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}'
15430 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15431 hardcode_libdir_flag_spec_F77
='-L$libdir'
15432 hardcode_shlibpath_var_F77
=no
15439 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15440 # support. Future versions do this automatically, but an explicit c++rt0.o
15441 # does not break anything, and helps significantly (at the cost of a little
15444 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15445 hardcode_libdir_flag_spec_F77
='-R$libdir'
15446 hardcode_direct_F77
=yes
15447 hardcode_shlibpath_var_F77
=no
15450 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15452 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15453 hardcode_direct_F77
=yes
15454 hardcode_minus_L_F77
=yes
15455 hardcode_shlibpath_var_F77
=no
15458 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15459 freebsd
* | dragonfly
*)
15460 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15461 hardcode_libdir_flag_spec_F77
='-R$libdir'
15462 hardcode_direct_F77
=yes
15463 hardcode_shlibpath_var_F77
=no
15467 if test "$GCC" = yes; then
15468 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'
15470 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'
15472 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15473 hardcode_libdir_separator_F77
=:
15474 hardcode_direct_F77
=yes
15476 # hardcode_minus_L: Not really in the search PATH,
15477 # but as the default location of the library.
15478 hardcode_minus_L_F77
=yes
15479 export_dynamic_flag_spec_F77
='${wl}-E'
15483 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15484 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15486 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15488 if test "$with_gnu_ld" = no
; then
15489 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15490 hardcode_libdir_separator_F77
=:
15492 hardcode_direct_F77
=yes
15493 export_dynamic_flag_spec_F77
='${wl}-E'
15495 # hardcode_minus_L: Not really in the search PATH,
15496 # but as the default location of the library.
15497 hardcode_minus_L_F77
=yes
15502 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15505 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15508 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15511 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15517 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15520 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15523 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15527 if test "$with_gnu_ld" = no
; then
15528 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15529 hardcode_libdir_separator_F77
=:
15533 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15534 hardcode_direct_F77
=no
15535 hardcode_shlibpath_var_F77
=no
15538 hardcode_direct_F77
=yes
15539 export_dynamic_flag_spec_F77
='${wl}-E'
15541 # hardcode_minus_L: Not really in the search PATH,
15542 # but as the default location of the library.
15543 hardcode_minus_L_F77
=yes
15549 irix5
* | irix6
* | nonstopux
*)
15550 if test "$GCC" = yes; then
15551 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'
15553 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'
15554 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15556 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15557 hardcode_libdir_separator_F77
=:
15558 link_all_deplibs_F77
=yes
15561 netbsd
* | netbsdelf
*-gnu)
15562 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15563 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15565 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15567 hardcode_libdir_flag_spec_F77
='-R$libdir'
15568 hardcode_direct_F77
=yes
15569 hardcode_shlibpath_var_F77
=no
15573 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15574 hardcode_direct_F77
=yes
15575 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15576 hardcode_libdir_separator_F77
=:
15577 hardcode_shlibpath_var_F77
=no
15581 if test -f /usr
/libexec
/ld.so
; then
15582 hardcode_direct_F77
=yes
15583 hardcode_shlibpath_var_F77
=no
15584 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15585 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15586 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15587 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15588 export_dynamic_flag_spec_F77
='${wl}-E'
15591 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15592 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15593 hardcode_libdir_flag_spec_F77
='-R$libdir'
15596 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15597 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15607 hardcode_libdir_flag_spec_F77
='-L$libdir'
15608 hardcode_minus_L_F77
=yes
15609 allow_undefined_flag_F77
=unsupported
15610 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'
15611 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15615 if test "$GCC" = yes; then
15616 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15617 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'
15619 allow_undefined_flag_F77
=' -expect_unresolved \*'
15620 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'
15622 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15623 hardcode_libdir_separator_F77
=:
15626 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15627 if test "$GCC" = yes; then
15628 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15629 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'
15630 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15632 allow_undefined_flag_F77
=' -expect_unresolved \*'
15633 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'
15634 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~
15635 $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'
15637 # Both c and cxx compiler support -rpath directly
15638 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15640 hardcode_libdir_separator_F77
=:
15644 no_undefined_flag_F77
=' -z text'
15645 if test "$GCC" = yes; then
15647 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15648 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15649 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15652 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15653 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15654 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15656 hardcode_libdir_flag_spec_F77
='-R$libdir'
15657 hardcode_shlibpath_var_F77
=no
15659 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15661 # The compiler driver will combine and reorder linker options,
15662 # but understands `-z linker_flag'. GCC discards it without `$wl',
15663 # but is careful enough not to reorder.
15664 # Supported since Solaris 2.6 (maybe 2.5.1?)
15665 if test "$GCC" = yes; then
15666 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15668 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15672 link_all_deplibs_F77
=yes
15676 if test "x$host_vendor" = xsequent
; then
15677 # Use $CC to link under sequent, because it throws in some extra .o
15678 # files that make .init and .fini sections work.
15679 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15681 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15683 hardcode_libdir_flag_spec_F77
='-L$libdir'
15684 hardcode_direct_F77
=yes
15685 hardcode_minus_L_F77
=yes
15686 hardcode_shlibpath_var_F77
=no
15690 case $host_vendor in
15692 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15693 hardcode_direct_F77
=yes # is this really true???
15696 ## LD is ld it makes a PLAMLIB
15697 ## CC just makes a GrossModule.
15698 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15699 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15700 hardcode_direct_F77
=no
15703 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15704 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15707 runpath_var
='LD_RUN_PATH'
15708 hardcode_shlibpath_var_F77
=no
15712 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15713 hardcode_shlibpath_var_F77
=no
15714 export_dynamic_flag_spec_F77
='-Bexport'
15718 if test -d /usr
/nec
; then
15719 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15720 hardcode_shlibpath_var_F77
=no
15721 runpath_var
=LD_RUN_PATH
15722 hardcode_runpath_var
=yes
15727 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15728 no_undefined_flag_F77
='${wl}-z,text'
15729 archive_cmds_need_lc_F77
=no
15730 hardcode_shlibpath_var_F77
=no
15731 runpath_var
='LD_RUN_PATH'
15733 if test "$GCC" = yes; then
15734 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15735 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15737 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15738 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15742 sysv5
* | sco3.2v5
* | sco5v6
*)
15743 # Note: We can NOT use -z defs as we might desire, because we do not
15744 # link with -lc, and that would cause any symbols used from libc to
15745 # always be unresolved, which means just about no library would
15746 # ever link correctly. If we're not using GNU ld we use -z text
15747 # though, which does catch some bad symbols but isn't as heavy-handed
15749 no_undefined_flag_F77
='${wl}-z,text'
15750 allow_undefined_flag_F77
='${wl}-z,nodefs'
15751 archive_cmds_need_lc_F77
=no
15752 hardcode_shlibpath_var_F77
=no
15753 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15754 hardcode_libdir_separator_F77
=':'
15755 link_all_deplibs_F77
=yes
15756 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15757 runpath_var
='LD_RUN_PATH'
15759 if test "$GCC" = yes; then
15760 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15761 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15763 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15764 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15769 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15770 hardcode_libdir_flag_spec_F77
='-L$libdir'
15771 hardcode_shlibpath_var_F77
=no
15780 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15781 $as_echo "$ld_shlibs_F77" >&6; }
15782 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15785 # Do we need to explicitly link libc?
15787 case "x$archive_cmds_need_lc_F77" in
15789 # Assume -lc should be added
15790 archive_cmds_need_lc_F77
=yes
15792 if test "$enable_shared" = yes && test "$GCC" = yes; then
15793 case $archive_cmds_F77 in
15795 # FIXME: we may have to deal with multi-command sequences.
15798 # Test whether the compiler implicitly links with -lc since on some
15799 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15800 # to ld, don't add -lc before -lgcc.
15801 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15802 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15804 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15807 (eval $ac_compile) 2>&5
15809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } 2>conftest.err
; then
15813 libobjs
=conftest.
$ac_objext
15815 wl
=$lt_prog_compiler_wl_F77
15816 pic_flag
=$lt_prog_compiler_pic_F77
15822 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15823 allow_undefined_flag_F77
=
15824 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15825 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15828 (exit $ac_status); }
15830 archive_cmds_need_lc_F77
=no
15832 archive_cmds_need_lc_F77
=yes
15834 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15836 cat conftest.err
1>&5
15839 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15840 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15847 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15848 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15849 library_names_spec
=
15850 libname_spec
='lib$name'
15854 postuninstall_cmds
=
15858 shlibpath_overrides_runpath
=unknown
15860 dynamic_linker
="$host_os ld.so"
15861 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15863 need_lib_prefix
=unknown
15864 hardcode_into_libs
=no
15866 # when you set need_version to no, make sure it does not cause -set_version
15867 # flags to be left without arguments
15868 need_version
=unknown
15873 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15874 shlibpath_var
=LIBPATH
15876 # AIX 3 has no versioning support, so we append a major version to the name.
15877 soname_spec
='${libname}${release}${shared_ext}$major'
15884 hardcode_into_libs
=yes
15885 if test "$host_cpu" = ia64
; then
15886 # AIX 5 supports IA64
15887 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15888 shlibpath_var
=LD_LIBRARY_PATH
15890 # With GCC up to 2.95.x, collect2 would create an import file
15891 # for dependence libraries. The import file would start with
15892 # the line `#! .'. This would cause the generated library to
15893 # depend on `.', always an invalid library. This was fixed in
15894 # development snapshots of GCC prior to 3.0.
15896 aix4 | aix4.
[01] | aix4.
[01].
*)
15897 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15899 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15902 can_build_shared
=no
15906 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15907 # soname into executable. Probably we can add versioning support to
15908 # collect2, so additional links can be useful in future.
15909 if test "$aix_use_runtimelinking" = yes; then
15910 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15911 # instead of lib<name>.a to let people know that these are not
15912 # typical AIX shared libraries.
15913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 # We preserve .a as extension for shared libraries through AIX4.2
15916 # and later when we are not doing run time linking.
15917 library_names_spec
='${libname}${release}.a $libname.a'
15918 soname_spec
='${libname}${release}${shared_ext}$major'
15920 shlibpath_var
=LIBPATH
15925 library_names_spec
='$libname.ixlibrary $libname.a'
15926 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15927 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'
15931 library_names_spec
='${libname}${shared_ext}'
15932 dynamic_linker
="$host_os ld.so"
15933 shlibpath_var
=LIBRARY_PATH
15939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15940 soname_spec
='${libname}${release}${shared_ext}$major'
15941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15942 shlibpath_var
=LD_LIBRARY_PATH
15943 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15944 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15945 # the default ld.so.conf also contains /usr/contrib/lib and
15946 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15947 # libtool to hard-code these into programs
15950 cygwin
* | mingw
* | pw32
*)
15951 version_type
=windows
15956 case $GCC,$host_os in
15957 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15958 library_names_spec
='$libname.dll.a'
15959 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15960 postinstall_cmds
='base_file=`basename \${file}`~
15961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15962 dldir=$destdir/`dirname \$dlpath`~
15963 test -d \$dldir || mkdir -p \$dldir~
15964 $install_prog $dir/$dlname \$dldir/$dlname~
15965 chmod a+x \$dldir/$dlname'
15966 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15967 dlpath=$dir/\$dldll~
15969 shlibpath_overrides_runpath
=yes
15973 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15974 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15975 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15978 # MinGW DLLs use traditional 'lib' prefix
15979 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15980 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15981 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15982 # It is most probably a Windows format PATH printed by
15983 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15984 # path with ; separators, and with drive letters. We can handle the
15985 # drive letters (cygwin fileutils understands them), so leave them,
15986 # especially as we might pass files found there to a mingw objdump,
15987 # which wouldn't understand a cygwinified path. Ahh.
15988 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15990 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15994 # pw32 DLLs use 'pw' prefix rather than 'lib'
15995 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16001 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16004 dynamic_linker
='Win32 ld.exe'
16005 # FIXME: first we should search . and the directory the executable is in
16009 darwin
* | rhapsody
*)
16010 dynamic_linker
="$host_os dyld"
16011 version_type
=darwin
16014 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16015 soname_spec
='${libname}${release}${major}$shared_ext'
16016 shlibpath_overrides_runpath
=yes
16017 shlibpath_var
=DYLD_LIBRARY_PATH
16018 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16020 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16028 soname_spec
='${libname}${release}${shared_ext}$major'
16029 shlibpath_var
=LD_LIBRARY_PATH
16036 freebsd
* | dragonfly
*)
16037 # DragonFly does not have aout. When/if they implement a new
16038 # versioning mechanism, adjust this.
16039 if test -x /usr
/bin
/objformat
; then
16040 objformat
=`/usr/bin/objformat`
16043 freebsd
[123]*) objformat
=aout
;;
16044 *) objformat
=elf
;;
16047 version_type
=freebsd-
$objformat
16048 case $version_type in
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16055 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16059 shlibpath_var
=LD_LIBRARY_PATH
16062 shlibpath_overrides_runpath
=yes
16064 freebsd3.
[01]* | freebsdelf3.
[01]*)
16065 shlibpath_overrides_runpath
=yes
16066 hardcode_into_libs
=yes
16068 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16069 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16070 shlibpath_overrides_runpath
=no
16071 hardcode_into_libs
=yes
16073 *) # from 4.6 on, and DragonFly
16074 shlibpath_overrides_runpath
=yes
16075 hardcode_into_libs
=yes
16084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16085 soname_spec
='${libname}${release}${shared_ext}$major'
16086 shlibpath_var
=LD_LIBRARY_PATH
16087 hardcode_into_libs
=yes
16090 hpux9
* | hpux10
* | hpux11
*)
16091 # Give a soname corresponding to the major version so that dld.sl refuses to
16092 # link against other versions.
16099 hardcode_into_libs
=yes
16100 dynamic_linker
="$host_os dld.so"
16101 shlibpath_var
=LD_LIBRARY_PATH
16102 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16104 soname_spec
='${libname}${release}${shared_ext}$major'
16105 if test "X$HPUX_IA64_MODE" = X32
; then
16106 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16108 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16110 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16114 hardcode_into_libs
=yes
16115 dynamic_linker
="$host_os dld.sl"
16116 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16117 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16119 soname_spec
='${libname}${release}${shared_ext}$major'
16120 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16121 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16125 dynamic_linker
="$host_os dld.sl"
16126 shlibpath_var
=SHLIB_PATH
16127 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16129 soname_spec
='${libname}${release}${shared_ext}$major'
16132 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16133 postinstall_cmds
='chmod 555 $lib'
16140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16141 soname_spec
='${libname}${release}${shared_ext}$major'
16142 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16143 shlibpath_var
=LD_LIBRARY_PATH
16144 shlibpath_overrides_runpath
=no
16145 hardcode_into_libs
=yes
16148 irix5
* | irix6
* | nonstopux
*)
16150 nonstopux
*) version_type
=nonstopux
;;
16152 if test "$lt_cv_prog_gnu_ld" = yes; then
16160 soname_spec
='${libname}${release}${shared_ext}$major'
16161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16163 irix5
* | nonstopux
*)
16164 libsuff
= shlibsuff
=
16167 case $LD in # libtool.m4 will add one of these switches to LD
16168 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16169 libsuff
= shlibsuff
= libmagic
=32-bit;;
16170 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16171 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16172 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16173 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16174 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16178 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16179 shlibpath_overrides_runpath
=no
16180 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16181 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16182 hardcode_into_libs
=yes
16185 # No shared lib support for Linux oldld, aout, or coff.
16186 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16190 # This must be Linux ELF.
16191 linux
* | k
*bsd
*-gnu)
16195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16196 soname_spec
='${libname}${release}${shared_ext}$major'
16197 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16198 shlibpath_var
=LD_LIBRARY_PATH
16199 shlibpath_overrides_runpath
=no
16200 # This implies no fast_install, which is unacceptable.
16201 # Some rework will be needed to allow for fast_install
16202 # before this can be enabled.
16203 hardcode_into_libs
=yes
16205 # Append ld.so.conf contents to the search path
16206 if test -f /etc
/ld.so.conf
; then
16207 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16208 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16211 # We used to test for /lib/ld.so.1 and disable shared libraries on
16212 # powerpc, because MkLinux only supported shared libraries with the
16213 # GNU dynamic linker. Since this was broken with cross compilers,
16214 # most powerpc-linux boxes support dynamic linking these days and
16215 # people can always --disable-shared, the test was removed, and we
16216 # assume the GNU/Linux dynamic linker is in use.
16217 dynamic_linker
='GNU/Linux ld.so'
16224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16225 soname_spec
='${libname}${release}${shared_ext}$major'
16226 shlibpath_var
=LD_LIBRARY_PATH
16227 shlibpath_overrides_runpath
=no
16228 hardcode_into_libs
=yes
16229 dynamic_linker
='NetBSD ld.elf_so'
16236 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16238 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16239 dynamic_linker
='NetBSD (a.out) ld.so'
16241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16242 soname_spec
='${libname}${release}${shared_ext}$major'
16243 dynamic_linker
='NetBSD ld.elf_so'
16245 shlibpath_var
=LD_LIBRARY_PATH
16246 shlibpath_overrides_runpath
=yes
16247 hardcode_into_libs
=yes
16252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16253 shlibpath_var
=LD_LIBRARY_PATH
16254 shlibpath_overrides_runpath
=yes
16261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16262 soname_spec
='${libname}${release}${shared_ext}$major'
16263 shlibpath_var
=LD_LIBRARY_PATH
16264 shlibpath_overrides_runpath
=yes
16269 sys_lib_dlsearch_path_spec
="/usr/lib"
16271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16273 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16274 *) need_version
=no
;;
16276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16277 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16278 shlibpath_var
=LD_LIBRARY_PATH
16279 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16281 openbsd2.
[89] | openbsd2.
[89].
*)
16282 shlibpath_overrides_runpath
=no
16285 shlibpath_overrides_runpath
=yes
16289 shlibpath_overrides_runpath
=yes
16294 libname_spec
='$name'
16297 library_names_spec
='$libname${shared_ext} $libname.a'
16298 dynamic_linker
='OS/2 ld.exe'
16299 shlibpath_var
=LIBPATH
16302 osf3
* | osf4
* | osf5
*)
16306 soname_spec
='${libname}${release}${shared_ext}$major'
16307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16308 shlibpath_var
=LD_LIBRARY_PATH
16309 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16310 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16322 soname_spec
='${libname}${release}${shared_ext}$major'
16323 shlibpath_var
=LD_LIBRARY_PATH
16324 shlibpath_overrides_runpath
=yes
16325 hardcode_into_libs
=yes
16326 # ldd complains unless libraries are executable
16327 postinstall_cmds
='chmod +x $lib'
16332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16333 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16334 shlibpath_var
=LD_LIBRARY_PATH
16335 shlibpath_overrides_runpath
=yes
16336 if test "$with_gnu_ld" = yes; then
16344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16345 soname_spec
='${libname}${release}${shared_ext}$major'
16346 shlibpath_var
=LD_LIBRARY_PATH
16347 case $host_vendor in
16349 shlibpath_overrides_runpath
=no
16351 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16352 runpath_var
=LD_RUN_PATH
16360 shlibpath_overrides_runpath
=no
16361 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16367 if test -d /usr
/nec
;then
16369 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16370 soname_spec
='$libname${shared_ext}.$major'
16371 shlibpath_var
=LD_LIBRARY_PATH
16375 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16376 version_type
=freebsd-elf
16379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16380 soname_spec
='${libname}${release}${shared_ext}$major'
16381 shlibpath_var
=LD_LIBRARY_PATH
16382 hardcode_into_libs
=yes
16383 if test "$with_gnu_ld" = yes; then
16384 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16385 shlibpath_overrides_runpath
=no
16387 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16388 shlibpath_overrides_runpath
=yes
16391 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16395 sys_lib_dlsearch_path_spec
='/usr/lib'
16400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16401 soname_spec
='${libname}${release}${shared_ext}$major'
16402 shlibpath_var
=LD_LIBRARY_PATH
16409 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16410 $as_echo "$dynamic_linker" >&6; }
16411 test "$dynamic_linker" = no
&& can_build_shared
=no
16413 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16414 $as_echo_n "(cached) " >&6
16416 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16419 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16420 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16421 $as_echo_n "(cached) " >&6
16423 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16426 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16428 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16429 if test "$GCC" = yes; then
16430 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16433 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16434 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16435 hardcode_action_F77
=
16436 if test -n "$hardcode_libdir_flag_spec_F77" || \
16437 test -n "$runpath_var_F77" || \
16438 test "X$hardcode_automatic_F77" = "Xyes" ; then
16440 # We can hardcode non-existant directories.
16441 if test "$hardcode_direct_F77" != no
&&
16442 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16443 # have to relink, otherwise we might link with an installed library
16444 # when we should be linking with a yet-to-be-installed one
16445 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16446 test "$hardcode_minus_L_F77" != no
; then
16447 # Linking always hardcodes the temporary library directory.
16448 hardcode_action_F77
=relink
16450 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16451 hardcode_action_F77
=immediate
16454 # We cannot hardcode anything, or else we can only hardcode existing
16456 hardcode_action_F77
=unsupported
16458 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16459 $as_echo "$hardcode_action_F77" >&6; }
16461 if test "$hardcode_action_F77" = relink
; then
16462 # Fast installation is not supported
16463 enable_fast_install
=no
16464 elif test "$shlibpath_overrides_runpath" = yes ||
16465 test "$enable_shared" = no
; then
16466 # Fast installation is not necessary
16467 enable_fast_install
=needless
16471 # The else clause should only fire when bootstrapping the
16472 # libtool distribution, otherwise you forgot to ship ltmain.sh
16473 # with your package, and you will get complaints that there are
16474 # no rules to generate ltmain.sh.
16475 if test -f "$ltmain"; then
16476 # See if we are running on zsh, and set the options which allow our commands through
16477 # without removal of \ escapes.
16478 if test -n "${ZSH_VERSION+set}" ; then
16479 setopt NO_GLOB_SUBST
16481 # Now quote all the things that may contain metacharacters while being
16482 # careful not to overquote the AC_SUBSTed values. We take copies of the
16483 # variables and quote the copies for generation of the libtool script.
16484 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16486 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16487 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16488 deplibs_check_method reload_flag reload_cmds need_locks \
16489 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16490 lt_cv_sys_global_symbol_to_c_name_address \
16491 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16492 old_postinstall_cmds old_postuninstall_cmds \
16496 lt_prog_compiler_wl_F77 \
16497 lt_prog_compiler_pic_F77 \
16498 lt_prog_compiler_static_F77 \
16499 lt_prog_compiler_no_builtin_flag_F77 \
16500 export_dynamic_flag_spec_F77 \
16501 thread_safe_flag_spec_F77 \
16502 whole_archive_flag_spec_F77 \
16503 enable_shared_with_static_runtimes_F77 \
16504 old_archive_cmds_F77 \
16505 old_archive_from_new_cmds_F77 \
16506 predep_objects_F77 \
16507 postdep_objects_F77 \
16510 compiler_lib_search_path_F77 \
16511 compiler_lib_search_dirs_F77 \
16513 archive_expsym_cmds_F77 \
16514 postinstall_cmds_F77 \
16515 postuninstall_cmds_F77 \
16516 old_archive_from_expsyms_cmds_F77 \
16517 allow_undefined_flag_F77 \
16518 no_undefined_flag_F77 \
16519 export_symbols_cmds_F77 \
16520 hardcode_libdir_flag_spec_F77 \
16521 hardcode_libdir_flag_spec_ld_F77 \
16522 hardcode_libdir_separator_F77 \
16523 hardcode_automatic_F77 \
16525 module_expsym_cmds_F77 \
16526 lt_cv_prog_compiler_c_o_F77 \
16527 fix_srcfile_path_F77 \
16528 exclude_expsyms_F77 \
16529 include_expsyms_F77
; do
16532 old_archive_cmds_F77 | \
16533 old_archive_from_new_cmds_F77 | \
16534 archive_cmds_F77 | \
16535 archive_expsym_cmds_F77 | \
16536 module_cmds_F77 | \
16537 module_expsym_cmds_F77 | \
16538 old_archive_from_expsyms_cmds_F77 | \
16539 export_symbols_cmds_F77 | \
16540 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16541 postinstall_cmds | postuninstall_cmds | \
16542 old_postinstall_cmds | old_postuninstall_cmds | \
16543 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16544 # Double-quote double-evaled strings.
16545 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16548 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16554 *'\$0 --fallback-echo"')
16555 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16561 cat <<__EOF__ >> "$cfgfile"
16562 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16564 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16566 # Shell to use when invoking shell scripts.
16569 # Whether or not to build shared libraries.
16570 build_libtool_libs=$enable_shared
16572 # Whether or not to build static libraries.
16573 build_old_libs=$enable_static
16575 # Whether or not to add -lc for building shared libraries.
16576 build_libtool_need_lc=$archive_cmds_need_lc_F77
16578 # Whether or not to disallow shared libs when runtime libs are static
16579 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16581 # Whether or not to optimize for fast installation.
16582 fast_install=$enable_fast_install
16585 host_alias=$host_alias
16589 # The build system.
16590 build_alias=$build_alias
16594 # An echo program that does not interpret backslashes.
16599 AR_FLAGS=$lt_AR_FLAGS
16604 # LTCC compiler flags.
16605 LTCFLAGS=$lt_LTCFLAGS
16607 # A language-specific compiler.
16608 CC=$lt_compiler_F77
16610 # Is the compiler the GNU C compiler?
16616 # The linker used to build libraries.
16619 # Whether we need hard or soft links.
16622 # A BSD-compatible nm program.
16625 # A symbol stripping program
16628 # Used to examine libraries when file_magic_cmd begins "file"
16629 MAGIC_CMD=$MAGIC_CMD
16631 # Used on cygwin: DLL creation program.
16634 # Used on cygwin: object dumper.
16637 # Used on cygwin: assembler.
16640 # The name of the directory that contains temporary libtool files.
16643 # How to create reloadable object files.
16644 reload_flag=$lt_reload_flag
16645 reload_cmds=$lt_reload_cmds
16647 # How to pass a linker flag through the compiler.
16648 wl=$lt_lt_prog_compiler_wl_F77
16650 # Object file suffix (normally "o").
16651 objext="$ac_objext"
16653 # Old archive suffix (normally "a").
16656 # Shared library suffix (normally ".so").
16657 shrext_cmds='$shrext_cmds'
16659 # Executable file suffix (normally "").
16662 # Additional compiler flags for building library objects.
16663 pic_flag=$lt_lt_prog_compiler_pic_F77
16666 # What is the maximum length of a command?
16667 max_cmd_len=$lt_cv_sys_max_cmd_len
16669 # Does compiler simultaneously support -c and -o options?
16670 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16672 # Must we lock files when doing compilation?
16673 need_locks=$lt_need_locks
16675 # Do we need the lib prefix for modules?
16676 need_lib_prefix=$need_lib_prefix
16678 # Do we need a version for libraries?
16679 need_version=$need_version
16681 # Whether dlopen is supported.
16682 dlopen_support=$enable_dlopen
16684 # Whether dlopen of programs is supported.
16685 dlopen_self=$enable_dlopen_self
16687 # Whether dlopen of statically linked programs is supported.
16688 dlopen_self_static=$enable_dlopen_self_static
16690 # Compiler flag to prevent dynamic linking.
16691 link_static_flag=$lt_lt_prog_compiler_static_F77
16693 # Compiler flag to turn off builtin functions.
16694 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16696 # Compiler flag to allow reflexive dlopens.
16697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16699 # Compiler flag to generate shared objects directly from archives.
16700 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16702 # Compiler flag to generate thread-safe objects.
16703 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16705 # Library versioning type.
16706 version_type=$version_type
16708 # Format of library name prefix.
16709 libname_spec=$lt_libname_spec
16711 # List of archive names. First name is the real one, the rest are links.
16712 # The last name is the one that the linker finds with -lNAME.
16713 library_names_spec=$lt_library_names_spec
16715 # The coded name of the library, if different from the real name.
16716 soname_spec=$lt_soname_spec
16718 # Commands used to build and install an old-style archive.
16720 old_archive_cmds=$lt_old_archive_cmds_F77
16721 old_postinstall_cmds=$lt_old_postinstall_cmds
16722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16724 # Create an old-style archive from a shared archive.
16725 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16727 # Create a temporary old-style archive to link instead of a shared archive.
16728 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16730 # Commands used to build and install a shared archive.
16731 archive_cmds=$lt_archive_cmds_F77
16732 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16733 postinstall_cmds=$lt_postinstall_cmds
16734 postuninstall_cmds=$lt_postuninstall_cmds
16736 # Commands used to build a loadable module (assumed same as above if empty)
16737 module_cmds=$lt_module_cmds_F77
16738 module_expsym_cmds=$lt_module_expsym_cmds_F77
16740 # Commands to strip libraries.
16741 old_striplib=$lt_old_striplib
16742 striplib=$lt_striplib
16744 # Dependencies to place before the objects being linked to create a
16746 predep_objects=$lt_predep_objects_F77
16748 # Dependencies to place after the objects being linked to create a
16750 postdep_objects=$lt_postdep_objects_F77
16752 # Dependencies to place before the objects being linked to create a
16754 predeps=$lt_predeps_F77
16756 # Dependencies to place after the objects being linked to create a
16758 postdeps=$lt_postdeps_F77
16760 # The directories searched by this compiler when creating a shared
16762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16764 # The library search path used internally by the compiler when linking
16765 # a shared library.
16766 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16768 # Method to check whether dependent libraries are shared objects.
16769 deplibs_check_method=$lt_deplibs_check_method
16771 # Command to use when deplibs_check_method == file_magic.
16772 file_magic_cmd=$lt_file_magic_cmd
16774 # Flag that allows shared libraries with undefined symbols to be built.
16775 allow_undefined_flag=$lt_allow_undefined_flag_F77
16777 # Flag that forces no undefined symbols.
16778 no_undefined_flag=$lt_no_undefined_flag_F77
16780 # Commands used to finish a libtool library installation in a directory.
16781 finish_cmds=$lt_finish_cmds
16783 # Same as above, but a single script fragment to be evaled but not shown.
16784 finish_eval=$lt_finish_eval
16786 # Take the output of nm and produce a listing of raw symbols and C names.
16787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16789 # Transform the output of nm in a proper C declaration
16790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16792 # Transform the output of nm in a C name address pair
16793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16795 # This is the shared library runtime path variable.
16796 runpath_var=$runpath_var
16798 # This is the shared library path variable.
16799 shlibpath_var=$shlibpath_var
16801 # Is shlibpath searched before the hard-coded library search path?
16802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16804 # How to hardcode a shared library path into an executable.
16805 hardcode_action=$hardcode_action_F77
16807 # Whether we should hardcode library paths into libraries.
16808 hardcode_into_libs=$hardcode_into_libs
16810 # Flag to hardcode \$libdir into a binary during linking.
16811 # This must work even if \$libdir does not exist.
16812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16814 # If ld is used when linking, flag to hardcode \$libdir into
16815 # a binary during linking. This must work even if \$libdir does
16817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16819 # Whether we need a single -rpath flag with a separated argument.
16820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16822 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16823 # resulting binary.
16824 hardcode_direct=$hardcode_direct_F77
16826 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16827 # resulting binary.
16828 hardcode_minus_L=$hardcode_minus_L_F77
16830 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16831 # the resulting binary.
16832 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16834 # Set to yes if building a shared library automatically hardcodes DIR into the library
16835 # and all subsequent libraries and executables linked against it.
16836 hardcode_automatic=$hardcode_automatic_F77
16838 # Variables whose values should be saved in libtool wrapper scripts and
16839 # restored at relink time.
16840 variables_saved_for_relink="$variables_saved_for_relink"
16842 # Whether libtool must link a program against all its dependency libraries.
16843 link_all_deplibs=$link_all_deplibs_F77
16845 # Compile-time system search path for libraries
16846 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16848 # Run-time system search path for libraries
16849 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16851 # Fix the shell variable \$srcfile for the compiler.
16852 fix_srcfile_path=$lt_fix_srcfile_path
16854 # Set to yes if exported symbols are required.
16855 always_export_symbols=$always_export_symbols_F77
16857 # The commands to list exported symbols.
16858 export_symbols_cmds=$lt_export_symbols_cmds_F77
16860 # The commands to extract the exported symbol list from a shared archive.
16861 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16863 # Symbols that should not be listed in the preloaded symbols.
16864 exclude_expsyms=$lt_exclude_expsyms_F77
16866 # Symbols that must always be exported.
16867 include_expsyms=$lt_include_expsyms_F77
16869 # ### END LIBTOOL TAG CONFIG: $tagname
16875 # If there is no Makefile yet, we rely on a make rule to execute
16876 # `config.status --recheck' to rerun these tests and create the
16877 # libtool script then.
16878 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16879 if test -f "$ltmain_in"; then
16880 test -f Makefile
&& make "$ltmain"
16886 ac_cpp
='$CPP $CPPFLAGS'
16887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16899 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16902 # Source file extension for Java test sources.
16905 # Object file extension for compiled Java test sources.
16909 # Code to be used in simple compile tests
16910 lt_simple_compile_test_code
="class foo {}"
16912 # Code to be used in simple link tests
16913 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16915 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16917 # If no C compiler was specified, use CC.
16920 # If no C compiler flags were specified, use CFLAGS.
16921 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16923 # Allow CC to be a program name with arguments.
16927 # save warnings/boilerplate of simple test code
16928 ac_outfile
=conftest.
$ac_objext
16929 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16930 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16931 _lt_compiler_boilerplate
=`cat conftest.err`
16934 ac_outfile
=conftest.
$ac_objext
16935 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16936 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16937 _lt_linker_boilerplate
=`cat conftest.err`
16941 # Allow CC to be a program name with arguments.
16946 for cc_temp
in $compiler""; do
16948 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16949 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16954 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16957 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16958 archive_cmds_need_lc_GCJ
=no
16960 old_archive_cmds_GCJ
=$old_archive_cmds
16963 lt_prog_compiler_no_builtin_flag_GCJ
=
16965 if test "$GCC" = yes; then
16966 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16969 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16970 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16971 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16972 $as_echo_n "(cached) " >&6
16974 lt_cv_prog_compiler_rtti_exceptions
=no
16975 ac_outfile
=conftest.
$ac_objext
16976 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16977 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16978 # Insert the option either (1) after the last *FLAGS variable, or
16979 # (2) before a word containing "conftest.", or (3) at the end.
16980 # Note that $ac_compile itself does not contain backslashes and begins
16981 # with a dollar sign (not a hyphen), so the echo should work correctly.
16982 # The option is referenced via a variable to avoid confusing sed.
16983 lt_compile
=`echo "$ac_compile" | $SED \
16984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16986 -e 's:$: $lt_compiler_flag:'`
16987 (eval echo "\"\$as_me:16987: $lt_compile\"" >&5)
16988 (eval "$lt_compile" 2>conftest.err
)
16990 cat conftest.err
>&5
16991 echo "$as_me:16991: \$? = $ac_status" >&5
16992 if (exit $ac_status) && test -s "$ac_outfile"; then
16993 # The compiler can only warn and ignore the option if not recognized
16994 # So say no if there are warnings other than the usual output.
16995 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16996 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16997 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16998 lt_cv_prog_compiler_rtti_exceptions
=yes
17004 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17005 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17007 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17008 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17015 lt_prog_compiler_wl_GCJ
=
17016 lt_prog_compiler_pic_GCJ
=
17017 lt_prog_compiler_static_GCJ
=
17019 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17020 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17022 if test "$GCC" = yes; then
17023 lt_prog_compiler_wl_GCJ
='-Wl,'
17024 lt_prog_compiler_static_GCJ
='-static'
17028 # All AIX code is PIC.
17029 if test "$host_cpu" = ia64
; then
17030 # AIX 5 now supports IA64 processor
17031 lt_prog_compiler_static_GCJ
='-Bstatic'
17036 # FIXME: we need at least 68020 code to build shared libraries, but
17037 # adding the `-m68020' flag to GCC prevents building anything better,
17039 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17042 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17043 # PIC is the default for these OSes.
17046 mingw
* | cygwin
* | pw32
* | os2
*)
17047 # This hack is so that the source file can tell whether it is being
17048 # built for inclusion in a dll (and should export symbols for example).
17049 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17050 # (--disable-auto-import) libraries
17054 darwin
* | rhapsody
*)
17055 # PIC is the default on this platform
17056 # Common symbols not allowed in MH_DYLIB files
17057 lt_prog_compiler_pic_GCJ
='-fno-common'
17061 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17062 # Instead, we relocate shared libraries at runtime.
17066 # Just because we use GCC doesn't mean we suddenly get shared libraries
17067 # on systems that don't support them.
17068 lt_prog_compiler_can_build_shared_GCJ
=no
17073 if test -d /usr
/nec
; then
17074 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17079 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17080 # not for PA HP-UX.
17086 lt_prog_compiler_pic_GCJ
='-fPIC'
17092 lt_prog_compiler_pic_GCJ
='-fPIC'
17096 # PORTME Check for flag to pass linker flags through the system compiler.
17099 lt_prog_compiler_wl_GCJ
='-Wl,'
17100 if test "$host_cpu" = ia64
; then
17101 # AIX 5 now supports IA64 processor
17102 lt_prog_compiler_static_GCJ
='-Bstatic'
17104 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17108 # PIC is the default on this platform
17109 # Common symbols not allowed in MH_DYLIB files
17110 case $cc_basename in
17112 lt_prog_compiler_pic_GCJ
='-qnocommon'
17113 lt_prog_compiler_wl_GCJ
='-Wl,'
17118 mingw
* | cygwin
* | pw32
* | os2
*)
17119 # This hack is so that the source file can tell whether it is being
17120 # built for inclusion in a dll (and should export symbols for example).
17124 hpux9
* | hpux10
* | hpux11
*)
17125 lt_prog_compiler_wl_GCJ
='-Wl,'
17126 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17127 # not for PA HP-UX.
17133 lt_prog_compiler_pic_GCJ
='+Z'
17136 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17137 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17140 irix5
* | irix6
* | nonstopux
*)
17141 lt_prog_compiler_wl_GCJ
='-Wl,'
17142 # PIC (with -KPIC) is the default.
17143 lt_prog_compiler_static_GCJ
='-non_shared'
17147 lt_prog_compiler_pic_GCJ
='-KPIC'
17148 lt_prog_compiler_static_GCJ
='-Bstatic'
17151 linux
* | k
*bsd
*-gnu)
17152 case $cc_basename in
17154 lt_prog_compiler_wl_GCJ
='-Wl,'
17155 lt_prog_compiler_pic_GCJ
='-KPIC'
17156 lt_prog_compiler_static_GCJ
='-static'
17158 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17159 # Portland Group compilers (*not* the Pentium gcc compiler,
17160 # which looks to be a dead project)
17161 lt_prog_compiler_wl_GCJ
='-Wl,'
17162 lt_prog_compiler_pic_GCJ
='-fpic'
17163 lt_prog_compiler_static_GCJ
='-Bstatic'
17166 lt_prog_compiler_wl_GCJ
='-Wl,'
17167 # All Alpha code is PIC.
17168 lt_prog_compiler_static_GCJ
='-non_shared'
17171 case `$CC -V 2>&1 | sed 5q` in
17174 lt_prog_compiler_pic_GCJ
='-KPIC'
17175 lt_prog_compiler_static_GCJ
='-Bstatic'
17176 lt_prog_compiler_wl_GCJ
='-Wl,'
17179 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17180 lt_prog_compiler_pic_GCJ
='-KPIC'
17181 lt_prog_compiler_static_GCJ
='-Bstatic'
17182 lt_prog_compiler_wl_GCJ
=''
17189 osf3
* | osf4
* | osf5
*)
17190 lt_prog_compiler_wl_GCJ
='-Wl,'
17191 # All OSF/1 code is PIC.
17192 lt_prog_compiler_static_GCJ
='-non_shared'
17196 lt_prog_compiler_static_GCJ
='-non_shared'
17200 lt_prog_compiler_pic_GCJ
='-KPIC'
17201 lt_prog_compiler_static_GCJ
='-Bstatic'
17202 case $cc_basename in
17203 f77
* | f90
* | f95
*)
17204 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17206 lt_prog_compiler_wl_GCJ
='-Wl,';;
17211 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17212 lt_prog_compiler_pic_GCJ
='-PIC'
17213 lt_prog_compiler_static_GCJ
='-Bstatic'
17216 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17217 lt_prog_compiler_wl_GCJ
='-Wl,'
17218 lt_prog_compiler_pic_GCJ
='-KPIC'
17219 lt_prog_compiler_static_GCJ
='-Bstatic'
17223 if test -d /usr
/nec
;then
17224 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17225 lt_prog_compiler_static_GCJ
='-Bstatic'
17229 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17230 lt_prog_compiler_wl_GCJ
='-Wl,'
17231 lt_prog_compiler_pic_GCJ
='-KPIC'
17232 lt_prog_compiler_static_GCJ
='-Bstatic'
17236 lt_prog_compiler_wl_GCJ
='-Wl,'
17237 lt_prog_compiler_can_build_shared_GCJ
=no
17241 lt_prog_compiler_pic_GCJ
='-pic'
17242 lt_prog_compiler_static_GCJ
='-Bstatic'
17246 lt_prog_compiler_can_build_shared_GCJ
=no
17251 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17252 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17255 # Check to make sure the PIC flag actually works.
17257 if test -n "$lt_prog_compiler_pic_GCJ"; then
17259 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17260 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17261 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17262 $as_echo_n "(cached) " >&6
17264 lt_cv_prog_compiler_pic_works_GCJ
=no
17265 ac_outfile
=conftest.
$ac_objext
17266 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17267 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17268 # Insert the option either (1) after the last *FLAGS variable, or
17269 # (2) before a word containing "conftest.", or (3) at the end.
17270 # Note that $ac_compile itself does not contain backslashes and begins
17271 # with a dollar sign (not a hyphen), so the echo should work correctly.
17272 # The option is referenced via a variable to avoid confusing sed.
17273 lt_compile
=`echo "$ac_compile" | $SED \
17274 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17275 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17276 -e 's:$: $lt_compiler_flag:'`
17277 (eval echo "\"\$as_me:17277: $lt_compile\"" >&5)
17278 (eval "$lt_compile" 2>conftest.err
)
17280 cat conftest.err
>&5
17281 echo "$as_me:17281: \$? = $ac_status" >&5
17282 if (exit $ac_status) && test -s "$ac_outfile"; then
17283 # The compiler can only warn and ignore the option if not recognized
17284 # So say no if there are warnings other than the usual output.
17285 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17286 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17287 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17288 lt_cv_prog_compiler_pic_works_GCJ
=yes
17294 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17295 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17297 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17298 case $lt_prog_compiler_pic_GCJ in
17300 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17303 lt_prog_compiler_pic_GCJ
=
17304 lt_prog_compiler_can_build_shared_GCJ
=no
17309 # For platforms which do not support PIC, -DPIC is meaningless:
17311 lt_prog_compiler_pic_GCJ
=
17314 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17319 # Check to make sure the static flag actually works.
17321 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17322 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17323 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17324 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17325 $as_echo_n "(cached) " >&6
17327 lt_cv_prog_compiler_static_works_GCJ
=no
17328 save_LDFLAGS
="$LDFLAGS"
17329 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17330 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17331 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17332 # The linker can only warn and ignore the option if not recognized
17333 # So say no if there are warnings
17334 if test -s conftest.err
; then
17335 # Append any errors to the config.log.
17336 cat conftest.err
1>&5
17337 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17338 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17339 if diff conftest.exp conftest.er2
>/dev
/null
; then
17340 lt_cv_prog_compiler_static_works_GCJ
=yes
17343 lt_cv_prog_compiler_static_works_GCJ
=yes
17347 LDFLAGS
="$save_LDFLAGS"
17350 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17351 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17353 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17356 lt_prog_compiler_static_GCJ
=
17360 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17361 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17362 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17363 $as_echo_n "(cached) " >&6
17365 lt_cv_prog_compiler_c_o_GCJ
=no
17366 $rm -r conftest
2>/dev
/null
17370 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17372 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17373 # Insert the option either (1) after the last *FLAGS variable, or
17374 # (2) before a word containing "conftest.", or (3) at the end.
17375 # Note that $ac_compile itself does not contain backslashes and begins
17376 # with a dollar sign (not a hyphen), so the echo should work correctly.
17377 lt_compile
=`echo "$ac_compile" | $SED \
17378 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17379 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17380 -e 's:$: $lt_compiler_flag:'`
17381 (eval echo "\"\$as_me:17381: $lt_compile\"" >&5)
17382 (eval "$lt_compile" 2>out
/conftest.err
)
17384 cat out
/conftest.err
>&5
17385 echo "$as_me:17385: \$? = $ac_status" >&5
17386 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17388 # The compiler can only warn and ignore the option if not recognized
17389 # So say no if there are warnings
17390 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17391 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17392 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17393 lt_cv_prog_compiler_c_o_GCJ
=yes
17398 # SGI C++ compiler will create directory out/ii_files/ for
17399 # template instantiation
17400 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17401 $rm out
/* && rmdir out
17407 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17408 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17411 hard_links
="nottested"
17412 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17413 # do not overwrite the value of need_locks provided by the user
17414 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17415 $as_echo_n "checking if we can lock with hard links... " >&6; }
17418 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17420 ln conftest.a conftest.b
2>&5 || hard_links
=no
17421 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17422 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17423 $as_echo "$hard_links" >&6; }
17424 if test "$hard_links" = no
; then
17425 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17426 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17433 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17434 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17437 allow_undefined_flag_GCJ
=
17438 enable_shared_with_static_runtimes_GCJ
=no
17440 archive_expsym_cmds_GCJ
=
17441 old_archive_From_new_cmds_GCJ
=
17442 old_archive_from_expsyms_cmds_GCJ
=
17443 export_dynamic_flag_spec_GCJ
=
17444 whole_archive_flag_spec_GCJ
=
17445 thread_safe_flag_spec_GCJ
=
17446 hardcode_libdir_flag_spec_GCJ
=
17447 hardcode_libdir_flag_spec_ld_GCJ
=
17448 hardcode_libdir_separator_GCJ
=
17449 hardcode_direct_GCJ
=no
17450 hardcode_minus_L_GCJ
=no
17451 hardcode_shlibpath_var_GCJ
=unsupported
17452 link_all_deplibs_GCJ
=unknown
17453 hardcode_automatic_GCJ
=no
17455 module_expsym_cmds_GCJ
=
17456 always_export_symbols_GCJ
=no
17457 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17458 # include_expsyms should be a list of space-separated symbols to be *always*
17459 # included in the symbol list
17460 include_expsyms_GCJ
=
17461 # exclude_expsyms can be an extended regexp of symbols to exclude
17462 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17463 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17464 # as well as any symbol that contains `d'.
17465 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17466 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17467 # platforms (ab)use it in PIC code, but their linkers get confused if
17468 # the symbol is explicitly referenced. Since portable code cannot
17469 # rely on this symbol name, it's probably fine to never include it in
17470 # preloaded symbol tables.
17471 # Exclude shared library initialization/finalization symbols.
17472 extract_expsyms_cmds
=
17473 # Just being paranoid about ensuring that cc_basename is set.
17474 for cc_temp
in $compiler""; do
17476 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17477 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17482 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17485 cygwin
* | mingw
* | pw32
*)
17486 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17487 # When not using gcc, we currently assume that we are using
17488 # Microsoft Visual C++.
17489 if test "$GCC" != yes; then
17494 # we just hope/assume this is gcc and not c89 (= MSVC++)
17503 if test "$with_gnu_ld" = yes; then
17504 # If archive_cmds runs LD, not CC, wlarc should be empty
17507 # Set some defaults for GNU ld with shared library support. These
17508 # are reset later if shared libraries are not supported. Putting them
17509 # here allows them to be overridden if necessary.
17510 runpath_var
=LD_RUN_PATH
17511 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17512 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17513 # ancient GNU ld didn't support --whole-archive et. al.
17514 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17515 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17517 whole_archive_flag_spec_GCJ
=
17519 supports_anon_versioning
=no
17520 case `$LD -v 2>/dev/null` in
17521 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17522 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17523 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17524 *\
2.11.
*) ;; # other 2.11 versions
17525 *) supports_anon_versioning
=yes ;;
17528 # See if GNU ld supports shared libraries.
17531 # On AIX/PPC, the GNU linker is very broken
17532 if test "$host_cpu" != ia64
; then
17536 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17537 *** to be unable to reliably create shared libraries on AIX.
17538 *** Therefore, libtool is disabling shared libraries support. If you
17539 *** really care for shared libraries, you may want to modify your PATH
17540 *** so that a non-GNU linker is found, and then restart.
17547 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)'
17548 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17549 hardcode_minus_L_GCJ
=yes
17551 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17552 # that the semantics of dynamic libraries on AmigaOS, at least up
17553 # to version 4, is to share data among multiple programs linked
17554 # with the same dynamic library. Since this doesn't match the
17555 # behavior of shared libraries on other platforms, we can't use
17561 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17562 allow_undefined_flag_GCJ
=unsupported
17563 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17564 # support --undefined. This deserves some investigation. FIXME
17565 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17571 cygwin
* | mingw
* | pw32
*)
17572 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17573 # as there is no search path for DLLs.
17574 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17575 allow_undefined_flag_GCJ
=unsupported
17576 always_export_symbols_GCJ
=no
17577 enable_shared_with_static_runtimes_GCJ
=yes
17578 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17580 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17581 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17582 # If the export-symbols file already is a .def file (1st line
17583 # is EXPORTS), use it as is; otherwise, prepend...
17584 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17585 cp $export_symbols $output_objdir/$soname.def;
17587 echo EXPORTS > $output_objdir/$soname.def;
17588 cat $export_symbols >> $output_objdir/$soname.def;
17590 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17597 hardcode_direct_GCJ
=no
17598 hardcode_shlibpath_var_GCJ
=no
17599 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17600 export_dynamic_flag_spec_GCJ
='${wl}-E'
17601 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17602 # Instead, shared libraries are loaded at an image base (0x10000000 by
17603 # default) and relocated if they conflict, which is a slow very memory
17604 # consuming and fragmenting process. To avoid this, we pick a random,
17605 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17606 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17607 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'
17608 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'
17611 gnu
* | linux
* | k
*bsd
*-gnu)
17612 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17614 case $cc_basename,$host_cpu in
17615 pgcc
*) # Portland Group C compiler
17616 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'
17617 tmp_addflag
=' $pic_flag'
17619 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17620 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'
17621 tmp_addflag
=' $pic_flag -Mnomain' ;;
17622 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17623 tmp_addflag
=' -i_dynamic' ;;
17624 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17625 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17626 ifc
* | ifort
*) # Intel Fortran compiler
17627 tmp_addflag
=' -nofor_main' ;;
17629 case `$CC -V 2>&1 | sed 5q` in
17630 *Sun\ C
*) # Sun C 5.9
17631 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17632 tmp_sharedflag
='-G' ;;
17633 *Sun\ F
*) # Sun Fortran 8.3
17634 tmp_sharedflag
='-G' ;;
17636 tmp_sharedflag
='-shared' ;;
17638 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17640 if test $supports_anon_versioning = yes; then
17641 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17642 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17643 $echo "local: *; };" >> $output_objdir/$libname.ver~
17644 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17646 link_all_deplibs_GCJ
=no
17652 netbsd
* | netbsdelf
*-gnu)
17653 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17654 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17657 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17658 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17663 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17667 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17668 *** create shared libraries on Solaris systems. Therefore, libtool
17669 *** is disabling shared libraries support. We urge you to upgrade GNU
17670 *** binutils to release 2.9.1 or newer. Another option is to modify
17671 *** your PATH or compiler configuration so that the native linker is
17672 *** used, and then restart.
17675 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17676 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17677 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17683 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17684 case `$LD -v 2>&1` in
17685 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17689 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17690 *** reliably create shared libraries on SCO systems. Therefore, libtool
17691 *** is disabling shared libraries support. We urge you to upgrade GNU
17692 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17693 *** your PATH or compiler configuration so that the native linker is
17694 *** used, and then restart.
17699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17700 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17701 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17702 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17711 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17713 hardcode_direct_GCJ
=yes
17714 hardcode_shlibpath_var_GCJ
=no
17718 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17719 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17720 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17727 if test "$ld_shlibs_GCJ" = no
; then
17729 hardcode_libdir_flag_spec_GCJ
=
17730 export_dynamic_flag_spec_GCJ
=
17731 whole_archive_flag_spec_GCJ
=
17734 # PORTME fill in a description of your system's linker (not GNU ld)
17737 allow_undefined_flag_GCJ
=unsupported
17738 always_export_symbols_GCJ
=yes
17739 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'
17740 # Note: this linker hardcodes the directories in LIBPATH if there
17741 # are no directories specified by -L.
17742 hardcode_minus_L_GCJ
=yes
17743 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17744 # Neither direct hardcoding nor static linking is supported with a
17746 hardcode_direct_GCJ
=unsupported
17751 if test "$host_cpu" = ia64
; then
17752 # On IA64, the linker does run time linking by default, so we don't
17753 # have to do anything special.
17754 aix_use_runtimelinking
=no
17755 exp_sym_flag
='-Bexport'
17758 # If we're using GNU nm, then we don't want the "-C" option.
17759 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17760 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17761 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'
17763 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'
17765 aix_use_runtimelinking
=no
17767 # Test if we are trying to use run time linking or normal
17768 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17769 # need to do runtime linking.
17770 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17771 for ld_flag
in $LDFLAGS; do
17772 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17773 aix_use_runtimelinking
=yes
17780 exp_sym_flag
='-bexport'
17781 no_entry_flag
='-bnoentry'
17784 # When large executables or shared objects are built, AIX ld can
17785 # have problems creating the table of contents. If linking a library
17786 # or program results in "error TOC overflow" add -mminimal-toc to
17787 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17788 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17790 archive_cmds_GCJ
=''
17791 hardcode_direct_GCJ
=yes
17792 hardcode_libdir_separator_GCJ
=':'
17793 link_all_deplibs_GCJ
=yes
17795 if test "$GCC" = yes; then
17796 case $host_os in aix4.
[012]|aix4.
[012].
*)
17797 # We only want to do this on AIX 4.2 and lower, the check
17798 # below for broken collect2 doesn't work under 4.3+
17799 collect2name
=`${CC} -print-prog-name=collect2`
17800 if test -f "$collect2name" && \
17801 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17803 # We have reworked collect2
17806 # We have old collect2
17807 hardcode_direct_GCJ
=unsupported
17808 # It fails to find uninstalled libraries when the uninstalled
17809 # path is not listed in the libpath. Setting hardcode_minus_L
17810 # to unsupported forces relinking
17811 hardcode_minus_L_GCJ
=yes
17812 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17813 hardcode_libdir_separator_GCJ
=
17817 shared_flag
='-shared'
17818 if test "$aix_use_runtimelinking" = yes; then
17819 shared_flag
="$shared_flag "'${wl}-G'
17823 if test "$host_cpu" = ia64
; then
17824 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17825 # chokes on -Wl,-G. The following line is correct:
17828 if test "$aix_use_runtimelinking" = yes; then
17829 shared_flag
='${wl}-G'
17831 shared_flag
='${wl}-bM:SRE'
17836 # It seems that -bexpall does not export symbols beginning with
17837 # underscore (_), so it is better to generate a list of symbols to export.
17838 always_export_symbols_GCJ
=yes
17839 if test "$aix_use_runtimelinking" = yes; then
17840 # Warning - without using the other runtime loading flags (-brtl),
17841 # -berok will link without error, but may produce a broken library.
17842 allow_undefined_flag_GCJ
='-berok'
17843 # Determine the default libpath from the value encoded in an empty executable.
17844 cat >conftest.
$ac_ext <<_ACEOF
17847 cat confdefs.h
>>conftest.
$ac_ext
17848 cat >>conftest.
$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17859 rm -f conftest.
$ac_objext conftest
$ac_exeext
17860 if { (ac_try
="$ac_link"
17861 case "(($ac_try" in
17862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17863 *) ac_try_echo=$ac_try;;
17865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17866 $as_echo "$ac_try_echo") >&5
17867 (eval "$ac_link") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1 >conftest.err
17871 cat conftest.err >&5
17872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_c_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest$ac_exeext && {
17877 test "$cross_compiling" = yes ||
17878 $as_test_x conftest$ac_exeext
17881 lt_aix_libpath_sed='
17882 /Import File Strings/,/^$/ {
17888 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17889 # Check for a 64-bit object if we didn't find anything.
17890 if test -z "$aix_libpath"; then
17891 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17894 $as_echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17900 rm -rf conftest.dSYM
17901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17902 conftest$ac_exeext conftest.$ac_ext
17903 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17905 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17906 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"
17908 if test "$host_cpu" = ia64; then
17909 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17910 allow_undefined_flag_GCJ="-z nodefs"
17911 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"
17913 # Determine the default libpath from the value encoded in an empty executable.
17914 cat >conftest.$ac_ext <<_ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17929 rm -f conftest.$ac_objext conftest$ac_exeext
17930 if { (ac_try="$ac_link"
17931 case "(($ac_try" in
17932 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17933 *) ac_try_echo
=$ac_try;;
17935 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17936 $as_echo "$ac_try_echo") >&5
17937 (eval "$ac_link") 2>conftest.er1
17939 grep -v '^ *+' conftest.er1
>conftest.err
17941 cat conftest.err
>&5
17942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } && {
17944 test -z "$ac_c_werror_flag" ||
17945 test ! -s conftest.err
17946 } && test -s conftest
$ac_exeext && {
17947 test "$cross_compiling" = yes ||
17948 $as_test_x conftest
$ac_exeext
17951 lt_aix_libpath_sed
='
17952 /Import File Strings/,/^$/ {
17958 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17959 # Check for a 64-bit object if we didn't find anything.
17960 if test -z "$aix_libpath"; then
17961 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17964 $as_echo "$as_me: failed program was:" >&5
17965 sed 's/^/| /' conftest.
$ac_ext >&5
17970 rm -rf conftest.dSYM
17971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17972 conftest
$ac_exeext conftest.
$ac_ext
17973 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17975 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17976 # Warning - without using the other run time loading flags,
17977 # -berok will link without error, but may produce a broken library.
17978 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17979 allow_undefined_flag_GCJ
=' ${wl}-berok'
17980 # Exported symbols can be pulled into shared objects from archives
17981 whole_archive_flag_spec_GCJ
='$convenience'
17982 archive_cmds_need_lc_GCJ
=yes
17983 # This is similar to how AIX traditionally builds its shared libraries.
17984 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'
17990 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)'
17991 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17992 hardcode_minus_L_GCJ
=yes
17993 # see comment about different semantics on the GNU ld section
17998 export_dynamic_flag_spec_GCJ
=-rdynamic
18001 cygwin
* | mingw
* | pw32
*)
18002 # When not using gcc, we currently assume that we are using
18003 # Microsoft Visual C++.
18004 # hardcode_libdir_flag_spec is actually meaningless, as there is
18005 # no search path for DLLs.
18006 hardcode_libdir_flag_spec_GCJ
=' '
18007 allow_undefined_flag_GCJ
=unsupported
18008 # Tell ltmain to make .lib files, not .a files.
18010 # Tell ltmain to make .dll files, not .so files.
18012 # FIXME: Setting linknames here is a bad hack.
18013 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18014 # The linker will automatically build a .lib file if we build a DLL.
18015 old_archive_From_new_cmds_GCJ
='true'
18016 # FIXME: Should let the user specify the lib program.
18017 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18018 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18019 enable_shared_with_static_runtimes_GCJ
=yes
18022 darwin
* | rhapsody
*)
18024 rhapsody
* | darwin1.
[012])
18025 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18028 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18029 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18031 case ${MACOSX_DEPLOYMENT_TARGET} in
18033 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18036 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18042 archive_cmds_need_lc_GCJ
=no
18043 hardcode_direct_GCJ
=no
18044 hardcode_automatic_GCJ
=yes
18045 hardcode_shlibpath_var_GCJ
=unsupported
18046 whole_archive_flag_spec_GCJ
=''
18047 link_all_deplibs_GCJ
=yes
18048 if test "$GCC" = yes ; then
18049 output_verbose_link_cmd
='echo'
18050 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18051 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18052 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
18053 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
18055 case $cc_basename in
18057 output_verbose_link_cmd
='echo'
18058 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18059 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18060 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18061 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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18062 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}'
18072 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18073 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18074 hardcode_shlibpath_var_GCJ
=no
18081 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18082 # support. Future versions do this automatically, but an explicit c++rt0.o
18083 # does not break anything, and helps significantly (at the cost of a little
18086 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18087 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18088 hardcode_direct_GCJ
=yes
18089 hardcode_shlibpath_var_GCJ
=no
18092 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18094 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18095 hardcode_direct_GCJ
=yes
18096 hardcode_minus_L_GCJ
=yes
18097 hardcode_shlibpath_var_GCJ
=no
18100 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18101 freebsd
* | dragonfly
*)
18102 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18103 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18104 hardcode_direct_GCJ
=yes
18105 hardcode_shlibpath_var_GCJ
=no
18109 if test "$GCC" = yes; then
18110 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'
18112 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'
18114 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18115 hardcode_libdir_separator_GCJ
=:
18116 hardcode_direct_GCJ
=yes
18118 # hardcode_minus_L: Not really in the search PATH,
18119 # but as the default location of the library.
18120 hardcode_minus_L_GCJ
=yes
18121 export_dynamic_flag_spec_GCJ
='${wl}-E'
18125 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18126 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18128 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18130 if test "$with_gnu_ld" = no
; then
18131 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18132 hardcode_libdir_separator_GCJ
=:
18134 hardcode_direct_GCJ
=yes
18135 export_dynamic_flag_spec_GCJ
='${wl}-E'
18137 # hardcode_minus_L: Not really in the search PATH,
18138 # but as the default location of the library.
18139 hardcode_minus_L_GCJ
=yes
18144 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18147 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18150 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18153 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18159 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18162 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18165 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18169 if test "$with_gnu_ld" = no
; then
18170 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18171 hardcode_libdir_separator_GCJ
=:
18175 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18176 hardcode_direct_GCJ
=no
18177 hardcode_shlibpath_var_GCJ
=no
18180 hardcode_direct_GCJ
=yes
18181 export_dynamic_flag_spec_GCJ
='${wl}-E'
18183 # hardcode_minus_L: Not really in the search PATH,
18184 # but as the default location of the library.
18185 hardcode_minus_L_GCJ
=yes
18191 irix5
* | irix6
* | nonstopux
*)
18192 if test "$GCC" = yes; then
18193 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'
18195 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'
18196 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18198 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18199 hardcode_libdir_separator_GCJ
=:
18200 link_all_deplibs_GCJ
=yes
18203 netbsd
* | netbsdelf
*-gnu)
18204 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18205 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18207 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18209 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18210 hardcode_direct_GCJ
=yes
18211 hardcode_shlibpath_var_GCJ
=no
18215 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18216 hardcode_direct_GCJ
=yes
18217 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18218 hardcode_libdir_separator_GCJ
=:
18219 hardcode_shlibpath_var_GCJ
=no
18223 if test -f /usr
/libexec
/ld.so
; then
18224 hardcode_direct_GCJ
=yes
18225 hardcode_shlibpath_var_GCJ
=no
18226 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18227 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18228 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18229 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18230 export_dynamic_flag_spec_GCJ
='${wl}-E'
18233 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18234 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18235 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18238 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18239 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18249 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18250 hardcode_minus_L_GCJ
=yes
18251 allow_undefined_flag_GCJ
=unsupported
18252 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'
18253 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18257 if test "$GCC" = yes; then
18258 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18259 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'
18261 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18262 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'
18264 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18265 hardcode_libdir_separator_GCJ
=:
18268 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18269 if test "$GCC" = yes; then
18270 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18271 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'
18272 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18274 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18275 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'
18276 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~
18277 $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'
18279 # Both c and cxx compiler support -rpath directly
18280 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18282 hardcode_libdir_separator_GCJ
=:
18286 no_undefined_flag_GCJ
=' -z text'
18287 if test "$GCC" = yes; then
18289 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18290 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18291 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18294 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18295 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18296 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18298 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18299 hardcode_shlibpath_var_GCJ
=no
18301 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18303 # The compiler driver will combine and reorder linker options,
18304 # but understands `-z linker_flag'. GCC discards it without `$wl',
18305 # but is careful enough not to reorder.
18306 # Supported since Solaris 2.6 (maybe 2.5.1?)
18307 if test "$GCC" = yes; then
18308 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18310 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18314 link_all_deplibs_GCJ
=yes
18318 if test "x$host_vendor" = xsequent
; then
18319 # Use $CC to link under sequent, because it throws in some extra .o
18320 # files that make .init and .fini sections work.
18321 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18323 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18325 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18326 hardcode_direct_GCJ
=yes
18327 hardcode_minus_L_GCJ
=yes
18328 hardcode_shlibpath_var_GCJ
=no
18332 case $host_vendor in
18334 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18335 hardcode_direct_GCJ
=yes # is this really true???
18338 ## LD is ld it makes a PLAMLIB
18339 ## CC just makes a GrossModule.
18340 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18341 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18342 hardcode_direct_GCJ
=no
18345 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18346 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18349 runpath_var
='LD_RUN_PATH'
18350 hardcode_shlibpath_var_GCJ
=no
18354 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18355 hardcode_shlibpath_var_GCJ
=no
18356 export_dynamic_flag_spec_GCJ
='-Bexport'
18360 if test -d /usr
/nec
; then
18361 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18362 hardcode_shlibpath_var_GCJ
=no
18363 runpath_var
=LD_RUN_PATH
18364 hardcode_runpath_var
=yes
18369 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18370 no_undefined_flag_GCJ
='${wl}-z,text'
18371 archive_cmds_need_lc_GCJ
=no
18372 hardcode_shlibpath_var_GCJ
=no
18373 runpath_var
='LD_RUN_PATH'
18375 if test "$GCC" = yes; then
18376 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18377 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18379 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18380 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18384 sysv5
* | sco3.2v5
* | sco5v6
*)
18385 # Note: We can NOT use -z defs as we might desire, because we do not
18386 # link with -lc, and that would cause any symbols used from libc to
18387 # always be unresolved, which means just about no library would
18388 # ever link correctly. If we're not using GNU ld we use -z text
18389 # though, which does catch some bad symbols but isn't as heavy-handed
18391 no_undefined_flag_GCJ
='${wl}-z,text'
18392 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18393 archive_cmds_need_lc_GCJ
=no
18394 hardcode_shlibpath_var_GCJ
=no
18395 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18396 hardcode_libdir_separator_GCJ
=':'
18397 link_all_deplibs_GCJ
=yes
18398 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18399 runpath_var
='LD_RUN_PATH'
18401 if test "$GCC" = yes; then
18402 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18403 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18405 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18406 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18411 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18412 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18413 hardcode_shlibpath_var_GCJ
=no
18422 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18423 $as_echo "$ld_shlibs_GCJ" >&6; }
18424 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18427 # Do we need to explicitly link libc?
18429 case "x$archive_cmds_need_lc_GCJ" in
18431 # Assume -lc should be added
18432 archive_cmds_need_lc_GCJ
=yes
18434 if test "$enable_shared" = yes && test "$GCC" = yes; then
18435 case $archive_cmds_GCJ in
18437 # FIXME: we may have to deal with multi-command sequences.
18440 # Test whether the compiler implicitly links with -lc since on some
18441 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18442 # to ld, don't add -lc before -lgcc.
18443 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18444 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18446 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18449 (eval $ac_compile) 2>&5
18451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); } 2>conftest.err
; then
18455 libobjs
=conftest.
$ac_objext
18457 wl
=$lt_prog_compiler_wl_GCJ
18458 pic_flag
=$lt_prog_compiler_pic_GCJ
18464 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18465 allow_undefined_flag_GCJ
=
18466 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18467 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }
18472 archive_cmds_need_lc_GCJ
=no
18474 archive_cmds_need_lc_GCJ
=yes
18476 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18478 cat conftest.err
1>&5
18481 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18482 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18489 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18490 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18491 library_names_spec
=
18492 libname_spec
='lib$name'
18496 postuninstall_cmds
=
18500 shlibpath_overrides_runpath
=unknown
18502 dynamic_linker
="$host_os ld.so"
18503 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18505 need_lib_prefix
=unknown
18506 hardcode_into_libs
=no
18508 # when you set need_version to no, make sure it does not cause -set_version
18509 # flags to be left without arguments
18510 need_version
=unknown
18515 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18516 shlibpath_var
=LIBPATH
18518 # AIX 3 has no versioning support, so we append a major version to the name.
18519 soname_spec
='${libname}${release}${shared_ext}$major'
18526 hardcode_into_libs
=yes
18527 if test "$host_cpu" = ia64
; then
18528 # AIX 5 supports IA64
18529 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18530 shlibpath_var
=LD_LIBRARY_PATH
18532 # With GCC up to 2.95.x, collect2 would create an import file
18533 # for dependence libraries. The import file would start with
18534 # the line `#! .'. This would cause the generated library to
18535 # depend on `.', always an invalid library. This was fixed in
18536 # development snapshots of GCC prior to 3.0.
18538 aix4 | aix4.
[01] | aix4.
[01].
*)
18539 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18541 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18544 can_build_shared
=no
18548 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18549 # soname into executable. Probably we can add versioning support to
18550 # collect2, so additional links can be useful in future.
18551 if test "$aix_use_runtimelinking" = yes; then
18552 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18553 # instead of lib<name>.a to let people know that these are not
18554 # typical AIX shared libraries.
18555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18557 # We preserve .a as extension for shared libraries through AIX4.2
18558 # and later when we are not doing run time linking.
18559 library_names_spec
='${libname}${release}.a $libname.a'
18560 soname_spec
='${libname}${release}${shared_ext}$major'
18562 shlibpath_var
=LIBPATH
18567 library_names_spec
='$libname.ixlibrary $libname.a'
18568 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18569 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'
18573 library_names_spec
='${libname}${shared_ext}'
18574 dynamic_linker
="$host_os ld.so"
18575 shlibpath_var
=LIBRARY_PATH
18581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18582 soname_spec
='${libname}${release}${shared_ext}$major'
18583 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18584 shlibpath_var
=LD_LIBRARY_PATH
18585 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18586 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18587 # the default ld.so.conf also contains /usr/contrib/lib and
18588 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18589 # libtool to hard-code these into programs
18592 cygwin
* | mingw
* | pw32
*)
18593 version_type
=windows
18598 case $GCC,$host_os in
18599 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18600 library_names_spec
='$libname.dll.a'
18601 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18602 postinstall_cmds
='base_file=`basename \${file}`~
18603 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18604 dldir=$destdir/`dirname \$dlpath`~
18605 test -d \$dldir || mkdir -p \$dldir~
18606 $install_prog $dir/$dlname \$dldir/$dlname~
18607 chmod a+x \$dldir/$dlname'
18608 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18609 dlpath=$dir/\$dldll~
18611 shlibpath_overrides_runpath
=yes
18615 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18616 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18617 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18620 # MinGW DLLs use traditional 'lib' prefix
18621 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18622 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18623 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18624 # It is most probably a Windows format PATH printed by
18625 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18626 # path with ; separators, and with drive letters. We can handle the
18627 # drive letters (cygwin fileutils understands them), so leave them,
18628 # especially as we might pass files found there to a mingw objdump,
18629 # which wouldn't understand a cygwinified path. Ahh.
18630 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18632 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18636 # pw32 DLLs use 'pw' prefix rather than 'lib'
18637 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18643 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18646 dynamic_linker
='Win32 ld.exe'
18647 # FIXME: first we should search . and the directory the executable is in
18651 darwin
* | rhapsody
*)
18652 dynamic_linker
="$host_os dyld"
18653 version_type
=darwin
18656 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18657 soname_spec
='${libname}${release}${major}$shared_ext'
18658 shlibpath_overrides_runpath
=yes
18659 shlibpath_var
=DYLD_LIBRARY_PATH
18660 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18662 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18670 soname_spec
='${libname}${release}${shared_ext}$major'
18671 shlibpath_var
=LD_LIBRARY_PATH
18678 freebsd
* | dragonfly
*)
18679 # DragonFly does not have aout. When/if they implement a new
18680 # versioning mechanism, adjust this.
18681 if test -x /usr
/bin
/objformat
; then
18682 objformat
=`/usr/bin/objformat`
18685 freebsd
[123]*) objformat
=aout
;;
18686 *) objformat
=elf
;;
18689 version_type
=freebsd-
$objformat
18690 case $version_type in
18692 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18697 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18701 shlibpath_var
=LD_LIBRARY_PATH
18704 shlibpath_overrides_runpath
=yes
18706 freebsd3.
[01]* | freebsdelf3.
[01]*)
18707 shlibpath_overrides_runpath
=yes
18708 hardcode_into_libs
=yes
18710 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18711 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18712 shlibpath_overrides_runpath
=no
18713 hardcode_into_libs
=yes
18715 *) # from 4.6 on, and DragonFly
18716 shlibpath_overrides_runpath
=yes
18717 hardcode_into_libs
=yes
18726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18727 soname_spec
='${libname}${release}${shared_ext}$major'
18728 shlibpath_var
=LD_LIBRARY_PATH
18729 hardcode_into_libs
=yes
18732 hpux9
* | hpux10
* | hpux11
*)
18733 # Give a soname corresponding to the major version so that dld.sl refuses to
18734 # link against other versions.
18741 hardcode_into_libs
=yes
18742 dynamic_linker
="$host_os dld.so"
18743 shlibpath_var
=LD_LIBRARY_PATH
18744 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18746 soname_spec
='${libname}${release}${shared_ext}$major'
18747 if test "X$HPUX_IA64_MODE" = X32
; then
18748 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18750 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18752 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18756 hardcode_into_libs
=yes
18757 dynamic_linker
="$host_os dld.sl"
18758 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18759 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18760 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18761 soname_spec
='${libname}${release}${shared_ext}$major'
18762 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18763 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18767 dynamic_linker
="$host_os dld.sl"
18768 shlibpath_var
=SHLIB_PATH
18769 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18771 soname_spec
='${libname}${release}${shared_ext}$major'
18774 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18775 postinstall_cmds
='chmod 555 $lib'
18782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18783 soname_spec
='${libname}${release}${shared_ext}$major'
18784 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18785 shlibpath_var
=LD_LIBRARY_PATH
18786 shlibpath_overrides_runpath
=no
18787 hardcode_into_libs
=yes
18790 irix5
* | irix6
* | nonstopux
*)
18792 nonstopux
*) version_type
=nonstopux
;;
18794 if test "$lt_cv_prog_gnu_ld" = yes; then
18802 soname_spec
='${libname}${release}${shared_ext}$major'
18803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18805 irix5
* | nonstopux
*)
18806 libsuff
= shlibsuff
=
18809 case $LD in # libtool.m4 will add one of these switches to LD
18810 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18811 libsuff
= shlibsuff
= libmagic
=32-bit;;
18812 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18813 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18814 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18815 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18816 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18820 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18821 shlibpath_overrides_runpath
=no
18822 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18823 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18824 hardcode_into_libs
=yes
18827 # No shared lib support for Linux oldld, aout, or coff.
18828 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18832 # This must be Linux ELF.
18833 linux
* | k
*bsd
*-gnu)
18837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18838 soname_spec
='${libname}${release}${shared_ext}$major'
18839 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18840 shlibpath_var
=LD_LIBRARY_PATH
18841 shlibpath_overrides_runpath
=no
18842 # This implies no fast_install, which is unacceptable.
18843 # Some rework will be needed to allow for fast_install
18844 # before this can be enabled.
18845 hardcode_into_libs
=yes
18847 # Append ld.so.conf contents to the search path
18848 if test -f /etc
/ld.so.conf
; then
18849 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18850 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18853 # We used to test for /lib/ld.so.1 and disable shared libraries on
18854 # powerpc, because MkLinux only supported shared libraries with the
18855 # GNU dynamic linker. Since this was broken with cross compilers,
18856 # most powerpc-linux boxes support dynamic linking these days and
18857 # people can always --disable-shared, the test was removed, and we
18858 # assume the GNU/Linux dynamic linker is in use.
18859 dynamic_linker
='GNU/Linux ld.so'
18866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18867 soname_spec
='${libname}${release}${shared_ext}$major'
18868 shlibpath_var
=LD_LIBRARY_PATH
18869 shlibpath_overrides_runpath
=no
18870 hardcode_into_libs
=yes
18871 dynamic_linker
='NetBSD ld.elf_so'
18878 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18880 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18881 dynamic_linker
='NetBSD (a.out) ld.so'
18883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18884 soname_spec
='${libname}${release}${shared_ext}$major'
18885 dynamic_linker
='NetBSD ld.elf_so'
18887 shlibpath_var
=LD_LIBRARY_PATH
18888 shlibpath_overrides_runpath
=yes
18889 hardcode_into_libs
=yes
18894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18895 shlibpath_var
=LD_LIBRARY_PATH
18896 shlibpath_overrides_runpath
=yes
18903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18904 soname_spec
='${libname}${release}${shared_ext}$major'
18905 shlibpath_var
=LD_LIBRARY_PATH
18906 shlibpath_overrides_runpath
=yes
18911 sys_lib_dlsearch_path_spec
="/usr/lib"
18913 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18915 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18916 *) need_version
=no
;;
18918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18919 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18920 shlibpath_var
=LD_LIBRARY_PATH
18921 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18923 openbsd2.
[89] | openbsd2.
[89].
*)
18924 shlibpath_overrides_runpath
=no
18927 shlibpath_overrides_runpath
=yes
18931 shlibpath_overrides_runpath
=yes
18936 libname_spec
='$name'
18939 library_names_spec
='$libname${shared_ext} $libname.a'
18940 dynamic_linker
='OS/2 ld.exe'
18941 shlibpath_var
=LIBPATH
18944 osf3
* | osf4
* | osf5
*)
18948 soname_spec
='${libname}${release}${shared_ext}$major'
18949 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18950 shlibpath_var
=LD_LIBRARY_PATH
18951 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18952 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18964 soname_spec
='${libname}${release}${shared_ext}$major'
18965 shlibpath_var
=LD_LIBRARY_PATH
18966 shlibpath_overrides_runpath
=yes
18967 hardcode_into_libs
=yes
18968 # ldd complains unless libraries are executable
18969 postinstall_cmds
='chmod +x $lib'
18974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18975 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18976 shlibpath_var
=LD_LIBRARY_PATH
18977 shlibpath_overrides_runpath
=yes
18978 if test "$with_gnu_ld" = yes; then
18986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18987 soname_spec
='${libname}${release}${shared_ext}$major'
18988 shlibpath_var
=LD_LIBRARY_PATH
18989 case $host_vendor in
18991 shlibpath_overrides_runpath
=no
18993 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18994 runpath_var
=LD_RUN_PATH
19002 shlibpath_overrides_runpath
=no
19003 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19009 if test -d /usr
/nec
;then
19011 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19012 soname_spec
='$libname${shared_ext}.$major'
19013 shlibpath_var
=LD_LIBRARY_PATH
19017 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
19018 version_type
=freebsd-elf
19021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19022 soname_spec
='${libname}${release}${shared_ext}$major'
19023 shlibpath_var
=LD_LIBRARY_PATH
19024 hardcode_into_libs
=yes
19025 if test "$with_gnu_ld" = yes; then
19026 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19027 shlibpath_overrides_runpath
=no
19029 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
19030 shlibpath_overrides_runpath
=yes
19033 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
19037 sys_lib_dlsearch_path_spec
='/usr/lib'
19042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19043 soname_spec
='${libname}${release}${shared_ext}$major'
19044 shlibpath_var
=LD_LIBRARY_PATH
19051 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19052 $as_echo "$dynamic_linker" >&6; }
19053 test "$dynamic_linker" = no
&& can_build_shared
=no
19055 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19056 $as_echo_n "(cached) " >&6
19058 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
19061 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
19062 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19063 $as_echo_n "(cached) " >&6
19065 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
19068 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
19070 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
19071 if test "$GCC" = yes; then
19072 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19075 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19076 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19077 hardcode_action_GCJ
=
19078 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19079 test -n "$runpath_var_GCJ" || \
19080 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19082 # We can hardcode non-existant directories.
19083 if test "$hardcode_direct_GCJ" != no
&&
19084 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19085 # have to relink, otherwise we might link with an installed library
19086 # when we should be linking with a yet-to-be-installed one
19087 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19088 test "$hardcode_minus_L_GCJ" != no
; then
19089 # Linking always hardcodes the temporary library directory.
19090 hardcode_action_GCJ
=relink
19092 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19093 hardcode_action_GCJ
=immediate
19096 # We cannot hardcode anything, or else we can only hardcode existing
19098 hardcode_action_GCJ
=unsupported
19100 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19101 $as_echo "$hardcode_action_GCJ" >&6; }
19103 if test "$hardcode_action_GCJ" = relink
; then
19104 # Fast installation is not supported
19105 enable_fast_install
=no
19106 elif test "$shlibpath_overrides_runpath" = yes ||
19107 test "$enable_shared" = no
; then
19108 # Fast installation is not necessary
19109 enable_fast_install
=needless
19113 # The else clause should only fire when bootstrapping the
19114 # libtool distribution, otherwise you forgot to ship ltmain.sh
19115 # with your package, and you will get complaints that there are
19116 # no rules to generate ltmain.sh.
19117 if test -f "$ltmain"; then
19118 # See if we are running on zsh, and set the options which allow our commands through
19119 # without removal of \ escapes.
19120 if test -n "${ZSH_VERSION+set}" ; then
19121 setopt NO_GLOB_SUBST
19123 # Now quote all the things that may contain metacharacters while being
19124 # careful not to overquote the AC_SUBSTed values. We take copies of the
19125 # variables and quote the copies for generation of the libtool script.
19126 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19128 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19129 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19130 deplibs_check_method reload_flag reload_cmds need_locks \
19131 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19132 lt_cv_sys_global_symbol_to_c_name_address \
19133 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19134 old_postinstall_cmds old_postuninstall_cmds \
19138 lt_prog_compiler_wl_GCJ \
19139 lt_prog_compiler_pic_GCJ \
19140 lt_prog_compiler_static_GCJ \
19141 lt_prog_compiler_no_builtin_flag_GCJ \
19142 export_dynamic_flag_spec_GCJ \
19143 thread_safe_flag_spec_GCJ \
19144 whole_archive_flag_spec_GCJ \
19145 enable_shared_with_static_runtimes_GCJ \
19146 old_archive_cmds_GCJ \
19147 old_archive_from_new_cmds_GCJ \
19148 predep_objects_GCJ \
19149 postdep_objects_GCJ \
19152 compiler_lib_search_path_GCJ \
19153 compiler_lib_search_dirs_GCJ \
19155 archive_expsym_cmds_GCJ \
19156 postinstall_cmds_GCJ \
19157 postuninstall_cmds_GCJ \
19158 old_archive_from_expsyms_cmds_GCJ \
19159 allow_undefined_flag_GCJ \
19160 no_undefined_flag_GCJ \
19161 export_symbols_cmds_GCJ \
19162 hardcode_libdir_flag_spec_GCJ \
19163 hardcode_libdir_flag_spec_ld_GCJ \
19164 hardcode_libdir_separator_GCJ \
19165 hardcode_automatic_GCJ \
19167 module_expsym_cmds_GCJ \
19168 lt_cv_prog_compiler_c_o_GCJ \
19169 fix_srcfile_path_GCJ \
19170 exclude_expsyms_GCJ \
19171 include_expsyms_GCJ
; do
19174 old_archive_cmds_GCJ | \
19175 old_archive_from_new_cmds_GCJ | \
19176 archive_cmds_GCJ | \
19177 archive_expsym_cmds_GCJ | \
19178 module_cmds_GCJ | \
19179 module_expsym_cmds_GCJ | \
19180 old_archive_from_expsyms_cmds_GCJ | \
19181 export_symbols_cmds_GCJ | \
19182 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19183 postinstall_cmds | postuninstall_cmds | \
19184 old_postinstall_cmds | old_postuninstall_cmds | \
19185 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19186 # Double-quote double-evaled strings.
19187 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19190 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19196 *'\$0 --fallback-echo"')
19197 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19203 cat <<__EOF__ >> "$cfgfile"
19204 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19206 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19208 # Shell to use when invoking shell scripts.
19211 # Whether or not to build shared libraries.
19212 build_libtool_libs=$enable_shared
19214 # Whether or not to build static libraries.
19215 build_old_libs=$enable_static
19217 # Whether or not to add -lc for building shared libraries.
19218 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19220 # Whether or not to disallow shared libs when runtime libs are static
19221 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19223 # Whether or not to optimize for fast installation.
19224 fast_install=$enable_fast_install
19227 host_alias=$host_alias
19231 # The build system.
19232 build_alias=$build_alias
19236 # An echo program that does not interpret backslashes.
19241 AR_FLAGS=$lt_AR_FLAGS
19246 # LTCC compiler flags.
19247 LTCFLAGS=$lt_LTCFLAGS
19249 # A language-specific compiler.
19250 CC=$lt_compiler_GCJ
19252 # Is the compiler the GNU C compiler?
19258 # The linker used to build libraries.
19261 # Whether we need hard or soft links.
19264 # A BSD-compatible nm program.
19267 # A symbol stripping program
19270 # Used to examine libraries when file_magic_cmd begins "file"
19271 MAGIC_CMD=$MAGIC_CMD
19273 # Used on cygwin: DLL creation program.
19276 # Used on cygwin: object dumper.
19279 # Used on cygwin: assembler.
19282 # The name of the directory that contains temporary libtool files.
19285 # How to create reloadable object files.
19286 reload_flag=$lt_reload_flag
19287 reload_cmds=$lt_reload_cmds
19289 # How to pass a linker flag through the compiler.
19290 wl=$lt_lt_prog_compiler_wl_GCJ
19292 # Object file suffix (normally "o").
19293 objext="$ac_objext"
19295 # Old archive suffix (normally "a").
19298 # Shared library suffix (normally ".so").
19299 shrext_cmds='$shrext_cmds'
19301 # Executable file suffix (normally "").
19304 # Additional compiler flags for building library objects.
19305 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19308 # What is the maximum length of a command?
19309 max_cmd_len=$lt_cv_sys_max_cmd_len
19311 # Does compiler simultaneously support -c and -o options?
19312 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19314 # Must we lock files when doing compilation?
19315 need_locks=$lt_need_locks
19317 # Do we need the lib prefix for modules?
19318 need_lib_prefix=$need_lib_prefix
19320 # Do we need a version for libraries?
19321 need_version=$need_version
19323 # Whether dlopen is supported.
19324 dlopen_support=$enable_dlopen
19326 # Whether dlopen of programs is supported.
19327 dlopen_self=$enable_dlopen_self
19329 # Whether dlopen of statically linked programs is supported.
19330 dlopen_self_static=$enable_dlopen_self_static
19332 # Compiler flag to prevent dynamic linking.
19333 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19335 # Compiler flag to turn off builtin functions.
19336 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19338 # Compiler flag to allow reflexive dlopens.
19339 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19341 # Compiler flag to generate shared objects directly from archives.
19342 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19344 # Compiler flag to generate thread-safe objects.
19345 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19347 # Library versioning type.
19348 version_type=$version_type
19350 # Format of library name prefix.
19351 libname_spec=$lt_libname_spec
19353 # List of archive names. First name is the real one, the rest are links.
19354 # The last name is the one that the linker finds with -lNAME.
19355 library_names_spec=$lt_library_names_spec
19357 # The coded name of the library, if different from the real name.
19358 soname_spec=$lt_soname_spec
19360 # Commands used to build and install an old-style archive.
19362 old_archive_cmds=$lt_old_archive_cmds_GCJ
19363 old_postinstall_cmds=$lt_old_postinstall_cmds
19364 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19366 # Create an old-style archive from a shared archive.
19367 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19369 # Create a temporary old-style archive to link instead of a shared archive.
19370 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19372 # Commands used to build and install a shared archive.
19373 archive_cmds=$lt_archive_cmds_GCJ
19374 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19375 postinstall_cmds=$lt_postinstall_cmds
19376 postuninstall_cmds=$lt_postuninstall_cmds
19378 # Commands used to build a loadable module (assumed same as above if empty)
19379 module_cmds=$lt_module_cmds_GCJ
19380 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19382 # Commands to strip libraries.
19383 old_striplib=$lt_old_striplib
19384 striplib=$lt_striplib
19386 # Dependencies to place before the objects being linked to create a
19388 predep_objects=$lt_predep_objects_GCJ
19390 # Dependencies to place after the objects being linked to create a
19392 postdep_objects=$lt_postdep_objects_GCJ
19394 # Dependencies to place before the objects being linked to create a
19396 predeps=$lt_predeps_GCJ
19398 # Dependencies to place after the objects being linked to create a
19400 postdeps=$lt_postdeps_GCJ
19402 # The directories searched by this compiler when creating a shared
19404 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19406 # The library search path used internally by the compiler when linking
19407 # a shared library.
19408 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19410 # Method to check whether dependent libraries are shared objects.
19411 deplibs_check_method=$lt_deplibs_check_method
19413 # Command to use when deplibs_check_method == file_magic.
19414 file_magic_cmd=$lt_file_magic_cmd
19416 # Flag that allows shared libraries with undefined symbols to be built.
19417 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19419 # Flag that forces no undefined symbols.
19420 no_undefined_flag=$lt_no_undefined_flag_GCJ
19422 # Commands used to finish a libtool library installation in a directory.
19423 finish_cmds=$lt_finish_cmds
19425 # Same as above, but a single script fragment to be evaled but not shown.
19426 finish_eval=$lt_finish_eval
19428 # Take the output of nm and produce a listing of raw symbols and C names.
19429 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19431 # Transform the output of nm in a proper C declaration
19432 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19434 # Transform the output of nm in a C name address pair
19435 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19437 # This is the shared library runtime path variable.
19438 runpath_var=$runpath_var
19440 # This is the shared library path variable.
19441 shlibpath_var=$shlibpath_var
19443 # Is shlibpath searched before the hard-coded library search path?
19444 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19446 # How to hardcode a shared library path into an executable.
19447 hardcode_action=$hardcode_action_GCJ
19449 # Whether we should hardcode library paths into libraries.
19450 hardcode_into_libs=$hardcode_into_libs
19452 # Flag to hardcode \$libdir into a binary during linking.
19453 # This must work even if \$libdir does not exist.
19454 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19456 # If ld is used when linking, flag to hardcode \$libdir into
19457 # a binary during linking. This must work even if \$libdir does
19459 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19461 # Whether we need a single -rpath flag with a separated argument.
19462 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19464 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19465 # resulting binary.
19466 hardcode_direct=$hardcode_direct_GCJ
19468 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19469 # resulting binary.
19470 hardcode_minus_L=$hardcode_minus_L_GCJ
19472 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19473 # the resulting binary.
19474 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19476 # Set to yes if building a shared library automatically hardcodes DIR into the library
19477 # and all subsequent libraries and executables linked against it.
19478 hardcode_automatic=$hardcode_automatic_GCJ
19480 # Variables whose values should be saved in libtool wrapper scripts and
19481 # restored at relink time.
19482 variables_saved_for_relink="$variables_saved_for_relink"
19484 # Whether libtool must link a program against all its dependency libraries.
19485 link_all_deplibs=$link_all_deplibs_GCJ
19487 # Compile-time system search path for libraries
19488 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19490 # Run-time system search path for libraries
19491 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19493 # Fix the shell variable \$srcfile for the compiler.
19494 fix_srcfile_path=$lt_fix_srcfile_path
19496 # Set to yes if exported symbols are required.
19497 always_export_symbols=$always_export_symbols_GCJ
19499 # The commands to list exported symbols.
19500 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19502 # The commands to extract the exported symbol list from a shared archive.
19503 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19505 # Symbols that should not be listed in the preloaded symbols.
19506 exclude_expsyms=$lt_exclude_expsyms_GCJ
19508 # Symbols that must always be exported.
19509 include_expsyms=$lt_include_expsyms_GCJ
19511 # ### END LIBTOOL TAG CONFIG: $tagname
19517 # If there is no Makefile yet, we rely on a make rule to execute
19518 # `config.status --recheck' to rerun these tests and create the
19519 # libtool script then.
19520 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19521 if test -f "$ltmain_in"; then
19522 test -f Makefile
&& make "$ltmain"
19528 ac_cpp
='$CPP $CPPFLAGS'
19529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19543 # Source file extension for RC test sources.
19546 # Object file extension for compiled RC test sources.
19550 # Code to be used in simple compile tests
19551 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19553 # Code to be used in simple link tests
19554 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19556 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19558 # If no C compiler was specified, use CC.
19561 # If no C compiler flags were specified, use CFLAGS.
19562 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19564 # Allow CC to be a program name with arguments.
19568 # save warnings/boilerplate of simple test code
19569 ac_outfile
=conftest.
$ac_objext
19570 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19571 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19572 _lt_compiler_boilerplate
=`cat conftest.err`
19575 ac_outfile
=conftest.
$ac_objext
19576 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19577 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19578 _lt_linker_boilerplate
=`cat conftest.err`
19582 # Allow CC to be a program name with arguments.
19587 for cc_temp
in $compiler""; do
19589 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19590 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19595 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19597 lt_cv_prog_compiler_c_o_RC
=yes
19599 # The else clause should only fire when bootstrapping the
19600 # libtool distribution, otherwise you forgot to ship ltmain.sh
19601 # with your package, and you will get complaints that there are
19602 # no rules to generate ltmain.sh.
19603 if test -f "$ltmain"; then
19604 # See if we are running on zsh, and set the options which allow our commands through
19605 # without removal of \ escapes.
19606 if test -n "${ZSH_VERSION+set}" ; then
19607 setopt NO_GLOB_SUBST
19609 # Now quote all the things that may contain metacharacters while being
19610 # careful not to overquote the AC_SUBSTed values. We take copies of the
19611 # variables and quote the copies for generation of the libtool script.
19612 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19614 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19615 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19616 deplibs_check_method reload_flag reload_cmds need_locks \
19617 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19618 lt_cv_sys_global_symbol_to_c_name_address \
19619 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19620 old_postinstall_cmds old_postuninstall_cmds \
19624 lt_prog_compiler_wl_RC \
19625 lt_prog_compiler_pic_RC \
19626 lt_prog_compiler_static_RC \
19627 lt_prog_compiler_no_builtin_flag_RC \
19628 export_dynamic_flag_spec_RC \
19629 thread_safe_flag_spec_RC \
19630 whole_archive_flag_spec_RC \
19631 enable_shared_with_static_runtimes_RC \
19632 old_archive_cmds_RC \
19633 old_archive_from_new_cmds_RC \
19634 predep_objects_RC \
19635 postdep_objects_RC \
19638 compiler_lib_search_path_RC \
19639 compiler_lib_search_dirs_RC \
19641 archive_expsym_cmds_RC \
19642 postinstall_cmds_RC \
19643 postuninstall_cmds_RC \
19644 old_archive_from_expsyms_cmds_RC \
19645 allow_undefined_flag_RC \
19646 no_undefined_flag_RC \
19647 export_symbols_cmds_RC \
19648 hardcode_libdir_flag_spec_RC \
19649 hardcode_libdir_flag_spec_ld_RC \
19650 hardcode_libdir_separator_RC \
19651 hardcode_automatic_RC \
19653 module_expsym_cmds_RC \
19654 lt_cv_prog_compiler_c_o_RC \
19655 fix_srcfile_path_RC \
19656 exclude_expsyms_RC \
19657 include_expsyms_RC
; do
19660 old_archive_cmds_RC | \
19661 old_archive_from_new_cmds_RC | \
19662 archive_cmds_RC | \
19663 archive_expsym_cmds_RC | \
19665 module_expsym_cmds_RC | \
19666 old_archive_from_expsyms_cmds_RC | \
19667 export_symbols_cmds_RC | \
19668 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19669 postinstall_cmds | postuninstall_cmds | \
19670 old_postinstall_cmds | old_postuninstall_cmds | \
19671 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19672 # Double-quote double-evaled strings.
19673 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19676 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19682 *'\$0 --fallback-echo"')
19683 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19689 cat <<__EOF__ >> "$cfgfile"
19690 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19692 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19694 # Shell to use when invoking shell scripts.
19697 # Whether or not to build shared libraries.
19698 build_libtool_libs=$enable_shared
19700 # Whether or not to build static libraries.
19701 build_old_libs=$enable_static
19703 # Whether or not to add -lc for building shared libraries.
19704 build_libtool_need_lc=$archive_cmds_need_lc_RC
19706 # Whether or not to disallow shared libs when runtime libs are static
19707 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19709 # Whether or not to optimize for fast installation.
19710 fast_install=$enable_fast_install
19713 host_alias=$host_alias
19717 # The build system.
19718 build_alias=$build_alias
19722 # An echo program that does not interpret backslashes.
19727 AR_FLAGS=$lt_AR_FLAGS
19732 # LTCC compiler flags.
19733 LTCFLAGS=$lt_LTCFLAGS
19735 # A language-specific compiler.
19738 # Is the compiler the GNU C compiler?
19744 # The linker used to build libraries.
19747 # Whether we need hard or soft links.
19750 # A BSD-compatible nm program.
19753 # A symbol stripping program
19756 # Used to examine libraries when file_magic_cmd begins "file"
19757 MAGIC_CMD=$MAGIC_CMD
19759 # Used on cygwin: DLL creation program.
19762 # Used on cygwin: object dumper.
19765 # Used on cygwin: assembler.
19768 # The name of the directory that contains temporary libtool files.
19771 # How to create reloadable object files.
19772 reload_flag=$lt_reload_flag
19773 reload_cmds=$lt_reload_cmds
19775 # How to pass a linker flag through the compiler.
19776 wl=$lt_lt_prog_compiler_wl_RC
19778 # Object file suffix (normally "o").
19779 objext="$ac_objext"
19781 # Old archive suffix (normally "a").
19784 # Shared library suffix (normally ".so").
19785 shrext_cmds='$shrext_cmds'
19787 # Executable file suffix (normally "").
19790 # Additional compiler flags for building library objects.
19791 pic_flag=$lt_lt_prog_compiler_pic_RC
19794 # What is the maximum length of a command?
19795 max_cmd_len=$lt_cv_sys_max_cmd_len
19797 # Does compiler simultaneously support -c and -o options?
19798 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19800 # Must we lock files when doing compilation?
19801 need_locks=$lt_need_locks
19803 # Do we need the lib prefix for modules?
19804 need_lib_prefix=$need_lib_prefix
19806 # Do we need a version for libraries?
19807 need_version=$need_version
19809 # Whether dlopen is supported.
19810 dlopen_support=$enable_dlopen
19812 # Whether dlopen of programs is supported.
19813 dlopen_self=$enable_dlopen_self
19815 # Whether dlopen of statically linked programs is supported.
19816 dlopen_self_static=$enable_dlopen_self_static
19818 # Compiler flag to prevent dynamic linking.
19819 link_static_flag=$lt_lt_prog_compiler_static_RC
19821 # Compiler flag to turn off builtin functions.
19822 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19824 # Compiler flag to allow reflexive dlopens.
19825 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19827 # Compiler flag to generate shared objects directly from archives.
19828 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19830 # Compiler flag to generate thread-safe objects.
19831 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19833 # Library versioning type.
19834 version_type=$version_type
19836 # Format of library name prefix.
19837 libname_spec=$lt_libname_spec
19839 # List of archive names. First name is the real one, the rest are links.
19840 # The last name is the one that the linker finds with -lNAME.
19841 library_names_spec=$lt_library_names_spec
19843 # The coded name of the library, if different from the real name.
19844 soname_spec=$lt_soname_spec
19846 # Commands used to build and install an old-style archive.
19848 old_archive_cmds=$lt_old_archive_cmds_RC
19849 old_postinstall_cmds=$lt_old_postinstall_cmds
19850 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19852 # Create an old-style archive from a shared archive.
19853 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19855 # Create a temporary old-style archive to link instead of a shared archive.
19856 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19858 # Commands used to build and install a shared archive.
19859 archive_cmds=$lt_archive_cmds_RC
19860 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19861 postinstall_cmds=$lt_postinstall_cmds
19862 postuninstall_cmds=$lt_postuninstall_cmds
19864 # Commands used to build a loadable module (assumed same as above if empty)
19865 module_cmds=$lt_module_cmds_RC
19866 module_expsym_cmds=$lt_module_expsym_cmds_RC
19868 # Commands to strip libraries.
19869 old_striplib=$lt_old_striplib
19870 striplib=$lt_striplib
19872 # Dependencies to place before the objects being linked to create a
19874 predep_objects=$lt_predep_objects_RC
19876 # Dependencies to place after the objects being linked to create a
19878 postdep_objects=$lt_postdep_objects_RC
19880 # Dependencies to place before the objects being linked to create a
19882 predeps=$lt_predeps_RC
19884 # Dependencies to place after the objects being linked to create a
19886 postdeps=$lt_postdeps_RC
19888 # The directories searched by this compiler when creating a shared
19890 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19892 # The library search path used internally by the compiler when linking
19893 # a shared library.
19894 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19896 # Method to check whether dependent libraries are shared objects.
19897 deplibs_check_method=$lt_deplibs_check_method
19899 # Command to use when deplibs_check_method == file_magic.
19900 file_magic_cmd=$lt_file_magic_cmd
19902 # Flag that allows shared libraries with undefined symbols to be built.
19903 allow_undefined_flag=$lt_allow_undefined_flag_RC
19905 # Flag that forces no undefined symbols.
19906 no_undefined_flag=$lt_no_undefined_flag_RC
19908 # Commands used to finish a libtool library installation in a directory.
19909 finish_cmds=$lt_finish_cmds
19911 # Same as above, but a single script fragment to be evaled but not shown.
19912 finish_eval=$lt_finish_eval
19914 # Take the output of nm and produce a listing of raw symbols and C names.
19915 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19917 # Transform the output of nm in a proper C declaration
19918 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19920 # Transform the output of nm in a C name address pair
19921 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19923 # This is the shared library runtime path variable.
19924 runpath_var=$runpath_var
19926 # This is the shared library path variable.
19927 shlibpath_var=$shlibpath_var
19929 # Is shlibpath searched before the hard-coded library search path?
19930 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19932 # How to hardcode a shared library path into an executable.
19933 hardcode_action=$hardcode_action_RC
19935 # Whether we should hardcode library paths into libraries.
19936 hardcode_into_libs=$hardcode_into_libs
19938 # Flag to hardcode \$libdir into a binary during linking.
19939 # This must work even if \$libdir does not exist.
19940 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19942 # If ld is used when linking, flag to hardcode \$libdir into
19943 # a binary during linking. This must work even if \$libdir does
19945 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19947 # Whether we need a single -rpath flag with a separated argument.
19948 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19950 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19951 # resulting binary.
19952 hardcode_direct=$hardcode_direct_RC
19954 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19955 # resulting binary.
19956 hardcode_minus_L=$hardcode_minus_L_RC
19958 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19959 # the resulting binary.
19960 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19962 # Set to yes if building a shared library automatically hardcodes DIR into the library
19963 # and all subsequent libraries and executables linked against it.
19964 hardcode_automatic=$hardcode_automatic_RC
19966 # Variables whose values should be saved in libtool wrapper scripts and
19967 # restored at relink time.
19968 variables_saved_for_relink="$variables_saved_for_relink"
19970 # Whether libtool must link a program against all its dependency libraries.
19971 link_all_deplibs=$link_all_deplibs_RC
19973 # Compile-time system search path for libraries
19974 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19976 # Run-time system search path for libraries
19977 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19979 # Fix the shell variable \$srcfile for the compiler.
19980 fix_srcfile_path=$lt_fix_srcfile_path
19982 # Set to yes if exported symbols are required.
19983 always_export_symbols=$always_export_symbols_RC
19985 # The commands to list exported symbols.
19986 export_symbols_cmds=$lt_export_symbols_cmds_RC
19988 # The commands to extract the exported symbol list from a shared archive.
19989 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19991 # Symbols that should not be listed in the preloaded symbols.
19992 exclude_expsyms=$lt_exclude_expsyms_RC
19994 # Symbols that must always be exported.
19995 include_expsyms=$lt_include_expsyms_RC
19997 # ### END LIBTOOL TAG CONFIG: $tagname
20003 # If there is no Makefile yet, we rely on a make rule to execute
20004 # `config.status --recheck' to rerun these tests and create the
20005 # libtool script then.
20006 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20007 if test -f "$ltmain_in"; then
20008 test -f Makefile
&& make "$ltmain"
20014 ac_cpp
='$CPP $CPPFLAGS'
20015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20024 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20025 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20026 { (exit 1); exit 1; }; }
20030 # Append the new tag name to the list of available tags.
20031 if test -n "$tagname" ; then
20032 available_tags
="$available_tags $tagname"
20038 # Now substitute the updated list of available tags.
20039 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20040 mv "${ofile}T" "$ofile"
20044 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20045 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20046 { (exit 1); exit 1; }; }
20052 # This can be used to rebuild libtool when needed
20053 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20055 # Always use our own libtool.
20056 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20058 # Prevent multiple expansion
20081 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20082 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20083 if test "${ac_cv_c_const+set}" = set; then
20084 $as_echo_n "(cached) " >&6
20086 cat >conftest.
$ac_ext <<_ACEOF
20089 cat confdefs.h
>>conftest.
$ac_ext
20090 cat >>conftest.
$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20096 /* FIXME: Include the comments suggested by Paul. */
20097 #ifndef __cplusplus
20098 /* Ultrix mips cc rejects this. */
20099 typedef int charset[2];
20101 /* SunOS 4.1.1 cc rejects this. */
20102 char const *const *pcpcc;
20104 /* NEC SVR4.0.2 mips cc rejects this. */
20105 struct point {int x, y;};
20106 static struct point const zero = {0,0};
20107 /* AIX XL C 1.02.0.0 rejects this.
20108 It does not let you subtract one const X* pointer from another in
20109 an arm of an if-expression whose if-part is not a constant
20111 const char *g = "string";
20112 pcpcc = &g + (g ? g-g : 0);
20113 /* HPUX 7.0 cc rejects these. */
20115 ppc = (char**) pcpcc;
20116 pcpcc = (char const *const *) ppc;
20117 { /* SCO 3.2v4 cc rejects this. */
20119 char const *s = 0 ? (char *) 0 : (char const *) 0;
20124 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20125 int x[] = {25, 17};
20126 const int *foo = &x[0];
20129 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20130 typedef const int *iptr;
20134 { /* AIX XL C 1.02.0.0 rejects this saying
20135 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20136 struct s { int j; const int *ap[3]; };
20137 struct s *b; b->j = 5;
20139 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20140 const int foo = 10;
20141 if (!foo) return 0;
20143 return !cs[0] && !zero.x;
20150 rm -f conftest.
$ac_objext
20151 if { (ac_try
="$ac_compile"
20152 case "(($ac_try" in
20153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20157 $as_echo "$ac_try_echo") >&5
20158 (eval "$ac_compile") 2>conftest.er1
20160 grep -v '^ *+' conftest.er1 >conftest.err
20162 cat conftest.err >&5
20163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); } && {
20165 test -z "$ac_c_werror_flag" ||
20166 test ! -s conftest.err
20167 } && test -s conftest.$ac_objext; then
20170 $as_echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20179 $as_echo "$ac_cv_c_const" >&6; }
20180 if test $ac_cv_c_const = no; then
20182 cat >>confdefs.h <<\_ACEOF
20188 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
20189 $as_echo_n "checking for size_t... " >&6; }
20190 if test "${ac_cv_type_size_t+set}" = set; then
20191 $as_echo_n "(cached) " >&6
20193 ac_cv_type_size_t=no
20194 cat >conftest.$ac_ext <<_ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20204 if (sizeof (size_t))
20210 rm -f conftest.$ac_objext
20211 if { (ac_try="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20214 *) ac_try_echo
=$ac_try;;
20216 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20217 $as_echo "$ac_try_echo") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20220 grep -v '^ *+' conftest.er1
>conftest.err
20222 cat conftest.err
>&5
20223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.
$ac_objext; then
20228 cat >conftest.
$ac_ext <<_ACEOF
20231 cat confdefs.h
>>conftest.
$ac_ext
20232 cat >>conftest.
$ac_ext <<_ACEOF
20233 /* end confdefs.h. */
20234 $ac_includes_default
20238 if (sizeof ((size_t)))
20244 rm -f conftest.
$ac_objext
20245 if { (ac_try
="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20251 $as_echo "$ac_try_echo") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1 >conftest.err
20256 cat conftest.err >&5
20257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20264 $as_echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.$ac_ext >&5
20267 ac_cv_type_size_t=yes
20270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 $as_echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20281 $as_echo "$ac_cv_type_size_t" >&6; }
20282 if test "x$ac_cv_type_size_t" = x""yes; then
20286 cat >>confdefs.h <<_ACEOF
20287 #define size_t unsigned int
20295 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20296 $as_echo_n "checking for ANSI C header files... " >&6; }
20297 if test "${ac_cv_header_stdc+set}" = set; then
20298 $as_echo_n "(cached) " >&6
20300 cat >conftest.$ac_ext <<_ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 #include <stdlib.h>
20307 #include <stdarg.h>
20308 #include <string.h>
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20323 *) ac_try_echo
=$ac_try;;
20325 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20326 $as_echo "$ac_try_echo") >&5
20327 (eval "$ac_compile") 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } && {
20334 test -z "$ac_c_werror_flag" ||
20335 test ! -s conftest.err
20336 } && test -s conftest.
$ac_objext; then
20337 ac_cv_header_stdc
=yes
20339 $as_echo "$as_me: failed program was:" >&5
20340 sed 's/^/| /' conftest.
$ac_ext >&5
20342 ac_cv_header_stdc
=no
20345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20347 if test $ac_cv_header_stdc = yes; then
20348 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20349 cat >conftest.
$ac_ext <<_ACEOF
20352 cat confdefs.h
>>conftest.
$ac_ext
20353 cat >>conftest.
$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 #include <string.h>
20358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20359 $EGREP "memchr" >/dev
/null
2>&1; then
20362 ac_cv_header_stdc
=no
20368 if test $ac_cv_header_stdc = yes; then
20369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20370 cat >conftest.
$ac_ext <<_ACEOF
20373 cat confdefs.h
>>conftest.
$ac_ext
20374 cat >>conftest.
$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20376 #include <stdlib.h>
20379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20380 $EGREP "free" >/dev
/null
2>&1; then
20383 ac_cv_header_stdc
=no
20389 if test $ac_cv_header_stdc = yes; then
20390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20391 if test "$cross_compiling" = yes; then
20394 cat >conftest.
$ac_ext <<_ACEOF
20397 cat confdefs.h
>>conftest.
$ac_ext
20398 cat >>conftest.
$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20401 #include <stdlib.h>
20402 #if ((' ' & 0x0FF) == 0x020)
20403 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20404 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20406 # define ISLOWER(c) \
20407 (('a' <= (c) && (c) <= 'i') \
20408 || ('j' <= (c) && (c) <= 'r') \
20409 || ('s' <= (c) && (c) <= 'z'))
20410 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20413 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20418 for (i = 0; i < 256; i++)
20419 if (XOR (islower (i), ISLOWER (i))
20420 || toupper (i) != TOUPPER (i))
20425 rm -f conftest
$ac_exeext
20426 if { (ac_try
="$ac_link"
20427 case "(($ac_try" in
20428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20432 $as_echo "$ac_try_echo") >&5
20433 (eval "$ac_link") 2>&5
20435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20437 { (case "(($ac_try" in
20438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20439 *) ac_try_echo
=$ac_try;;
20441 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20442 $as_echo "$ac_try_echo") >&5
20443 (eval "$ac_try") 2>&5
20445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; }; then
20449 $as_echo "$as_me: program exited with status $ac_status" >&5
20450 $as_echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.
$ac_ext >&5
20453 ( exit $ac_status )
20454 ac_cv_header_stdc
=no
20456 rm -rf conftest.dSYM
20457 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20463 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20464 $as_echo "$ac_cv_header_stdc" >&6; }
20465 if test $ac_cv_header_stdc = yes; then
20467 cat >>confdefs.h
<<\_ACEOF
20468 #define STDC_HEADERS 1
20476 for ac_func
in strtol
20478 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20479 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20480 $as_echo_n "checking for $ac_func... " >&6; }
20481 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20482 $as_echo_n "(cached) " >&6
20484 cat >conftest.
$ac_ext <<_ACEOF
20487 cat confdefs.h
>>conftest.
$ac_ext
20488 cat >>conftest.
$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20492 #define $ac_func innocuous_$ac_func
20494 /* System header to define __stub macros and hopefully few prototypes,
20495 which can conflict with char $ac_func (); below.
20496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20497 <limits.h> exists even on freestanding compilers. */
20500 # include <limits.h>
20502 # include <assert.h>
20507 /* Override any GCC internal prototype to avoid an error.
20508 Use char because int might match the return type of a GCC
20509 builtin and then its argument prototype would still apply. */
20514 /* The GNU C library defines this for functions which it implements
20515 to always fail with ENOSYS. Some functions are actually named
20516 something starting with __ and the normal name is an alias. */
20517 #if defined __stub_$ac_func || defined __stub___$ac_func
20524 return $ac_func ();
20529 rm -f conftest.
$ac_objext conftest
$ac_exeext
20530 if { (ac_try
="$ac_link"
20531 case "(($ac_try" in
20532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20536 $as_echo "$ac_try_echo") >&5
20537 (eval "$ac_link") 2>conftest.er1
20539 grep -v '^ *+' conftest.er1 >conftest.err
20541 cat conftest.err >&5
20542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } && {
20544 test -z "$ac_c_werror_flag" ||
20545 test ! -s conftest.err
20546 } && test -s conftest$ac_exeext && {
20547 test "$cross_compiling" = yes ||
20548 $as_test_x conftest$ac_exeext
20550 eval "$as_ac_var=yes"
20552 $as_echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20555 eval "$as_ac_var=no"
20558 rm -rf conftest.dSYM
20559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20560 conftest$ac_exeext conftest.$ac_ext
20562 ac_res=`eval 'as_val=${'$as_ac_var'}
20563 $as_echo "$as_val"'`
20564 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20565 $as_echo "$ac_res" >&6; }
20566 as_val=`eval 'as_val=${'$as_ac_var'}
20567 $as_echo "$as_val"'`
20568 if test "x$as_val" = x""yes; then
20569 cat >>confdefs.h <<_ACEOF
20570 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20577 if test "${ac_cv_header_sys_resource_h+set}" = set; then
20578 { $as_echo "$as_me:$LINENO: checking for sys/resource.h" >&5
20579 $as_echo_n "checking for sys/resource.h... " >&6; }
20580 if test "${ac_cv_header_sys_resource_h+set}" = set; then
20581 $as_echo_n "(cached) " >&6
20583 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
20584 $as_echo "$ac_cv_header_sys_resource_h" >&6; }
20586 # Is the header compilable?
20587 { $as_echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
20588 $as_echo_n "checking sys/resource.h usability... " >&6; }
20589 cat >conftest.$ac_ext <<_ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 $ac_includes_default
20596 #include <sys/resource.h>
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20602 *) ac_try_echo
=$ac_try;;
20604 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20605 $as_echo "$ac_try_echo") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20608 grep -v '^ *+' conftest.er1
>conftest.err
20610 cat conftest.err
>&5
20611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.
$ac_objext; then
20616 ac_header_compiler
=yes
20618 $as_echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.
$ac_ext >&5
20621 ac_header_compiler
=no
20624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20625 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20626 $as_echo "$ac_header_compiler" >&6; }
20628 # Is the header present?
20629 { $as_echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
20630 $as_echo_n "checking sys/resource.h presence... " >&6; }
20631 cat >conftest.
$ac_ext <<_ACEOF
20634 cat confdefs.h
>>conftest.
$ac_ext
20635 cat >>conftest.
$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 #include <sys/resource.h>
20639 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20640 case "(($ac_try" in
20641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20642 *) ac_try_echo=$ac_try;;
20644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20645 $as_echo "$ac_try_echo") >&5
20646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20648 grep -v '^ *+' conftest.er1 >conftest.err
20650 cat conftest.err >&5
20651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } >/dev/null && {
20653 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20654 test ! -s conftest.err
20656 ac_header_preproc=yes
20658 $as_echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.$ac_ext >&5
20661 ac_header_preproc=no
20664 rm -f conftest.err conftest.$ac_ext
20665 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20666 $as_echo "$ac_header_preproc" >&6; }
20668 # So? What about this header?
20669 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20671 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&5
20672 $as_echo "$as_me: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20673 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the compiler's result" >&5
20674 $as_echo "$as_me: WARNING: sys/resource.h: proceeding with the compiler's result" >&2;}
20675 ac_header_preproc=yes
20678 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: present but cannot be compiled" >&5
20679 $as_echo "$as_me: WARNING: sys/resource.h: present but cannot be compiled" >&2;}
20680 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: check for missing prerequisite headers?" >&5
20681 $as_echo "$as_me: WARNING: sys/resource.h: check for missing prerequisite headers?" >&2;}
20682 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: see the Autoconf documentation" >&5
20683 $as_echo "$as_me: WARNING: sys/resource.h: see the Autoconf documentation" >&2;}
20684 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&5
20685 $as_echo "$as_me: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&2;}
20686 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&5
20687 $as_echo "$as_me: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&2;}
20688 { $as_echo "$as_me:$LINENO: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&5
20689 $as_echo "$as_me: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&2;}
20693 { $as_echo "$as_me:$LINENO: checking for sys/resource.h" >&5
20694 $as_echo_n "checking for sys/resource.h... " >&6; }
20695 if test "${ac_cv_header_sys_resource_h+set}" = set; then
20696 $as_echo_n "(cached) " >&6
20698 ac_cv_header_sys_resource_h=$ac_header_preproc
20700 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
20701 $as_echo "$ac_cv_header_sys_resource_h" >&6; }
20704 if test "x$ac_cv_header_sys_resource_h" = x""yes; then
20706 cat >>confdefs.h <<\_ACEOF
20707 #define HAS_SYS_RESOURCE_H 1
20711 { $as_echo "$as_me:$LINENO: result: no" >&5
20712 $as_echo "no" >&6; }
20719 gmp_include_package="yes"
20720 gmp_library_package="yes"
20724 cat >>confdefs.h <<\_ACEOF
20725 #define LINEAR_VALUE_IS_MP 1
20731 # Check whether --with-ppl was given.
20732 if test "${with_ppl+set}" = set; then
20738 # Check whether --with-polylib_prefix was given.
20739 if test "${with_polylib_prefix+set}" = set; then
20740 withval=$with_polylib_prefix;
20744 # Check whether --with-polylib_exec_prefix was given.
20745 if test "${with_polylib_exec_prefix+set}" = set; then
20746 withval=$with_polylib_exec_prefix;
20750 # Check whether --with-polylib_builddir was given.
20751 if test "${with_polylib_builddir+set}" = set; then
20752 withval=$with_polylib_builddir;
20756 # Check whether --with-bits was given.
20757 if test "${with_bits+set}" = set; then
20758 withval=$with_bits; echo "polylib$withval"; BITS=$withval
20763 # Check whether --with-gmp was given.
20764 if test "${with_gmp+set}" = set; then
20765 withval=$with_gmp; echo "Package gmp : $withval" &&
20766 gmp_package=$withval &&
20767 GMP_INC=$gmp_package/include &&
20768 GMP_LIB=$gmp_package/lib &&
20774 # Check whether --with-gmp-include was given.
20775 if test "${with_gmp_include+set}" = set; then
20776 withval=$with_gmp_include; echo "Package gmp-include : $withval" &&
20777 gmp_include_package=$withval &&
20778 GMP_INC=$gmp_include_package &&
20784 # Check whether --with-gmp-library was given.
20785 if test "${with_gmp_library+set}" = set; then
20786 withval=$with_gmp_library; echo "Package gmp-library : $withval" &&
20787 gmp_library_package=$withval &&
20788 GMP_LIB=$gmp_library_package &&
20796 { $as_echo "$as_me:$LINENO: checking whether gmp works" >&5
20797 $as_echo_n "checking whether gmp works... " >&6; }
20798 if test "$gmp_package" = "no"; then
20799 echo "GMP package not defined"
20800 { $as_echo "$as_me:$LINENO: result: no" >&5
20801 $as_echo "no" >&6; }
20804 if test "$NEED_MP" = "no"; then
20805 echo "Mode normal GMP"
20806 TO_BUILD="$TO_BUILD MP"
20807 if test "${ac_cv_header_gmp_h+set}" = set; then
20808 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
20809 $as_echo_n "checking for gmp.h... " >&6; }
20810 if test "${ac_cv_header_gmp_h+set}" = set; then
20811 $as_echo_n "(cached) " >&6
20813 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
20814 $as_echo "$ac_cv_header_gmp_h" >&6; }
20816 # Is the header compilable?
20817 { $as_echo "$as_me:$LINENO: checking gmp.h usability" >&5
20818 $as_echo_n "checking gmp.h usability... " >&6; }
20819 cat >conftest.$ac_ext <<_ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825 $ac_includes_default
20828 rm -f conftest.$ac_objext
20829 if { (ac_try="$ac_compile"
20830 case "(($ac_try" in
20831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20832 *) ac_try_echo
=$ac_try;;
20834 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20835 $as_echo "$ac_try_echo") >&5
20836 (eval "$ac_compile") 2>conftest.er1
20838 grep -v '^ *+' conftest.er1
>conftest.err
20840 cat conftest.err
>&5
20841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } && {
20843 test -z "$ac_c_werror_flag" ||
20844 test ! -s conftest.err
20845 } && test -s conftest.
$ac_objext; then
20846 ac_header_compiler
=yes
20848 $as_echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.
$ac_ext >&5
20851 ac_header_compiler
=no
20854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20855 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20856 $as_echo "$ac_header_compiler" >&6; }
20858 # Is the header present?
20859 { $as_echo "$as_me:$LINENO: checking gmp.h presence" >&5
20860 $as_echo_n "checking gmp.h presence... " >&6; }
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20869 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20870 case "(($ac_try" in
20871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20875 $as_echo "$ac_try_echo") >&5
20876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20878 grep -v '^ *+' conftest.er1 >conftest.err
20880 cat conftest.err >&5
20881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } >/dev/null && {
20883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20886 ac_header_preproc=yes
20888 $as_echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20891 ac_header_preproc=no
20894 rm -f conftest.err conftest.$ac_ext
20895 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20896 $as_echo "$ac_header_preproc" >&6; }
20898 # So? What about this header?
20899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20901 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
20902 $as_echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20903 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
20904 $as_echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
20905 ac_header_preproc=yes
20908 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
20909 $as_echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
20910 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
20911 $as_echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
20912 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
20913 $as_echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
20914 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
20915 $as_echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
20916 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
20917 $as_echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
20918 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
20919 $as_echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
20923 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
20924 $as_echo_n "checking for gmp.h... " >&6; }
20925 if test "${ac_cv_header_gmp_h+set}" = set; then
20926 $as_echo_n "(cached) " >&6
20928 ac_cv_header_gmp_h=$ac_header_preproc
20930 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
20931 $as_echo "$ac_cv_header_gmp_h" >&6; }
20934 if test "x$ac_cv_header_gmp_h" = x""yes; then
20935 { $as_echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
20936 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20937 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
20938 $as_echo_n "(cached) " >&6
20940 ac_check_lib_save_LIBS=$LIBS
20942 cat >conftest.$ac_ext <<_ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20949 /* Override any GCC internal prototype to avoid an error.
20950 Use char because int might match the return type of a GCC
20951 builtin and then its argument prototype would still apply. */
20955 char __gmpz_init ();
20959 return __gmpz_init ();
20964 rm -f conftest.$ac_objext conftest$ac_exeext
20965 if { (ac_try="$ac_link"
20966 case "(($ac_try" in
20967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20968 *) ac_try_echo
=$ac_try;;
20970 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20971 $as_echo "$ac_try_echo") >&5
20972 (eval "$ac_link") 2>conftest.er1
20974 grep -v '^ *+' conftest.er1
>conftest.err
20976 cat conftest.err
>&5
20977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest
$ac_exeext && {
20982 test "$cross_compiling" = yes ||
20983 $as_test_x conftest
$ac_exeext
20985 ac_cv_lib_gmp___gmpz_init
=yes
20987 $as_echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.
$ac_ext >&5
20990 ac_cv_lib_gmp___gmpz_init
=no
20993 rm -rf conftest.dSYM
20994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20995 conftest
$ac_exeext conftest.
$ac_ext
20996 LIBS
=$ac_check_lib_save_LIBS
20998 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
20999 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
21000 if test "x$ac_cv_lib_gmp___gmpz_init" = x
""yes; then
21003 echo "Can't find gmp library." &&
21004 echo "MP version will not be builded." &&
21009 echo "Can't find gmp headers." &&
21010 echo "MP version will not be builded." &&
21017 if test "$gmp_package" != "yes" ; then
21018 echo "(GMP path has been set by user)"
21019 GMP_DIR
=$gmp_package
21020 CPPFLAGS
="-I$GMP_DIR/include $CPPFLAGS"
21021 LDFLAGS
="-L$GMP_DIR/lib $LDFLAGS"
21024 if test "$gmp_include_package" != "yes" ; then
21025 CPPFLAGS
="-I$GMP_INC $CPPFLAGS"
21028 if test "$gmp_library_package" != "yes" ; then
21029 LDFLAGS
="-L$GMP_LIB $LDFLAGS"
21032 if test "${ac_cv_header_gmp_h+set}" = set; then
21033 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
21034 $as_echo_n "checking for gmp.h... " >&6; }
21035 if test "${ac_cv_header_gmp_h+set}" = set; then
21036 $as_echo_n "(cached) " >&6
21038 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
21039 $as_echo "$ac_cv_header_gmp_h" >&6; }
21041 # Is the header compilable?
21042 { $as_echo "$as_me:$LINENO: checking gmp.h usability" >&5
21043 $as_echo_n "checking gmp.h usability... " >&6; }
21044 cat >conftest.
$ac_ext <<_ACEOF
21047 cat confdefs.h
>>conftest.
$ac_ext
21048 cat >>conftest.
$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 $ac_includes_default
21053 rm -f conftest.
$ac_objext
21054 if { (ac_try
="$ac_compile"
21055 case "(($ac_try" in
21056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21057 *) ac_try_echo=$ac_try;;
21059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21060 $as_echo "$ac_try_echo") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_header_compiler=yes
21073 $as_echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 ac_header_compiler=no
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21081 $as_echo "$ac_header_compiler" >&6; }
21083 # Is the header present?
21084 { $as_echo "$as_me:$LINENO: checking gmp.h presence" >&5
21085 $as_echo_n "checking gmp.h presence... " >&6; }
21086 cat >conftest.$ac_ext <<_ACEOF
21089 cat confdefs.h >>conftest.$ac_ext
21090 cat >>conftest.$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21094 if { (ac_try="$ac_cpp conftest.$ac_ext"
21095 case "(($ac_try" in
21096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21097 *) ac_try_echo
=$ac_try;;
21099 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21100 $as_echo "$ac_try_echo") >&5
21101 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21103 grep -v '^ *+' conftest.er1
>conftest.err
21105 cat conftest.err
>&5
21106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } >/dev
/null
&& {
21108 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21111 ac_header_preproc
=yes
21113 $as_echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.
$ac_ext >&5
21116 ac_header_preproc
=no
21119 rm -f conftest.err conftest.
$ac_ext
21120 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21121 $as_echo "$ac_header_preproc" >&6; }
21123 # So? What about this header?
21124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21126 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
21127 $as_echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21128 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
21129 $as_echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
21130 ac_header_preproc
=yes
21133 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
21134 $as_echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
21135 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
21136 $as_echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
21137 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
21138 $as_echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
21139 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
21140 $as_echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
21141 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
21142 $as_echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
21143 { $as_echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
21144 $as_echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
21148 { $as_echo "$as_me:$LINENO: checking for gmp.h" >&5
21149 $as_echo_n "checking for gmp.h... " >&6; }
21150 if test "${ac_cv_header_gmp_h+set}" = set; then
21151 $as_echo_n "(cached) " >&6
21153 ac_cv_header_gmp_h
=$ac_header_preproc
21155 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
21156 $as_echo "$ac_cv_header_gmp_h" >&6; }
21159 if test "x$ac_cv_header_gmp_h" = x
""yes; then
21162 { { $as_echo "$as_me:$LINENO: error: Can't find gmp headers." >&5
21163 $as_echo "$as_me: error: Can't find gmp headers." >&2;}
21164 { (exit 1); exit 1; }; }
21168 { $as_echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
21169 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
21170 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
21171 $as_echo_n "(cached) " >&6
21173 ac_check_lib_save_LIBS
=$LIBS
21175 cat >conftest.
$ac_ext <<_ACEOF
21178 cat confdefs.h
>>conftest.
$ac_ext
21179 cat >>conftest.
$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21182 /* Override any GCC internal prototype to avoid an error.
21183 Use char because int might match the return type of a GCC
21184 builtin and then its argument prototype would still apply. */
21188 char __gmpz_init ();
21192 return __gmpz_init ();
21197 rm -f conftest.
$ac_objext conftest
$ac_exeext
21198 if { (ac_try
="$ac_link"
21199 case "(($ac_try" in
21200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21201 *) ac_try_echo=$ac_try;;
21203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21204 $as_echo "$ac_try_echo") >&5
21205 (eval "$ac_link") 2>conftest.er1
21207 grep -v '^ *+' conftest.er1 >conftest.err
21209 cat conftest.err >&5
21210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } && {
21212 test -z "$ac_c_werror_flag" ||
21213 test ! -s conftest.err
21214 } && test -s conftest$ac_exeext && {
21215 test "$cross_compiling" = yes ||
21216 $as_test_x conftest$ac_exeext
21218 ac_cv_lib_gmp___gmpz_init=yes
21220 $as_echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21223 ac_cv_lib_gmp___gmpz_init=no
21226 rm -rf conftest.dSYM
21227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21228 conftest$ac_exeext conftest.$ac_ext
21229 LIBS=$ac_check_lib_save_LIBS
21231 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
21232 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
21233 if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then
21236 { { $as_echo "$as_me:$LINENO: error: Can't find gmp library." >&5
21237 $as_echo "$as_me: error: Can't find gmp library." >&2;}
21238 { (exit 1); exit 1; }; }
21242 { $as_echo "$as_me:$LINENO: result: yes" >&5
21243 $as_echo "yes" >&6; }
21260 if test "x$with_polylib_prefix" != "x" -a "x$with_polylib_exec_prefix" = "x"
21262 with_polylib_exec_prefix=$with_polylib_prefix
21264 if test "x$with_polylib_prefix" != "x" -a "x$with_polylib_builddir" != "x"; then
21265 { { $as_echo "$as_me:$LINENO: error: --with-polylib-prefix and --with-polylib-builddir are mutually exclusive" >&5
21266 $as_echo "$as_me: error: --with-polylib-prefix and --with-polylib-builddir are mutually exclusive" >&2;}
21267 { (exit 1); exit 1; }; }
21270 { $as_echo "$as_me:$LINENO: checking for location of PolyLib" >&5
21271 $as_echo_n "checking for location of PolyLib... " >&6; }
21272 if test "x$with_polylib_builddir" != "x"; then
21273 { $as_echo "$as_me:$LINENO: result: built in $with_polylib_builddir" >&5
21274 $as_echo "built in $with_polylib_builddir" >&6; }
21275 polylib_srcdir=`echo @srcdir@ |
$with_polylib_builddir/config.status
--file=-`
21276 { $as_echo "$as_me:$LINENO: PolyLib sources in $polylib_srcdir" >&5
21277 $as_echo "$as_me: PolyLib sources in $polylib_srcdir" >&6;}
21278 polylib_polylibs=`echo @polylibs@ |
$with_polylib_builddir/config.status
--file=-`
21279 { $as_echo "$as_me:$LINENO: Configured polylibs: $polylib_polylibs" >&5
21280 $as_echo "$as_me: Configured polylibs: $polylib_polylibs" >&6;}
21281 CPPFLAGS="-I$with_polylib_builddir/include -I$polylib_srcdir/include $CPPFLAGS"
21282 for BITS in $polylibs; do
21283 cl_cv_polylib=missing
21284 for PL in $polylib_polylibs; do
21285 if test "libpolylib$BITS.la" = $PL; then
21286 cl_cv_polylib="polylib$BITS"
21290 if test "$cl_cv_polylib" != "missing"; then
21291 LIBS="$with_polylib_builddir/lib$cl_cv_polylib.la $LIBS"
21296 if test "x$with_polylib_prefix" != "x"; then
21297 { $as_echo "$as_me:$LINENO: result: installed in $with_polylib_exec_prefix" >&5
21298 $as_echo "installed in $with_polylib_exec_prefix" >&6; }
21299 CPPFLAGS="-I$with_polylib_prefix/include $CPPFLAGS"
21300 LDFLAGS="-L$with_polylib_exec_prefix/lib $LDFLAGS"
21301 LD_LIBRARY_PATH="$with_polylib_exec_prefix/lib:$LD_LIBRARY_PATH"
21302 export LD_LIBRARY_PATH
21304 { $as_echo "$as_me:$LINENO: result: installed in standard location" >&5
21305 $as_echo "installed in standard location" >&6; }
21307 for BITS in $polylibs; do
21308 cl_cv_polylib="polylib$BITS"
21309 as_ac_Lib=`$as_echo "ac_cv_lib_$cl_cv_polylib''_PolyhedronTSort" |
$as_tr_sh`
21310 { $as_echo "$as_me:$LINENO: checking for PolyhedronTSort in -l$cl_cv_polylib" >&5
21311 $as_echo_n "checking for PolyhedronTSort in -l$cl_cv_polylib... " >&6; }
21312 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
21313 $as_echo_n "(cached) " >&6
21315 ac_check_lib_save_LIBS=$LIBS
21316 LIBS="-l$cl_cv_polylib $LIBS"
21317 cat >conftest.$ac_ext <<_ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21324 /* Override any GCC internal prototype to avoid an error.
21325 Use char because int might match the return type of a GCC
21326 builtin and then its argument prototype would still apply. */
21330 char PolyhedronTSort ();
21334 return PolyhedronTSort ();
21339 rm -f conftest.$ac_objext conftest$ac_exeext
21340 if { (ac_try="$ac_link"
21341 case "(($ac_try" in
21342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21343 *) ac_try_echo
=$ac_try;;
21345 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21346 $as_echo "$ac_try_echo") >&5
21347 (eval "$ac_link") 2>conftest.er1
21349 grep -v '^ *+' conftest.er1
>conftest.err
21351 cat conftest.err
>&5
21352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest
$ac_exeext && {
21357 test "$cross_compiling" = yes ||
21358 $as_test_x conftest
$ac_exeext
21360 eval "$as_ac_Lib=yes"
21362 $as_echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.
$ac_ext >&5
21365 eval "$as_ac_Lib=no"
21368 rm -rf conftest.dSYM
21369 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21370 conftest
$ac_exeext conftest.
$ac_ext
21371 LIBS
=$ac_check_lib_save_LIBS
21373 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
21374 $as_echo "$as_val"'`
21375 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21376 $as_echo "$ac_res" >&6; }
21377 as_val
=`eval 'as_val=${'$as_ac_Lib'}
21378 $as_echo "$as_val"'`
21379 if test "x$as_val" = x
""yes; then
21381 LIBS
="-l$cl_cv_polylib $LIBS"
21386 cl_cv_polylib
=missing
21389 if test "$cl_cv_polylib" = "missing"; then
21390 { $as_echo "$as_me:$LINENO: result: Can't find PolyLib." >&5
21391 $as_echo "Can't find PolyLib." >&6; }
21393 as_ac_Header
=`$as_echo "ac_cv_header_polylib/$cl_cv_polylib.h" | $as_tr_sh`
21394 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21395 { $as_echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
21396 $as_echo_n "checking for polylib/$cl_cv_polylib.h... " >&6; }
21397 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21398 $as_echo_n "(cached) " >&6
21400 ac_res
=`eval 'as_val=${'$as_ac_Header'}
21401 $as_echo "$as_val"'`
21402 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21403 $as_echo "$ac_res" >&6; }
21405 # Is the header compilable?
21406 { $as_echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h usability" >&5
21407 $as_echo_n "checking polylib/$cl_cv_polylib.h usability... " >&6; }
21408 cat >conftest.
$ac_ext <<_ACEOF
21411 cat confdefs.h
>>conftest.
$ac_ext
21412 cat >>conftest.
$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 #include <polylib/$cl_cv_polylib.h>
21417 rm -f conftest.
$ac_objext
21418 if { (ac_try
="$ac_compile"
21419 case "(($ac_try" in
21420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21421 *) ac_try_echo=$ac_try;;
21423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21424 $as_echo "$ac_try_echo") >&5
21425 (eval "$ac_compile") 2>conftest.er1
21427 grep -v '^ *+' conftest.er1 >conftest.err
21429 cat conftest.err >&5
21430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } && {
21432 test -z "$ac_c_werror_flag" ||
21433 test ! -s conftest.err
21434 } && test -s conftest.$ac_objext; then
21435 ac_header_compiler=yes
21437 $as_echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21440 ac_header_compiler=no
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21445 $as_echo "$ac_header_compiler" >&6; }
21447 # Is the header present?
21448 { $as_echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h presence" >&5
21449 $as_echo_n "checking polylib/$cl_cv_polylib.h presence... " >&6; }
21450 cat >conftest.$ac_ext <<_ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 #include <polylib/$cl_cv_polylib.h>
21458 if { (ac_try="$ac_cpp conftest.$ac_ext"
21459 case "(($ac_try" in
21460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21461 *) ac_try_echo
=$ac_try;;
21463 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21464 $as_echo "$ac_try_echo") >&5
21465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21467 grep -v '^ *+' conftest.er1
>conftest.err
21469 cat conftest.err
>&5
21470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); } >/dev
/null
&& {
21472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21473 test ! -s conftest.err
21475 ac_header_preproc
=yes
21477 $as_echo "$as_me: failed program was:" >&5
21478 sed 's/^/| /' conftest.
$ac_ext >&5
21480 ac_header_preproc
=no
21483 rm -f conftest.err conftest.
$ac_ext
21484 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21485 $as_echo "$ac_header_preproc" >&6; }
21487 # So? What about this header?
21488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21490 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&5
21491 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21492 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&5
21493 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&2;}
21494 ac_header_preproc
=yes
21497 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&5
21498 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&2;}
21499 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&5
21500 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&2;}
21501 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&5
21502 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&2;}
21503 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&5
21504 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&2;}
21505 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&5
21506 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&2;}
21507 { $as_echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&5
21508 $as_echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&2;}
21512 { $as_echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
21513 $as_echo_n "checking for polylib/$cl_cv_polylib.h... " >&6; }
21514 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21515 $as_echo_n "(cached) " >&6
21517 eval "$as_ac_Header=\$ac_header_preproc"
21519 ac_res
=`eval 'as_val=${'$as_ac_Header'}
21520 $as_echo "$as_val"'`
21521 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21522 $as_echo "$ac_res" >&6; }
21525 as_val
=`eval 'as_val=${'$as_ac_Header'}
21526 $as_echo "$as_val"'`
21527 if test "x$as_val" = x
""yes; then
21530 { { $as_echo "$as_me:$LINENO: error: Can't find PolyLib headers." >&5
21531 $as_echo "$as_me: error: Can't find PolyLib headers." >&2;}
21532 { (exit 1); exit 1; }; }
21539 if test -f $srcdir/.git
/HEAD
; then
21540 GIT_INDEX
="\$(top_srcdir)/.git/index"
21545 # The default back-end for polyhedral operations is PolyLib, unless
21546 # -with-ppl is used.
21548 POLYHEDRAL_BACKEND
=polylib
21550 ppl_major_version
=0
21551 ppl_minor_version
=10
21556 { $as_echo "$as_me:$LINENO: checking for Parma Polyhedral Library (PPL)" >&5
21557 $as_echo_n "checking for Parma Polyhedral Library (PPL)... " >&6; }
21558 if test "x$with_ppl" != "x" -a "x$with_ppl" != "xno"; then
21560 if test "x$with_polylib_prefix" != "x" -o "x$with_polylib_exec_prefix" != "x" -o "x$with_polylib_builddir" != "x"; then
21561 { { $as_echo "$as_me:$LINENO: error: --with-polylib and --with-ppl are mutually exclusive" >&5
21562 $as_echo "$as_me: error: --with-polylib and --with-ppl are mutually exclusive" >&2;}
21563 { (exit 1); exit 1; }; }
21566 if test "x$with_ppl" != "xyes" ; then
21567 ppl_prefix
=$with_ppl
21568 { $as_echo "$as_me:$LINENO: result: installed in $ppl_prefix" >&5
21569 $as_echo "installed in $ppl_prefix" >&6; }
21570 CPPFLAGS
="-I$ppl_prefix/include $CPPFLAGS"
21571 LDFLAGS
="-L$ppl_prefix/lib $LDFLAGS"
21572 LD_LIBRARY_PATH
="$ppl_prefix/lib:$LD_LIBRARY_PATH"
21573 export LD_LIBRARY_PATH
21575 { $as_echo "$as_me:$LINENO: result: installed at system prefix" >&5
21576 $as_echo "installed at system prefix" >&6; }
21578 POLYHEDRAL_BACKEND
=ppl
21580 if test "${ac_cv_header_ppl_c_h+set}" = set; then
21581 { $as_echo "$as_me:$LINENO: checking for ppl_c.h" >&5
21582 $as_echo_n "checking for ppl_c.h... " >&6; }
21583 if test "${ac_cv_header_ppl_c_h+set}" = set; then
21584 $as_echo_n "(cached) " >&6
21586 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ppl_c_h" >&5
21587 $as_echo "$ac_cv_header_ppl_c_h" >&6; }
21589 # Is the header compilable?
21590 { $as_echo "$as_me:$LINENO: checking ppl_c.h usability" >&5
21591 $as_echo_n "checking ppl_c.h usability... " >&6; }
21592 cat >conftest.
$ac_ext <<_ACEOF
21595 cat confdefs.h
>>conftest.
$ac_ext
21596 cat >>conftest.
$ac_ext <<_ACEOF
21597 /* end confdefs.h. */
21598 $ac_includes_default
21601 rm -f conftest.
$ac_objext
21602 if { (ac_try
="$ac_compile"
21603 case "(($ac_try" in
21604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21605 *) ac_try_echo=$ac_try;;
21607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21608 $as_echo "$ac_try_echo") >&5
21609 (eval "$ac_compile") 2>conftest.er1
21611 grep -v '^ *+' conftest.er1 >conftest.err
21613 cat conftest.err >&5
21614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } && {
21616 test -z "$ac_c_werror_flag" ||
21617 test ! -s conftest.err
21618 } && test -s conftest.$ac_objext; then
21619 ac_header_compiler=yes
21621 $as_echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21624 ac_header_compiler=no
21627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21628 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21629 $as_echo "$ac_header_compiler" >&6; }
21631 # Is the header present?
21632 { $as_echo "$as_me:$LINENO: checking ppl_c.h presence" >&5
21633 $as_echo_n "checking ppl_c.h presence... " >&6; }
21634 cat >conftest.$ac_ext <<_ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21642 if { (ac_try="$ac_cpp conftest.$ac_ext"
21643 case "(($ac_try" in
21644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21645 *) ac_try_echo
=$ac_try;;
21647 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21648 $as_echo "$ac_try_echo") >&5
21649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21651 grep -v '^ *+' conftest.er1
>conftest.err
21653 cat conftest.err
>&5
21654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } >/dev
/null
&& {
21656 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21657 test ! -s conftest.err
21659 ac_header_preproc
=yes
21661 $as_echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 ac_header_preproc
=no
21667 rm -f conftest.err conftest.
$ac_ext
21668 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21669 $as_echo "$ac_header_preproc" >&6; }
21671 # So? What about this header?
21672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21674 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: accepted by the compiler, rejected by the preprocessor!" >&5
21675 $as_echo "$as_me: WARNING: ppl_c.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21676 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: proceeding with the compiler's result" >&5
21677 $as_echo "$as_me: WARNING: ppl_c.h: proceeding with the compiler's result" >&2;}
21678 ac_header_preproc
=yes
21681 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: present but cannot be compiled" >&5
21682 $as_echo "$as_me: WARNING: ppl_c.h: present but cannot be compiled" >&2;}
21683 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: check for missing prerequisite headers?" >&5
21684 $as_echo "$as_me: WARNING: ppl_c.h: check for missing prerequisite headers?" >&2;}
21685 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: see the Autoconf documentation" >&5
21686 $as_echo "$as_me: WARNING: ppl_c.h: see the Autoconf documentation" >&2;}
21687 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: section \"Present But Cannot Be Compiled\"" >&5
21688 $as_echo "$as_me: WARNING: ppl_c.h: section \"Present But Cannot Be Compiled\"" >&2;}
21689 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: proceeding with the preprocessor's result" >&5
21690 $as_echo "$as_me: WARNING: ppl_c.h: proceeding with the preprocessor's result" >&2;}
21691 { $as_echo "$as_me:$LINENO: WARNING: ppl_c.h: in the future, the compiler will take precedence" >&5
21692 $as_echo "$as_me: WARNING: ppl_c.h: in the future, the compiler will take precedence" >&2;}
21696 { $as_echo "$as_me:$LINENO: checking for ppl_c.h" >&5
21697 $as_echo_n "checking for ppl_c.h... " >&6; }
21698 if test "${ac_cv_header_ppl_c_h+set}" = set; then
21699 $as_echo_n "(cached) " >&6
21701 ac_cv_header_ppl_c_h
=$ac_header_preproc
21703 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ppl_c_h" >&5
21704 $as_echo "$ac_cv_header_ppl_c_h" >&6; }
21707 if test "x$ac_cv_header_ppl_c_h" = x
""yes; then
21710 { { $as_echo "$as_me:$LINENO: error: Can't find PPL headers." >&5
21711 $as_echo "$as_me: error: Can't find PPL headers." >&2;}
21712 { (exit 1); exit 1; }; }
21717 { $as_echo "$as_me:$LINENO: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
21718 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
21719 cat >conftest.
$ac_ext <<_ACEOF
21722 cat confdefs.h
>>conftest.
$ac_ext
21723 cat >>conftest.
$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21730 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
21738 rm -f conftest.
$ac_objext
21739 if { (ac_try
="$ac_compile"
21740 case "(($ac_try" in
21741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21742 *) ac_try_echo=$ac_try;;
21744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21745 $as_echo "$ac_try_echo") >&5
21746 (eval "$ac_compile") 2>conftest.er1
21748 grep -v '^ *+' conftest.er1 >conftest.err
21750 cat conftest.err >&5
21751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } && {
21753 test -z "$ac_c_werror_flag" ||
21754 test ! -s conftest.err
21755 } && test -s conftest.$ac_objext; then
21756 { $as_echo "$as_me:$LINENO: result: yes" >&5
21757 $as_echo "yes" >&6; }
21759 $as_echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.$ac_ext >&5
21762 { { $as_echo "$as_me:$LINENO: error: Can't find correct version of PPL." >&5
21763 $as_echo "$as_me: error: Can't find correct version of PPL." >&2;}
21764 { (exit 1); exit 1; }; }
21767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21769 LIBS="$LIBS -lppl_c -lppl -lgmpxx"
21771 cat >>confdefs.h <<\_ACEOF
21772 #define CLOOG_PPL_BACKEND 1
21777 { $as_echo "$as_me:$LINENO: result: not using PPL" >&5
21778 $as_echo "not using PPL" >&6; }
21794 ac_config_files="$ac_config_files Makefile test/Makefile include/cloog/cloog.h autoconf/Doxyfile"
21796 ac_config_files="$ac_config_files doc/Makefile"
21798 ac_config_files="$ac_config_files genversion.sh"
21800 ac_config_commands="$ac_config_commands version.h"
21802 ac_config_commands="$ac_config_commands doc/gitversion.texi"
21804 cat >confcache <<\_ACEOF
21805 # This file is a shell script that caches the results of configure
21806 # tests run on this system so they can be shared between configure
21807 # scripts and configure runs, see configure's option --config-cache.
21808 # It is not useful on other systems. If it contains results you don't
21809 # want to keep, you may remove or edit it.
21811 # config.status only pays attention to the cache file if you give it
21812 # the --recheck option to rerun configure.
21814 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21816 # following values.
21820 # The following way of writing the cache mishandles newlines in values,
21821 # but we know of no workaround that is simple, portable, and efficient.
21822 # So, we kill variables containing newlines.
21823 # Ultrix sh set writes to stderr and can't be redirected directly,
21824 # and sets the high bit in the cache file unless we assign to the vars.
21826 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21827 eval ac_val
=\$
$ac_var
21831 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
21832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21835 _ | IFS | as_nl
) ;; #(
21836 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21837 *) $as_unset $ac_var ;;
21843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21844 *${as_nl}ac_space
=\
*)
21845 # `set' does not quote correctly, so add quotes (double-quote
21846 # substitution turns \\\\ into \\, and sed turns \\ into \).
21849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21852 # `set' quotes correctly as required by POSIX, so do not add quotes.
21853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21866 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21867 if test -w "$cache_file"; then
21868 test "x$cache_file" != "x/dev/null" &&
21869 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
21870 $as_echo "$as_me: updating cache $cache_file" >&6;}
21871 cat confcache
>$cache_file
21873 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21874 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21879 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21880 # Let make expand exec_prefix.
21881 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21883 DEFS
=-DHAVE_CONFIG_H
21887 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21888 # 1. Remove the extension, and $U if already installed.
21889 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21890 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21892 # will be set to the directory where LIBOBJS objects are built.
21893 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21894 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21896 LIBOBJS
=$ac_libobjs
21898 LTLIBOBJS
=$ac_ltlibobjs
21901 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21902 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21903 Usually this means the macro was only invoked conditionally." >&5
21904 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
21905 Usually this means the macro was only invoked conditionally." >&2;}
21906 { (exit 1); exit 1; }; }
21908 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21909 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21910 Usually this means the macro was only invoked conditionally." >&5
21911 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21912 Usually this means the macro was only invoked conditionally." >&2;}
21913 { (exit 1); exit 1; }; }
21915 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21916 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21917 Usually this means the macro was only invoked conditionally." >&5
21918 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
21919 Usually this means the macro was only invoked conditionally." >&2;}
21920 { (exit 1); exit 1; }; }
21923 : ${CONFIG_STATUS=./config.status}
21925 ac_clean_files_save
=$ac_clean_files
21926 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21927 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21928 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21929 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21931 # Generated by $as_me.
21932 # Run this file to recreate the current configuration.
21933 # Compiler output produced by configure, useful for debugging
21934 # configure, is in config.log if it exists.
21937 ac_cs_recheck=false
21939 SHELL=\${CONFIG_SHELL-$SHELL}
21942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21943 ## --------------------- ##
21944 ## M4sh Initialization. ##
21945 ## --------------------- ##
21947 # Be more Bourne compatible
21948 DUALCASE
=1; export DUALCASE
# for MKS sh
21949 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21952 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21953 # is contrary to our usage. Disable this feature.
21954 alias -g '${1+"$@"}'='"$@"'
21955 setopt NO_GLOB_SUBST
21957 case `(set -o) 2>/dev/null` in
21958 *posix
*) set -o posix
;;
21967 # Avoid depending upon Character Ranges.
21968 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21969 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21970 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21971 as_cr_digits
='0123456789'
21972 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21977 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21978 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21979 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21980 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21981 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21982 as_echo='printf %s
\n'
21983 as_echo_n='printf %s
'
21985 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21986 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21987 as_echo_n='/usr
/ucb
/echo -n'
21989 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21990 as_echo_n_body='eval
21994 expr "X$arg" : "X\\(.*\\)$as_nl";
21995 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21997 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21999 export as_echo_n_body
22000 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22002 export as_echo_body
22003 as_echo='sh
-c $as_echo_body as_echo
'
22006 # The user is always right.
22007 if test "${PATH_SEPARATOR+set}" != set; then
22009 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22010 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22015 # Support unset when possible.
22016 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22024 # We need space, tab and new line, in precisely that order. Quoting is
22025 # there to prevent editors from complaining about space-tab.
22026 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22027 # splitting by setting IFS to empty value.)
22030 # Find who we are. Look in the path if we contain no directory separator.
22032 *[\\/]* ) as_myself=$0 ;;
22033 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22034 for as_dir in $PATH
22037 test -z "$as_dir" && as_dir=.
22038 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22044 # We did not find ourselves, most probably we were run as `sh COMMAND'
22045 # in which case we are not to be found in the path.
22046 if test "x$as_myself" = x
; then
22049 if test ! -f "$as_myself"; then
22050 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22051 { (exit 1); exit 1; }
22054 # Work around bugs in pre-3.0 UWIN ksh.
22055 for as_var
in ENV MAIL MAILPATH
22056 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22068 # Required to use basename.
22069 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22070 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22076 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22077 as_basename
=basename
22083 # Name of the executable.
22084 as_me
=`$as_basename -- "$0" ||
22085 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22086 X"$0" : 'X\(//\)$' \| \
22087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22089 sed '/^.*\/\([^/][^/]*\)\/*$/{
22108 as_lineno_1
=$LINENO
22109 as_lineno_2
=$LINENO
22110 test "x$as_lineno_1" != "x$as_lineno_2" &&
22111 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22113 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22114 # uniformly replaced by the line number. The first 'sed' inserts a
22115 # line-number line after each line using $LINENO; the second 'sed'
22116 # does the real work. The second script uses 'N' to pair each
22117 # line-number line with the line containing $LINENO, and appends
22118 # trailing '-' during substitution so that $LINENO is not a special
22119 # case at line end.
22120 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22121 # scripts with optimization help from Paolo Bonzini. Blame Lee
22122 # E. McMahon (1931-1989) for sed's syntax. :-)
22134 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22137 ' >$as_me.lineno
&&
22138 chmod +x
"$as_me.lineno" ||
22139 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22140 { (exit 1); exit 1; }; }
22142 # Don't try to exec as it changes $[0], causing all sort of problems
22143 # (the dirname of $[0] is not the place where we might find the
22144 # original and so on. Autoconf is especially sensitive to this).
22145 .
"./$as_me.lineno"
22146 # Exit status is that of the last command.
22151 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22157 ECHO_C
= ECHO_N
= ECHO_T
=
22158 case `echo -n x` in
22160 case `echo 'x\c'` in
22161 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22167 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22168 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22174 rm -f conf$$ conf$$.exe conf$$.
file
22175 if test -d conf$$.dir
; then
22176 rm -f conf$$.dir
/conf$$.
file
22179 mkdir conf$$.dir
2>/dev
/null
22181 if (echo >conf$$.
file) 2>/dev
/null
; then
22182 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22184 # ... but there are two gotchas:
22185 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22186 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22187 # In both cases, we have to default to `cp -p'.
22188 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22190 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22198 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22199 rmdir conf$$.dir
2>/dev
/null
22201 if mkdir
-p .
2>/dev
/null
; then
22204 test -d .
/-p && rmdir .
/-p
22208 if test -x / >/dev
/null
2>&1; then
22209 as_test_x
='test -x'
22211 if ls -dL / >/dev
/null
2>&1; then
22218 if test -d "$1"; then
22224 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22225 ???[sx]*):;;*)false;;esac;fi
22229 as_executable_p
=$as_test_x
22231 # Sed expression to map a string onto a valid CPP name.
22232 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22234 # Sed expression to map a string onto a valid variable name.
22235 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22240 # Save the log message, to keep $[0] and so on meaningful, and to
22241 # report actual input values of CONFIG_FILES etc. instead of their
22242 # values after options handling.
22244 This file was extended by $as_me, which was
22245 generated by GNU Autoconf 2.63. Invocation command line was
22247 CONFIG_FILES = $CONFIG_FILES
22248 CONFIG_HEADERS = $CONFIG_HEADERS
22249 CONFIG_LINKS = $CONFIG_LINKS
22250 CONFIG_COMMANDS = $CONFIG_COMMANDS
22253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22258 case $ac_config_files in *"
22259 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22262 case $ac_config_headers in *"
22263 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22268 # Files that config.status was made for.
22269 config_files="$ac_config_files"
22270 config_headers="$ac_config_headers"
22271 config_commands="$ac_config_commands"
22275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22277 \`$as_me' instantiates files from templates according to the
22278 current configuration.
22280 Usage: $0 [OPTION]... [FILE]...
22282 -h, --help print this help, then exit
22283 -V, --version print version number and configuration settings, then exit
22284 -q, --quiet, --silent
22285 do not print progress messages
22286 -d, --debug don't remove temporary files
22287 --recheck update $as_me by reconfiguring in the same conditions
22288 --file=FILE[:TEMPLATE]
22289 instantiate the configuration file FILE
22290 --header=FILE[:TEMPLATE]
22291 instantiate the configuration header FILE
22293 Configuration files:
22296 Configuration headers:
22299 Configuration commands:
22302 Report bugs to <bug-autoconf@gnu.org>."
22305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22308 configured by $0, generated by GNU Autoconf 2.63,
22309 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22311 Copyright (C) 2008 Free Software Foundation, Inc.
22312 This config.status script is free software; the Free Software Foundation
22313 gives unlimited permission to copy, distribute and modify it."
22319 test -n "\$AWK" || AWK=awk
22322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22323 # The default lists apply if the user does not specify any file.
22329 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22330 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22341 # Handling of the options.
22342 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22344 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22345 $as_echo "$ac_cs_version"; exit ;;
22346 --debug |
--debu |
--deb |
--de |
--d |
-d )
22348 --file |
--fil |
--fi |
--f )
22351 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22353 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
22354 ac_need_defaults
=false
;;
22355 --header |
--heade |
--head |
--hea )
22358 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22360 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
22361 ac_need_defaults
=false
;;
22363 # Conflict between --help and --header
22364 { $as_echo "$as_me: error: ambiguous option: $1
22365 Try \`$0 --help' for more information." >&2
22366 { (exit 1); exit 1; }; };;
22367 --help |
--hel |
-h )
22368 $as_echo "$ac_cs_usage"; exit ;;
22369 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22370 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22373 # This is an error.
22374 -*) { $as_echo "$as_me: error: unrecognized option: $1
22375 Try \`$0 --help' for more information." >&2
22376 { (exit 1); exit 1; }; } ;;
22378 *) ac_config_targets
="$ac_config_targets $1"
22379 ac_need_defaults
=false
;;
22385 ac_configure_extra_args
=
22387 if $ac_cs_silent; then
22389 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22394 if \$ac_cs_recheck; then
22395 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22397 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22398 CONFIG_SHELL='$SHELL'
22399 export CONFIG_SHELL
22404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22408 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22409 ## Running $as_me. ##
22415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22419 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22425 # Handling of arguments.
22426 for ac_config_target
in $ac_config_targets
22428 case $ac_config_target in
22429 "include/cloog/cloog-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/cloog/cloog-config.h" ;;
22430 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22431 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22432 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
22433 "include/cloog/cloog.h") CONFIG_FILES
="$CONFIG_FILES include/cloog/cloog.h" ;;
22434 "autoconf/Doxyfile") CONFIG_FILES
="$CONFIG_FILES autoconf/Doxyfile" ;;
22435 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
22436 "genversion.sh") CONFIG_FILES
="$CONFIG_FILES genversion.sh" ;;
22437 "version.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS version.h" ;;
22438 "doc/gitversion.texi") CONFIG_COMMANDS
="$CONFIG_COMMANDS doc/gitversion.texi" ;;
22440 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22441 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22442 { (exit 1); exit 1; }; };;
22447 # If the user did not use the arguments to specify the items to instantiate,
22448 # then the envvar interface is used. Set only those that are not.
22449 # We use the long form for the default assignment because of an extremely
22450 # bizarre bug on SunOS 4.1.3.
22451 if $ac_need_defaults; then
22452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22453 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22457 # Have a temporary directory for convenience. Make it in the build tree
22458 # simply because there is no reason against having it here, and in addition,
22459 # creating and moving files from /tmp can sometimes cause problems.
22460 # Hook for its removal unless debugging.
22461 # Note that there is a small window in which the directory will not be cleaned:
22462 # after its creation but before its name has been assigned to `$tmp'.
22466 trap 'exit_status=$?
22467 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22469 trap '{ (exit 1); exit 1; }' 1 2 13 15
22471 # Create a (secure) tmp directory for tmp files.
22474 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22475 test -n "$tmp" && test -d "$tmp"
22478 tmp
=.
/conf$$
-$RANDOM
22479 (umask 077 && mkdir
"$tmp")
22482 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22483 { (exit 1); exit 1; }
22486 # Set up the scripts for CONFIG_FILES section.
22487 # No need to generate them if there are no CONFIG_FILES.
22488 # This happens for instance with `./config.status config.h'.
22489 if test -n "$CONFIG_FILES"; then
22493 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22494 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22497 ac_cs_awk_cr
=$ac_cr
22500 echo 'BEGIN {' >"$tmp/subs1.awk" &&
22505 echo "cat >conf$$subs.awk <<_ACEOF" &&
22506 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22508 } >conf$$subs.sh ||
22509 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22510 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22511 { (exit 1); exit 1; }; }
22512 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22514 for ac_last_try in false false false false false :; do
22515 . ./conf$$subs.sh ||
22516 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22517 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22518 { (exit 1); exit 1; }; }
22520 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22521 if test $ac_delim_n = $ac_delim_num; then
22523 elif $ac_last_try; then
22524 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22525 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22526 { (exit 1); exit 1; }; }
22528 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22531 rm -f conf$$subs.sh
22533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22534 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
22538 s/^/S["/; s
/!.
*/"]=/
22548 s/\(.\{148\}\).*/\1/
22550 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22555 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22562 s/\(.\{148\}\).*/\1/
22564 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22568 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22573 ' <conf$$subs.awk | sed '
22578 ' >>$CONFIG_STATUS || ac_write_fail=1
22579 rm -f conf$$subs.awk
22580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22582 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
22583 for (key in S) S_is_set[key] = 1
22589 nfields = split(line, field, "@
")
22591 len = length(field[1])
22592 for (i = 2; i < nfields; i++) {
22594 keylen = length(key)
22595 if (S_is_set[key]) {
22597 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22598 len += length(value) + length(field[++i])
22609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22610 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22611 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22614 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
22615 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
22616 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
22617 { (exit 1); exit 1; }; }
22620 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22621 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
22622 # trailing colons and then remove the whole line if VPATH becomes empty
22623 # (actually we leave an empty line to preserve line numbers).
22624 if test "x
$srcdir" = x.; then
22625 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22626 s/:*\$(srcdir):*/:/
22627 s/:*\${srcdir}:*/:/
22629 s/^\([^=]*=[ ]*\):*/\1/
22635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22636 fi # test -n "$CONFIG_FILES"
22638 # Set up the scripts for CONFIG_HEADERS section.
22639 # No need to generate them if there are no CONFIG_HEADERS.
22640 # This happens for instance with `./config.status Makefile'.
22641 if test -n "$CONFIG_HEADERS"; then
22642 cat >"$tmp/defines.
awk" <<\_ACAWK ||
22646 # Transform confdefs.h into an awk script `defines.awk', embedded as
22647 # here-document in config.status, that substitutes the proper values into
22648 # config.h.in to produce config.h.
22650 # Create a delimiter string that does not exist in confdefs.h, to ease
22651 # handling of long lines.
22653 for ac_last_try in false false :; do
22654 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
22655 if test -z "$ac_t"; then
22657 elif $ac_last_try; then
22658 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
22659 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
22660 { (exit 1); exit 1; }; }
22662 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22666 # For the awk script, D is an array of macro values keyed by name,
22667 # likewise P contains macro parameters if any. Preserve backslash
22668 # newline sequences.
22670 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22672 s/.\{148\}/&'"$ac_delim"'/g
22675 s/^[ ]*#[ ]*define[ ][ ]*/ /
22682 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22684 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22689 D["\
1"]=" \
3\\\\\\n
"\\/p
22691 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22696 s/.\{148\}/&'"$ac_delim"'/g
22701 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22704 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22706 ' <confdefs.h | sed '
22707 s/'"$ac_delim"'/"\\\
22708 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22711 for (key in D) D_is_set[key] = 1
22714 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22716 split(line, arg, " ")
22717 if (arg[1] == "#") {
22721 defundef
= substr
(arg
[1], 2)
22724 split(mac1
, mac2
, "(") #)
22726 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22727 if (D_is_set
[macro
]) {
22728 # Preserve the white space surrounding the "#".
22729 print prefix
"define", macro P
[macro
] D
[macro
]
22732 # Replace #undef with comments. This is necessary, for example,
22733 # in the case of _POSIX_SOURCE, which is predefined and required
22734 # on some systems where configure will not decide to define it.
22735 if (defundef
== "undef") {
22736 print
"/*", prefix defundef
, macro
, "*/"
22744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22745 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22746 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22747 { (exit 1); exit 1; }; }
22748 fi # test -n "$CONFIG_HEADERS"
22751 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22756 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22758 case $ac_mode$ac_tag in
22760 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22761 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22762 { (exit 1); exit 1; }; };;
22763 :[FH
]-) ac_tag
=-:-;;
22764 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22781 -) ac_f
="$tmp/stdin";;
22782 *) # Look for the file first in the build tree, then in the source tree
22783 # (if the path is not absolute). The absolute path cannot be DOS-style,
22784 # because $ac_f cannot contain `:'.
22788 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22790 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22791 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22792 { (exit 1); exit 1; }; };;
22794 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22795 ac_file_inputs
="$ac_file_inputs '$ac_f'"
22798 # Let's still pretend it is `configure' which instantiates (i.e., don't
22799 # use $as_me), people would be surprised to read:
22800 # /* config.h. Generated by config.status. */
22801 configure_input
='Generated from '`
22802 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22804 if test x
"$ac_file" != x-
; then
22805 configure_input
="$ac_file. $configure_input"
22806 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22807 $as_echo "$as_me: creating $ac_file" >&6;}
22809 # Neutralize special characters interpreted by sed in replacement strings.
22810 case $configure_input in #(
22811 *\
&* |
*\|
* |
*\\* )
22812 ac_sed_conf_input
=`$as_echo "$configure_input" |
22813 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22814 *) ac_sed_conf_input
=$configure_input;;
22818 *:-:* |
*:-) cat >"$tmp/stdin" \
22819 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22820 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22821 { (exit 1); exit 1; }; } ;;
22826 ac_dir
=`$as_dirname -- "$ac_file" ||
22827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22828 X"$ac_file" : 'X\(//\)[^/]' \| \
22829 X"$ac_file" : 'X\(//\)$' \| \
22830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22831 $as_echo X"$ac_file" |
22832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22836 /^X\(\/\/\)[^/].*/{
22851 -*) as_dir
=.
/$as_dir;;
22853 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22857 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22858 *) as_qdir
=$as_dir;;
22860 as_dirs
="'$as_qdir' $as_dirs"
22861 as_dir
=`$as_dirname -- "$as_dir" ||
22862 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22863 X"$as_dir" : 'X\(//\)[^/]' \| \
22864 X"$as_dir" : 'X\(//\)$' \| \
22865 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22866 $as_echo X"$as_dir" |
22867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22871 /^X\(\/\/\)[^/].*/{
22884 test -d "$as_dir" && break
22886 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22887 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22888 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22889 { (exit 1); exit 1; }; }; }
22893 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22895 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22896 # A ".." for each directory in $ac_dir_suffix.
22897 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22898 case $ac_top_builddir_sub in
22899 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22900 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22903 ac_abs_top_builddir
=$ac_pwd
22904 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22905 # for backward compatibility:
22906 ac_top_builddir
=$ac_top_build_prefix
22909 .
) # We are building in place.
22911 ac_top_srcdir
=$ac_top_builddir_sub
22912 ac_abs_top_srcdir
=$ac_pwd ;;
22913 [\\/]* | ?
:[\\/]* ) # Absolute name.
22914 ac_srcdir
=$srcdir$ac_dir_suffix;
22915 ac_top_srcdir
=$srcdir
22916 ac_abs_top_srcdir
=$srcdir ;;
22917 *) # Relative name.
22918 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22919 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22920 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22922 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22932 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22933 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22938 # If the template does not know about datarootdir, expand it.
22939 # FIXME: This hack should be removed a few years after 2.60.
22940 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22953 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22954 *datarootdir
*) ac_datarootdir_seen
=yes;;
22955 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22956 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22957 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22960 ac_datarootdir_hack='
22961 s&@datadir@&$datadir&g
22962 s&@docdir@&$docdir&g
22963 s&@infodir@&$infodir&g
22964 s&@localedir@&$localedir&g
22965 s&@mandir@&$mandir&g
22966 s&\\\${datarootdir}&$datarootdir&g' ;;
22970 # Neutralize VPATH when `$srcdir' = `.'.
22971 # Shell code in configure.ac might set extrasub.
22972 # FIXME: do we really want to maintain this feature?
22973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22974 ac_sed_extra="$ac_vpsub
22977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22979 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22980 s|@configure_input@|
$ac_sed_conf_input|
;t t
22981 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22982 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22983 s
&@srcdir@
&$ac_srcdir&;t t
22984 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22985 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22986 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22987 s
&@builddir@
&$ac_builddir&;t t
22988 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22989 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22990 s
&@INSTALL@
&$ac_INSTALL&;t t
22991 $ac_datarootdir_hack
22993 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
22994 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
22995 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
22996 { (exit 1); exit 1; }; }
22998 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22999 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23000 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23001 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23002 which seems to be undefined. Please make sure it is defined." >&5
23003 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23004 which seems to be undefined. Please make sure it is defined." >&2;}
23008 -) cat "$tmp/out" && rm -f "$tmp/out";;
23009 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23011 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23012 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23013 { (exit 1); exit 1; }; }
23019 if test x"$ac_file" != x-; then
23021 $as_echo "/* $configure_input */" \
23022 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23023 } >"$tmp/config.h" \
23024 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23025 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23026 { (exit 1); exit 1; }; }
23027 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23028 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23029 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23032 mv "$tmp/config.h" "$ac_file" \
23033 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23034 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23035 { (exit 1); exit 1; }; }
23038 $as_echo "/* $configure_input */" \
23039 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23040 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23041 $as_echo "$as_me: error: could not create -" >&2;}
23042 { (exit 1); exit 1; }; }
23044 # Compute "$ac_file"'s index
in $config_headers.
23046 for _am_header
in $config_headers :; do
23047 case $_am_header in
23048 "$ac_file" |
"$ac_file":* )
23051 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23054 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
23055 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23056 X"$ac_file" : 'X\(//\)[^/]' \| \
23057 X"$ac_file" : 'X\(//\)$' \| \
23058 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23059 $as_echo X"$ac_file" |
23060 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23064 /^X\(\/\/\)[^/].*/{
23076 s/.*/./; q'`/stamp-h
$_am_stamp_count
23079 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
23080 $as_echo "$as_me: executing $ac_file commands" >&6;}
23085 case $ac_file$ac_mode in
23086 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23087 # Strip MF so we end up with the name of the file.
23088 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23089 # Check whether this is an Automake generated Makefile or not.
23090 # We used to match only the files named `Makefile.in', but
23091 # some people rename them; so instead we look at the file content.
23092 # Grep'ing the first line is not enough: some people post-process
23093 # each Makefile.in and add a new line on top of each file to say so.
23094 # So let's grep whole file.
23095 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
23096 dirpart
=`$as_dirname -- "$mf" ||
23097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23098 X"$mf" : 'X\(//\)[^/]' \| \
23099 X"$mf" : 'X\(//\)$' \| \
23100 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23106 /^X\(\/\/\)[^/].*/{
23122 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
23123 # Extract the definition of DEP_FILES from the Makefile without
23125 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
23126 test -z "$DEPDIR" && continue
23127 # When using ansi2knr, U may be empty or an underscore; expand it
23128 U
=`sed -n -e '/^U = / s///p' < "$mf"`
23129 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
23130 # We invoke sed twice because it is the simplest approach to
23131 # changing $(DEPDIR) to its actual value in the expansion.
23132 for file in `sed -n -e '
23133 /^DEP_FILES = .*\\\\$/ {
23142 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
23143 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23144 # Make sure the directory exists.
23145 test -f "$dirpart/$file" && continue
23146 fdir
=`$as_dirname -- "$file" ||
23147 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23148 X"$file" : 'X\(//\)[^/]' \| \
23149 X"$file" : 'X\(//\)$' \| \
23150 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23151 $as_echo X"$file" |
23152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23156 /^X\(\/\/\)[^/].*/{
23169 { as_dir
=$dirpart/$fdir
23171 -*) as_dir
=.
/$as_dir;;
23173 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23177 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23178 *) as_qdir
=$as_dir;;
23180 as_dirs
="'$as_qdir' $as_dirs"
23181 as_dir
=`$as_dirname -- "$as_dir" ||
23182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23183 X"$as_dir" : 'X\(//\)[^/]' \| \
23184 X"$as_dir" : 'X\(//\)$' \| \
23185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23186 $as_echo X"$as_dir" |
23187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23191 /^X\(\/\/\)[^/].*/{
23204 test -d "$as_dir" && break
23206 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23207 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23208 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23209 { (exit 1); exit 1; }; }; }
23210 # echo "creating $dirpart/$file"
23211 echo '# dummy' > "$dirpart/$file"
23215 "genversion.sh":F
) chmod +x genversion.sh
;;
23216 "version.h":C
) echo '#define CLOOG_HEAD "'`./genversion.sh`'"' > version.h
;;
23217 "doc/gitversion.texi":C
) echo '@set VERSION '`./genversion.sh`'' > doc
/gitversion.texi
;;
23223 { (exit 0); exit 0; }
23225 chmod +x
$CONFIG_STATUS
23226 ac_clean_files
=$ac_clean_files_save
23228 test $ac_write_fail = 0 ||
23229 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23230 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23231 { (exit 1); exit 1; }; }
23234 # configure is writing to config.log, and then calls config.status.
23235 # config.status does its own redirection, appending to config.log.
23236 # Unfortunately, on DOS this fails, as config.log is still kept open
23237 # by configure, so config.status won't be able to write to it; its
23238 # output is simply discarded. So we exec the FD to /dev/null,
23239 # effectively closing config.log, so it can be properly (re)opened and
23240 # appended to by config.status. When coming back to configure, we
23241 # need to make the FD available again.
23242 if test "$no_create" != yes; then
23244 ac_config_status_args
=
23245 test "$silent" = yes &&
23246 ac_config_status_args
="$ac_config_status_args --quiet"
23248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23251 # would make configure fail if this is the last instruction.
23252 $ac_cs_success ||
{ (exit 1); exit 1; }
23254 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23255 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23256 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23261 echo " /*-----------------------------------------------*"
23262 echo " * CLooG configuration is OK *"
23263 echo " *-----------------------------------------------*/"
23264 echo "It appears that your system is OK to start CLooG compilation. You need"
23265 echo "now to type \"make\". After compilation, you should check CLooG by typing"
23266 echo "\"make check\". If no problem occur, you can type \"make uninstall\" if"
23267 echo "you are upgrading an old version. Lastly type \"make install\" to install"
23268 echo "CLooG on your system (log as root if necessary)."