2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xdock 0.0.1.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 # Check that we are running under the correct shell.
554 SHELL
=${CONFIG_SHELL-/bin/sh}
558 # Remove one level of quotation (which was required for Make).
559 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564 if test "X$1" = X--no-reexec
; then
565 # Discard the --no-reexec flag, and continue.
567 elif test "X$1" = X--fallback-echo
; then
568 # Avoid inline document here, it may be left over
570 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571 # Yippee, $echo works!
574 # Restart under the correct shell.
575 exec $SHELL "$0" --no-reexec ${1+"$@"}
578 if test "X$1" = X--fallback-echo
; then
579 # used as fallback echo
587 # The HP-UX ksh and POSIX shell print the target directory to stdout
589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
591 if test -z "$ECHO"; then
592 if test "X${echo_test_string+set}" != Xset
; then
593 # find a string as large as possible, as long as the shell can cope with it
594 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
597 echo_test_string
=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
617 for dir
in $PATH /usr
/ucb
; do
619 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho
; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL
=/bin
/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
658 SHELL
="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string
=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames
=${tagnames+${tagnames},}CXX
704 tagnames
=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev
/null
6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix
=/usr
/local
718 ac_config_libobj_dir
=.
724 SHELL
=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
728 PACKAGE_TARNAME
='xdock'
729 PACKAGE_VERSION
='0.0.1'
730 PACKAGE_STRING
='xdock 0.0.1'
733 # Factoring default headers for most tests.
734 ac_includes_default
="\
736 #ifdef HAVE_SYS_TYPES_H
737 # include <sys/types.h>
739 #ifdef HAVE_SYS_STAT_H
740 # include <sys/stat.h>
746 # ifdef HAVE_STDLIB_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756 #ifdef HAVE_STRINGS_H
757 # include <strings.h>
759 #ifdef HAVE_INTTYPES_H
760 # include <inttypes.h>
778 program_transform_name
820 INSTALL_STRIP_PROGRAM
880 ac_precious_vars
='build_alias
898 # Initialize some variables set by options.
900 ac_init_version
=false
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
910 program_transform_name
=s
,x
,x
,
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir
='${exec_prefix}/bin'
925 sbindir
='${exec_prefix}/sbin'
926 libexecdir
='${exec_prefix}/libexec'
927 datarootdir
='${prefix}/share'
928 datadir
='${datarootdir}'
929 sysconfdir
='${prefix}/etc'
930 sharedstatedir
='${prefix}/com'
931 localstatedir
='${prefix}/var'
932 includedir
='${prefix}/include'
933 oldincludedir
='/usr/include'
934 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir
='${datarootdir}/info'
940 libdir
='${exec_prefix}/lib'
941 localedir
='${datarootdir}/locale'
942 mandir
='${datarootdir}/man'
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\
$ac_option
956 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960 # Accept the important Cygnus configure options, so we can diagnose typos.
962 case $ac_dashdash$ac_option in
966 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
968 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
971 -build |
--build |
--buil |
--bui |
--bu)
972 ac_prev
=build_alias
;;
973 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
974 build_alias
=$ac_optarg ;;
976 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
977 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
978 ac_prev
=cache_file
;;
979 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
980 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
981 cache_file
=$ac_optarg ;;
984 cache_file
=config.cache
;;
986 -datadir |
--datadir |
--datadi |
--datad)
988 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
989 datadir
=$ac_optarg ;;
991 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
992 |
--dataroo |
--dataro |
--datar)
993 ac_prev
=datarootdir
;;
994 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
995 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
996 datarootdir
=$ac_optarg ;;
998 -disable-* |
--disable-*)
999 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1002 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1003 { (exit 1); exit 1; }; }
1004 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1005 eval enable_
$ac_feature=no
;;
1007 -docdir |
--docdir |
--docdi |
--doc |
--do)
1009 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1010 docdir
=$ac_optarg ;;
1012 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1014 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1015 dvidir
=$ac_optarg ;;
1017 -enable-* |
--enable-*)
1018 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1021 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1022 { (exit 1); exit 1; }; }
1023 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1024 eval enable_
$ac_feature=\
$ac_optarg ;;
1026 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1027 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1028 |
--exec |
--exe |
--ex)
1029 ac_prev
=exec_prefix
;;
1030 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1031 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1032 |
--exec=* |
--exe=* |
--ex=*)
1033 exec_prefix
=$ac_optarg ;;
1035 -gas |
--gas |
--ga |
--g)
1036 # Obsolete; use --with-gas.
1039 -help |
--help |
--hel |
--he |
-h)
1040 ac_init_help
=long
;;
1041 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1042 ac_init_help
=recursive
;;
1043 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1044 ac_init_help
=short
;;
1046 -host |
--host |
--hos |
--ho)
1047 ac_prev
=host_alias
;;
1048 -host=* |
--host=* |
--hos=* |
--ho=*)
1049 host_alias
=$ac_optarg ;;
1051 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1053 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1055 htmldir
=$ac_optarg ;;
1057 -includedir |
--includedir |
--includedi |
--included |
--include \
1058 |
--includ |
--inclu |
--incl |
--inc)
1059 ac_prev
=includedir
;;
1060 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1061 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1062 includedir
=$ac_optarg ;;
1064 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1066 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1067 infodir
=$ac_optarg ;;
1069 -libdir |
--libdir |
--libdi |
--libd)
1071 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1072 libdir
=$ac_optarg ;;
1074 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1075 |
--libexe |
--libex |
--libe)
1076 ac_prev
=libexecdir
;;
1077 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1078 |
--libexe=* |
--libex=* |
--libe=*)
1079 libexecdir
=$ac_optarg ;;
1081 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1082 ac_prev
=localedir
;;
1083 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1084 localedir
=$ac_optarg ;;
1086 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1087 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1088 ac_prev
=localstatedir
;;
1089 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1090 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1091 localstatedir
=$ac_optarg ;;
1093 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1095 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1096 mandir
=$ac_optarg ;;
1098 -nfp |
--nfp |
--nf)
1099 # Obsolete; use --without-fp.
1102 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1103 |
--no-cr |
--no-c |
-n)
1106 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1107 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1110 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1111 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1112 |
--oldin |
--oldi |
--old |
--ol |
--o)
1113 ac_prev
=oldincludedir
;;
1114 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1115 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1116 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1117 oldincludedir
=$ac_optarg ;;
1119 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1121 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1122 prefix
=$ac_optarg ;;
1124 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1125 |
--program-pre |
--program-pr |
--program-p)
1126 ac_prev
=program_prefix
;;
1127 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1128 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1129 program_prefix
=$ac_optarg ;;
1131 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1132 |
--program-suf |
--program-su |
--program-s)
1133 ac_prev
=program_suffix
;;
1134 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1135 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1136 program_suffix
=$ac_optarg ;;
1138 -program-transform-name |
--program-transform-name \
1139 |
--program-transform-nam |
--program-transform-na \
1140 |
--program-transform-n |
--program-transform- \
1141 |
--program-transform |
--program-transfor \
1142 |
--program-transfo |
--program-transf \
1143 |
--program-trans |
--program-tran \
1144 |
--progr-tra |
--program-tr |
--program-t)
1145 ac_prev
=program_transform_name
;;
1146 -program-transform-name=* |
--program-transform-name=* \
1147 |
--program-transform-nam=* |
--program-transform-na=* \
1148 |
--program-transform-n=* |
--program-transform-=* \
1149 |
--program-transform=* |
--program-transfor=* \
1150 |
--program-transfo=* |
--program-transf=* \
1151 |
--program-trans=* |
--program-tran=* \
1152 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1153 program_transform_name
=$ac_optarg ;;
1155 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1157 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1158 pdfdir
=$ac_optarg ;;
1160 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1162 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1166 |
-silent |
--silent |
--silen |
--sile |
--sil)
1169 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1171 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1173 sbindir
=$ac_optarg ;;
1175 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1176 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1177 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1179 ac_prev
=sharedstatedir
;;
1180 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1181 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1182 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1184 sharedstatedir
=$ac_optarg ;;
1186 -site |
--site |
--sit)
1188 -site=* |
--site=* |
--sit=*)
1191 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1193 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1194 srcdir
=$ac_optarg ;;
1196 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1197 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1198 ac_prev
=sysconfdir
;;
1199 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1200 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1201 sysconfdir
=$ac_optarg ;;
1203 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1204 ac_prev
=target_alias
;;
1205 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1206 target_alias
=$ac_optarg ;;
1208 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1211 -version |
--version |
--versio |
--versi |
--vers |
-V)
1212 ac_init_version
=: ;;
1215 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 { echo "$as_me: error: invalid package name: $ac_package" >&2
1219 { (exit 1); exit 1; }; }
1220 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1221 eval with_
$ac_package=\
$ac_optarg ;;
1223 -without-* |
--without-*)
1224 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1227 { echo "$as_me: error: invalid package name: $ac_package" >&2
1228 { (exit 1); exit 1; }; }
1229 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1230 eval with_
$ac_package=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1237 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1240 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1244 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1247 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) { echo "$as_me: error: unrecognized option: $ac_option
1251 Try \`$0 --help' for more information." >&2
1252 { (exit 1); exit 1; }; }
1256 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1259 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1260 { (exit 1); exit 1; }; }
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 { echo "$as_me: error: missing argument to $ac_option" >&2
1278 { (exit 1); exit 1; }; }
1281 # Be sure to have absolute directory names.
1282 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1283 datadir sysconfdir sharedstatedir localstatedir includedir \
1284 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1285 libdir localedir mandir
1287 eval ac_val
=\$
$ac_var
1289 [\\/$
]* | ?
:[\\/]* ) continue;;
1290 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1292 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1293 { (exit 1); exit 1; }; }
1296 # There might be people who depend on the old broken behavior: `$host'
1297 # used to hold the argument of --host etc.
1298 # FIXME: To remove some day.
1301 target
=$target_alias
1303 # FIXME: To remove some day.
1304 if test "x$host_alias" != x
; then
1305 if test "x$build_alias" = x
; then
1306 cross_compiling
=maybe
1307 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1308 If a cross compiler is detected then cross compile mode will be used." >&2
1309 elif test "x$build_alias" != "x$host_alias"; then
1315 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1317 test "$silent" = yes && exec 6>/dev
/null
1320 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1321 ac_ls_di
=`ls -di .` &&
1322 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1323 { echo "$as_me: error: Working directory cannot be determined" >&2
1324 { (exit 1); exit 1; }; }
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 { echo "$as_me: error: pwd does not report name of working directory" >&2
1327 { (exit 1); exit 1; }; }
1330 # Find the source files, if location was not specified.
1331 if test -z "$srcdir"; then
1332 ac_srcdir_defaulted
=yes
1333 # Try the directory containing this script, then the parent directory.
1334 ac_confdir
=`$as_dirname -- "$0" ||
1335 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336 X"$0" : 'X\(//\)[^/]' \| \
1337 X"$0" : 'X\(//\)$' \| \
1338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted
=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1365 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1366 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1367 { (exit 1); exit 1; }; }
1369 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1372 { (exit 1); exit 1; }; }
1374 # When building in place, set srcdir=.
1375 if test "$ac_abs_confdir" = "$ac_pwd"; then
1378 # Remove unnecessary trailing slashes from srcdir.
1379 # Double slashes in file names in object file debugging info
1380 # mess up M-x gdb in Emacs.
1382 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 for ac_var
in $ac_precious_vars; do
1385 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1387 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1388 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1392 # Report the --help message.
1394 if test "$ac_init_help" = "long"; then
1395 # Omit some internal or obsolete options to make the list less imposing.
1396 # This message is too long to be a string in the A/UX 3.1 sh.
1398 \`configure' configures xdock 0.0.1 to adapt to many kinds of systems.
1400 Usage: $0 [OPTION]... [VAR=VALUE]...
1402 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1403 VAR=VALUE. See below for descriptions of some of the useful variables.
1405 Defaults for the options are specified in brackets.
1408 -h, --help display this help and exit
1409 --help=short display options specific to this package
1410 --help=recursive display the short help of all the included packages
1411 -V, --version display version information and exit
1412 -q, --quiet, --silent do not print \`checking...' messages
1413 --cache-file=FILE cache test results in FILE [disabled]
1414 -C, --config-cache alias for \`--cache-file=config.cache'
1415 -n, --no-create do not create output files
1416 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1418 Installation directories:
1419 --prefix=PREFIX install architecture-independent files in PREFIX
1420 [$ac_default_prefix]
1421 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 By default, \`make install' will install all the files in
1425 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1426 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1427 for instance \`--prefix=\$HOME'.
1429 For better control, use the options below.
1431 Fine tuning of the installation directories:
1432 --bindir=DIR user executables [EPREFIX/bin]
1433 --sbindir=DIR system admin executables [EPREFIX/sbin]
1434 --libexecdir=DIR program executables [EPREFIX/libexec]
1435 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1436 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1437 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1438 --libdir=DIR object code libraries [EPREFIX/lib]
1439 --includedir=DIR C header files [PREFIX/include]
1440 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1441 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1442 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1443 --infodir=DIR info documentation [DATAROOTDIR/info]
1444 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1445 --mandir=DIR man documentation [DATAROOTDIR/man]
1446 --docdir=DIR documentation root [DATAROOTDIR/doc/xdock]
1447 --htmldir=DIR html documentation [DOCDIR]
1448 --dvidir=DIR dvi documentation [DOCDIR]
1449 --pdfdir=DIR pdf documentation [DOCDIR]
1450 --psdir=DIR ps documentation [DOCDIR]
1456 --program-prefix=PREFIX prepend PREFIX to installed program names
1457 --program-suffix=SUFFIX append SUFFIX to installed program names
1458 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1461 --x-includes=DIR X include files are
in DIR
1462 --x-libraries=DIR X library files are
in DIR
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of xdock 0.0.1:";;
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1480 --enable-static[=PKGS
] build static libraries
[default
=yes]
1481 --enable-fast-install[=PKGS
]
1482 optimize
for fast installation
[default
=yes]
1483 --disable-dependency-tracking speeds up one-time build
1484 --enable-dependency-tracking do not reject slow dependency extractors
1485 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1488 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1489 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1490 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1491 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1493 --with-tags[=TAGS
] include additional configurations
[automatic
]
1494 --with-x use the X Window System
1496 Some influential environment variables
:
1497 CC C compiler
command
1498 CFLAGS C compiler flags
1499 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1500 nonstandard directory
<lib dir
>
1501 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1502 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1503 you have headers
in a nonstandard directory
<include dir
>
1505 CXX C
++ compiler
command
1506 CXXFLAGS C
++ compiler flags
1507 CXXCPP C
++ preprocessor
1508 F77 Fortran
77 compiler
command
1509 FFLAGS Fortran
77 compiler flags
1510 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1512 Use these variables to override the choices made by
`configure' or to help
1513 it to find libraries and programs with nonstandard names/locations.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" || continue
1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1529 # A ".." for each directory in $ac_dir_suffix.
1530 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1531 case $ac_top_builddir_sub in
1532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1536 ac_abs_top_builddir=$ac_pwd
1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1538 # for backward compatibility:
1539 ac_top_builddir=$ac_top_build_prefix
1542 .) # We are building in place.
1544 ac_top_srcdir=$ac_top_builddir_sub
1545 ac_abs_top_srcdir=$ac_pwd ;;
1546 [\\/]* | ?:[\\/]* ) # Absolute name.
1547 ac_srcdir=$srcdir$ac_dir_suffix;
1548 ac_top_srcdir=$srcdir
1549 ac_abs_top_srcdir=$srcdir ;;
1551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1552 ac_top_srcdir=$ac_top_build_prefix$srcdir
1553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557 cd "$ac_dir" || { ac_status=$?; continue; }
1558 # Check for guested configure.
1559 if test -f "$ac_srcdir/configure.gnu"; then
1561 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1562 elif test -f "$ac_srcdir/configure"; then
1564 $SHELL "$ac_srcdir/configure" --help=recursive
1566 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568 cd "$ac_pwd" || { ac_status=$?; break; }
1572 test -n "$ac_init_help" && exit $ac_status
1573 if $ac_init_version; then
1575 xdock configure 0.0.1
1576 generated by GNU Autoconf 2.61
1578 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1579 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1580 This configure script is free software; the Free Software Foundation
1581 gives unlimited permission to copy, distribute and modify it.
1585 cat >config.log <<_ACEOF
1586 This file contains any messages produced by compilers while
1587 running configure, to aid debugging if configure makes a mistake.
1589 It was created by xdock $as_me 0.0.1, which was
1590 generated by GNU Autoconf 2.61. Invocation command line was
1602 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1603 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1604 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1605 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1606 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1608 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1609 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1611 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1613 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1614 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1615 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1617 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625 test -z "$as_dir" && as_dir=.
1626 echo "PATH: $as_dir"
1642 # Keep a trace of the command line.
1643 # Strip out --no-create and --no-recursion so they do not pile up.
1644 # Strip out --silent because we don't want to record it for future runs.
1645 # Also quote any args containing shell meta-characters.
1646 # Make two passes to allow for proper duplicate-argument suppression.
1650 ac_must_keep_next=false
1656 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1658 | -silent | --silent | --silen | --sile | --sil)
1661 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1664 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1666 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1667 if test $ac_must_keep_next = true; then
1668 ac_must_keep_next=false # Got value, back to normal.
1671 *=* | --config-cache | -C | -disable-* | --disable-* \
1672 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1673 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1674 | -with-* | --with-* | -without-* | --without-* | --x)
1675 case "$ac_configure_args0 " in
1676 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1679 -* ) ac_must_keep_next=true ;;
1682 ac_configure_args="$ac_configure_args '$ac_arg'"
1687 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1688 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1690 # When interrupted or exit'd, cleanup temporary files, and complete
1691 # config.log. We remove comments because anyway the quotes in there
1692 # would cause problems or look ugly.
1693 # WARNING: Use '\'' to represent an apostrophe within the trap.
1694 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1695 trap 'exit_status=$?
1696 # Save into config.log some information that might help in debugging.
1701 ## ---------------- ##
1702 ## Cache variables. ##
1703 ## ---------------- ##
1706 # The following way of writing the cache mishandles newlines in values,
1708 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1709 eval ac_val=\$$ac_var
1713 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1714 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1717 _ | IFS | as_nl) ;; #(
1718 *) $as_unset $ac_var ;;
1723 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1724 *${as_nl}ac_space=\ *)
1726 "s/'\''/'\''\\\\'\'''\''/g;
1727 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1730 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1738 ## ----------------- ##
1739 ## Output variables. ##
1740 ## ----------------- ##
1743 for ac_var in $ac_subst_vars
1745 eval ac_val=\$$ac_var
1747 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1749 echo "$ac_var='\''$ac_val'\''"
1753 if test -n "$ac_subst_files"; then
1755 ## ------------------- ##
1756 ## File substitutions. ##
1757 ## ------------------- ##
1760 for ac_var in $ac_subst_files
1762 eval ac_val=\$$ac_var
1764 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1766 echo "$ac_var='\''$ac_val'\''"
1771 if test -s confdefs.h; then
1781 test "$ac_signal" != 0 &&
1782 echo "$as_me: caught signal $ac_signal"
1783 echo "$as_me: exit $exit_status"
1785 rm -f core *.core core.conftest.* &&
1786 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1789 for ac_signal in 1 2 13 15; do
1790 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1794 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1795 rm -f -r conftest* confdefs.h
1797 # Predefined preprocessor variables.
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_NAME "$PACKAGE_NAME"
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1809 cat >>confdefs.h <<_ACEOF
1810 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_STRING "$PACKAGE_STRING"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1824 # Let the site file select an alternate cache file if it wants to.
1825 # Prefer explicitly selected file to automatically selected ones.
1826 if test -n "$CONFIG_SITE"; then
1827 set x "$CONFIG_SITE"
1828 elif test "x$prefix" != xNONE; then
1829 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1831 set x "$ac_default_prefix/share/config.site" \
1832 "$ac_default_prefix/etc/config.site"
1837 if test -r "$ac_site_file"; then
1838 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1839 echo "$as_me: loading site script $ac_site_file" >&6;}
1840 sed 's/^/| /' "$ac_site_file" >&5
1845 if test -r "$cache_file"; then
1846 # Some versions of bash will fail to source /dev/null (special
1847 # files actually), so we avoid doing that.
1848 if test -f "$cache_file"; then
1849 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1850 echo "$as_me: loading cache $cache_file" >&6;}
1852 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1853 *) . "./$cache_file";;
1857 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1858 echo "$as_me: creating cache $cache_file" >&6;}
1862 # Check that the precious variables saved in the cache have kept the same
1864 ac_cache_corrupted=false
1865 for ac_var in $ac_precious_vars; do
1866 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1867 eval ac_new_set=\$ac_env_${ac_var}_set
1868 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1869 eval ac_new_val=\$ac_env_${ac_var}_value
1870 case $ac_old_set,$ac_new_set in
1872 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1873 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1881 if test "x$ac_old_val" != "x$ac_new_val"; then
1882 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1883 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1884 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1885 echo "$as_me: former value
: $ac_old_val" >&2;}
1886 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1887 echo "$as_me: current value
: $ac_new_val" >&2;}
1888 ac_cache_corrupted=:
1891 # Pass precious variables to config.status.
1892 if test "$ac_new_set" = set; then
1894 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1895 *) ac_arg=$ac_var=$ac_new_val ;;
1897 case " $ac_configure_args " in
1898 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1899 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1903 if $ac_cache_corrupted; then
1904 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1905 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1906 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1907 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1908 { (exit 1); exit 1; }; }
1936 ac_cpp='$CPP $CPPFLAGS'
1937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1942 am__api_version='1.10'
1945 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1946 if test -f "$ac_dir/install-sh"; then
1948 ac_install_sh="$ac_aux_dir/install-sh -c"
1950 elif test -f "$ac_dir/install.sh"; then
1952 ac_install_sh="$ac_aux_dir/install.sh -c"
1954 elif test -f "$ac_dir/shtool"; then
1956 ac_install_sh="$ac_aux_dir/shtool install -c"
1960 if test -z "$ac_aux_dir"; then
1961 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1962 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1963 { (exit 1); exit 1; }; }
1966 # These three variables are undocumented and unsupported,
1967 # and are intended to be withdrawn in a future Autoconf release.
1968 # They can cause serious problems if a builder's source tree is in a directory
1969 # whose full name contains unusual characters.
1970 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1971 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1972 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1975 # Find a good install program. We prefer a C program (faster),
1976 # so one script is as good as another. But avoid the broken or
1977 # incompatible versions:
1978 # SysV /etc/install, /usr/sbin/install
1979 # SunOS /usr/etc/install
1980 # IRIX /sbin/install
1982 # AmigaOS /C/install, which installs bootblocks on floppy discs
1983 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1984 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1985 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1986 # OS/2's system install, which has a completely different semantic
1987 # ./install, which can be erroneously created by make from ./install.sh.
1988 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1989 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1990 if test -z "$INSTALL"; then
1991 if test "${ac_cv_path_install+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir=.
1999 # Account for people who put trailing slashes in PATH elements.
2001 ./ | .// | /cC/* | \
2002 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2003 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2006 # OSF1 and SCO ODT 3.0 have their own names for install.
2007 # Don't use installbsd from OSF since it installs stuff as root
2009 for ac_prog in ginstall scoinst install; do
2010 for ac_exec_ext in '' $ac_executable_extensions; do
2011 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2012 if test $ac_prog = install &&
2013 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2014 # AIX install. It has an incompatible calling convention.
2016 elif test $ac_prog = install &&
2017 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2018 # program-specific install script used by HP pwplus--don't use.
2021 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2034 if test "${ac_cv_path_install+set}" = set; then
2035 INSTALL=$ac_cv_path_install
2037 # As a last resort, use the slow shell script. Don't cache a
2038 # value for INSTALL within a source directory, because that will
2039 # break other packages using the cache if that directory is
2040 # removed, or if the value is a relative name.
2041 INSTALL=$ac_install_sh
2044 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2045 echo "${ECHO_T}$INSTALL" >&6; }
2047 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2048 # It thinks the first close brace ends the variable substitution.
2049 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2053 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2055 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2056 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2059 echo timestamp > conftest.file
2060 # Do `set' in a subshell so we don't clobber the current shell
's
2061 # arguments. Must try -L first in case configure is actually a
2062 # symlink; some systems play weird games with the mod time of symlinks
2063 # (eg FreeBSD returns the mod time of the symlink's containing
2066 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2067 if test "$*" = "X"; then
2069 set X
`ls -t $srcdir/configure conftest.file`
2072 if test "$*" != "X $srcdir/configure conftest.file" \
2073 && test "$*" != "X conftest.file $srcdir/configure"; then
2075 # If neither matched, then we have a broken ls. This can happen
2076 # if, for instance, CONFIG_SHELL is bash and it inherits a
2077 # broken ls alias from the environment. This has actually
2078 # happened. Such a system could not be considered "sane".
2079 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2080 alias in your environment" >&5
2081 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2082 alias in your environment" >&2;}
2083 { (exit 1); exit 1; }; }
2086 test "$2" = conftest.
file
2092 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2093 Check your system clock" >&5
2094 echo "$as_me: error: newly created file is older than distributed files!
2095 Check your system clock" >&2;}
2096 { (exit 1); exit 1; }; }
2098 { echo "$as_me:$LINENO: result: yes" >&5
2099 echo "${ECHO_T}yes" >&6; }
2100 test "$program_prefix" != NONE
&&
2101 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2102 # Use a double $ so make ignores it.
2103 test "$program_suffix" != NONE
&&
2104 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2105 # Double any \ or $. echo might interpret backslashes.
2106 # By default was `s,x,x', remove it if useless.
2107 cat <<\_ACEOF
>conftest.
sed
2108 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2110 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2113 # expand $ac_aux_dir to an absolute path
2114 am_aux_dir
=`cd $ac_aux_dir && pwd`
2116 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2117 # Use eval to expand $SHELL
2118 if eval "$MISSING --run true"; then
2119 am_missing_run
="$MISSING --run "
2122 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2123 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2126 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2127 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2128 if test -z "$MKDIR_P"; then
2129 if test "${ac_cv_path_mkdir+set}" = set; then
2130 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2133 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2136 test -z "$as_dir" && as_dir
=.
2137 for ac_prog
in mkdir gmkdir
; do
2138 for ac_exec_ext
in '' $ac_executable_extensions; do
2139 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2140 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2141 'mkdir (GNU coreutils) '* | \
2142 'mkdir (coreutils) '* | \
2143 'mkdir (fileutils) '4.1*)
2144 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2154 if test "${ac_cv_path_mkdir+set}" = set; then
2155 MKDIR_P
="$ac_cv_path_mkdir -p"
2157 # As a last resort, use the slow shell script. Don't cache a
2158 # value for MKDIR_P within a source directory, because that will
2159 # break other packages using the cache if that directory is
2160 # removed, or if the value is a relative name.
2161 test -d .
/--version && rmdir .
/--version
2162 MKDIR_P
="$ac_install_sh -d"
2165 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2166 echo "${ECHO_T}$MKDIR_P" >&6; }
2170 [\\/$
]* | ?
:[\\/]*) ;;
2171 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2174 for ac_prog
in gawk mawk nawk
awk
2176 # Extract the first word of "$ac_prog", so it can be a program name with args.
2177 set dummy
$ac_prog; ac_word
=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_prog_AWK+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$AWK"; then
2184 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_AWK
="$ac_prog"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test -n "$AWK"; then
2205 { echo "$as_me:$LINENO: result: $AWK" >&5
2206 echo "${ECHO_T}$AWK" >&6; }
2208 { echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6; }
2213 test -n "$AWK" && break
2216 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2217 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2218 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2219 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 cat >conftest.
make <<\_ACEOF
2225 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2228 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2230 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2232 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2236 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2237 { echo "$as_me:$LINENO: result: yes" >&5
2238 echo "${ECHO_T}yes" >&6; }
2241 { echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6; }
2243 SET_MAKE
="MAKE=${MAKE-make}"
2246 rm -rf .tst
2>/dev
/null
2247 mkdir .tst
2>/dev
/null
2248 if test -d .tst
; then
2253 rmdir .tst
2>/dev
/null
2255 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2256 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2257 # is not polluted with repeated "-I."
2258 am__isrc
=' -I$(srcdir)'
2259 # test to see if srcdir already configured
2260 if test -f $srcdir/config.status
; then
2261 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2262 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2263 { (exit 1); exit 1; }; }
2267 # test whether we have cygpath
2268 if test -z "$CYGPATH_W"; then
2269 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2270 CYGPATH_W
='cygpath -w'
2277 # Define the identity of the package.
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE "$PACKAGE"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define VERSION "$VERSION"
2291 # Some tools Automake needs.
2293 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2296 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2299 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2302 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2305 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2307 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2309 # Installed binaries are usually stripped using `strip' when the user
2310 # run `make install-strip'. However `strip' might not be the right
2311 # tool to use in cross-compilation environments, therefore Automake
2312 # will honor the `STRIP' environment variable to overrule this program.
2313 if test "$cross_compiling" != no
; then
2314 if test -n "$ac_tool_prefix"; then
2315 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2316 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319 if test "${ac_cv_prog_STRIP+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 if test -n "$STRIP"; then
2323 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir
=.
2330 for ac_exec_ext
in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 STRIP
=$ac_cv_prog_STRIP
2343 if test -n "$STRIP"; then
2344 { echo "$as_me:$LINENO: result: $STRIP" >&5
2345 echo "${ECHO_T}$STRIP" >&6; }
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2353 if test -z "$ac_cv_prog_STRIP"; then
2355 # Extract the first word of "strip", so it can be a program name with args.
2356 set dummy strip
; ac_word
=$2
2357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2359 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$ac_ct_STRIP"; then
2363 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir
=.
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2372 ac_cv_prog_ac_ct_STRIP
="strip"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2383 if test -n "$ac_ct_STRIP"; then
2384 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2385 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2387 { echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6; }
2391 if test "x$ac_ct_STRIP" = x
; then
2394 case $cross_compiling:$ac_tool_warned in
2396 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2397 whose name does not start with the host triplet. If you think this
2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
2399 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2402 ac_tool_warned
=yes ;;
2407 STRIP
="$ac_cv_prog_STRIP"
2411 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2413 # We need awk for the "check" target. The system "awk" is bad on
2415 # Always define AMTAR for backward compatibility.
2417 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2419 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2425 ac_config_headers
="$ac_config_headers config.h"
2428 # Checks for programs.
2429 # Check whether --enable-shared was given.
2430 if test "${enable_shared+set}" = set; then
2431 enableval
=$enable_shared; p
=${PACKAGE-default}
2433 yes) enable_shared
=yes ;;
2434 no
) enable_shared
=no
;;
2437 # Look at the argument we got. We use all the common list separators.
2438 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2439 for pkg
in $enableval; do
2441 if test "X$pkg" = "X$p"; then
2453 # Check whether --enable-static was given.
2454 if test "${enable_static+set}" = set; then
2455 enableval
=$enable_static; p
=${PACKAGE-default}
2457 yes) enable_static
=yes ;;
2458 no
) enable_static
=no
;;
2461 # Look at the argument we got. We use all the common list separators.
2462 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2463 for pkg
in $enableval; do
2465 if test "X$pkg" = "X$p"; then
2477 # Check whether --enable-fast-install was given.
2478 if test "${enable_fast_install+set}" = set; then
2479 enableval
=$enable_fast_install; p
=${PACKAGE-default}
2481 yes) enable_fast_install
=yes ;;
2482 no
) enable_fast_install
=no
;;
2484 enable_fast_install
=no
2485 # Look at the argument we got. We use all the common list separators.
2486 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
2487 for pkg
in $enableval; do
2489 if test "X$pkg" = "X$p"; then
2490 enable_fast_install
=yes
2497 enable_fast_install
=yes
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2503 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505 { (exit 1); exit 1; }; }
2507 { echo "$as_me:$LINENO: checking build system type" >&5
2508 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_build+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2512 ac_build_alias
=$build_alias
2513 test "x$ac_build_alias" = x
&&
2514 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x
&&
2516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518 { (exit 1); exit 1; }; }
2519 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526 echo "${ECHO_T}$ac_cv_build" >&6; }
2527 case $ac_cv_build in
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530 echo "$as_me: error: invalid value of canonical build" >&2;}
2531 { (exit 1); exit 1; }; };;
2534 ac_save_IFS
=$IFS; IFS
='-'
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2544 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2547 { echo "$as_me:$LINENO: checking host system type" >&5
2548 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2549 if test "${ac_cv_host+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test "x$host_alias" = x
; then
2553 ac_cv_host
=$ac_cv_build
2555 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558 { (exit 1); exit 1; }; }
2562 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563 echo "${ECHO_T}$ac_cv_host" >&6; }
2566 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567 echo "$as_me: error: invalid value of canonical host" >&2;}
2568 { (exit 1); exit 1; }; };;
2571 ac_save_IFS
=$IFS; IFS
='-'
2577 # Remember, the first character of IFS is used to create $*,
2578 # except with old shells:
2581 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2584 DEPDIR
="${am__leading_dot}deps"
2586 ac_config_commands
="$ac_config_commands depfiles"
2589 am_make
=${MAKE-make}
2590 cat > confinc
<< 'END'
2595 # If we don't find an include directive, just comment out the code.
2596 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2597 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2601 # First try GNU make style include.
2602 echo "include confinc" > confmf
2603 # We grep out `Entering directory' and `Leaving directory'
2604 # messages which can occur if `w' ends up in MAKEFLAGS.
2605 # In particular we don't look at `^make:' because GNU make might
2606 # be invoked under some other name (usually "gmake"), in which
2607 # case it prints its new name instead of `make'.
2608 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2613 # Now try BSD make style include.
2614 if test "$am__include" = "#"; then
2615 echo '.include "confinc"' > confmf
2616 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2617 am__include
=.include
2624 { echo "$as_me:$LINENO: result: $_am_result" >&5
2625 echo "${ECHO_T}$_am_result" >&6; }
2626 rm -f confinc confmf
2628 # Check whether --enable-dependency-tracking was given.
2629 if test "${enable_dependency_tracking+set}" = set; then
2630 enableval
=$enable_dependency_tracking;
2633 if test "x$enable_dependency_tracking" != xno
; then
2634 am_depcomp
="$ac_aux_dir/depcomp"
2637 if test "x$enable_dependency_tracking" != xno; then
2647 ac_cpp
='$CPP $CPPFLAGS'
2648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2651 if test -n "$ac_tool_prefix"; then
2652 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2653 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2656 if test "${ac_cv_prog_CC+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 if test -n "$CC"; then
2660 ac_cv_prog_CC
="$CC" # Let the user override the test.
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 for ac_exec_ext
in '' $ac_executable_extensions; do
2668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2669 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2680 if test -n "$CC"; then
2681 { echo "$as_me:$LINENO: result: $CC" >&5
2682 echo "${ECHO_T}$CC" >&6; }
2684 { echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6; }
2690 if test -z "$ac_cv_prog_CC"; then
2692 # Extract the first word of "gcc", so it can be a program name with args.
2693 set dummy gcc
; ac_word
=$2
2694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 if test -n "$ac_ct_CC"; then
2700 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2706 test -z "$as_dir" && as_dir
=.
2707 for ac_exec_ext
in '' $ac_executable_extensions; do
2708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709 ac_cv_prog_ac_ct_CC
="gcc"
2710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2719 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2720 if test -n "$ac_ct_CC"; then
2721 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2722 echo "${ECHO_T}$ac_ct_CC" >&6; }
2724 { echo "$as_me:$LINENO: result: no" >&5
2725 echo "${ECHO_T}no" >&6; }
2728 if test "x$ac_ct_CC" = x
; then
2731 case $cross_compiling:$ac_tool_warned in
2733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2734 whose name does not start with the host triplet. If you think this
2735 configuration is useful to you, please write to autoconf@gnu.org." >&5
2736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2737 whose name does not start with the host triplet. If you think this
2738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2739 ac_tool_warned
=yes ;;
2747 if test -z "$CC"; then
2748 if test -n "$ac_tool_prefix"; then
2749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2750 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2753 if test "${ac_cv_prog_CC+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 if test -n "$CC"; then
2757 ac_cv_prog_CC
="$CC" # Let the user override the test.
2759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2763 test -z "$as_dir" && as_dir
=.
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2766 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test -n "$CC"; then
2778 { echo "$as_me:$LINENO: result: $CC" >&5
2779 echo "${ECHO_T}$CC" >&6; }
2781 { echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6; }
2788 if test -z "$CC"; then
2789 # Extract the first word of "cc", so it can be a program name with args.
2790 set dummy cc
; ac_word
=$2
2791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2793 if test "${ac_cv_prog_CC+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 if test -n "$CC"; then
2797 ac_cv_prog_CC
="$CC" # Let the user override the test.
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 for ac_exec_ext
in '' $ac_executable_extensions; do
2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2807 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2808 ac_prog_rejected
=yes
2812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2819 if test $ac_prog_rejected = yes; then
2820 # We found a bogon in the path, so make sure we never use it.
2821 set dummy
$ac_cv_prog_CC
2823 if test $# != 0; then
2824 # We chose a different compiler from the bogus one.
2825 # However, it has the same basename, so the bogon will be chosen
2826 # first if we set CC to just the basename; use the full file name.
2828 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2834 if test -n "$CC"; then
2835 { echo "$as_me:$LINENO: result: $CC" >&5
2836 echo "${ECHO_T}$CC" >&6; }
2838 { echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6; }
2844 if test -z "$CC"; then
2845 if test -n "$ac_tool_prefix"; then
2846 for ac_prog
in cl.exe
2848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2852 if test "${ac_cv_prog_CC+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 if test -n "$CC"; then
2856 ac_cv_prog_CC
="$CC" # Let the user override the test.
2858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir
=.
2863 for ac_exec_ext
in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test -n "$CC"; then
2877 { echo "$as_me:$LINENO: result: $CC" >&5
2878 echo "${ECHO_T}$CC" >&6; }
2880 { echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6; }
2885 test -n "$CC" && break
2888 if test -z "$CC"; then
2890 for ac_prog
in cl.exe
2892 # Extract the first word of "$ac_prog", so it can be a program name with args.
2893 set dummy
$ac_prog; ac_word
=$2
2894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2899 if test -n "$ac_ct_CC"; then
2900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_ac_ct_CC
="$ac_prog"
2910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2920 if test -n "$ac_ct_CC"; then
2921 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2922 echo "${ECHO_T}$ac_ct_CC" >&6; }
2924 { echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6; }
2929 test -n "$ac_ct_CC" && break
2932 if test "x$ac_ct_CC" = x
; then
2935 case $cross_compiling:$ac_tool_warned in
2937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2938 whose name does not start with the host triplet. If you think this
2939 configuration is useful to you, please write to autoconf@gnu.org." >&5
2940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2941 whose name does not start with the host triplet. If you think this
2942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2943 ac_tool_warned
=yes ;;
2952 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: no acceptable C compiler found in \$PATH
2955 See \`config.log' for more details." >&2;}
2956 { (exit 1); exit 1; }; }
2958 # Provide some information about the compiler.
2959 echo "$as_me:$LINENO: checking for C compiler version" >&5
2960 ac_compiler
=`set X $ac_compile; echo $2`
2961 { (ac_try
="$ac_compiler --version >&5"
2963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_compiler --version >&5") 2>&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }
2971 { (ac_try="$ac_compiler -v >&5"
2973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2974 *) ac_try_echo
=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_compiler -v >&5") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }
2981 { (ac_try
="$ac_compiler -V >&5"
2983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_compiler -V >&5") 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }
2992 cat >conftest.$ac_ext <<_ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
3007 ac_clean_files_save=$ac_clean_files
3008 ac_clean_files="$ac_clean_files a.out a.exe b.out"
3009 # Try to create an executable without -o first, disregard a.out.
3010 # It will help us diagnose broken compilers, and finding out an intuition
3012 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3013 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3014 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3016 # List of possible output files, starting from the most likely.
3017 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
3018 # only as a last resort. b.out is created by i960 compilers.
3019 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
3021 # The IRIX 6 linker writes into existing files which may not be
3022 # executable, retaining their permissions. Remove them first so a
3023 # subsequent execution test works.
3025 for ac_file in $ac_files
3028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3029 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3034 if { (ac_try="$ac_link_default"
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_link_default") 2>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; then
3044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3046 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3047 # so that the user can short-circuit this test for compilers unknown to
3049 for ac_file
in $ac_files ''
3051 test -f "$ac_file" ||
continue
3053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
3056 # We found the default executable, but exeext='' is most
3060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3062 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 # We set ac_cv_exeext here because the later test for it is not
3065 # safe: cross compilers may not add the suffix if given an `-o'
3066 # argument, so we may need to know it at that point already.
3067 # Even if this section looks crufty: it has the advantage of
3074 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3080 { echo "$as_me:$LINENO: result: $ac_file" >&5
3081 echo "${ECHO_T}$ac_file" >&6; }
3082 if test -z "$ac_file"; then
3083 echo "$as_me: failed program was:" >&5
3084 sed 's/^/| /' conftest.
$ac_ext >&5
3086 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3087 See \`config.log' for more details." >&5
3088 echo "$as_me: error: C compiler cannot create executables
3089 See \`config.log' for more details." >&2;}
3090 { (exit 77); exit 77; }; }
3093 ac_exeext
=$ac_cv_exeext
3095 # Check that the compiler produces executables we can run. If not, either
3096 # the compiler is broken, or we cross compile.
3097 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3098 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3099 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3100 # If not cross compiling, check that we can run a simple program.
3101 if test "$cross_compiling" != yes; then
3102 if { ac_try
='./$ac_file'
3103 { (case "(($ac_try" in
3104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_try") 2>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }; }; then
3114 if test "$cross_compiling" = maybe; then
3117 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3118 If you meant to cross compile, use \`--host'.
3119 See \`config.log' for more details.
" >&5
3120 echo "$as_me: error
: cannot run C compiled programs.
3121 If you meant to cross compile
, use \
`--host'.
3122 See \`config.log
' for more details." >&2;}
3123 { (exit 1); exit 1; }; }
3127 { echo "$as_me:$LINENO: result: yes" >&5
3128 echo "${ECHO_T}yes" >&6; }
3130 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3131 ac_clean_files=$ac_clean_files_save
3132 # Check that the compiler produces executables we can run. If not, either
3133 # the compiler is broken, or we cross compile.
3134 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3135 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3136 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3137 echo "${ECHO_T}$cross_compiling" >&6; }
3139 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3140 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3141 if { (ac_try="$ac_link"
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147 (eval "$ac_link") 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; then
3151 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3152 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3153 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3155 for ac_file
in conftest.exe conftest conftest.
*; do
3156 test -f "$ac_file" ||
continue
3158 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3159 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3165 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3166 See \`config.log' for more details." >&5
3167 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3168 See \`config.log' for more details." >&2;}
3169 { (exit 1); exit 1; }; }
3172 rm -f conftest
$ac_cv_exeext
3173 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3174 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3176 rm -f conftest.
$ac_ext
3177 EXEEXT
=$ac_cv_exeext
3179 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3180 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3181 if test "${ac_cv_objext+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3199 rm -f conftest.o conftest.obj
3200 if { (ac_try
="$ac_compile"
3202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; then
3210 for ac_file in conftest.o conftest.obj conftest.*; do
3211 test -f "$ac_file" || continue;
3213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3214 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3222 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3223 See \`config.log
' for more details." >&5
3224 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3225 See \`config.log' for more details.
" >&2;}
3226 { (exit 1); exit 1; }; }
3229 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3231 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3232 echo "${ECHO_T}$ac_cv_objext" >&6; }
3233 OBJEXT=$ac_cv_objext
3235 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3236 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3237 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3238 echo $ECHO_N "(cached
) $ECHO_C" >&6
3240 cat >conftest.$ac_ext <<_ACEOF
3243 cat confdefs.h >>conftest.$ac_ext
3244 cat >>conftest.$ac_ext <<_ACEOF
3245 /* end confdefs.h. */
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3267 grep -v '^ *+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_c_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3277 echo "$as_me: failed program was
:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3287 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3288 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3289 GCC=`test $ac_compiler_gnu = yes && echo yes`
3290 ac_test_CFLAGS=${CFLAGS+set}
3291 ac_save_CFLAGS=$CFLAGS
3292 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3293 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3294 if test "${ac_cv_prog_cc_g+set}" = set; then
3295 echo $ECHO_N "(cached
) $ECHO_C" >&6
3297 ac_save_c_werror_flag=$ac_c_werror_flag
3298 ac_c_werror_flag=yes
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3316 rm -f conftest.$ac_objext
3317 if { (ac_try="$ac_compile"
3319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3323 (eval "$ac_compile") 2>conftest.er1
3325 grep -v '^ *+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3329 (exit $ac_status); } && {
3330 test -z "$ac_c_werror_flag" ||
3331 test ! -s conftest.err
3332 } && test -s conftest.$ac_objext; then
3335 echo "$as_me: failed program was
:" >&5
3336 sed 's/^/| /' conftest.$ac_ext >&5
3339 cat >conftest.$ac_ext <<_ACEOF
3342 cat confdefs.h >>conftest.$ac_ext
3343 cat >>conftest.$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3354 rm -f conftest.$ac_objext
3355 if { (ac_try="$ac_compile"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3361 (eval "$ac_compile") 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3367 (exit $ac_status); } && {
3368 test -z "$ac_c_werror_flag" ||
3369 test ! -s conftest.err
3370 } && test -s conftest.$ac_objext; then
3373 echo "$as_me: failed program was
:" >&5
3374 sed 's/^/| /' conftest.$ac_ext >&5
3376 ac_c_werror_flag=$ac_save_c_werror_flag
3378 cat >conftest.$ac_ext <<_ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3393 rm -f conftest.$ac_objext
3394 if { (ac_try="$ac_compile"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_compile") 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3406 (exit $ac_status); } && {
3407 test -z "$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3409 } && test -s conftest.$ac_objext; then
3412 echo "$as_me: failed program was
:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 ac_c_werror_flag=$ac_save_c_werror_flag
3427 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3428 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3429 if test "$ac_test_CFLAGS" = set; then
3430 CFLAGS=$ac_save_CFLAGS
3431 elif test $ac_cv_prog_cc_g = yes; then
3432 if test "$GCC" = yes; then
3438 if test "$GCC" = yes; then
3444 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3445 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3446 if test "${ac_cv_prog_cc_c89+set}" = set; then
3447 echo $ECHO_N "(cached
) $ECHO_C" >&6
3449 ac_cv_prog_cc_c89=no
3451 cat >conftest.$ac_ext <<_ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 #include <sys/types.h>
3460 #include <sys/stat.h>
3461 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3462 struct buf { int x; };
3463 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3464 static char *e (p, i)
3470 static char *f (char * (*g) (char **, int), char **p, ...)
3475 s = g (p, va_arg (v,int));
3480 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3481 function prototypes and stuff, but not '\xHH' hex character constants.
3482 These don't provoke an error unfortunately, instead are silently treated
3483 as 'x'. The following induces an error, until -std is added to get
3484 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3485 array size at least. It's necessary to write '\x00'==0 to get something
3486 that's true only with -std. */
3487 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3489 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3490 inside strings and character constants. */
3492 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3494 int test (int i, double x);
3495 struct s1 {int (*f) (int a);};
3496 struct s2 {int (*f) (double a);};
3497 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3503 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3508 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3509 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3511 CC="$ac_save_CC $ac_arg"
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3521 grep -v '^ *+' conftest.er1 >conftest.err
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_c_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cc_c89=$ac_arg
3531 echo "$as_me: failed program was
:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext
3538 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3540 rm -f conftest.$ac_ext
3545 case "x
$ac_cv_prog_cc_c89" in
3547 { echo "$as_me:$LINENO: result
: none needed
" >&5
3548 echo "${ECHO_T}none needed
" >&6; } ;;
3550 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3551 echo "${ECHO_T}unsupported
" >&6; } ;;
3553 CC="$CC $ac_cv_prog_cc_c89"
3554 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3555 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3560 ac_cpp='$CPP $CPPFLAGS'
3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3565 depcc="$CC" am_compiler_list=
3567 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3568 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3569 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3570 echo $ECHO_N "(cached
) $ECHO_C" >&6
3572 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3573 # We make a subdir and do the tests there. Otherwise we can end up
3574 # making bogus files that we don't know about and never remove. For
3575 # instance it was reported that on HP-UX the gcc test will end up
3576 # making a dummy file named `D' -- because `-MD' means `put the output
3579 # Copy depcomp to subdir because otherwise we won't find it if we're
3580 # using a relative directory.
3581 cp "$am_depcomp" conftest.dir
3583 # We will build objects and dependencies in a subdirectory because
3584 # it helps to detect inapplicable dependency modes. For instance
3585 # both Tru64's cc and ICC support -MD to output dependencies as a
3586 # side effect of compilation, but ICC will put the dependencies in
3587 # the current directory while Tru64 will put them in the object
3591 am_cv_CC_dependencies_compiler_type=none
3592 if test "$am_compiler_list" = ""; then
3593 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3595 for depmode in $am_compiler_list; do
3596 # Setup a source with many dependencies, because some compilers
3597 # like to wrap large dependency lists on column 80 (with \), and
3598 # we should not choose a depcomp mode which is confused by this.
3600 # We need to recreate these files for each test, as the compiler may
3601 # overwrite some of them when testing with obscure command lines.
3602 # This happens at least with the AIX C compiler.
3604 for i in 1 2 3 4 5 6; do
3605 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3606 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3607 # Solaris 8's {/usr,}/bin/sh.
3608 touch sub/conftst$i.h
3610 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3614 # after this tag, mechanisms are not by side-effect, so they'll
3615 # only be used when explicitly requested
3616 if test "x
$enable_dependency_tracking" = xyes; then
3624 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3625 # mode. It turns out that the SunPro C++ compiler does not properly
3626 # handle `-M -o', and we need to detect this.
3627 if depmode=$depmode \
3628 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3629 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3630 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3631 >/dev/null 2>conftest.err &&
3632 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3633 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3634 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3635 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3636 # icc doesn't choke on unknown options, it will just issue warnings
3637 # or remarks (even with -Werror). So we grep stderr for any message
3638 # that says an option was ignored or not supported.
3639 # When given -MP, icc 7.0 and 7.1 complain thusly:
3640 # icc: Command line warning: ignoring option '-M'; no argument required
3641 # The diagnosis changed in icc 8.0:
3642 # icc: Command line remark: option '-MP' not supported
3643 if (grep 'ignoring option' conftest.err ||
3644 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3645 am_cv_CC_dependencies_compiler_type=$depmode
3654 am_cv_CC_dependencies_compiler_type=none
3658 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3659 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3660 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3663 test "x
$enable_dependency_tracking" != xno \
3664 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3666 am__fastdepCC_FALSE='#'
3668 am__fastdepCC_TRUE='#'
3669 am__fastdepCC_FALSE=
3673 { echo "$as_me:$LINENO: checking
for a
sed that does not truncate output
" >&5
3674 echo $ECHO_N "checking
for a
sed that does not truncate output...
$ECHO_C" >&6; }
3675 if test "${lt_cv_path_SED+set}" = set; then
3676 echo $ECHO_N "(cached
) $ECHO_C" >&6
3678 # Loop through the user's path and test for sed and gsed.
3679 # Then use that list of sed's as ones to test for truncation.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for lt_ac_prog in sed gsed; do
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3688 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3696 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3697 # along with /bin/sed that truncates output.
3698 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3699 test ! -f $lt_ac_sed && continue
3700 cat /dev/null > conftest.in
3702 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3703 # Check for GNU sed and select it if it is found.
3704 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3705 lt_cv_path_SED=$lt_ac_sed
3709 cat conftest.in conftest.in >conftest.tmp
3710 mv conftest.tmp conftest.in
3711 cp conftest.in conftest.nl
3713 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3714 cmp -s conftest.out conftest.nl || break
3715 # 10000 chars as input seems more than enough
3716 test $lt_ac_count -gt 10 && break
3717 lt_ac_count=`expr $lt_ac_count + 1`
3718 if test $lt_ac_count -gt $lt_ac_max; then
3719 lt_ac_max=$lt_ac_count
3720 lt_cv_path_SED=$lt_ac_sed
3729 { echo "$as_me:$LINENO: result
: $SED" >&5
3730 echo "${ECHO_T}$SED" >&6; }
3732 { echo "$as_me:$LINENO: checking
for grep that handles long lines and
-e" >&5
3733 echo $ECHO_N "checking
for grep that handles long lines and
-e...
$ECHO_C" >&6; }
3734 if test "${ac_cv_path_GREP+set}" = set; then
3735 echo $ECHO_N "(cached
) $ECHO_C" >&6
3737 # Extract the first word of "grep ggrep
" to use in msg output
3738 if test -z "$GREP"; then
3739 set dummy grep ggrep; ac_prog_name=$2
3740 if test "${ac_cv_path_GREP+set}" = set; then
3741 echo $ECHO_N "(cached
) $ECHO_C" >&6
3743 ac_path_GREP_found=false
3744 # Loop through the user's path and test for each of PROGNAME-LIST
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3749 test -z "$as_dir" && as_dir=.
3750 for ac_prog in grep ggrep; do
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3753 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3754 # Check for GNU ac_path_GREP and select it if it is found.
3755 # Check for GNU $ac_path_GREP
3756 case `"$ac_path_GREP" --version 2>&1` in
3758 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3761 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3764 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3765 mv "conftest.tmp
" "conftest.
in"
3766 cp "conftest.
in" "conftest.
nl"
3767 echo 'GREP' >> "conftest.
nl"
3768 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3769 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3770 ac_count=`expr $ac_count + 1`
3771 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3772 # Best one so far, save it but keep looking for a better one
3773 ac_cv_path_GREP="$ac_path_GREP"
3774 ac_path_GREP_max=$ac_count
3776 # 10*(2^10) chars as input seems more than enough
3777 test $ac_count -gt 10 && break
3779 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3783 $ac_path_GREP_found && break 3
3793 GREP="$ac_cv_path_GREP"
3794 if test -z "$GREP"; then
3795 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3796 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3797 { (exit 1); exit 1; }; }
3801 ac_cv_path_GREP=$GREP
3806 { echo "$as_me:$LINENO: result
: $ac_cv_path_GREP" >&5
3807 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3808 GREP="$ac_cv_path_GREP"
3811 { echo "$as_me:$LINENO: checking
for egrep" >&5
3812 echo $ECHO_N "checking
for egrep...
$ECHO_C" >&6; }
3813 if test "${ac_cv_path_EGREP+set}" = set; then
3814 echo $ECHO_N "(cached
) $ECHO_C" >&6
3816 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3817 then ac_cv_path_EGREP="$GREP -E"
3819 # Extract the first word of "egrep" to use in msg output
3820 if test -z "$EGREP"; then
3821 set dummy egrep; ac_prog_name=$2
3822 if test "${ac_cv_path_EGREP+set}" = set; then
3823 echo $ECHO_N "(cached
) $ECHO_C" >&6
3825 ac_path_EGREP_found=false
3826 # Loop through the user's path and test for each of PROGNAME-LIST
3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3828 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3831 test -z "$as_dir" && as_dir=.
3832 for ac_prog in egrep; do
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3835 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3836 # Check for GNU ac_path_EGREP and select it if it is found.
3837 # Check for GNU $ac_path_EGREP
3838 case `"$ac_path_EGREP" --version 2>&1` in
3840 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3843 echo $ECHO_N "0123456789$ECHO_C" >"conftest.
in"
3846 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
3847 mv "conftest.tmp
" "conftest.
in"
3848 cp "conftest.
in" "conftest.
nl"
3849 echo 'EGREP' >> "conftest.
nl"
3850 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
3851 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
3852 ac_count=`expr $ac_count + 1`
3853 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3854 # Best one so far, save it but keep looking for a better one
3855 ac_cv_path_EGREP="$ac_path_EGREP"
3856 ac_path_EGREP_max=$ac_count
3858 # 10*(2^10) chars as input seems more than enough
3859 test $ac_count -gt 10 && break
3861 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3865 $ac_path_EGREP_found && break 3
3875 EGREP="$ac_cv_path_EGREP"
3876 if test -z "$EGREP"; then
3877 { { echo "$as_me:$LINENO: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&5
3878 echo "$as_me: error
: no acceptable
$ac_prog_name could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" >&2;}
3879 { (exit 1); exit 1; }; }
3883 ac_cv_path_EGREP=$EGREP
3889 { echo "$as_me:$LINENO: result
: $ac_cv_path_EGREP" >&5
3890 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3891 EGREP="$ac_cv_path_EGREP"
3895 # Check whether --with-gnu-ld was given.
3896 if test "${with_gnu_ld+set}" = set; then
3897 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3903 if test "$GCC" = yes; then
3904 # Check if gcc -print-prog-name=ld gives a path.
3905 { echo "$as_me:$LINENO: checking
for ld used by
$CC" >&5
3906 echo $ECHO_N "checking
for ld used by
$CC...
$ECHO_C" >&6; }
3909 # gcc leaves a trailing carriage return which upsets mingw
3910 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3912 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3915 # Accept absolute paths.
3917 re_direlt='/[^/][^/]*/\.\./'
3918 # Canonicalize the pathname of ld
3919 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3920 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3921 ac_prog=`echo $ac_prog| $SED "s
%$re_direlt%/%"`
3923 test -z "$LD" && LD="$ac_prog"
3926 # If it fails, then pretend we aren't using GCC.
3930 # If it is relative, then search for the first ld in PATH.
3934 elif test "$with_gnu_ld" = yes; then
3935 { echo "$as_me:$LINENO: checking
for GNU ld
" >&5
3936 echo $ECHO_N "checking
for GNU ld...
$ECHO_C" >&6; }
3938 { echo "$as_me:$LINENO: checking
for non-GNU ld
" >&5
3939 echo $ECHO_N "checking
for non-GNU ld...
$ECHO_C" >&6; }
3941 if test "${lt_cv_path_LD+set}" = set; then
3942 echo $ECHO_N "(cached
) $ECHO_C" >&6
3944 if test -z "$LD"; then
3945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3946 for ac_dir in $PATH; do
3948 test -z "$ac_dir" && ac_dir=.
3949 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3950 lt_cv_path_LD="$ac_dir/$ac_prog"
3951 # Check to see if the program is GNU ld. I'd rather use --version,
3952 # but apparently some variants of GNU ld only accept -v.
3953 # Break only if it was the GNU/non-GNU ld that we prefer.
3954 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3955 *GNU* | *'with BFD'*)
3956 test "$with_gnu_ld" != no && break
3959 test "$with_gnu_ld" != yes && break
3966 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3971 if test -n "$LD"; then
3972 { echo "$as_me:$LINENO: result
: $LD" >&5
3973 echo "${ECHO_T}$LD" >&6; }
3975 { echo "$as_me:$LINENO: result
: no
" >&5
3976 echo "${ECHO_T}no
" >&6; }
3978 test -z "$LD" && { { echo "$as_me:$LINENO: error
: no acceptable ld found
in \
$PATH" >&5
3979 echo "$as_me: error
: no acceptable ld found
in \
$PATH" >&2;}
3980 { (exit 1); exit 1; }; }
3981 { echo "$as_me:$LINENO: checking
if the linker
($LD) is GNU ld
" >&5
3982 echo $ECHO_N "checking
if the linker
($LD) is GNU ld...
$ECHO_C" >&6; }
3983 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3984 echo $ECHO_N "(cached
) $ECHO_C" >&6
3986 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3987 case `$LD -v 2>&1 </dev/null` in
3988 *GNU* | *'with BFD'*)
3989 lt_cv_prog_gnu_ld=yes
3992 lt_cv_prog_gnu_ld=no
3996 { echo "$as_me:$LINENO: result
: $lt_cv_prog_gnu_ld" >&5
3997 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3998 with_gnu_ld=$lt_cv_prog_gnu_ld
4001 { echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4002 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6; }
4003 if test "${lt_cv_ld_reload_flag+set}" = set; then
4004 echo $ECHO_N "(cached
) $ECHO_C" >&6
4006 lt_cv_ld_reload_flag='-r'
4008 { echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4009 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4010 reload_flag=$lt_cv_ld_reload_flag
4011 case $reload_flag in
4013 *) reload_flag=" $reload_flag" ;;
4015 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4018 if test "$GCC" = yes; then
4019 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4021 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4026 { echo "$as_me:$LINENO: checking
for BSD-compatible nm
" >&5
4027 echo $ECHO_N "checking
for BSD-compatible nm...
$ECHO_C" >&6; }
4028 if test "${lt_cv_path_NM+set}" = set; then
4029 echo $ECHO_N "(cached
) $ECHO_C" >&6
4031 if test -n "$NM"; then
4032 # Let the user override the test.
4035 lt_nm_to_check="${ac_tool_prefix}nm
"
4036 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4037 lt_nm_to_check="$lt_nm_to_check nm
"
4039 for lt_tmp_nm in $lt_nm_to_check; do
4040 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4041 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4043 test -z "$ac_dir" && ac_dir=.
4044 tmp_nm="$ac_dir/$lt_tmp_nm"
4045 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4046 # Check to see if the nm accepts a BSD-compat flag.
4047 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4048 # nm: unknown option "B
" ignored
4049 # Tru64's nm complains that /dev/null is an invalid object file
4050 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4051 */dev/null* | *'Invalid file or object type'*)
4052 lt_cv_path_NM="$tmp_nm -B"
4056 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4058 lt_cv_path_NM="$tmp_nm -p"
4062 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4063 continue # so that we can try to find one that supports BSD flags
4072 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4075 { echo "$as_me:$LINENO: result
: $lt_cv_path_NM" >&5
4076 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4079 { echo "$as_me:$LINENO: checking whether
ln -s works
" >&5
4080 echo $ECHO_N "checking whether
ln -s works...
$ECHO_C" >&6; }
4082 if test "$LN_S" = "ln -s"; then
4083 { echo "$as_me:$LINENO: result
: yes" >&5
4084 echo "${ECHO_T}yes" >&6; }
4086 { echo "$as_me:$LINENO: result
: no
, using
$LN_S" >&5
4087 echo "${ECHO_T}no
, using
$LN_S" >&6; }
4090 { echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4091 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6; }
4092 if test "${lt_cv_deplibs_check_method+set}" = set; then
4093 echo $ECHO_N "(cached
) $ECHO_C" >&6
4095 lt_cv_file_magic_cmd='$MAGIC_CMD'
4096 lt_cv_file_magic_test_file=
4097 lt_cv_deplibs_check_method='unknown'
4098 # Need to set the preceding variable on all platforms that support
4099 # interlibrary dependencies.
4100 # 'none' -- dependencies not supported.
4101 # `unknown' -- same as none, but documents that we really don't know.
4102 # 'pass_all' -- all dependencies passed with no checks.
4103 # 'test_compile' -- check by making test program.
4104 # 'file_magic [[regex]]' -- check by looking for files in library path
4105 # which responds to the $file_magic_cmd with a given extended regex.
4106 # If you have `file' or equivalent on your system and you're not sure
4107 # whether `pass_all' will *always* work, you probably want this one.
4111 lt_cv_deplibs_check_method=pass_all
4115 lt_cv_deplibs_check_method=pass_all
4119 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4120 lt_cv_file_magic_cmd='/usr/bin/file -L'
4121 lt_cv_file_magic_test_file=/shlib/libc.so
4125 # func_win32_libid is a shell function defined in ltmain.sh
4126 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4127 lt_cv_file_magic_cmd='func_win32_libid'
4131 # Base MSYS/MinGW do not provide the 'file' command needed by
4132 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4133 # unless we find 'file', for example because we are cross-compiling.
4134 if ( file / ) >/dev/null 2>&1; then
4135 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4136 lt_cv_file_magic_cmd='func_win32_libid'
4138 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4139 lt_cv_file_magic_cmd='$OBJDUMP -f'
4143 darwin* | rhapsody*)
4144 lt_cv_deplibs_check_method=pass_all
4147 freebsd* | dragonfly*)
4148 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4151 # Not sure whether the presence of OpenBSD here was a mistake.
4152 # Let's accept both of them until this is cleared up.
4153 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4154 lt_cv_file_magic_cmd=/usr/bin/file
4155 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4159 lt_cv_deplibs_check_method=pass_all
4164 lt_cv_deplibs_check_method=pass_all
4167 hpux10.20* | hpux11*)
4168 lt_cv_file_magic_cmd=/usr/bin/file
4171 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4172 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4175 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]'
4176 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4179 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4180 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4186 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4187 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4190 irix5* | irix6* | nonstopux*)
4192 *-32|*"-32 ") libmagic=32-bit;;
4193 *-n32|*"-n32 ") libmagic=N32;;
4194 *-64|*"-64 ") libmagic=64-bit;;
4195 *) libmagic=never-match;;
4197 lt_cv_deplibs_check_method=pass_all
4200 # This must be Linux ELF.
4201 linux* | k*bsd*-gnu)
4202 lt_cv_deplibs_check_method=pass_all
4205 netbsd* | netbsdelf*-gnu)
4206 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4207 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4209 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4214 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4215 lt_cv_file_magic_cmd=/usr/bin/file
4216 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4220 lt_cv_deplibs_check_method=unknown
4224 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4225 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4227 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4231 osf3* | osf4* | osf5*)
4232 lt_cv_deplibs_check_method=pass_all
4236 lt_cv_deplibs_check_method=pass_all
4240 lt_cv_deplibs_check_method=pass_all
4244 case $host_vendor in
4246 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]'
4247 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4250 lt_cv_deplibs_check_method=pass_all
4253 lt_cv_file_magic_cmd='/bin/file'
4254 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4257 lt_cv_file_magic_cmd='/bin/file'
4258 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4259 lt_cv_file_magic_test_file=/lib/libc.so
4262 lt_cv_deplibs_check_method=pass_all
4265 lt_cv_deplibs_check_method=pass_all
4270 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4271 lt_cv_deplibs_check_method=pass_all
4276 { echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4277 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4278 file_magic_cmd=$lt_cv_file_magic_cmd
4279 deplibs_check_method=$lt_cv_deplibs_check_method
4280 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4285 # If no C compiler was specified, use CC.
4288 # If no C compiler flags were specified, use CFLAGS.
4289 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4291 # Allow CC to be a program name with arguments.
4295 # Check whether --enable-libtool-lock was given.
4296 if test "${enable_libtool_lock+set}" = set; then
4297 enableval=$enable_libtool_lock;
4300 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
4302 # Some flags need to be propagated to the compiler or linker for good
4306 # Find out which ABI we are using.
4307 echo 'int i;' > conftest.$ac_ext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>&5
4311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4312 (exit $ac_status); }; then
4313 case `/usr/bin/file conftest.$ac_objext` in
4325 # Find out which ABI we are using.
4326 echo '#line 4326 "configure
"' > conftest.$ac_ext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4328 (eval $ac_compile) 2>&5
4330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4331 (exit $ac_status); }; then
4332 if test "$lt_cv_prog_gnu_ld" = yes; then
4333 case `/usr/bin/file conftest.$ac_objext` in
4335 LD="${LD-ld} -melf32bsmip"
4338 LD="${LD-ld} -melf32bmipn32"
4341 LD="${LD-ld} -melf64bmip"
4345 case `/usr/bin/file conftest.$ac_objext` in
4361 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4362 s390*-*linux*|sparc*-*linux*)
4363 # Find out which ABI we are using.
4364 echo 'int i;' > conftest.$ac_ext
4365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366 (eval $ac_compile) 2>&5
4368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4369 (exit $ac_status); }; then
4370 case `/usr/bin/file conftest.o` in
4373 x86_64-*kfreebsd*-gnu)
4374 LD="${LD-ld} -m elf_i386_fbsd
"
4377 LD="${LD-ld} -m elf_i386
"
4379 ppc64-*linux*|powerpc64-*linux*)
4380 LD="${LD-ld} -m elf32ppclinux
"
4383 LD="${LD-ld} -m elf_s390
"
4386 LD="${LD-ld} -m elf32_sparc
"
4392 x86_64-*kfreebsd*-gnu)
4393 LD="${LD-ld} -m elf_x86_64_fbsd
"
4396 LD="${LD-ld} -m elf_x86_64
"
4398 ppc*-*linux*|powerpc*-*linux*)
4399 LD="${LD-ld} -m elf64ppc
"
4402 LD="${LD-ld} -m elf64_s390
"
4405 LD="${LD-ld} -m elf64_sparc
"
4415 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4416 SAVE_CFLAGS="$CFLAGS"
4417 CFLAGS="$CFLAGS -belf"
4418 { echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
4419 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6; }
4420 if test "${lt_cv_cc_needs_belf+set}" = set; then
4421 echo $ECHO_N "(cached
) $ECHO_C" >&6
4424 ac_cpp='$CPP $CPPFLAGS'
4425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4444 rm -f conftest.$ac_objext conftest$ac_exeext
4445 if { (ac_try="$ac_link"
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4451 (eval "$ac_link") 2>conftest.er1
4453 grep -v '^ *+' conftest.er1 >conftest.err
4455 cat conftest.err >&5
4456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4457 (exit $ac_status); } && {
4458 test -z "$ac_c_werror_flag" ||
4459 test ! -s conftest.err
4460 } && test -s conftest$ac_exeext &&
4461 $as_test_x conftest$ac_exeext; then
4462 lt_cv_cc_needs_belf=yes
4464 echo "$as_me: failed program was
:" >&5
4465 sed 's/^/| /' conftest.$ac_ext >&5
4467 lt_cv_cc_needs_belf=no
4470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4471 conftest$ac_exeext conftest.$ac_ext
4473 ac_cpp='$CPP $CPPFLAGS'
4474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4479 { echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
4480 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4481 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4482 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4483 CFLAGS="$SAVE_CFLAGS"
4487 # Find out which ABI we are using.
4488 echo 'int i;' > conftest.$ac_ext
4489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4490 (eval $ac_compile) 2>&5
4492 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4493 (exit $ac_status); }; then
4494 case `/usr/bin/file conftest.o` in
4496 case $lt_cv_prog_gnu_ld in
4497 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
4498 *) LD="${LD-ld} -64" ;;
4509 need_locks="$enable_libtool_lock"
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
4518 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
4519 # On Suns, sometimes $CPP names a directory.
4520 if test -n "$CPP" && test -d "$CPP"; then
4523 if test -z "$CPP"; then
4524 if test "${ac_cv_prog_CPP+set}" = set; then
4525 echo $ECHO_N "(cached
) $ECHO_C" >&6
4527 # Double quotes because CPP needs to be expanded
4528 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
4531 for ac_c_preproc_warn_flag in '' yes
4533 # Use a header file that comes with gcc, so configuring glibc
4534 # with a fresh cross-compiler works.
4535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4536 # <limits.h> exists even on freestanding compilers.
4537 # On the NeXT, cc -E runs the code through the compiler's parser,
4538 # not just through cpp. "Syntax error
" is here to catch this case.
4539 cat >conftest.$ac_ext <<_ACEOF
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4546 # include <limits.h>
4548 # include <assert.h>
4552 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4555 *) ac_try_echo=$ac_try;;
4557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4558 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4560 grep -v '^ *+' conftest.er1 >conftest.err
4562 cat conftest.err >&5
4563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4564 (exit $ac_status); } >/dev/null && {
4565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4566 test ! -s conftest.err
4570 echo "$as_me: failed program was
:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4573 # Broken: fails on valid input.
4577 rm -f conftest.err conftest.$ac_ext
4579 # OK, works on sane cases. Now check whether nonexistent headers
4580 # can be detected and how.
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 #include <ac_nonexistent.h>
4589 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4592 *) ac_try_echo=$ac_try;;
4594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4595 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4597 grep -v '^ *+' conftest.er1 >conftest.err
4599 cat conftest.err >&5
4600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4601 (exit $ac_status); } >/dev/null && {
4602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4603 test ! -s conftest.err
4605 # Broken: success on invalid input.
4608 echo "$as_me: failed program was
:" >&5
4609 sed 's/^/| /' conftest.$ac_ext >&5
4611 # Passes both tests.
4616 rm -f conftest.err conftest.$ac_ext
4619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4620 rm -f conftest.err conftest.$ac_ext
4621 if $ac_preproc_ok; then
4633 { echo "$as_me:$LINENO: result
: $CPP" >&5
4634 echo "${ECHO_T}$CPP" >&6; }
4636 for ac_c_preproc_warn_flag in '' yes
4638 # Use a header file that comes with gcc, so configuring glibc
4639 # with a fresh cross-compiler works.
4640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4641 # <limits.h> exists even on freestanding compilers.
4642 # On the NeXT, cc -E runs the code through the compiler's parser,
4643 # not just through cpp. "Syntax error
" is here to catch this case.
4644 cat >conftest.$ac_ext <<_ACEOF
4647 cat confdefs.h >>conftest.$ac_ext
4648 cat >>conftest.$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4651 # include <limits.h>
4653 # include <assert.h>
4657 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4660 *) ac_try_echo=$ac_try;;
4662 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4663 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4665 grep -v '^ *+' conftest.er1 >conftest.err
4667 cat conftest.err >&5
4668 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4669 (exit $ac_status); } >/dev/null && {
4670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4671 test ! -s conftest.err
4675 echo "$as_me: failed program was
:" >&5
4676 sed 's/^/| /' conftest.$ac_ext >&5
4678 # Broken: fails on valid input.
4682 rm -f conftest.err conftest.$ac_ext
4684 # OK, works on sane cases. Now check whether nonexistent headers
4685 # can be detected and how.
4686 cat >conftest.$ac_ext <<_ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #include <ac_nonexistent.h>
4694 if { (ac_try="$ac_cpp conftest.
$ac_ext"
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
4702 grep -v '^ *+' conftest.er1 >conftest.err
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4706 (exit $ac_status); } >/dev/null && {
4707 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4710 # Broken: success on invalid input.
4713 echo "$as_me: failed program was
:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4716 # Passes both tests.
4721 rm -f conftest.err conftest.$ac_ext
4724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4725 rm -f conftest.err conftest.$ac_ext
4726 if $ac_preproc_ok; then
4729 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
4730 See \
`config.log' for more details." >&5
4731 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4732 See \`config.log
' for more details." >&2;}
4733 { (exit 1); exit 1; }; }
4737 ac_cpp='$CPP $CPPFLAGS'
4738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4739 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4744 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4745 if test "${ac_cv_header_stdc+set}" = set; then
4746 echo $ECHO_N "(cached) $ECHO_C" >&6
4748 cat >conftest.$ac_ext <<_ACEOF
4751 cat confdefs.h >>conftest.$ac_ext
4752 cat >>conftest.$ac_ext <<_ACEOF
4753 /* end confdefs.h. */
4767 rm -f conftest.$ac_objext
4768 if { (ac_try="$ac_compile"
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4774 (eval "$ac_compile") 2>conftest.er1
4776 grep -v '^
*+' conftest.er1 >conftest.err
4778 cat conftest.err >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); } && {
4781 test -z "$ac_c_werror_flag" ||
4782 test ! -s conftest.err
4783 } && test -s conftest.$ac_objext; then
4784 ac_cv_header_stdc=yes
4786 echo "$as_me: failed program was:" >&5
4787 sed 's
/^
/|
/' conftest.$ac_ext >&5
4789 ac_cv_header_stdc=no
4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 if test $ac_cv_header_stdc = yes; then
4795 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4796 cat >conftest.$ac_ext <<_ACEOF
4799 cat confdefs.h >>conftest.$ac_ext
4800 cat >>conftest.$ac_ext <<_ACEOF
4801 /* end confdefs.h. */
4805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4806 $EGREP "memchr" >/dev/null 2>&1; then
4809 ac_cv_header_stdc=no
4815 if test $ac_cv_header_stdc = yes; then
4816 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4817 cat >conftest.$ac_ext <<_ACEOF
4820 cat confdefs.h >>conftest.$ac_ext
4821 cat >>conftest.$ac_ext <<_ACEOF
4822 /* end confdefs.h. */
4826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4827 $EGREP "free" >/dev/null 2>&1; then
4830 ac_cv_header_stdc=no
4836 if test $ac_cv_header_stdc = yes; then
4837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4838 if test "$cross_compiling" = yes; then
4841 cat >conftest.$ac_ext <<_ACEOF
4844 cat confdefs.h >>conftest.$ac_ext
4845 cat >>conftest.$ac_ext <<_ACEOF
4846 /* end confdefs.h. */
4849 #if ((' ' & 0x0FF) == 0x020)
4850 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
4851 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
4853 # define ISLOWER(c) \
4854 (('a
' <= (c) && (c) <= 'i
') \
4855 || ('j
' <= (c) && (c) <= 'r
') \
4856 || ('s
' <= (c) && (c) <= 'z
'))
4857 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4860 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4865 for (i = 0; i < 256; i++)
4866 if (XOR (islower (i), ISLOWER (i))
4867 || toupper (i) != TOUPPER (i))
4872 rm -f conftest$ac_exeext
4873 if { (ac_try="$ac_link"
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 (eval "$ac_link") 2>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
4883 { (case "(($ac_try" in
4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4885 *) ac_try_echo=$ac_try;;
4887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4888 (eval "$ac_try") 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; }; then
4894 echo "$as_me: program exited with status $ac_status" >&5
4895 echo "$as_me: failed program was:" >&5
4896 sed 's
/^
/|
/' conftest.$ac_ext >&5
4899 ac_cv_header_stdc=no
4901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4907 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4908 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4909 if test $ac_cv_header_stdc = yes; then
4911 cat >>confdefs.h <<\_ACEOF
4912 #define STDC_HEADERS 1
4917 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4927 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4928 inttypes.h stdint.h unistd.h
4930 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4931 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 cat >conftest.$ac_ext <<_ACEOF
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942 $ac_includes_default
4944 #include <$ac_header>
4946 rm -f conftest.$ac_objext
4947 if { (ac_try="$ac_compile"
4949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4950 *) ac_try_echo=$ac_try;;
4952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4953 (eval "$ac_compile") 2>conftest.er1
4955 grep -v '^
*+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } && {
4960 test -z "$ac_c_werror_flag" ||
4961 test ! -s conftest.err
4962 } && test -s conftest.$ac_objext; then
4963 eval "$as_ac_Header=yes"
4965 echo "$as_me: failed program was:" >&5
4966 sed 's
/^
/|
/' conftest.$ac_ext >&5
4968 eval "$as_ac_Header=no"
4971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 ac_res=`eval echo '${'$as_ac_Header'}'`
4974 { echo "$as_me:$LINENO: result: $ac_res" >&5
4975 echo "${ECHO_T}$ac_res" >&6; }
4976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4977 cat >>confdefs.h <<_ACEOF
4978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4987 for ac_header in dlfcn.h
4989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4991 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 ac_res=`eval echo '${'$as_ac_Header'}'`
4997 { echo "$as_me:$LINENO: result: $ac_res" >&5
4998 echo "${ECHO_T}$ac_res" >&6; }
5000 # Is the header compilable?
5001 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 $ac_includes_default
5010 #include <$ac_header>
5012 rm -f conftest.$ac_objext
5013 if { (ac_try="$ac_compile"
5015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 *) ac_try_echo=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_compile") 2>conftest.er1
5021 grep -v '^
*+' conftest.er1 >conftest.err
5023 cat conftest.err >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } && {
5026 test -z "$ac_c_werror_flag" ||
5027 test ! -s conftest.err
5028 } && test -s conftest.$ac_objext; then
5029 ac_header_compiler=yes
5031 echo "$as_me: failed program was:" >&5
5032 sed 's
/^
/|
/' conftest.$ac_ext >&5
5034 ac_header_compiler=no
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5039 echo "${ECHO_T}$ac_header_compiler" >&6; }
5041 # Is the header present?
5042 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5044 cat >conftest.$ac_ext <<_ACEOF
5047 cat confdefs.h >>conftest.$ac_ext
5048 cat >>conftest.$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5050 #include <$ac_header>
5052 if { (ac_try="$ac_cpp conftest.$ac_ext"
5054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5055 *) ac_try_echo=$ac_try;;
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5060 grep -v '^
*+' conftest.er1 >conftest.err
5062 cat conftest.err >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } >/dev/null && {
5065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5066 test ! -s conftest.err
5068 ac_header_preproc=yes
5070 echo "$as_me: failed program was:" >&5
5071 sed 's
/^
/|
/' conftest.$ac_ext >&5
5073 ac_header_preproc=no
5076 rm -f conftest.err conftest.$ac_ext
5077 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5078 echo "${ECHO_T}$ac_header_preproc" >&6; }
5080 # So? What about this header?
5081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5086 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5087 ac_header_preproc=yes
5090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5099 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 eval "$as_ac_Header=\$ac_header_preproc"
5112 ac_res=`eval echo '${'$as_ac_Header'}'`
5113 { echo "$as_me:$LINENO: result: $ac_res" >&5
5114 echo "${ECHO_T}$ac_res" >&6; }
5117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5118 cat >>confdefs.h <<_ACEOF
5119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5127 ac_cpp='$CXXCPP $CPPFLAGS'
5128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5129 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5131 if test -z "$CXX"; then
5132 if test -n "$CCC"; then
5135 if test -n "$ac_tool_prefix"; then
5136 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5138 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5139 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5142 if test "${ac_cv_prog_CXX+set}" = set; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 if test -n "$CXX"; then
5146 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 if test -n "$CXX"; then
5167 { echo "$as_me:$LINENO: result: $CXX" >&5
5168 echo "${ECHO_T}$CXX" >&6; }
5170 { echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6; }
5175 test -n "$CXX" && break
5178 if test -z "$CXX"; then
5180 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5182 # Extract the first word of "$ac_prog", so it can be a program name with args.
5183 set dummy $ac_prog; ac_word=$2
5184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5186 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 if test -n "$ac_ct_CXX"; then
5190 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199 ac_cv_prog_ac_ct_CXX="$ac_prog"
5200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5210 if test -n "$ac_ct_CXX"; then
5211 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5212 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5214 { echo "$as_me:$LINENO: result: no" >&5
5215 echo "${ECHO_T}no" >&6; }
5219 test -n "$ac_ct_CXX" && break
5222 if test "x$ac_ct_CXX" = x; then
5225 case $cross_compiling:$ac_tool_warned in
5227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5228 whose name does not start with the host triplet. If you think this
5229 configuration is useful to you, please write to autoconf@gnu.org." >&5
5230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5231 whose name does not start with the host triplet. If you think this
5232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5233 ac_tool_warned=yes ;;
5241 # Provide some information about the compiler.
5242 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5243 ac_compiler=`set X $ac_compile; echo $2`
5244 { (ac_try="$ac_compiler --version >&5"
5246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5247 *) ac_try_echo=$ac_try;;
5249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5250 (eval "$ac_compiler --version >&5") 2>&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }
5254 { (ac_try="$ac_compiler -v >&5"
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257 *) ac_try_echo=$ac_try;;
5259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5260 (eval "$ac_compiler -v >&5") 2>&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }
5264 { (ac_try="$ac_compiler -V >&5"
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270 (eval "$ac_compiler -V >&5") 2>&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }
5275 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5276 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5277 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 cat >conftest.$ac_ext <<_ACEOF
5283 cat confdefs.h >>conftest.$ac_ext
5284 cat >>conftest.$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5298 rm -f conftest.$ac_objext
5299 if { (ac_try="$ac_compile"
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5305 (eval "$ac_compile") 2>conftest.er1
5307 grep -v '^
*+' conftest.er1 >conftest.err
5309 cat conftest.err >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } && {
5312 test -z "$ac_cxx_werror_flag" ||
5313 test ! -s conftest.err
5314 } && test -s conftest.$ac_objext; then
5317 echo "$as_me: failed program was:" >&5
5318 sed 's
/^
/|
/' conftest.$ac_ext >&5
5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5324 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5327 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5328 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5329 GXX=`test $ac_compiler_gnu = yes && echo yes`
5330 ac_test_CXXFLAGS=${CXXFLAGS+set}
5331 ac_save_CXXFLAGS=$CXXFLAGS
5332 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5333 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5334 if test "${ac_cv_prog_cxx_g+set}" = set; then
5335 echo $ECHO_N "(cached) $ECHO_C" >&6
5337 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5338 ac_cxx_werror_flag=yes
5341 cat >conftest.$ac_ext <<_ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5356 rm -f conftest.$ac_objext
5357 if { (ac_try="$ac_compile"
5359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360 *) ac_try_echo=$ac_try;;
5362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363 (eval "$ac_compile") 2>conftest.er1
5365 grep -v '^
*+' conftest.er1 >conftest.err
5367 cat conftest.err >&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); } && {
5370 test -z "$ac_cxx_werror_flag" ||
5371 test ! -s conftest.err
5372 } && test -s conftest.$ac_objext; then
5373 ac_cv_prog_cxx_g=yes
5375 echo "$as_me: failed program was:" >&5
5376 sed 's
/^
/|
/' conftest.$ac_ext >&5
5379 cat >conftest.$ac_ext <<_ACEOF
5382 cat confdefs.h >>conftest.$ac_ext
5383 cat >>conftest.$ac_ext <<_ACEOF
5384 /* end confdefs.h. */
5394 rm -f conftest.$ac_objext
5395 if { (ac_try="$ac_compile"
5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5398 *) ac_try_echo=$ac_try;;
5400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5401 (eval "$ac_compile") 2>conftest.er1
5403 grep -v '^
*+' conftest.er1 >conftest.err
5405 cat conftest.err >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } && {
5408 test -z "$ac_cxx_werror_flag" ||
5409 test ! -s conftest.err
5410 } && test -s conftest.$ac_objext; then
5413 echo "$as_me: failed program was:" >&5
5414 sed 's
/^
/|
/' conftest.$ac_ext >&5
5416 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5418 cat >conftest.$ac_ext <<_ACEOF
5421 cat confdefs.h >>conftest.$ac_ext
5422 cat >>conftest.$ac_ext <<_ACEOF
5423 /* end confdefs.h. */
5433 rm -f conftest.$ac_objext
5434 if { (ac_try="$ac_compile"
5436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437 *) ac_try_echo=$ac_try;;
5439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440 (eval "$ac_compile") 2>conftest.er1
5442 grep -v '^
*+' conftest.er1 >conftest.err
5444 cat conftest.err >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } && {
5447 test -z "$ac_cxx_werror_flag" ||
5448 test ! -s conftest.err
5449 } && test -s conftest.$ac_objext; then
5450 ac_cv_prog_cxx_g=yes
5452 echo "$as_me: failed program was:" >&5
5453 sed 's
/^
/|
/' conftest.$ac_ext >&5
5458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5465 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5467 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5468 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5469 if test "$ac_test_CXXFLAGS" = set; then
5470 CXXFLAGS=$ac_save_CXXFLAGS
5471 elif test $ac_cv_prog_cxx_g = yes; then
5472 if test "$GXX" = yes; then
5478 if test "$GXX" = yes; then
5485 ac_cpp='$CXXCPP $CPPFLAGS'
5486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5487 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5490 depcc="$CXX" am_compiler_list=
5492 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5493 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5494 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5498 # We make a subdir and do the tests there. Otherwise we can end up
5499 # making bogus files that we don't know about and never remove. For
5500 # instance it was reported that on HP-UX the gcc test will end up
5501 # making a dummy file named `D' -- because `-MD' means `put the output
5504 # Copy depcomp to subdir because otherwise we won't find it if we're
5505 # using a relative directory.
5506 cp "$am_depcomp" conftest.dir
5508 # We will build objects and dependencies in a subdirectory because
5509 # it helps to detect inapplicable dependency modes. For instance
5510 # both Tru64's cc and ICC support -MD to output dependencies as a
5511 # side effect of compilation, but ICC will put the dependencies in
5512 # the current directory while Tru64 will put them in the object
5516 am_cv_CXX_dependencies_compiler_type
=none
5517 if test "$am_compiler_list" = ""; then
5518 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5520 for depmode
in $am_compiler_list; do
5521 # Setup a source with many dependencies, because some compilers
5522 # like to wrap large dependency lists on column 80 (with \), and
5523 # we should not choose a depcomp mode which is confused by this.
5525 # We need to recreate these files for each test, as the compiler may
5526 # overwrite some of them when testing with obscure command lines.
5527 # This happens at least with the AIX C compiler.
5529 for i
in 1 2 3 4 5 6; do
5530 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5531 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5532 # Solaris 8's {/usr,}/bin/sh.
5533 touch sub
/conftst
$i.h
5535 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5539 # after this tag, mechanisms are not by side-effect, so they'll
5540 # only be used when explicitly requested
5541 if test "x$enable_dependency_tracking" = xyes
; then
5549 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5550 # mode. It turns out that the SunPro C++ compiler does not properly
5551 # handle `-M -o', and we need to detect this.
5552 if depmode
=$depmode \
5553 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5554 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5555 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5556 >/dev
/null
2>conftest.err
&&
5557 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5558 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5559 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5560 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5561 # icc doesn't choke on unknown options, it will just issue warnings
5562 # or remarks (even with -Werror). So we grep stderr for any message
5563 # that says an option was ignored or not supported.
5564 # When given -MP, icc 7.0 and 7.1 complain thusly:
5565 # icc: Command line warning: ignoring option '-M'; no argument required
5566 # The diagnosis changed in icc 8.0:
5567 # icc: Command line remark: option '-MP' not supported
5568 if (grep 'ignoring option' conftest.err ||
5569 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5570 am_cv_CXX_dependencies_compiler_type
=$depmode
5579 am_cv_CXX_dependencies_compiler_type
=none
5583 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5584 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5585 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5588 test "x$enable_dependency_tracking" != xno \
5589 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5590 am__fastdepCXX_TRUE
=
5591 am__fastdepCXX_FALSE
='#'
5593 am__fastdepCXX_TRUE
='#'
5594 am__fastdepCXX_FALSE
=
5600 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5601 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5602 (test "X$CXX" != "Xg++"))) ; then
5604 ac_cpp
='$CXXCPP $CPPFLAGS'
5605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5608 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5609 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5610 if test -z "$CXXCPP"; then
5611 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 # Double quotes because CXXCPP needs to be expanded
5615 for CXXCPP
in "$CXX -E" "/lib/cpp"
5618 for ac_cxx_preproc_warn_flag
in '' yes
5620 # Use a header file that comes with gcc, so configuring glibc
5621 # with a fresh cross-compiler works.
5622 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5623 # <limits.h> exists even on freestanding compilers.
5624 # On the NeXT, cc -E runs the code through the compiler's parser,
5625 # not just through cpp. "Syntax error" is here to catch this case.
5626 cat >conftest.
$ac_ext <<_ACEOF
5629 cat confdefs.h
>>conftest.
$ac_ext
5630 cat >>conftest.
$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5633 # include <limits.h>
5635 # include <assert.h>
5639 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5647 grep -v '^ *+' conftest.er1 >conftest.err
5649 cat conftest.err >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } >/dev/null && {
5652 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5653 test ! -s conftest.err
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5660 # Broken: fails on valid input.
5664 rm -f conftest.err conftest.$ac_ext
5666 # OK, works on sane cases. Now check whether nonexistent headers
5667 # can be detected and how.
5668 cat >conftest.$ac_ext <<_ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 #include <ac_nonexistent.h>
5676 if { (ac_try="$ac_cpp conftest.$ac_ext"
5678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5679 *) ac_try_echo
=$ac_try;;
5681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5684 grep -v '^ *+' conftest.er1
>conftest.err
5686 cat conftest.err
>&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); } >/dev
/null
&& {
5689 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5690 test ! -s conftest.err
5692 # Broken: success on invalid input.
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.
$ac_ext >&5
5698 # Passes both tests.
5703 rm -f conftest.err conftest.
$ac_ext
5706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5707 rm -f conftest.err conftest.
$ac_ext
5708 if $ac_preproc_ok; then
5713 ac_cv_prog_CXXCPP
=$CXXCPP
5716 CXXCPP
=$ac_cv_prog_CXXCPP
5718 ac_cv_prog_CXXCPP
=$CXXCPP
5720 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5721 echo "${ECHO_T}$CXXCPP" >&6; }
5723 for ac_cxx_preproc_warn_flag
in '' yes
5725 # Use a header file that comes with gcc, so configuring glibc
5726 # with a fresh cross-compiler works.
5727 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5728 # <limits.h> exists even on freestanding compilers.
5729 # On the NeXT, cc -E runs the code through the compiler's parser,
5730 # not just through cpp. "Syntax error" is here to catch this case.
5731 cat >conftest.
$ac_ext <<_ACEOF
5734 cat confdefs.h
>>conftest.
$ac_ext
5735 cat >>conftest.
$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5738 # include <limits.h>
5740 # include <assert.h>
5744 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5747 *) ac_try_echo=$ac_try;;
5749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5752 grep -v '^ *+' conftest.er1 >conftest.err
5754 cat conftest.err >&5
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } >/dev/null && {
5757 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5758 test ! -s conftest.err
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 # Broken: fails on valid input.
5769 rm -f conftest.err conftest.$ac_ext
5771 # OK, works on sane cases. Now check whether nonexistent headers
5772 # can be detected and how.
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 #include <ac_nonexistent.h>
5781 if { (ac_try="$ac_cpp conftest.$ac_ext"
5783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5784 *) ac_try_echo
=$ac_try;;
5786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5789 grep -v '^ *+' conftest.er1
>conftest.err
5791 cat conftest.err
>&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } >/dev
/null
&& {
5794 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5795 test ! -s conftest.err
5797 # Broken: success on invalid input.
5800 echo "$as_me: failed program was:" >&5
5801 sed 's/^/| /' conftest.
$ac_ext >&5
5803 # Passes both tests.
5808 rm -f conftest.err conftest.
$ac_ext
5811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5812 rm -f conftest.err conftest.
$ac_ext
5813 if $ac_preproc_ok; then
5816 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5817 See \`config.log' for more details." >&5
5818 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5819 See \`config.log' for more details." >&2;}
5820 { (exit 1); exit 1; }; }
5824 ac_cpp
='$CXXCPP $CPPFLAGS'
5825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5833 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5834 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5836 if test -n "$ac_tool_prefix"; then
5837 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
5839 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5840 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5843 if test "${ac_cv_prog_F77+set}" = set; then
5844 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 if test -n "$F77"; then
5847 ac_cv_prog_F77
="$F77" # Let the user override the test.
5849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir
=.
5854 for ac_exec_ext
in '' $ac_executable_extensions; do
5855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 if test -n "$F77"; then
5868 { echo "$as_me:$LINENO: result: $F77" >&5
5869 echo "${ECHO_T}$F77" >&6; }
5871 { echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6; }
5876 test -n "$F77" && break
5879 if test -z "$F77"; then
5881 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
5883 # Extract the first word of "$ac_prog", so it can be a program name with args.
5884 set dummy
$ac_prog; ac_word
=$2
5885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5887 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 if test -n "$ac_ct_F77"; then
5891 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir
=.
5898 for ac_exec_ext
in '' $ac_executable_extensions; do
5899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900 ac_cv_prog_ac_ct_F77
="$ac_prog"
5901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5911 if test -n "$ac_ct_F77"; then
5912 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5913 echo "${ECHO_T}$ac_ct_F77" >&6; }
5915 { echo "$as_me:$LINENO: result: no" >&5
5916 echo "${ECHO_T}no" >&6; }
5920 test -n "$ac_ct_F77" && break
5923 if test "x$ac_ct_F77" = x
; then
5926 case $cross_compiling:$ac_tool_warned in
5928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5929 whose name does not start with the host triplet. If you think this
5930 configuration is useful to you, please write to autoconf@gnu.org." >&5
5931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5932 whose name does not start with the host triplet. If you think this
5933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5934 ac_tool_warned
=yes ;;
5941 # Provide some information about the compiler.
5942 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5943 ac_compiler
=`set X $ac_compile; echo $2`
5944 { (ac_try
="$ac_compiler --version >&5"
5946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_compiler --version >&5") 2>&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }
5954 { (ac_try="$ac_compiler -v >&5"
5956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5957 *) ac_try_echo
=$ac_try;;
5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5960 (eval "$ac_compiler -v >&5") 2>&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }
5964 { (ac_try
="$ac_compiler -V >&5"
5966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5967 *) ac_try_echo=$ac_try;;
5969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5970 (eval "$ac_compiler -V >&5") 2>&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); }
5976 # If we don't use `.F
' as extension, the preprocessor is not run on the
5977 # input file. (Note that this only needs to work for GNU compilers.)
5980 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5981 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5982 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.$ac_ext <<_ACEOF
5993 rm -f conftest.$ac_objext
5994 if { (ac_try="$ac_compile"
5996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5997 *) ac_try_echo=$ac_try;;
5999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6000 (eval "$ac_compile") 2>conftest.er1
6002 grep -v '^
*+' conftest.er1 >conftest.err
6004 cat conftest.err >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } && {
6007 test -z "$ac_f77_werror_flag" ||
6008 test ! -s conftest.err
6009 } && test -s conftest.$ac_objext; then
6012 echo "$as_me: failed program was:" >&5
6013 sed 's
/^
/|
/' conftest.$ac_ext >&5
6018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6019 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6022 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6023 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6025 ac_test_FFLAGS=${FFLAGS+set}
6026 ac_save_FFLAGS=$FFLAGS
6028 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6029 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6030 if test "${ac_cv_prog_f77_g+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6034 cat >conftest.$ac_ext <<_ACEOF
6039 rm -f conftest.$ac_objext
6040 if { (ac_try="$ac_compile"
6042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6043 *) ac_try_echo=$ac_try;;
6045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6046 (eval "$ac_compile") 2>conftest.er1
6048 grep -v '^
*+' conftest.er1 >conftest.err
6050 cat conftest.err >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } && {
6053 test -z "$ac_f77_werror_flag" ||
6054 test ! -s conftest.err
6055 } && test -s conftest.$ac_objext; then
6056 ac_cv_prog_f77_g=yes
6058 echo "$as_me: failed program was:" >&5
6059 sed 's
/^
/|
/' conftest.$ac_ext >&5
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6068 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6069 if test "$ac_test_FFLAGS" = set; then
6070 FFLAGS=$ac_save_FFLAGS
6071 elif test $ac_cv_prog_f77_g = yes; then
6072 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6078 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6085 G77=`test $ac_compiler_gnu = yes && echo yes`
6087 ac_cpp='$CPP $CPPFLAGS'
6088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6089 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6094 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6096 # find the maximum length of command line arguments
6097 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6098 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6099 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6107 # On DJGPP, this test can blow up pretty badly due to problems in libc
6108 # (any single argument exceeding 2000 bytes causes a buffer overrun
6109 # during glob expansion). Even if it were fixed, the result of this
6110 # check would be larger than it should be.
6111 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6115 # Under GNU Hurd, this test is not required because there is
6116 # no limit to the length of command line arguments.
6117 # Libtool will interpret -1 as no limit whatsoever
6118 lt_cv_sys_max_cmd_len
=-1;
6122 # On Win9x/ME, this test blows up -- it succeeds, but takes
6123 # about 5 minutes as the teststring grows exponentially.
6124 # Worse, since 9x/ME are not pre-emptively multitasking,
6125 # you end up with a "frozen" computer, even though with patience
6126 # the test eventually succeeds (with a max line length of 256k).
6127 # Instead, let's just punt: use the minimum linelength reported by
6128 # all of the supported platforms: 8192 (on NT/2K/XP).
6129 lt_cv_sys_max_cmd_len
=8192;
6133 # On AmigaOS with pdksh, this test takes hours, literally.
6134 # So we just punt and use a minimum line length of 8192.
6135 lt_cv_sys_max_cmd_len
=8192;
6138 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6139 # This has been around since 386BSD, at least. Likely further.
6140 if test -x /sbin
/sysctl
; then
6141 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6142 elif test -x /usr
/sbin
/sysctl
; then
6143 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6145 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6147 # And add a safety zone
6148 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6149 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6153 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6154 lt_cv_sys_max_cmd_len
=196608
6158 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6159 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6160 # nice to cause kernel panics so lets avoid the loop below.
6161 # First set a reasonable default.
6162 lt_cv_sys_max_cmd_len
=16384
6164 if test -x /sbin
/sysconfig
; then
6165 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6166 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6171 lt_cv_sys_max_cmd_len
=102400
6173 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6174 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6175 if test -n "$kargmax"; then
6176 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6178 lt_cv_sys_max_cmd_len
=32768
6182 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6183 if test -n "$lt_cv_sys_max_cmd_len"; then
6184 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6185 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6187 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6188 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6189 = "XX$teststring") >/dev
/null
2>&1 &&
6190 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6191 lt_cv_sys_max_cmd_len
=$new_result &&
6192 test $i != 17 # 1/2 MB should be enough
6195 teststring
=$teststring$teststring
6198 # Add a significant safety factor because C++ compilers can tack on massive
6199 # amounts of additional arguments before passing them to the linker.
6200 # It appears as though 1/2 is a usable value.
6201 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6208 if test -n $lt_cv_sys_max_cmd_len ; then
6209 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6210 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6212 { echo "$as_me:$LINENO: result: none" >&5
6213 echo "${ECHO_T}none" >&6; }
6220 # Check for command to grab the raw symbol name followed by C symbol from nm.
6221 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6222 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6223 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 # These are sane defaults that work on at least a few old systems.
6228 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6230 # Character class describing NM global symbol codes.
6231 symcode
='[BCDEGRST]'
6233 # Regexp to match symbols that can be accessed directly from C.
6234 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6236 # Transform an extracted symbol line into a proper C declaration
6237 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6239 # Transform an extracted symbol line into symbol name and symbol address
6240 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'"
6242 # Define system-specific variables.
6247 cygwin
* | mingw
* | pw32
*)
6248 symcode
='[ABCDGISTW]'
6250 hpux
*) # Its linker distinguishes data from code symbols
6251 if test "$host_cpu" = ia64
; then
6252 symcode
='[ABCDEGRST]'
6254 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6255 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'"
6257 linux
* | k
*bsd
*-gnu)
6258 if test "$host_cpu" = ia64
; then
6259 symcode
='[ABCDGIRSTW]'
6260 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6261 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'"
6265 symcode
='[BCDEGRST]'
6268 symcode
='[BCDEGQRST]'
6279 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6287 # Handle CRLF in mingw tool chain
6291 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6295 # If we're using GNU nm, then use its standard symbol codes.
6296 case `$NM -V 2>&1` in
6297 *GNU
* |
*'with BFD'*)
6298 symcode
='[ABCDGIRSTW]' ;;
6301 # Try without a prefix undercore, then with it.
6302 for ac_symprfx
in "" "_"; do
6304 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6305 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6307 # Write the raw and C identifiers.
6308 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6310 # Check to see that the pipe works correctly.
6314 cat > conftest.
$ac_ext <<EOF
6319 void nm_test_func(){}
6323 int main(){nm_test_var='a';nm_test_func();return(0);}
6326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6327 (eval $ac_compile) 2>&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; then
6331 # Now try to grab the symbols.
6333 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6334 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && test -s "$nlist"; then
6338 # Try sorting and uniquifying the output.
6339 if sort "$nlist" |
uniq > "$nlist"T
; then
6340 mv -f "$nlist"T
"$nlist"
6345 # Make sure that we snagged all the symbols we need.
6346 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6347 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6348 cat <<EOF > conftest.$ac_ext
6354 # Now generate the symbol file.
6355 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6357 cat <<EOF >> conftest.$ac_ext
6358 #if defined (__STDC__) && __STDC__
6359 # define lt_ptr_t void *
6361 # define lt_ptr_t char *
6365 /* The mapping between symbol names and symbols. */
6370 lt_preloaded_symbols[] =
6373 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6374 cat <<\EOF
>> conftest.
$ac_ext
6382 # Now try linking the two files.
6383 mv conftest.
$ac_objext conftstm.
$ac_objext
6384 lt_save_LIBS
="$LIBS"
6385 lt_save_CFLAGS
="$CFLAGS"
6386 LIBS
="conftstm.$ac_objext"
6387 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6389 (eval $ac_link) 2>&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6395 LIBS
="$lt_save_LIBS"
6396 CFLAGS
="$lt_save_CFLAGS"
6398 echo "cannot find nm_test_func in $nlist" >&5
6401 echo "cannot find nm_test_var in $nlist" >&5
6404 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6407 echo "$progname: failed program was:" >&5
6408 cat conftest.
$ac_ext >&5
6410 rm -f conftest
* conftst
*
6412 # Do not use the global_symbol_pipe unless it works.
6413 if test "$pipe_works" = yes; then
6416 lt_cv_sys_global_symbol_pipe
=
6422 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6423 lt_cv_sys_global_symbol_to_cdecl
=
6425 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6426 { echo "$as_me:$LINENO: result: failed" >&5
6427 echo "${ECHO_T}failed" >&6; }
6429 { echo "$as_me:$LINENO: result: ok" >&5
6430 echo "${ECHO_T}ok" >&6; }
6433 { echo "$as_me:$LINENO: checking for objdir" >&5
6434 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6435 if test "${lt_cv_objdir+set}" = set; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 rm -f .libs
2>/dev
/null
6439 mkdir .libs
2>/dev
/null
6440 if test -d .libs
; then
6443 # MS-DOS does not allow filenames that begin with a dot.
6446 rmdir .libs
2>/dev
/null
6448 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6449 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6450 objdir
=$lt_cv_objdir
6458 # AIX sometimes has problems with the GCC collect2 program. For some
6459 # reason, if we set the COLLECT_NAMES environment variable, the problems
6460 # vanish in a puff of smoke.
6461 if test "X${COLLECT_NAMES+set}" != Xset
; then
6463 export COLLECT_NAMES
6468 # Sed substitution that helps us do robust quoting. It backslashifies
6469 # metacharacters that are still active within double-quoted strings.
6470 Xsed
='sed -e 1s/^X//'
6471 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6473 # Same as above, but do not quote variable references.
6474 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6476 # Sed substitution to delay expansion of an escaped shell variable in a
6477 # double_quote_subst'ed string.
6478 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6480 # Sed substitution to avoid accidental globbing in evaled expressions
6481 no_glob_subst
='s/\*/\\\*/g'
6487 default_ofile
=libtool
6488 can_build_shared
=yes
6490 # All known linkers require a `.a' archive for static linking (except MSVC,
6491 # which needs '.lib').
6493 ltmain
="$ac_aux_dir/ltmain.sh"
6494 ofile
="$default_ofile"
6495 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6497 if test -n "$ac_tool_prefix"; then
6498 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6499 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_prog_AR+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 if test -n "$AR"; then
6506 ac_cv_prog_AR
="$AR" # Let the user override the test.
6508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir
=.
6513 for ac_exec_ext
in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 if test -n "$AR"; then
6527 { echo "$as_me:$LINENO: result: $AR" >&5
6528 echo "${ECHO_T}$AR" >&6; }
6530 { echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6; }
6536 if test -z "$ac_cv_prog_AR"; then
6538 # Extract the first word of "ar", so it can be a program name with args.
6539 set dummy
ar; ac_word
=$2
6540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6542 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6543 echo $ECHO_N "(cached) $ECHO_C" >&6
6545 if test -n "$ac_ct_AR"; then
6546 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir
=.
6553 for ac_exec_ext
in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_ac_ct_AR
="ar"
6556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6566 if test -n "$ac_ct_AR"; then
6567 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6568 echo "${ECHO_T}$ac_ct_AR" >&6; }
6570 { echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6; }
6574 if test "x$ac_ct_AR" = x
; then
6577 case $cross_compiling:$ac_tool_warned in
6579 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6580 whose name does not start with the host triplet. If you think this
6581 configuration is useful to you, please write to autoconf@gnu.org." >&5
6582 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6583 whose name does not start with the host triplet. If you think this
6584 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6585 ac_tool_warned
=yes ;;
6593 if test -n "$ac_tool_prefix"; then
6594 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6595 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6598 if test "${ac_cv_prog_RANLIB+set}" = set; then
6599 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 if test -n "$RANLIB"; then
6602 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6608 test -z "$as_dir" && as_dir
=.
6609 for ac_exec_ext
in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 RANLIB
=$ac_cv_prog_RANLIB
6622 if test -n "$RANLIB"; then
6623 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6624 echo "${ECHO_T}$RANLIB" >&6; }
6626 { echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6; }
6632 if test -z "$ac_cv_prog_RANLIB"; then
6633 ac_ct_RANLIB
=$RANLIB
6634 # Extract the first word of "ranlib", so it can be a program name with args.
6635 set dummy ranlib
; ac_word
=$2
6636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6638 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6639 echo $ECHO_N "(cached) $ECHO_C" >&6
6641 if test -n "$ac_ct_RANLIB"; then
6642 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6648 test -z "$as_dir" && as_dir
=.
6649 for ac_exec_ext
in '' $ac_executable_extensions; do
6650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6662 if test -n "$ac_ct_RANLIB"; then
6663 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6664 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6666 { echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6; }
6670 if test "x$ac_ct_RANLIB" = x
; then
6673 case $cross_compiling:$ac_tool_warned in
6675 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6676 whose name does not start with the host triplet. If you think this
6677 configuration is useful to you, please write to autoconf@gnu.org." >&5
6678 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6679 whose name does not start with the host triplet. If you think this
6680 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6681 ac_tool_warned
=yes ;;
6683 RANLIB
=$ac_ct_RANLIB
6686 RANLIB
="$ac_cv_prog_RANLIB"
6689 if test -n "$ac_tool_prefix"; then
6690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6691 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6694 if test "${ac_cv_prog_STRIP+set}" = set; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 if test -n "$STRIP"; then
6698 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir
=.
6705 for ac_exec_ext
in '' $ac_executable_extensions; do
6706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6717 STRIP
=$ac_cv_prog_STRIP
6718 if test -n "$STRIP"; then
6719 { echo "$as_me:$LINENO: result: $STRIP" >&5
6720 echo "${ECHO_T}$STRIP" >&6; }
6722 { echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6; }
6728 if test -z "$ac_cv_prog_STRIP"; then
6730 # Extract the first word of "strip", so it can be a program name with args.
6731 set dummy strip
; ac_word
=$2
6732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6734 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6735 echo $ECHO_N "(cached) $ECHO_C" >&6
6737 if test -n "$ac_ct_STRIP"; then
6738 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir
=.
6745 for ac_exec_ext
in '' $ac_executable_extensions; do
6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747 ac_cv_prog_ac_ct_STRIP
="strip"
6748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6758 if test -n "$ac_ct_STRIP"; then
6759 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6760 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6762 { echo "$as_me:$LINENO: result: no" >&5
6763 echo "${ECHO_T}no" >&6; }
6766 if test "x$ac_ct_STRIP" = x
; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6772 whose name does not start with the host triplet. If you think this
6773 configuration is useful to you, please write to autoconf@gnu.org." >&5
6774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6775 whose name does not start with the host triplet. If you think this
6776 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6777 ac_tool_warned
=yes ;;
6782 STRIP
="$ac_cv_prog_STRIP"
6787 old_CFLAGS
="$CFLAGS"
6789 # Set sane defaults for various variables
6790 test -z "$AR" && AR
=ar
6791 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6792 test -z "$AS" && AS
=as
6793 test -z "$CC" && CC
=cc
6794 test -z "$LTCC" && LTCC
=$CC
6795 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6796 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6797 test -z "$LD" && LD
=ld
6798 test -z "$LN_S" && LN_S
="ln -s"
6799 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6800 test -z "$NM" && NM
=nm
6801 test -z "$SED" && SED
=sed
6802 test -z "$OBJDUMP" && OBJDUMP
=objdump
6803 test -z "$RANLIB" && RANLIB
=:
6804 test -z "$STRIP" && STRIP
=:
6805 test -z "$ac_objext" && ac_objext
=o
6807 # Determine commands to create old-style static archives.
6808 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6809 old_postinstall_cmds
='chmod 644 $oldlib'
6810 old_postuninstall_cmds
=
6812 if test -n "$RANLIB"; then
6815 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6818 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6821 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6824 for cc_temp
in $compiler""; do
6826 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6827 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6832 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6835 # Only perform the check for file, if the check method requires it
6836 case $deplibs_check_method in
6838 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6839 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6840 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6841 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6849 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6850 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6851 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6852 for ac_dir
in $ac_dummy; do
6854 test -z "$ac_dir" && ac_dir
=.
6855 if test -f $ac_dir/${ac_tool_prefix}file; then
6856 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6857 if test -n "$file_magic_test_file"; then
6858 case $deplibs_check_method in
6860 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6861 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6862 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6863 $EGREP "$file_magic_regex" > /dev
/null
; then
6868 *** Warning: the command libtool uses to detect shared libraries,
6869 *** $file_magic_cmd, produces output that libtool cannot recognize.
6870 *** The result is that libtool may fail to recognize shared libraries
6871 *** as such. This will affect the creation of libtool libraries that
6872 *** depend on shared libraries, but programs linked with such libtool
6873 *** libraries will work regardless of this problem. Nevertheless, you
6874 *** may want to report the problem to your system manager and/or to
6875 *** bug-libtool@gnu.org
6885 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6890 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6891 if test -n "$MAGIC_CMD"; then
6892 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6893 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6895 { echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6; }
6899 if test -z "$lt_cv_path_MAGIC_CMD"; then
6900 if test -n "$ac_tool_prefix"; then
6901 { echo "$as_me:$LINENO: checking for file" >&5
6902 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6903 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6908 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6911 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6912 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6913 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6914 for ac_dir
in $ac_dummy; do
6916 test -z "$ac_dir" && ac_dir
=.
6917 if test -f $ac_dir/file; then
6918 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6919 if test -n "$file_magic_test_file"; then
6920 case $deplibs_check_method in
6922 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6923 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6924 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6925 $EGREP "$file_magic_regex" > /dev
/null
; then
6930 *** Warning: the command libtool uses to detect shared libraries,
6931 *** $file_magic_cmd, produces output that libtool cannot recognize.
6932 *** The result is that libtool may fail to recognize shared libraries
6933 *** as such. This will affect the creation of libtool libraries that
6934 *** depend on shared libraries, but programs linked with such libtool
6935 *** libraries will work regardless of this problem. Nevertheless, you
6936 *** may want to report the problem to your system manager and/or to
6937 *** bug-libtool@gnu.org
6947 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6952 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6953 if test -n "$MAGIC_CMD"; then
6954 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6955 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6957 { echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6; }
6973 # Check whether --enable-libtool-lock was given.
6974 if test "${enable_libtool_lock+set}" = set; then
6975 enableval
=$enable_libtool_lock;
6978 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6981 # Check whether --with-pic was given.
6982 if test "${with_pic+set}" = set; then
6983 withval
=$with_pic; pic_mode
="$withval"
6988 test -z "$pic_mode" && pic_mode
=default
6990 # Use C for the default configuration in the libtool script
6994 ac_cpp
='$CPP $CPPFLAGS'
6995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7000 # Source file extension for C test sources.
7003 # Object file extension for compiled C test sources.
7007 # Code to be used in simple compile tests
7008 lt_simple_compile_test_code
="int some_variable = 0;"
7010 # Code to be used in simple link tests
7011 lt_simple_link_test_code
='int main(){return(0);}'
7014 # If no C compiler was specified, use CC.
7017 # If no C compiler flags were specified, use CFLAGS.
7018 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7020 # Allow CC to be a program name with arguments.
7024 # save warnings/boilerplate of simple test code
7025 ac_outfile
=conftest.
$ac_objext
7026 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7027 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7028 _lt_compiler_boilerplate
=`cat conftest.err`
7031 ac_outfile
=conftest.
$ac_objext
7032 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7033 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7034 _lt_linker_boilerplate
=`cat conftest.err`
7039 lt_prog_compiler_no_builtin_flag
=
7041 if test "$GCC" = yes; then
7042 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7045 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7046 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7047 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7048 echo $ECHO_N "(cached) $ECHO_C" >&6
7050 lt_cv_prog_compiler_rtti_exceptions
=no
7051 ac_outfile
=conftest.
$ac_objext
7052 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7053 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7054 # Insert the option either (1) after the last *FLAGS variable, or
7055 # (2) before a word containing "conftest.", or (3) at the end.
7056 # Note that $ac_compile itself does not contain backslashes and begins
7057 # with a dollar sign (not a hyphen), so the echo should work correctly.
7058 # The option is referenced via a variable to avoid confusing sed.
7059 lt_compile
=`echo "$ac_compile" | $SED \
7060 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7061 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7062 -e 's:$: $lt_compiler_flag:'`
7063 (eval echo "\"\$as_me:7063: $lt_compile\"" >&5)
7064 (eval "$lt_compile" 2>conftest.err
)
7066 cat conftest.err
>&5
7067 echo "$as_me:7067: \$? = $ac_status" >&5
7068 if (exit $ac_status) && test -s "$ac_outfile"; then
7069 # The compiler can only warn and ignore the option if not recognized
7070 # So say no if there are warnings other than the usual output.
7071 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7072 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7073 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7074 lt_cv_prog_compiler_rtti_exceptions
=yes
7080 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7081 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7083 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7084 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7091 lt_prog_compiler_wl
=
7092 lt_prog_compiler_pic
=
7093 lt_prog_compiler_static
=
7095 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7096 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7098 if test "$GCC" = yes; then
7099 lt_prog_compiler_wl
='-Wl,'
7100 lt_prog_compiler_static
='-static'
7104 # All AIX code is PIC.
7105 if test "$host_cpu" = ia64
; then
7106 # AIX 5 now supports IA64 processor
7107 lt_prog_compiler_static
='-Bstatic'
7112 # FIXME: we need at least 68020 code to build shared libraries, but
7113 # adding the `-m68020' flag to GCC prevents building anything better,
7115 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7118 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7119 # PIC is the default for these OSes.
7122 mingw
* | cygwin
* | pw32
* | os2
*)
7123 # This hack is so that the source file can tell whether it is being
7124 # built for inclusion in a dll (and should export symbols for example).
7125 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7126 # (--disable-auto-import) libraries
7127 lt_prog_compiler_pic
='-DDLL_EXPORT'
7130 darwin
* | rhapsody
*)
7131 # PIC is the default on this platform
7132 # Common symbols not allowed in MH_DYLIB files
7133 lt_prog_compiler_pic
='-fno-common'
7137 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7138 # Instead, we relocate shared libraries at runtime.
7142 # Just because we use GCC doesn't mean we suddenly get shared libraries
7143 # on systems that don't support them.
7144 lt_prog_compiler_can_build_shared
=no
7149 if test -d /usr
/nec
; then
7150 lt_prog_compiler_pic
=-Kconform_pic
7155 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7162 lt_prog_compiler_pic
='-fPIC'
7168 lt_prog_compiler_pic
='-fPIC'
7172 # PORTME Check for flag to pass linker flags through the system compiler.
7175 lt_prog_compiler_wl
='-Wl,'
7176 if test "$host_cpu" = ia64
; then
7177 # AIX 5 now supports IA64 processor
7178 lt_prog_compiler_static
='-Bstatic'
7180 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7184 # PIC is the default on this platform
7185 # Common symbols not allowed in MH_DYLIB files
7186 case $cc_basename in
7188 lt_prog_compiler_pic
='-qnocommon'
7189 lt_prog_compiler_wl
='-Wl,'
7194 mingw
* | cygwin
* | pw32
* | os2
*)
7195 # This hack is so that the source file can tell whether it is being
7196 # built for inclusion in a dll (and should export symbols for example).
7197 lt_prog_compiler_pic
='-DDLL_EXPORT'
7200 hpux9
* | hpux10
* | hpux11
*)
7201 lt_prog_compiler_wl
='-Wl,'
7202 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7209 lt_prog_compiler_pic
='+Z'
7212 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7213 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7216 irix5
* | irix6
* | nonstopux
*)
7217 lt_prog_compiler_wl
='-Wl,'
7218 # PIC (with -KPIC) is the default.
7219 lt_prog_compiler_static
='-non_shared'
7223 lt_prog_compiler_pic
='-KPIC'
7224 lt_prog_compiler_static
='-Bstatic'
7227 linux
* | k
*bsd
*-gnu)
7228 case $cc_basename in
7230 lt_prog_compiler_wl
='-Wl,'
7231 lt_prog_compiler_pic
='-KPIC'
7232 lt_prog_compiler_static
='-static'
7234 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7235 # Portland Group compilers (*not* the Pentium gcc compiler,
7236 # which looks to be a dead project)
7237 lt_prog_compiler_wl
='-Wl,'
7238 lt_prog_compiler_pic
='-fpic'
7239 lt_prog_compiler_static
='-Bstatic'
7242 lt_prog_compiler_wl
='-Wl,'
7243 # All Alpha code is PIC.
7244 lt_prog_compiler_static
='-non_shared'
7247 case `$CC -V 2>&1 | sed 5q` in
7250 lt_prog_compiler_pic
='-KPIC'
7251 lt_prog_compiler_static
='-Bstatic'
7252 lt_prog_compiler_wl
='-Wl,'
7255 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7256 lt_prog_compiler_pic
='-KPIC'
7257 lt_prog_compiler_static
='-Bstatic'
7258 lt_prog_compiler_wl
=''
7265 osf3
* | osf4
* | osf5
*)
7266 lt_prog_compiler_wl
='-Wl,'
7267 # All OSF/1 code is PIC.
7268 lt_prog_compiler_static
='-non_shared'
7272 lt_prog_compiler_static
='-non_shared'
7276 lt_prog_compiler_pic
='-KPIC'
7277 lt_prog_compiler_static
='-Bstatic'
7278 case $cc_basename in
7280 lt_prog_compiler_wl
='-Qoption ld ';;
7282 lt_prog_compiler_wl
='-Wl,';;
7287 lt_prog_compiler_wl
='-Qoption ld '
7288 lt_prog_compiler_pic
='-PIC'
7289 lt_prog_compiler_static
='-Bstatic'
7292 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7293 lt_prog_compiler_wl
='-Wl,'
7294 lt_prog_compiler_pic
='-KPIC'
7295 lt_prog_compiler_static
='-Bstatic'
7299 if test -d /usr
/nec
;then
7300 lt_prog_compiler_pic
='-Kconform_pic'
7301 lt_prog_compiler_static
='-Bstatic'
7305 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7306 lt_prog_compiler_wl
='-Wl,'
7307 lt_prog_compiler_pic
='-KPIC'
7308 lt_prog_compiler_static
='-Bstatic'
7312 lt_prog_compiler_wl
='-Wl,'
7313 lt_prog_compiler_can_build_shared
=no
7317 lt_prog_compiler_pic
='-pic'
7318 lt_prog_compiler_static
='-Bstatic'
7322 lt_prog_compiler_can_build_shared
=no
7327 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7328 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7331 # Check to make sure the PIC flag actually works.
7333 if test -n "$lt_prog_compiler_pic"; then
7335 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7336 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7337 if test "${lt_prog_compiler_pic_works+set}" = set; then
7338 echo $ECHO_N "(cached) $ECHO_C" >&6
7340 lt_prog_compiler_pic_works
=no
7341 ac_outfile
=conftest.
$ac_objext
7342 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7343 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7344 # Insert the option either (1) after the last *FLAGS variable, or
7345 # (2) before a word containing "conftest.", or (3) at the end.
7346 # Note that $ac_compile itself does not contain backslashes and begins
7347 # with a dollar sign (not a hyphen), so the echo should work correctly.
7348 # The option is referenced via a variable to avoid confusing sed.
7349 lt_compile
=`echo "$ac_compile" | $SED \
7350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7352 -e 's:$: $lt_compiler_flag:'`
7353 (eval echo "\"\$as_me:7353: $lt_compile\"" >&5)
7354 (eval "$lt_compile" 2>conftest.err
)
7356 cat conftest.err
>&5
7357 echo "$as_me:7357: \$? = $ac_status" >&5
7358 if (exit $ac_status) && test -s "$ac_outfile"; then
7359 # The compiler can only warn and ignore the option if not recognized
7360 # So say no if there are warnings other than the usual output.
7361 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7362 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7363 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7364 lt_prog_compiler_pic_works
=yes
7370 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7371 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7373 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7374 case $lt_prog_compiler_pic in
7376 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7379 lt_prog_compiler_pic
=
7380 lt_prog_compiler_can_build_shared
=no
7385 # For platforms which do not support PIC, -DPIC is meaningless:
7387 lt_prog_compiler_pic
=
7390 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7395 # Check to make sure the static flag actually works.
7397 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7398 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7399 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7400 if test "${lt_prog_compiler_static_works+set}" = set; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 lt_prog_compiler_static_works
=no
7404 save_LDFLAGS
="$LDFLAGS"
7405 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7406 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7407 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7408 # The linker can only warn and ignore the option if not recognized
7409 # So say no if there are warnings
7410 if test -s conftest.err
; then
7411 # Append any errors to the config.log.
7412 cat conftest.err
1>&5
7413 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7414 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7415 if diff conftest.exp conftest.er2
>/dev
/null
; then
7416 lt_prog_compiler_static_works
=yes
7419 lt_prog_compiler_static_works
=yes
7423 LDFLAGS
="$save_LDFLAGS"
7426 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7427 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7429 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7432 lt_prog_compiler_static
=
7436 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7437 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7438 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 lt_cv_prog_compiler_c_o
=no
7442 $rm -r conftest
2>/dev
/null
7446 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7448 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7449 # Insert the option either (1) after the last *FLAGS variable, or
7450 # (2) before a word containing "conftest.", or (3) at the end.
7451 # Note that $ac_compile itself does not contain backslashes and begins
7452 # with a dollar sign (not a hyphen), so the echo should work correctly.
7453 lt_compile
=`echo "$ac_compile" | $SED \
7454 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7456 -e 's:$: $lt_compiler_flag:'`
7457 (eval echo "\"\$as_me:7457: $lt_compile\"" >&5)
7458 (eval "$lt_compile" 2>out
/conftest.err
)
7460 cat out
/conftest.err
>&5
7461 echo "$as_me:7461: \$? = $ac_status" >&5
7462 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7464 # The compiler can only warn and ignore the option if not recognized
7465 # So say no if there are warnings
7466 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7467 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7468 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7469 lt_cv_prog_compiler_c_o
=yes
7474 # SGI C++ compiler will create directory out/ii_files/ for
7475 # template instantiation
7476 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7477 $rm out
/* && rmdir out
7483 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7484 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7487 hard_links
="nottested"
7488 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7489 # do not overwrite the value of need_locks provided by the user
7490 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7491 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7494 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7496 ln conftest.a conftest.b
2>&5 || hard_links
=no
7497 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7498 { echo "$as_me:$LINENO: result: $hard_links" >&5
7499 echo "${ECHO_T}$hard_links" >&6; }
7500 if test "$hard_links" = no
; then
7501 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7502 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7509 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7510 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7513 allow_undefined_flag
=
7514 enable_shared_with_static_runtimes
=no
7516 archive_expsym_cmds
=
7517 old_archive_From_new_cmds
=
7518 old_archive_from_expsyms_cmds
=
7519 export_dynamic_flag_spec
=
7520 whole_archive_flag_spec
=
7521 thread_safe_flag_spec
=
7522 hardcode_libdir_flag_spec
=
7523 hardcode_libdir_flag_spec_ld
=
7524 hardcode_libdir_separator
=
7527 hardcode_shlibpath_var
=unsupported
7528 link_all_deplibs
=unknown
7529 hardcode_automatic
=no
7532 always_export_symbols
=no
7533 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7534 # include_expsyms should be a list of space-separated symbols to be *always*
7535 # included in the symbol list
7537 # exclude_expsyms can be an extended regexp of symbols to exclude
7538 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7539 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7540 # as well as any symbol that contains `d'.
7541 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7542 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7543 # platforms (ab)use it in PIC code, but their linkers get confused if
7544 # the symbol is explicitly referenced. Since portable code cannot
7545 # rely on this symbol name, it's probably fine to never include it in
7546 # preloaded symbol tables.
7547 extract_expsyms_cmds
=
7548 # Just being paranoid about ensuring that cc_basename is set.
7549 for cc_temp
in $compiler""; do
7551 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7552 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7557 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7560 cygwin
* | mingw
* | pw32
*)
7561 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7562 # When not using gcc, we currently assume that we are using
7563 # Microsoft Visual C++.
7564 if test "$GCC" != yes; then
7569 # we just hope/assume this is gcc and not c89 (= MSVC++)
7578 if test "$with_gnu_ld" = yes; then
7579 # If archive_cmds runs LD, not CC, wlarc should be empty
7582 # Set some defaults for GNU ld with shared library support. These
7583 # are reset later if shared libraries are not supported. Putting them
7584 # here allows them to be overridden if necessary.
7585 runpath_var
=LD_RUN_PATH
7586 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7587 export_dynamic_flag_spec
='${wl}--export-dynamic'
7588 # ancient GNU ld didn't support --whole-archive et. al.
7589 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7590 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7592 whole_archive_flag_spec
=
7594 supports_anon_versioning
=no
7595 case `$LD -v 2>/dev/null` in
7596 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7597 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7598 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7599 *\
2.11.
*) ;; # other 2.11 versions
7600 *) supports_anon_versioning
=yes ;;
7603 # See if GNU ld supports shared libraries.
7605 aix3
* | aix4
* | aix5
*)
7606 # On AIX/PPC, the GNU linker is very broken
7607 if test "$host_cpu" != ia64
; then
7611 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7612 *** to be unable to reliably create shared libraries on AIX.
7613 *** Therefore, libtool is disabling shared libraries support. If you
7614 *** really care for shared libraries, you may want to modify your PATH
7615 *** so that a non-GNU linker is found, and then restart.
7622 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)'
7623 hardcode_libdir_flag_spec
='-L$libdir'
7624 hardcode_minus_L
=yes
7626 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7627 # that the semantics of dynamic libraries on AmigaOS, at least up
7628 # to version 4, is to share data among multiple programs linked
7629 # with the same dynamic library. Since this doesn't match the
7630 # behavior of shared libraries on other platforms, we can't use
7636 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7637 allow_undefined_flag
=unsupported
7638 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7639 # support --undefined. This deserves some investigation. FIXME
7640 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7646 cygwin
* | mingw
* | pw32
*)
7647 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7648 # as there is no search path for DLLs.
7649 hardcode_libdir_flag_spec
='-L$libdir'
7650 allow_undefined_flag
=unsupported
7651 always_export_symbols
=no
7652 enable_shared_with_static_runtimes
=yes
7653 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7655 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7657 # If the export-symbols file already is a .def file (1st line
7658 # is EXPORTS), use it as is; otherwise, prepend...
7659 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7660 cp $export_symbols $output_objdir/$soname.def;
7662 echo EXPORTS > $output_objdir/$soname.def;
7663 cat $export_symbols >> $output_objdir/$soname.def;
7665 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7673 hardcode_shlibpath_var
=no
7674 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7675 export_dynamic_flag_spec
='${wl}-E'
7676 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7677 # Instead, shared libraries are loaded at an image base (0x10000000 by
7678 # default) and relocated if they conflict, which is a slow very memory
7679 # consuming and fragmenting process. To avoid this, we pick a random,
7680 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7681 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7682 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7683 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'
7686 gnu
* | linux
* | k
*bsd
*-gnu)
7687 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7689 case $cc_basename,$host_cpu in
7690 pgcc
*) # Portland Group C compiler
7691 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'
7692 tmp_addflag
=' $pic_flag'
7694 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7695 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'
7696 tmp_addflag
=' $pic_flag -Mnomain' ;;
7697 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7698 tmp_addflag
=' -i_dynamic' ;;
7699 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7700 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7701 ifc
* | ifort
*) # Intel Fortran compiler
7702 tmp_addflag
=' -nofor_main' ;;
7704 case `$CC -V 2>&1 | sed 5q` in
7705 *Sun\ C
*) # Sun C 5.9
7706 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'
7707 tmp_sharedflag
='-G' ;;
7708 *Sun\ F
*) # Sun Fortran 8.3
7709 tmp_sharedflag
='-G' ;;
7711 tmp_sharedflag
='-shared' ;;
7713 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7715 if test $supports_anon_versioning = yes; then
7716 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
7717 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7718 $echo "local: *; };" >> $output_objdir/$libname.ver~
7719 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7727 netbsd
* | netbsdelf
*-gnu)
7728 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
7729 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7732 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7733 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7738 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
7742 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7743 *** create shared libraries on Solaris systems. Therefore, libtool
7744 *** is disabling shared libraries support. We urge you to upgrade GNU
7745 *** binutils to release 2.9.1 or newer. Another option is to modify
7746 *** your PATH or compiler configuration so that the native linker is
7747 *** used, and then restart.
7750 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7751 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7752 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7758 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7759 case `$LD -v 2>&1` in
7760 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7764 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7765 *** reliably create shared libraries on SCO systems. Therefore, libtool
7766 *** is disabling shared libraries support. We urge you to upgrade GNU
7767 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7768 *** your PATH or compiler configuration so that the native linker is
7769 *** used, and then restart.
7774 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7775 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7776 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7777 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7786 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7789 hardcode_shlibpath_var
=no
7793 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7794 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7795 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7802 if test "$ld_shlibs" = no
; then
7804 hardcode_libdir_flag_spec
=
7805 export_dynamic_flag_spec
=
7806 whole_archive_flag_spec
=
7809 # PORTME fill in a description of your system's linker (not GNU ld)
7812 allow_undefined_flag
=unsupported
7813 always_export_symbols
=yes
7814 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'
7815 # Note: this linker hardcodes the directories in LIBPATH if there
7816 # are no directories specified by -L.
7817 hardcode_minus_L
=yes
7818 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7819 # Neither direct hardcoding nor static linking is supported with a
7821 hardcode_direct
=unsupported
7826 if test "$host_cpu" = ia64
; then
7827 # On IA64, the linker does run time linking by default, so we don't
7828 # have to do anything special.
7829 aix_use_runtimelinking
=no
7830 exp_sym_flag
='-Bexport'
7833 # If we're using GNU nm, then we don't want the "-C" option.
7834 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7835 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
7836 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'
7838 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'
7840 aix_use_runtimelinking
=no
7842 # Test if we are trying to use run time linking or normal
7843 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7844 # need to do runtime linking.
7845 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7846 for ld_flag
in $LDFLAGS; do
7847 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7848 aix_use_runtimelinking
=yes
7855 exp_sym_flag
='-bexport'
7856 no_entry_flag
='-bnoentry'
7859 # When large executables or shared objects are built, AIX ld can
7860 # have problems creating the table of contents. If linking a library
7861 # or program results in "error TOC overflow" add -mminimal-toc to
7862 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7863 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7867 hardcode_libdir_separator
=':'
7868 link_all_deplibs
=yes
7870 if test "$GCC" = yes; then
7871 case $host_os in aix4.
[012]|aix4.
[012].
*)
7872 # We only want to do this on AIX 4.2 and lower, the check
7873 # below for broken collect2 doesn't work under 4.3+
7874 collect2name
=`${CC} -print-prog-name=collect2`
7875 if test -f "$collect2name" && \
7876 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
7878 # We have reworked collect2
7881 # We have old collect2
7882 hardcode_direct
=unsupported
7883 # It fails to find uninstalled libraries when the uninstalled
7884 # path is not listed in the libpath. Setting hardcode_minus_L
7885 # to unsupported forces relinking
7886 hardcode_minus_L
=yes
7887 hardcode_libdir_flag_spec
='-L$libdir'
7888 hardcode_libdir_separator
=
7892 shared_flag
='-shared'
7893 if test "$aix_use_runtimelinking" = yes; then
7894 shared_flag
="$shared_flag "'${wl}-G'
7898 if test "$host_cpu" = ia64
; then
7899 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7900 # chokes on -Wl,-G. The following line is correct:
7903 if test "$aix_use_runtimelinking" = yes; then
7904 shared_flag
='${wl}-G'
7906 shared_flag
='${wl}-bM:SRE'
7911 # It seems that -bexpall does not export symbols beginning with
7912 # underscore (_), so it is better to generate a list of symbols to export.
7913 always_export_symbols
=yes
7914 if test "$aix_use_runtimelinking" = yes; then
7915 # Warning - without using the other runtime loading flags (-brtl),
7916 # -berok will link without error, but may produce a broken library.
7917 allow_undefined_flag
='-berok'
7918 # Determine the default libpath from the value encoded in an empty executable.
7919 cat >conftest.
$ac_ext <<_ACEOF
7922 cat confdefs.h
>>conftest.
$ac_ext
7923 cat >>conftest.
$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7934 rm -f conftest.
$ac_objext conftest
$ac_exeext
7935 if { (ac_try
="$ac_link"
7937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7938 *) ac_try_echo=$ac_try;;
7940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7941 (eval "$ac_link") 2>conftest.er1
7943 grep -v '^ *+' conftest.er1 >conftest.err
7945 cat conftest.err >&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } && {
7948 test -z "$ac_c_werror_flag" ||
7949 test ! -s conftest.err
7950 } && test -s conftest$ac_exeext &&
7951 $as_test_x conftest$ac_exeext; then
7953 lt_aix_libpath_sed='
7954 /Import File Strings/,/^$/ {
7960 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7961 # Check for a 64-bit object if we didn't find anything.
7962 if test -z "$aix_libpath"; then
7963 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
7966 echo "$as_me: failed program was:" >&5
7967 sed 's/^/| /' conftest.$ac_ext >&5
7972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7973 conftest$ac_exeext conftest.$ac_ext
7974 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7976 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7977 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"
7979 if test "$host_cpu" = ia64; then
7980 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7981 allow_undefined_flag="-z nodefs"
7982 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"
7984 # Determine the default libpath from the value encoded in an empty executable.
7985 cat >conftest.$ac_ext <<_ACEOF
7988 cat confdefs.h >>conftest.$ac_ext
7989 cat >>conftest.$ac_ext <<_ACEOF
7990 /* end confdefs.h. */
8000 rm -f conftest.$ac_objext conftest$ac_exeext
8001 if { (ac_try="$ac_link"
8003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8004 *) ac_try_echo
=$ac_try;;
8006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8007 (eval "$ac_link") 2>conftest.er1
8009 grep -v '^ *+' conftest.er1
>conftest.err
8011 cat conftest.err
>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } && {
8014 test -z "$ac_c_werror_flag" ||
8015 test ! -s conftest.err
8016 } && test -s conftest
$ac_exeext &&
8017 $as_test_x conftest
$ac_exeext; then
8019 lt_aix_libpath_sed
='
8020 /Import File Strings/,/^$/ {
8026 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8027 # Check for a 64-bit object if we didn't find anything.
8028 if test -z "$aix_libpath"; then
8029 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8032 echo "$as_me: failed program was:" >&5
8033 sed 's/^/| /' conftest.
$ac_ext >&5
8038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8042 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8043 # Warning - without using the other run time loading flags,
8044 # -berok will link without error, but may produce a broken library.
8045 no_undefined_flag
=' ${wl}-bernotok'
8046 allow_undefined_flag
=' ${wl}-berok'
8047 # Exported symbols can be pulled into shared objects from archives
8048 whole_archive_flag_spec
='$convenience'
8049 archive_cmds_need_lc
=yes
8050 # This is similar to how AIX traditionally builds its shared libraries.
8051 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'
8057 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)'
8058 hardcode_libdir_flag_spec
='-L$libdir'
8059 hardcode_minus_L
=yes
8060 # see comment about different semantics on the GNU ld section
8065 export_dynamic_flag_spec
=-rdynamic
8068 cygwin
* | mingw
* | pw32
*)
8069 # When not using gcc, we currently assume that we are using
8070 # Microsoft Visual C++.
8071 # hardcode_libdir_flag_spec is actually meaningless, as there is
8072 # no search path for DLLs.
8073 hardcode_libdir_flag_spec
=' '
8074 allow_undefined_flag
=unsupported
8075 # Tell ltmain to make .lib files, not .a files.
8077 # Tell ltmain to make .dll files, not .so files.
8079 # FIXME: Setting linknames here is a bad hack.
8080 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8081 # The linker will automatically build a .lib file if we build a DLL.
8082 old_archive_From_new_cmds
='true'
8083 # FIXME: Should let the user specify the lib program.
8084 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8085 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8086 enable_shared_with_static_runtimes
=yes
8089 darwin
* | rhapsody
*)
8091 rhapsody
* | darwin1.
[012])
8092 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8095 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8096 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8098 case ${MACOSX_DEPLOYMENT_TARGET} in
8100 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8103 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8109 archive_cmds_need_lc
=no
8111 hardcode_automatic
=yes
8112 hardcode_shlibpath_var
=unsupported
8113 whole_archive_flag_spec
=''
8114 link_all_deplibs
=yes
8115 if test "$GCC" = yes ; then
8116 output_verbose_link_cmd
='echo'
8117 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8118 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8119 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8120 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8121 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}'
8123 case $cc_basename in
8125 output_verbose_link_cmd
='echo'
8126 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8127 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8128 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8129 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}'
8130 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}'
8140 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8141 hardcode_libdir_flag_spec
='-L$libdir'
8142 hardcode_shlibpath_var
=no
8149 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8150 # support. Future versions do this automatically, but an explicit c++rt0.o
8151 # does not break anything, and helps significantly (at the cost of a little
8154 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8155 hardcode_libdir_flag_spec
='-R$libdir'
8157 hardcode_shlibpath_var
=no
8160 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8162 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8164 hardcode_minus_L
=yes
8165 hardcode_shlibpath_var
=no
8168 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8169 freebsd
* | dragonfly
*)
8170 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8171 hardcode_libdir_flag_spec
='-R$libdir'
8173 hardcode_shlibpath_var
=no
8177 if test "$GCC" = yes; then
8178 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'
8180 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'
8182 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8183 hardcode_libdir_separator
=:
8186 # hardcode_minus_L: Not really in the search PATH,
8187 # but as the default location of the library.
8188 hardcode_minus_L
=yes
8189 export_dynamic_flag_spec
='${wl}-E'
8193 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8194 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8196 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8198 if test "$with_gnu_ld" = no
; then
8199 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8200 hardcode_libdir_separator
=:
8203 export_dynamic_flag_spec
='${wl}-E'
8205 # hardcode_minus_L: Not really in the search PATH,
8206 # but as the default location of the library.
8207 hardcode_minus_L
=yes
8212 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8215 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8218 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8221 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8227 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8230 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8233 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8237 if test "$with_gnu_ld" = no
; then
8238 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8239 hardcode_libdir_separator
=:
8243 hardcode_libdir_flag_spec_ld
='+b $libdir'
8245 hardcode_shlibpath_var
=no
8249 export_dynamic_flag_spec
='${wl}-E'
8251 # hardcode_minus_L: Not really in the search PATH,
8252 # but as the default location of the library.
8253 hardcode_minus_L
=yes
8259 irix5
* | irix6
* | nonstopux
*)
8260 if test "$GCC" = yes; then
8261 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'
8263 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'
8264 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8266 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8267 hardcode_libdir_separator
=:
8268 link_all_deplibs
=yes
8271 netbsd
* | netbsdelf
*-gnu)
8272 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8273 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8275 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8277 hardcode_libdir_flag_spec
='-R$libdir'
8279 hardcode_shlibpath_var
=no
8283 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8285 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8286 hardcode_libdir_separator
=:
8287 hardcode_shlibpath_var
=no
8291 if test -f /usr
/libexec
/ld.so
; then
8293 hardcode_shlibpath_var
=no
8294 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8295 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8296 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8297 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8298 export_dynamic_flag_spec
='${wl}-E'
8301 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8302 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8303 hardcode_libdir_flag_spec
='-R$libdir'
8306 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8307 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8317 hardcode_libdir_flag_spec
='-L$libdir'
8318 hardcode_minus_L
=yes
8319 allow_undefined_flag
=unsupported
8320 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'
8321 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8325 if test "$GCC" = yes; then
8326 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8327 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'
8329 allow_undefined_flag
=' -expect_unresolved \*'
8330 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'
8332 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8333 hardcode_libdir_separator
=:
8336 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8337 if test "$GCC" = yes; then
8338 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8339 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'
8340 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8342 allow_undefined_flag
=' -expect_unresolved \*'
8343 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'
8344 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8345 $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'
8347 # Both c and cxx compiler support -rpath directly
8348 hardcode_libdir_flag_spec
='-rpath $libdir'
8350 hardcode_libdir_separator
=:
8354 no_undefined_flag
=' -z text'
8355 if test "$GCC" = yes; then
8357 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8358 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8359 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8362 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8363 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8364 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8366 hardcode_libdir_flag_spec
='-R$libdir'
8367 hardcode_shlibpath_var
=no
8369 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8371 # The compiler driver will combine and reorder linker options,
8372 # but understands `-z linker_flag'. GCC discards it without `$wl',
8373 # but is careful enough not to reorder.
8374 # Supported since Solaris 2.6 (maybe 2.5.1?)
8375 if test "$GCC" = yes; then
8376 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8378 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8382 link_all_deplibs
=yes
8386 if test "x$host_vendor" = xsequent
; then
8387 # Use $CC to link under sequent, because it throws in some extra .o
8388 # files that make .init and .fini sections work.
8389 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8391 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8393 hardcode_libdir_flag_spec
='-L$libdir'
8395 hardcode_minus_L
=yes
8396 hardcode_shlibpath_var
=no
8400 case $host_vendor in
8402 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8403 hardcode_direct
=yes # is this really true???
8406 ## LD is ld it makes a PLAMLIB
8407 ## CC just makes a GrossModule.
8408 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8409 reload_cmds
='$CC -r -o $output$reload_objs'
8413 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8414 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8417 runpath_var
='LD_RUN_PATH'
8418 hardcode_shlibpath_var
=no
8422 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423 hardcode_shlibpath_var
=no
8424 export_dynamic_flag_spec
='-Bexport'
8428 if test -d /usr
/nec
; then
8429 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8430 hardcode_shlibpath_var
=no
8431 runpath_var
=LD_RUN_PATH
8432 hardcode_runpath_var
=yes
8437 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8438 no_undefined_flag
='${wl}-z,text'
8439 archive_cmds_need_lc
=no
8440 hardcode_shlibpath_var
=no
8441 runpath_var
='LD_RUN_PATH'
8443 if test "$GCC" = yes; then
8444 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8445 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8447 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8448 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8452 sysv5
* | sco3.2v5
* | sco5v6
*)
8453 # Note: We can NOT use -z defs as we might desire, because we do not
8454 # link with -lc, and that would cause any symbols used from libc to
8455 # always be unresolved, which means just about no library would
8456 # ever link correctly. If we're not using GNU ld we use -z text
8457 # though, which does catch some bad symbols but isn't as heavy-handed
8459 no_undefined_flag
='${wl}-z,text'
8460 allow_undefined_flag
='${wl}-z,nodefs'
8461 archive_cmds_need_lc
=no
8462 hardcode_shlibpath_var
=no
8463 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8464 hardcode_libdir_separator
=':'
8465 link_all_deplibs
=yes
8466 export_dynamic_flag_spec
='${wl}-Bexport'
8467 runpath_var
='LD_RUN_PATH'
8469 if test "$GCC" = yes; then
8470 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8471 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8473 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8474 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8480 hardcode_libdir_flag_spec
='-L$libdir'
8481 hardcode_shlibpath_var
=no
8490 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8491 echo "${ECHO_T}$ld_shlibs" >&6; }
8492 test "$ld_shlibs" = no
&& can_build_shared
=no
8495 # Do we need to explicitly link libc?
8497 case "x$archive_cmds_need_lc" in
8499 # Assume -lc should be added
8500 archive_cmds_need_lc
=yes
8502 if test "$enable_shared" = yes && test "$GCC" = yes; then
8503 case $archive_cmds in
8505 # FIXME: we may have to deal with multi-command sequences.
8508 # Test whether the compiler implicitly links with -lc since on some
8509 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8510 # to ld, don't add -lc before -lgcc.
8511 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8512 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8514 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8517 (eval $ac_compile) 2>&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } 2>conftest.err
; then
8523 libobjs
=conftest.
$ac_objext
8525 wl
=$lt_prog_compiler_wl
8526 pic_flag
=$lt_prog_compiler_pic
8532 lt_save_allow_undefined_flag
=$allow_undefined_flag
8533 allow_undefined_flag
=
8534 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8535 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }
8540 archive_cmds_need_lc
=no
8542 archive_cmds_need_lc
=yes
8544 allow_undefined_flag
=$lt_save_allow_undefined_flag
8546 cat conftest.err
1>&5
8549 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8550 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8557 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8558 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8560 libname_spec
='lib$name'
8568 shlibpath_overrides_runpath
=unknown
8570 dynamic_linker
="$host_os ld.so"
8571 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8573 if test "$GCC" = yes; then
8575 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8576 *) lt_awk_arg
="/^libraries:/" ;;
8578 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8579 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8580 # if the path contains ";" then we assume it to be the separator
8581 # otherwise default to the standard path separator (i.e. ":") - it is
8582 # assumed that no part of a normal pathname contains ";" but that should
8583 # okay in the real world where ";" in dirpaths is itself problematic.
8584 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8586 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8588 # Ok, now we have the path, separated by spaces, we can step through it
8589 # and add multilib dir if necessary.
8590 lt_tmp_lt_search_path_spec
=
8591 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8592 for lt_sys_path
in $lt_search_path_spec; do
8593 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8594 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8596 test -d "$lt_sys_path" && \
8597 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8600 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8601 BEGIN {RS=" "; FS="/|\n";} {
8604 for (lt_i = NF; lt_i > 0; lt_i--) {
8605 if ($lt_i != "" && $lt_i != ".") {
8606 if ($lt_i == "..") {
8609 if (lt_count == 0) {
8610 lt_foo="/" $lt_i lt_foo;
8617 if (lt_foo != "") { lt_freq[lt_foo]++; }
8618 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8620 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8622 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8624 need_lib_prefix
=unknown
8625 hardcode_into_libs
=no
8627 # when you set need_version to no, make sure it does not cause -set_version
8628 # flags to be left without arguments
8629 need_version
=unknown
8634 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8635 shlibpath_var
=LIBPATH
8637 # AIX 3 has no versioning support, so we append a major version to the name.
8638 soname_spec
='${libname}${release}${shared_ext}$major'
8645 hardcode_into_libs
=yes
8646 if test "$host_cpu" = ia64
; then
8647 # AIX 5 supports IA64
8648 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8649 shlibpath_var
=LD_LIBRARY_PATH
8651 # With GCC up to 2.95.x, collect2 would create an import file
8652 # for dependence libraries. The import file would start with
8653 # the line `#! .'. This would cause the generated library to
8654 # depend on `.', always an invalid library. This was fixed in
8655 # development snapshots of GCC prior to 3.0.
8657 aix4 | aix4.
[01] | aix4.
[01].
*)
8658 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8660 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8667 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8668 # soname into executable. Probably we can add versioning support to
8669 # collect2, so additional links can be useful in future.
8670 if test "$aix_use_runtimelinking" = yes; then
8671 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8672 # instead of lib<name>.a to let people know that these are not
8673 # typical AIX shared libraries.
8674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8676 # We preserve .a as extension for shared libraries through AIX4.2
8677 # and later when we are not doing run time linking.
8678 library_names_spec
='${libname}${release}.a $libname.a'
8679 soname_spec
='${libname}${release}${shared_ext}$major'
8681 shlibpath_var
=LIBPATH
8686 library_names_spec
='$libname.ixlibrary $libname.a'
8687 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8688 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'
8692 library_names_spec
='${libname}${shared_ext}'
8693 dynamic_linker
="$host_os ld.so"
8694 shlibpath_var
=LIBRARY_PATH
8700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8701 soname_spec
='${libname}${release}${shared_ext}$major'
8702 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8703 shlibpath_var
=LD_LIBRARY_PATH
8704 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8705 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8706 # the default ld.so.conf also contains /usr/contrib/lib and
8707 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8708 # libtool to hard-code these into programs
8711 cygwin
* | mingw
* | pw32
*)
8712 version_type
=windows
8717 case $GCC,$host_os in
8718 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8719 library_names_spec
='$libname.dll.a'
8720 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8721 postinstall_cmds
='base_file=`basename \${file}`~
8722 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8723 dldir=$destdir/`dirname \$dlpath`~
8724 test -d \$dldir || mkdir -p \$dldir~
8725 $install_prog $dir/$dlname \$dldir/$dlname~
8726 chmod a+x \$dldir/$dlname'
8727 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8728 dlpath=$dir/\$dldll~
8730 shlibpath_overrides_runpath
=yes
8734 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8735 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8736 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8739 # MinGW DLLs use traditional 'lib' prefix
8740 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8741 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8742 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
8743 # It is most probably a Windows format PATH printed by
8744 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8745 # path with ; separators, and with drive letters. We can handle the
8746 # drive letters (cygwin fileutils understands them), so leave them,
8747 # especially as we might pass files found there to a mingw objdump,
8748 # which wouldn't understand a cygwinified path. Ahh.
8749 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8751 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8755 # pw32 DLLs use 'pw' prefix rather than 'lib'
8756 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8762 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8765 dynamic_linker
='Win32 ld.exe'
8766 # FIXME: first we should search . and the directory the executable is in
8770 darwin
* | rhapsody
*)
8771 dynamic_linker
="$host_os dyld"
8775 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8776 soname_spec
='${libname}${release}${major}$shared_ext'
8777 shlibpath_overrides_runpath
=yes
8778 shlibpath_var
=DYLD_LIBRARY_PATH
8779 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8781 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8782 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8790 soname_spec
='${libname}${release}${shared_ext}$major'
8791 shlibpath_var
=LD_LIBRARY_PATH
8798 freebsd
* | dragonfly
*)
8799 # DragonFly does not have aout. When/if they implement a new
8800 # versioning mechanism, adjust this.
8801 if test -x /usr
/bin
/objformat
; then
8802 objformat
=`/usr/bin/objformat`
8805 freebsd
[123]*) objformat
=aout
;;
8809 version_type
=freebsd-
$objformat
8810 case $version_type in
8812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8817 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8821 shlibpath_var
=LD_LIBRARY_PATH
8824 shlibpath_overrides_runpath
=yes
8826 freebsd3.
[01]* | freebsdelf3.
[01]*)
8827 shlibpath_overrides_runpath
=yes
8828 hardcode_into_libs
=yes
8830 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8831 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8832 shlibpath_overrides_runpath
=no
8833 hardcode_into_libs
=yes
8835 *) # from 4.6 on, and DragonFly
8836 shlibpath_overrides_runpath
=yes
8837 hardcode_into_libs
=yes
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8847 soname_spec
='${libname}${release}${shared_ext}$major'
8848 shlibpath_var
=LD_LIBRARY_PATH
8849 hardcode_into_libs
=yes
8852 hpux9
* | hpux10
* | hpux11
*)
8853 # Give a soname corresponding to the major version so that dld.sl refuses to
8854 # link against other versions.
8861 hardcode_into_libs
=yes
8862 dynamic_linker
="$host_os dld.so"
8863 shlibpath_var
=LD_LIBRARY_PATH
8864 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8866 soname_spec
='${libname}${release}${shared_ext}$major'
8867 if test "X$HPUX_IA64_MODE" = X32
; then
8868 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8870 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8872 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8876 hardcode_into_libs
=yes
8877 dynamic_linker
="$host_os dld.sl"
8878 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8879 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8881 soname_spec
='${libname}${release}${shared_ext}$major'
8882 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8883 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8887 dynamic_linker
="$host_os dld.sl"
8888 shlibpath_var
=SHLIB_PATH
8889 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8891 soname_spec
='${libname}${release}${shared_ext}$major'
8894 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8895 postinstall_cmds
='chmod 555 $lib'
8902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8903 soname_spec
='${libname}${release}${shared_ext}$major'
8904 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8905 shlibpath_var
=LD_LIBRARY_PATH
8906 shlibpath_overrides_runpath
=no
8907 hardcode_into_libs
=yes
8910 irix5
* | irix6
* | nonstopux
*)
8912 nonstopux
*) version_type
=nonstopux
;;
8914 if test "$lt_cv_prog_gnu_ld" = yes; then
8922 soname_spec
='${libname}${release}${shared_ext}$major'
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8925 irix5
* | nonstopux
*)
8929 case $LD in # libtool.m4 will add one of these switches to LD
8930 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8931 libsuff
= shlibsuff
= libmagic
=32-bit;;
8932 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8933 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8934 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8935 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8936 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8940 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8941 shlibpath_overrides_runpath
=no
8942 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8943 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8944 hardcode_into_libs
=yes
8947 # No shared lib support for Linux oldld, aout, or coff.
8948 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8952 # This must be Linux ELF.
8953 linux
* | k
*bsd
*-gnu)
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8960 shlibpath_var
=LD_LIBRARY_PATH
8961 shlibpath_overrides_runpath
=no
8962 # This implies no fast_install, which is unacceptable.
8963 # Some rework will be needed to allow for fast_install
8964 # before this can be enabled.
8965 hardcode_into_libs
=yes
8967 # Append ld.so.conf contents to the search path
8968 if test -f /etc
/ld.so.conf
; then
8969 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' ' '`
8970 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8973 # We used to test for /lib/ld.so.1 and disable shared libraries on
8974 # powerpc, because MkLinux only supported shared libraries with the
8975 # GNU dynamic linker. Since this was broken with cross compilers,
8976 # most powerpc-linux boxes support dynamic linking these days and
8977 # people can always --disable-shared, the test was removed, and we
8978 # assume the GNU/Linux dynamic linker is in use.
8979 dynamic_linker
='GNU/Linux ld.so'
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8988 shlibpath_var
=LD_LIBRARY_PATH
8989 shlibpath_overrides_runpath
=no
8990 hardcode_into_libs
=yes
8991 dynamic_linker
='NetBSD ld.elf_so'
8998 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9001 dynamic_linker
='NetBSD (a.out) ld.so'
9003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9004 soname_spec
='${libname}${release}${shared_ext}$major'
9005 dynamic_linker
='NetBSD ld.elf_so'
9007 shlibpath_var
=LD_LIBRARY_PATH
9008 shlibpath_overrides_runpath
=yes
9009 hardcode_into_libs
=yes
9014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9015 shlibpath_var
=LD_LIBRARY_PATH
9016 shlibpath_overrides_runpath
=yes
9023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9024 soname_spec
='${libname}${release}${shared_ext}$major'
9025 shlibpath_var
=LD_LIBRARY_PATH
9026 shlibpath_overrides_runpath
=yes
9031 sys_lib_dlsearch_path_spec
="/usr/lib"
9033 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9035 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9036 *) need_version
=no
;;
9038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9039 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9040 shlibpath_var
=LD_LIBRARY_PATH
9041 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9043 openbsd2.
[89] | openbsd2.
[89].
*)
9044 shlibpath_overrides_runpath
=no
9047 shlibpath_overrides_runpath
=yes
9051 shlibpath_overrides_runpath
=yes
9056 libname_spec
='$name'
9059 library_names_spec
='$libname${shared_ext} $libname.a'
9060 dynamic_linker
='OS/2 ld.exe'
9061 shlibpath_var
=LIBPATH
9064 osf3
* | osf4
* | osf5
*)
9068 soname_spec
='${libname}${release}${shared_ext}$major'
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9070 shlibpath_var
=LD_LIBRARY_PATH
9071 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9072 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9084 soname_spec
='${libname}${release}${shared_ext}$major'
9085 shlibpath_var
=LD_LIBRARY_PATH
9086 shlibpath_overrides_runpath
=yes
9087 hardcode_into_libs
=yes
9088 # ldd complains unless libraries are executable
9089 postinstall_cmds
='chmod +x $lib'
9094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9095 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 shlibpath_overrides_runpath
=yes
9098 if test "$with_gnu_ld" = yes; then
9106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9107 soname_spec
='${libname}${release}${shared_ext}$major'
9108 shlibpath_var
=LD_LIBRARY_PATH
9109 case $host_vendor in
9111 shlibpath_overrides_runpath
=no
9113 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9114 runpath_var
=LD_RUN_PATH
9122 shlibpath_overrides_runpath
=no
9123 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9129 if test -d /usr
/nec
;then
9131 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9132 soname_spec
='$libname${shared_ext}.$major'
9133 shlibpath_var
=LD_LIBRARY_PATH
9137 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9138 version_type
=freebsd-elf
9141 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9142 soname_spec
='${libname}${release}${shared_ext}$major'
9143 shlibpath_var
=LD_LIBRARY_PATH
9144 hardcode_into_libs
=yes
9145 if test "$with_gnu_ld" = yes; then
9146 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9147 shlibpath_overrides_runpath
=no
9149 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9150 shlibpath_overrides_runpath
=yes
9153 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9157 sys_lib_dlsearch_path_spec
='/usr/lib'
9162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9163 soname_spec
='${libname}${release}${shared_ext}$major'
9164 shlibpath_var
=LD_LIBRARY_PATH
9171 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9172 echo "${ECHO_T}$dynamic_linker" >&6; }
9173 test "$dynamic_linker" = no
&& can_build_shared
=no
9175 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9176 if test "$GCC" = yes; then
9177 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9180 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9181 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9183 if test -n "$hardcode_libdir_flag_spec" || \
9184 test -n "$runpath_var" || \
9185 test "X$hardcode_automatic" = "Xyes" ; then
9187 # We can hardcode non-existant directories.
9188 if test "$hardcode_direct" != no
&&
9189 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9190 # have to relink, otherwise we might link with an installed library
9191 # when we should be linking with a yet-to-be-installed one
9192 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9193 test "$hardcode_minus_L" != no
; then
9194 # Linking always hardcodes the temporary library directory.
9195 hardcode_action
=relink
9197 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9198 hardcode_action
=immediate
9201 # We cannot hardcode anything, or else we can only hardcode existing
9203 hardcode_action
=unsupported
9205 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9206 echo "${ECHO_T}$hardcode_action" >&6; }
9208 if test "$hardcode_action" = relink
; then
9209 # Fast installation is not supported
9210 enable_fast_install
=no
9211 elif test "$shlibpath_overrides_runpath" = yes ||
9212 test "$enable_shared" = no
; then
9213 # Fast installation is not necessary
9214 enable_fast_install
=needless
9219 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9220 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9221 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9222 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9223 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9224 { echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6; }
9227 # FIXME - insert some real tests, host_os isn't really good enough
9230 if test -n "$STRIP" ; then
9231 striplib
="$STRIP -x"
9232 old_striplib
="$STRIP -S"
9233 { echo "$as_me:$LINENO: result: yes" >&5
9234 echo "${ECHO_T}yes" >&6; }
9236 { echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6; }
9241 { echo "$as_me:$LINENO: result: no" >&5
9242 echo "${ECHO_T}no" >&6; }
9247 if test "x$enable_dlopen" != xyes
; then
9248 enable_dlopen
=unknown
9249 enable_dlopen_self
=unknown
9250 enable_dlopen_self_static
=unknown
9257 lt_cv_dlopen
="load_add_on"
9259 lt_cv_dlopen_self
=yes
9263 lt_cv_dlopen
="LoadLibrary"
9268 lt_cv_dlopen
="dlopen"
9273 # if libdl is installed we need to link against it
9274 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9277 echo $ECHO_N "(cached) $ECHO_C" >&6
9279 ac_check_lib_save_LIBS
=$LIBS
9281 cat >conftest.
$ac_ext <<_ACEOF
9284 cat confdefs.h
>>conftest.
$ac_ext
9285 cat >>conftest.
$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9303 rm -f conftest.
$ac_objext conftest
$ac_exeext
9304 if { (ac_try
="$ac_link"
9306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_link") 2>conftest.er1
9312 grep -v '^ *+' conftest.er1 >conftest.err
9314 cat conftest.err >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } && {
9317 test -z "$ac_c_werror_flag" ||
9318 test ! -s conftest.err
9319 } && test -s conftest$ac_exeext &&
9320 $as_test_x conftest$ac_exeext; then
9321 ac_cv_lib_dl_dlopen=yes
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.$ac_ext >&5
9326 ac_cv_lib_dl_dlopen=no
9329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9330 conftest$ac_exeext conftest.$ac_ext
9331 LIBS=$ac_check_lib_save_LIBS
9333 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9334 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9335 if test $ac_cv_lib_dl_dlopen = yes; then
9336 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9341 lt_cv_dlopen_self=yes
9348 { echo "$as_me:$LINENO: checking for shl_load" >&5
9349 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9350 if test "${ac_cv_func_shl_load+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9361 #define shl_load innocuous_shl_load
9363 /* System header to define __stub macros and hopefully few prototypes,
9364 which can conflict with char shl_load (); below.
9365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9366 <limits.h> exists even on freestanding compilers. */
9369 # include <limits.h>
9371 # include <assert.h>
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9383 /* The GNU C library defines this for functions which it implements
9384 to always fail with ENOSYS. Some functions are actually named
9385 something starting with __ and the normal name is an alias. */
9386 #if defined __stub_shl_load || defined __stub___shl_load
9398 rm -f conftest.$ac_objext conftest$ac_exeext
9399 if { (ac_try="$ac_link"
9401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9402 *) ac_try_echo
=$ac_try;;
9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9405 (eval "$ac_link") 2>conftest.er1
9407 grep -v '^ *+' conftest.er1
>conftest.err
9409 cat conftest.err
>&5
9410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411 (exit $ac_status); } && {
9412 test -z "$ac_c_werror_flag" ||
9413 test ! -s conftest.err
9414 } && test -s conftest
$ac_exeext &&
9415 $as_test_x conftest
$ac_exeext; then
9416 ac_cv_func_shl_load
=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.
$ac_ext >&5
9421 ac_cv_func_shl_load
=no
9424 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9425 conftest
$ac_exeext conftest.
$ac_ext
9427 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9428 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9429 if test $ac_cv_func_shl_load = yes; then
9430 lt_cv_dlopen
="shl_load"
9432 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9433 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9434 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9435 echo $ECHO_N "(cached) $ECHO_C" >&6
9437 ac_check_lib_save_LIBS
=$LIBS
9439 cat >conftest.
$ac_ext <<_ACEOF
9442 cat confdefs.h
>>conftest.
$ac_ext
9443 cat >>conftest.
$ac_ext <<_ACEOF
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9461 rm -f conftest.
$ac_objext conftest
$ac_exeext
9462 if { (ac_try
="$ac_link"
9464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9465 *) ac_try_echo=$ac_try;;
9467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9468 (eval "$ac_link") 2>conftest.er1
9470 grep -v '^ *+' conftest.er1 >conftest.err
9472 cat conftest.err >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } && {
9475 test -z "$ac_c_werror_flag" ||
9476 test ! -s conftest.err
9477 } && test -s conftest$ac_exeext &&
9478 $as_test_x conftest$ac_exeext; then
9479 ac_cv_lib_dld_shl_load=yes
9481 echo "$as_me: failed program was:" >&5
9482 sed 's/^/| /' conftest.$ac_ext >&5
9484 ac_cv_lib_dld_shl_load=no
9487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9488 conftest$ac_exeext conftest.$ac_ext
9489 LIBS=$ac_check_lib_save_LIBS
9491 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9492 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9493 if test $ac_cv_lib_dld_shl_load = yes; then
9494 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9496 { echo "$as_me:$LINENO: checking for dlopen" >&5
9497 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9498 if test "${ac_cv_func_dlopen+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 cat >conftest.$ac_ext <<_ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9509 #define dlopen innocuous_dlopen
9511 /* System header to define __stub macros and hopefully few prototypes,
9512 which can conflict with char dlopen (); below.
9513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9514 <limits.h> exists even on freestanding compilers. */
9517 # include <limits.h>
9519 # include <assert.h>
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9531 /* The GNU C library defines this for functions which it implements
9532 to always fail with ENOSYS. Some functions are actually named
9533 something starting with __ and the normal name is an alias. */
9534 #if defined __stub_dlopen || defined __stub___dlopen
9546 rm -f conftest.$ac_objext conftest$ac_exeext
9547 if { (ac_try="$ac_link"
9549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9550 *) ac_try_echo
=$ac_try;;
9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9553 (eval "$ac_link") 2>conftest.er1
9555 grep -v '^ *+' conftest.er1
>conftest.err
9557 cat conftest.err
>&5
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559 (exit $ac_status); } && {
9560 test -z "$ac_c_werror_flag" ||
9561 test ! -s conftest.err
9562 } && test -s conftest
$ac_exeext &&
9563 $as_test_x conftest
$ac_exeext; then
9564 ac_cv_func_dlopen
=yes
9566 echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.
$ac_ext >&5
9569 ac_cv_func_dlopen
=no
9572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9573 conftest
$ac_exeext conftest.
$ac_ext
9575 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9576 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9577 if test $ac_cv_func_dlopen = yes; then
9578 lt_cv_dlopen
="dlopen"
9580 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9581 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9582 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 ac_check_lib_save_LIBS
=$LIBS
9587 cat >conftest.
$ac_ext <<_ACEOF
9590 cat confdefs.h
>>conftest.
$ac_ext
9591 cat >>conftest.
$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9594 /* Override any GCC internal prototype to avoid an error.
9595 Use char because int might match the return type of a GCC
9596 builtin and then its argument prototype would still apply. */
9609 rm -f conftest.
$ac_objext conftest
$ac_exeext
9610 if { (ac_try
="$ac_link"
9612 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9613 *) ac_try_echo=$ac_try;;
9615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616 (eval "$ac_link") 2>conftest.er1
9618 grep -v '^ *+' conftest.er1 >conftest.err
9620 cat conftest.err >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); } && {
9623 test -z "$ac_c_werror_flag" ||
9624 test ! -s conftest.err
9625 } && test -s conftest$ac_exeext &&
9626 $as_test_x conftest$ac_exeext; then
9627 ac_cv_lib_dl_dlopen=yes
9629 echo "$as_me: failed program was:" >&5
9630 sed 's/^/| /' conftest.$ac_ext >&5
9632 ac_cv_lib_dl_dlopen=no
9635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9636 conftest$ac_exeext conftest.$ac_ext
9637 LIBS=$ac_check_lib_save_LIBS
9639 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9640 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9641 if test $ac_cv_lib_dl_dlopen = yes; then
9642 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9644 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9645 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9646 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 ac_check_lib_save_LIBS=$LIBS
9651 cat >conftest.$ac_ext <<_ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (ac_try="$ac_link"
9676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9677 *) ac_try_echo
=$ac_try;;
9679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9680 (eval "$ac_link") 2>conftest.er1
9682 grep -v '^ *+' conftest.er1
>conftest.err
9684 cat conftest.err
>&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 (exit $ac_status); } && {
9687 test -z "$ac_c_werror_flag" ||
9688 test ! -s conftest.err
9689 } && test -s conftest
$ac_exeext &&
9690 $as_test_x conftest
$ac_exeext; then
9691 ac_cv_lib_svld_dlopen
=yes
9693 echo "$as_me: failed program was:" >&5
9694 sed 's/^/| /' conftest.
$ac_ext >&5
9696 ac_cv_lib_svld_dlopen
=no
9699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_lib_save_LIBS
9703 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9704 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9705 if test $ac_cv_lib_svld_dlopen = yes; then
9706 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9708 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9709 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9710 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 ac_check_lib_save_LIBS
=$LIBS
9715 cat >conftest.
$ac_ext <<_ACEOF
9718 cat confdefs.h
>>conftest.
$ac_ext
9719 cat >>conftest.
$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9737 rm -f conftest.
$ac_objext conftest
$ac_exeext
9738 if { (ac_try
="$ac_link"
9740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9741 *) ac_try_echo=$ac_try;;
9743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9744 (eval "$ac_link") 2>conftest.er1
9746 grep -v '^ *+' conftest.er1 >conftest.err
9748 cat conftest.err >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } && {
9751 test -z "$ac_c_werror_flag" ||
9752 test ! -s conftest.err
9753 } && test -s conftest$ac_exeext &&
9754 $as_test_x conftest$ac_exeext; then
9755 ac_cv_lib_dld_dld_link=yes
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.$ac_ext >&5
9760 ac_cv_lib_dld_dld_link=no
9763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9764 conftest$ac_exeext conftest.$ac_ext
9765 LIBS=$ac_check_lib_save_LIBS
9767 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9768 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9769 if test $ac_cv_lib_dld_dld_link = yes; then
9770 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9791 if test "x$lt_cv_dlopen" != xno; then
9797 case $lt_cv_dlopen in
9799 save_CPPFLAGS="$CPPFLAGS"
9800 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9802 save_LDFLAGS="$LDFLAGS"
9803 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9806 LIBS="$lt_cv_dlopen_libs $LIBS"
9808 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9809 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9810 if test "${lt_cv_dlopen_self+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9813 if test "$cross_compiling" = yes; then :
9814 lt_cv_dlopen_self=cross
9816 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9817 lt_status=$lt_dlunknown
9818 cat > conftest.$ac_ext <<EOF
9819 #line 9819 "configure"
9820 #include "confdefs.h"
9829 # define LT_DLGLOBAL RTLD_GLOBAL
9832 # define LT_DLGLOBAL DL_GLOBAL
9834 # define LT_DLGLOBAL 0
9838 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9839 find out it does not work in some platform. */
9840 #ifndef LT_DLLAZY_OR_NOW
9842 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9845 # define LT_DLLAZY_OR_NOW DL_LAZY
9848 # define LT_DLLAZY_OR_NOW RTLD_NOW
9851 # define LT_DLLAZY_OR_NOW DL_NOW
9853 # define LT_DLLAZY_OR_NOW 0
9861 extern "C" void exit (int);
9864 void fnord() { int i=42;}
9867 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9868 int status = $lt_dlunknown;
9872 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9873 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9874 /* dlclose (self); */
9882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9883 (eval $ac_link) 2>&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9887 (./conftest; exit; ) >&5 2>/dev/null
9890 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9891 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9892 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9895 # compilation failed
9896 lt_cv_dlopen_self=no
9903 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9904 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9906 if test "x$lt_cv_dlopen_self" = xyes; then
9907 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9908 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9909 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9910 if test "${lt_cv_dlopen_self_static+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 if test "$cross_compiling" = yes; then :
9914 lt_cv_dlopen_self_static=cross
9916 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9917 lt_status=$lt_dlunknown
9918 cat > conftest.$ac_ext <<EOF
9919 #line 9919 "configure"
9920 #include "confdefs.h"
9929 # define LT_DLGLOBAL RTLD_GLOBAL
9932 # define LT_DLGLOBAL DL_GLOBAL
9934 # define LT_DLGLOBAL 0
9938 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9939 find out it does not work in some platform. */
9940 #ifndef LT_DLLAZY_OR_NOW
9942 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9945 # define LT_DLLAZY_OR_NOW DL_LAZY
9948 # define LT_DLLAZY_OR_NOW RTLD_NOW
9951 # define LT_DLLAZY_OR_NOW DL_NOW
9953 # define LT_DLLAZY_OR_NOW 0
9961 extern "C" void exit (int);
9964 void fnord() { int i=42;}
9967 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9968 int status = $lt_dlunknown;
9972 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9973 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9974 /* dlclose (self); */
9982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9983 (eval $ac_link) 2>&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9987 (./conftest; exit; ) >&5 2>/dev/null
9990 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9991 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9992 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9995 # compilation failed
9996 lt_cv_dlopen_self_static=no
10003 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10004 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10007 CPPFLAGS="$save_CPPFLAGS"
10008 LDFLAGS="$save_LDFLAGS"
10013 case $lt_cv_dlopen_self in
10014 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10015 *) enable_dlopen_self=unknown ;;
10018 case $lt_cv_dlopen_self_static in
10019 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10020 *) enable_dlopen_self_static=unknown ;;
10025 # Report which library types will actually be built
10026 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10027 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10028 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10029 echo "${ECHO_T}$can_build_shared" >&6; }
10031 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10032 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10033 test "$can_build_shared" = "no" && enable_shared=no
10035 # On AIX, shared libraries and static libraries use the same namespace, and
10036 # are all built from PIC.
10039 test "$enable_shared" = yes && enable_static=no
10040 if test -n "$RANLIB"; then
10041 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10042 postinstall_cmds='$RANLIB $lib'
10047 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10048 test "$enable_shared" = yes && enable_static=no
10052 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10053 echo "${ECHO_T}$enable_shared" >&6; }
10055 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10056 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10057 # Make sure either enable_shared or enable_static is yes.
10058 test "$enable_shared" = yes || enable_static=yes
10059 { echo "$as_me:$LINENO: result: $enable_static" >&5
10060 echo "${ECHO_T}$enable_static" >&6; }
10062 # The else clause should only fire when bootstrapping the
10063 # libtool distribution, otherwise you forgot to ship ltmain.sh
10064 # with your package, and you will get complaints that there are
10065 # no rules to generate ltmain.sh.
10066 if test -f "$ltmain"; then
10067 # See if we are running on zsh, and set the options which allow our commands through
10068 # without removal of \ escapes.
10069 if test -n "${ZSH_VERSION+set}" ; then
10070 setopt NO_GLOB_SUBST
10072 # Now quote all the things that may contain metacharacters while being
10073 # careful not to overquote the AC_SUBSTed values. We take copies of the
10074 # variables and quote the copies for generation of the libtool script.
10075 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10077 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10078 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10079 deplibs_check_method reload_flag reload_cmds need_locks \
10080 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10081 lt_cv_sys_global_symbol_to_c_name_address \
10082 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10083 old_postinstall_cmds old_postuninstall_cmds \
10087 lt_prog_compiler_wl \
10088 lt_prog_compiler_pic \
10089 lt_prog_compiler_static \
10090 lt_prog_compiler_no_builtin_flag \
10091 export_dynamic_flag_spec \
10092 thread_safe_flag_spec \
10093 whole_archive_flag_spec \
10094 enable_shared_with_static_runtimes \
10096 old_archive_from_new_cmds \
10101 compiler_lib_search_path \
10103 archive_expsym_cmds \
10105 postuninstall_cmds \
10106 old_archive_from_expsyms_cmds \
10107 allow_undefined_flag \
10108 no_undefined_flag \
10109 export_symbols_cmds \
10110 hardcode_libdir_flag_spec \
10111 hardcode_libdir_flag_spec_ld \
10112 hardcode_libdir_separator \
10113 hardcode_automatic \
10115 module_expsym_cmds \
10116 lt_cv_prog_compiler_c_o \
10119 include_expsyms; do
10122 old_archive_cmds | \
10123 old_archive_from_new_cmds | \
10125 archive_expsym_cmds | \
10127 module_expsym_cmds | \
10128 old_archive_from_expsyms_cmds | \
10129 export_symbols_cmds | \
10130 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10131 postinstall_cmds | postuninstall_cmds | \
10132 old_postinstall_cmds | old_postuninstall_cmds | \
10133 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10134 # Double-quote double-evaled strings.
10135 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10138 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10144 *'\$0 --fallback-echo"')
10145 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10149 cfgfile="${ofile}T"
10150 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10152 { echo "$as_me:$LINENO: creating $ofile" >&5
10153 echo "$as_me: creating $ofile" >&6;}
10155 cat <<__EOF__ >> "$cfgfile"
10158 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10159 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10160 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10162 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10163 # Free Software Foundation, Inc.
10165 # This file is part of GNU Libtool:
10166 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10168 # This program is free software; you can redistribute it and/or modify
10169 # it under the terms of the GNU General Public License as published by
10170 # the Free Software Foundation; either version 2 of the License, or
10171 # (at your option) any later version.
10173 # This program is distributed in the hope that it will be useful, but
10174 # WITHOUT ANY WARRANTY; without even the implied warranty of
10175 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10176 # General Public License for more details.
10178 # You should have received a copy of the GNU General Public License
10179 # along with this program; if not, write to the Free Software
10180 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10182 # As a special exception to the GNU General Public License, if you
10183 # distribute this file as part of a program that contains a
10184 # configuration script generated by Autoconf, you may include it under
10185 # the same distribution terms that you use for the rest of that program.
10187 # A sed program that does not truncate output.
10190 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10191 Xsed="$SED -e 1s/^X//"
10193 # The HP-UX ksh and POSIX shell print the target directory to stdout
10194 # if CDPATH is set.
10195 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10197 # The names of the tagged configurations supported by this script.
10200 # ### BEGIN LIBTOOL CONFIG
10202 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10204 # Shell to use when invoking shell scripts.
10207 # Whether or not to build shared libraries.
10208 build_libtool_libs=$enable_shared
10210 # Whether or not to build static libraries.
10211 build_old_libs=$enable_static
10213 # Whether or not to add -lc for building shared libraries.
10214 build_libtool_need_lc=$archive_cmds_need_lc
10216 # Whether or not to disallow shared libs when runtime libs are static
10217 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10219 # Whether or not to optimize for fast installation.
10220 fast_install=$enable_fast_install
10223 host_alias=$host_alias
10227 # The build system.
10228 build_alias=$build_alias
10232 # An echo program that does not interpret backslashes.
10237 AR_FLAGS=$lt_AR_FLAGS
10242 # LTCC compiler flags.
10243 LTCFLAGS=$lt_LTCFLAGS
10245 # A language-specific compiler.
10248 # Is the compiler the GNU C compiler?
10254 # The linker used to build libraries.
10257 # Whether we need hard or soft links.
10260 # A BSD-compatible nm program.
10263 # A symbol stripping program
10266 # Used to examine libraries when file_magic_cmd begins "file"
10267 MAGIC_CMD=$MAGIC_CMD
10269 # Used on cygwin: DLL creation program.
10272 # Used on cygwin: object dumper.
10275 # Used on cygwin: assembler.
10278 # The name of the directory that contains temporary libtool files.
10281 # How to create reloadable object files.
10282 reload_flag=$lt_reload_flag
10283 reload_cmds=$lt_reload_cmds
10285 # How to pass a linker flag through the compiler.
10286 wl=$lt_lt_prog_compiler_wl
10288 # Object file suffix (normally "o").
10289 objext="$ac_objext"
10291 # Old archive suffix (normally "a").
10294 # Shared library suffix (normally ".so").
10295 shrext_cmds='$shrext_cmds'
10297 # Executable file suffix (normally "").
10300 # Additional compiler flags for building library objects.
10301 pic_flag=$lt_lt_prog_compiler_pic
10304 # What is the maximum length of a command?
10305 max_cmd_len=$lt_cv_sys_max_cmd_len
10307 # Does compiler simultaneously support -c and -o options?
10308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10310 # Must we lock files when doing compilation?
10311 need_locks=$lt_need_locks
10313 # Do we need the lib prefix for modules?
10314 need_lib_prefix=$need_lib_prefix
10316 # Do we need a version for libraries?
10317 need_version=$need_version
10319 # Whether dlopen is supported.
10320 dlopen_support=$enable_dlopen
10322 # Whether dlopen of programs is supported.
10323 dlopen_self=$enable_dlopen_self
10325 # Whether dlopen of statically linked programs is supported.
10326 dlopen_self_static=$enable_dlopen_self_static
10328 # Compiler flag to prevent dynamic linking.
10329 link_static_flag=$lt_lt_prog_compiler_static
10331 # Compiler flag to turn off builtin functions.
10332 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10334 # Compiler flag to allow reflexive dlopens.
10335 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10337 # Compiler flag to generate shared objects directly from archives.
10338 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10340 # Compiler flag to generate thread-safe objects.
10341 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10343 # Library versioning type.
10344 version_type=$version_type
10346 # Format of library name prefix.
10347 libname_spec=$lt_libname_spec
10349 # List of archive names. First name is the real one, the rest are links.
10350 # The last name is the one that the linker finds with -lNAME.
10351 library_names_spec=$lt_library_names_spec
10353 # The coded name of the library, if different from the real name.
10354 soname_spec=$lt_soname_spec
10356 # Commands used to build and install an old-style archive.
10358 old_archive_cmds=$lt_old_archive_cmds
10359 old_postinstall_cmds=$lt_old_postinstall_cmds
10360 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10362 # Create an old-style archive from a shared archive.
10363 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10365 # Create a temporary old-style archive to link instead of a shared archive.
10366 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10368 # Commands used to build and install a shared archive.
10369 archive_cmds=$lt_archive_cmds
10370 archive_expsym_cmds=$lt_archive_expsym_cmds
10371 postinstall_cmds=$lt_postinstall_cmds
10372 postuninstall_cmds=$lt_postuninstall_cmds
10374 # Commands used to build a loadable module (assumed same as above if empty)
10375 module_cmds=$lt_module_cmds
10376 module_expsym_cmds=$lt_module_expsym_cmds
10378 # Commands to strip libraries.
10379 old_striplib=$lt_old_striplib
10380 striplib=$lt_striplib
10382 # Dependencies to place before the objects being linked to create a
10384 predep_objects=$lt_predep_objects
10386 # Dependencies to place after the objects being linked to create a
10388 postdep_objects=$lt_postdep_objects
10390 # Dependencies to place before the objects being linked to create a
10392 predeps=$lt_predeps
10394 # Dependencies to place after the objects being linked to create a
10396 postdeps=$lt_postdeps
10398 # The library search path used internally by the compiler when linking
10399 # a shared library.
10400 compiler_lib_search_path=$lt_compiler_lib_search_path
10402 # Method to check whether dependent libraries are shared objects.
10403 deplibs_check_method=$lt_deplibs_check_method
10405 # Command to use when deplibs_check_method == file_magic.
10406 file_magic_cmd=$lt_file_magic_cmd
10408 # Flag that allows shared libraries with undefined symbols to be built.
10409 allow_undefined_flag=$lt_allow_undefined_flag
10411 # Flag that forces no undefined symbols.
10412 no_undefined_flag=$lt_no_undefined_flag
10414 # Commands used to finish a libtool library installation in a directory.
10415 finish_cmds=$lt_finish_cmds
10417 # Same as above, but a single script fragment to be evaled but not shown.
10418 finish_eval=$lt_finish_eval
10420 # Take the output of nm and produce a listing of raw symbols and C names.
10421 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10423 # Transform the output of nm in a proper C declaration
10424 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10426 # Transform the output of nm in a C name address pair
10427 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10429 # This is the shared library runtime path variable.
10430 runpath_var=$runpath_var
10432 # This is the shared library path variable.
10433 shlibpath_var=$shlibpath_var
10435 # Is shlibpath searched before the hard-coded library search path?
10436 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10438 # How to hardcode a shared library path into an executable.
10439 hardcode_action=$hardcode_action
10441 # Whether we should hardcode library paths into libraries.
10442 hardcode_into_libs=$hardcode_into_libs
10444 # Flag to hardcode \$libdir into a binary during linking.
10445 # This must work even if \$libdir does not exist.
10446 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10448 # If ld is used when linking, flag to hardcode \$libdir into
10449 # a binary during linking. This must work even if \$libdir does
10451 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10453 # Whether we need a single -rpath flag with a separated argument.
10454 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10456 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10457 # resulting binary.
10458 hardcode_direct=$hardcode_direct
10460 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10461 # resulting binary.
10462 hardcode_minus_L=$hardcode_minus_L
10464 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10465 # the resulting binary.
10466 hardcode_shlibpath_var=$hardcode_shlibpath_var
10468 # Set to yes if building a shared library automatically hardcodes DIR into the library
10469 # and all subsequent libraries and executables linked against it.
10470 hardcode_automatic=$hardcode_automatic
10472 # Variables whose values should be saved in libtool wrapper scripts and
10473 # restored at relink time.
10474 variables_saved_for_relink="$variables_saved_for_relink"
10476 # Whether libtool must link a program against all its dependency libraries.
10477 link_all_deplibs=$link_all_deplibs
10479 # Compile-time system search path for libraries
10480 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10482 # Run-time system search path for libraries
10483 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10485 # Fix the shell variable \$srcfile for the compiler.
10486 fix_srcfile_path=$lt_fix_srcfile_path
10488 # Set to yes if exported symbols are required.
10489 always_export_symbols=$always_export_symbols
10491 # The commands to list exported symbols.
10492 export_symbols_cmds=$lt_export_symbols_cmds
10494 # The commands to extract the exported symbol list from a shared archive.
10495 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10497 # Symbols that should not be listed in the preloaded symbols.
10498 exclude_expsyms=$lt_exclude_expsyms
10500 # Symbols that must always be exported.
10501 include_expsyms=$lt_include_expsyms
10503 # ### END LIBTOOL CONFIG
10510 cat <<\EOF >> "$cfgfile"
10512 # AIX sometimes has problems with the GCC collect2 program. For some
10513 # reason, if we set the COLLECT_NAMES environment variable, the problems
10514 # vanish in a puff of smoke.
10515 if test "X${COLLECT_NAMES+set}" != Xset; then
10517 export COLLECT_NAMES
10523 # We use sed instead of cat because bash on DJGPP gets confused if
10524 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10525 # text mode, it properly converts lines to CR/LF. This bash problem
10526 # is reportedly fixed, but why not run on old versions too?
10527 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10529 mv -f "$cfgfile" "$ofile" || \
10530 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10534 # If there is no Makefile yet, we rely on a make rule to execute
10535 # `config.status
--recheck' to rerun these tests and create the
10536 # libtool script then.
10537 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10538 if test -f "$ltmain_in"; then
10539 test -f Makefile && make "$ltmain"
10545 ac_cpp='$CPP $CPPFLAGS'
10546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10547 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10553 # Check whether --with-tags was given.
10554 if test "${with_tags+set}" = set; then
10555 withval=$with_tags; tagnames="$withval"
10559 if test -f "$ltmain" && test -n "$tagnames"; then
10560 if test ! -f "${ofile}"; then
10561 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10562 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10565 if test -z "$LTCC"; then
10566 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10567 if test -z "$LTCC"; then
10568 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10569 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10571 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10572 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10575 if test -z "$LTCFLAGS"; then
10576 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10579 # Extract list of available tagged configurations in $ofile.
10580 # Note that this assumes the entire list is on one line.
10581 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10583 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10584 for tagname in $tagnames; do
10586 # Check whether tagname contains only valid characters
10587 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10589 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10590 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10591 { (exit 1); exit 1; }; }
10595 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10597 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10598 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10599 { (exit 1); exit 1; }; }
10602 # Update the list of available tags.
10603 if test -n "$tagname"; then
10604 echo appending configuration tag \"$tagname\" to $ofile
10608 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10609 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10610 (test "X$CXX" != "Xg++"))) ; then
10612 ac_cpp='$CXXCPP $CPPFLAGS'
10613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10620 archive_cmds_need_lc_CXX=no
10621 allow_undefined_flag_CXX=
10622 always_export_symbols_CXX=no
10623 archive_expsym_cmds_CXX=
10624 export_dynamic_flag_spec_CXX=
10625 hardcode_direct_CXX=no
10626 hardcode_libdir_flag_spec_CXX=
10627 hardcode_libdir_flag_spec_ld_CXX=
10628 hardcode_libdir_separator_CXX=
10629 hardcode_minus_L_CXX=no
10630 hardcode_shlibpath_var_CXX=unsupported
10631 hardcode_automatic_CXX=no
10633 module_expsym_cmds_CXX=
10634 link_all_deplibs_CXX=unknown
10635 old_archive_cmds_CXX=$old_archive_cmds
10636 no_undefined_flag_CXX=
10637 whole_archive_flag_spec_CXX=
10638 enable_shared_with_static_runtimes_CXX=no
10640 # Dependencies to place before and after the object being linked:
10641 predep_objects_CXX=
10642 postdep_objects_CXX=
10645 compiler_lib_search_path_CXX=
10647 # Source file extension for C++ test sources.
10650 # Object file extension for compiled C++ test sources.
10654 # Code to be used in simple compile tests
10655 lt_simple_compile_test_code="int some_variable = 0;"
10657 # Code to be used in simple link tests
10658 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10660 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10662 # If no C compiler was specified, use CC.
10665 # If no C compiler flags were specified, use CFLAGS.
10666 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10668 # Allow CC to be a program name with arguments.
10672 # save warnings/boilerplate of simple test code
10673 ac_outfile=conftest.$ac_objext
10674 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10675 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10676 _lt_compiler_boilerplate=`cat conftest.err
`
10679 ac_outfile=conftest.$ac_objext
10680 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10681 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10682 _lt_linker_boilerplate=`cat conftest.err
`
10686 # Allow CC to be a program name with arguments.
10691 lt_save_with_gnu_ld=$with_gnu_ld
10692 lt_save_path_LD=$lt_cv_path_LD
10693 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10694 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10696 $as_unset lt_cv_prog_gnu_ld
10698 if test -n "${lt_cv_path_LDCXX+set}"; then
10699 lt_cv_path_LD=$lt_cv_path_LDCXX
10701 $as_unset lt_cv_path_LD
10703 test -z "${LDCXX+set}" || LD=$LDCXX
10707 for cc_temp in $compiler""; do
10709 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10710 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10715 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10718 # We don't want -fno-exception wen compiling C++ code, so set the
10719 # no_builtin_flag separately
10720 if test "$GXX" = yes; then
10721 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10723 lt_prog_compiler_no_builtin_flag_CXX=
10726 if test "$GXX" = yes; then
10727 # Set up default GNU C++ configuration
10730 # Check whether --with-gnu-ld was given.
10731 if test "${with_gnu_ld+set}" = set; then
10732 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10738 if test "$GCC" = yes; then
10739 # Check if gcc -print-prog-name=ld gives a path.
10740 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10741 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10744 # gcc leaves a trailing carriage return which upsets mingw
10745 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
10747 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
10750 # Accept absolute paths.
10752 re_direlt='/[^/][^/]*/\.\./'
10753 # Canonicalize the pathname of ld
10754 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
10755 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10756 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
10758 test -z "$LD" && LD="$ac_prog"
10761 # If it fails, then pretend we aren't using GCC.
10765 # If it is relative, then search for the first ld in PATH.
10766 with_gnu_ld=unknown
10769 elif test "$with_gnu_ld" = yes; then
10770 { echo "$as_me:$LINENO: checking for GNU ld" >&5
10771 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10773 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10774 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10776 if test "${lt_cv_path_LD+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 if test -z "$LD"; then
10780 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10781 for ac_dir in $PATH; do
10783 test -z "$ac_dir" && ac_dir=.
10784 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10785 lt_cv_path_LD="$ac_dir/$ac_prog"
10786 # Check to see if the program is GNU ld. I'd rather use --version,
10787 # but apparently some variants of GNU ld only accept -v.
10788 # Break only if it was the GNU/non-GNU ld that we prefer.
10789 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
10790 *GNU* | *'with BFD'*)
10791 test "$with_gnu_ld" != no && break
10794 test "$with_gnu_ld" != yes && break
10801 lt_cv_path_LD="$LD" # Let the user override the test with a path.
10805 LD="$lt_cv_path_LD"
10806 if test -n "$LD"; then
10807 { echo "$as_me:$LINENO: result: $LD" >&5
10808 echo "${ECHO_T}$LD" >&6; }
10810 { echo "$as_me:$LINENO: result: no" >&5
10811 echo "${ECHO_T}no" >&6; }
10813 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10814 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10815 { (exit 1); exit 1; }; }
10816 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10817 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10818 if test "${lt_cv_prog_gnu_ld+set}" = set; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10821 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10822 case `$LD -v 2>&1 </dev
/null
` in
10823 *GNU* | *'with BFD'*)
10824 lt_cv_prog_gnu_ld=yes
10827 lt_cv_prog_gnu_ld=no
10831 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10832 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10833 with_gnu_ld=$lt_cv_prog_gnu_ld
10837 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10838 # archiving commands below assume that GNU ld is being used.
10839 if test "$with_gnu_ld" = yes; then
10840 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10841 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'
10843 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
10844 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10846 # If archive_cmds runs LD, not CC, wlarc should be empty
10847 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
10848 # investigate it a little bit more. (MM)
10851 # ancient GNU ld didn't support --whole-archive et. al.
10852 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
10853 grep 'no-whole-archive' > /dev/null; then
10854 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10856 whole_archive_flag_spec_CXX=
10862 # A generic and very simple default shared library creation
10863 # command for GNU C++ for the case where it uses the native
10864 # linker, instead of GNU ld. If possible, this setting should
10865 # overridden to take advantage of the native linker features on
10866 # the platform it is being used on.
10867 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10870 # Commands to make compiler produce verbose output that lists
10871 # what "hidden" libraries, object files and flags are used when
10872 # linking a shared library.
10873 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10881 # PORTME: fill in a description of your system's C++ link characteristics
10882 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10887 # FIXME: insert proper C++ library support
10891 if test "$host_cpu" = ia64; then
10892 # On IA64, the linker does run time linking by default, so we don't
10893 # have to do anything special.
10894 aix_use_runtimelinking=no
10895 exp_sym_flag='-Bexport'
10898 aix_use_runtimelinking=no
10900 # Test if we are trying to use run time linking or normal
10901 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10902 # need to do runtime linking.
10903 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10904 for ld_flag in $LDFLAGS; do
10907 aix_use_runtimelinking=yes
10915 exp_sym_flag='-bexport'
10916 no_entry_flag='-bnoentry'
10919 # When large executables or shared objects are built, AIX ld can
10920 # have problems creating the table of contents. If linking a library
10921 # or program results in "error TOC overflow" add -mminimal-toc to
10922 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10923 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10925 archive_cmds_CXX=''
10926 hardcode_direct_CXX=yes
10927 hardcode_libdir_separator_CXX=':'
10928 link_all_deplibs_CXX=yes
10930 if test "$GXX" = yes; then
10931 case $host_os in aix4.[012]|aix4.[012].*)
10932 # We only want to do this on AIX 4.2 and lower, the check
10933 # below for broken collect2 doesn't work under 4.3+
10934 collect2name=`${CC} -print-prog-name=collect2
`
10935 if test -f "$collect2name" && \
10936 strings "$collect2name" | grep resolve_lib_name >/dev/null
10938 # We have reworked collect2
10941 # We have old collect2
10942 hardcode_direct_CXX=unsupported
10943 # It fails to find uninstalled libraries when the uninstalled
10944 # path is not listed in the libpath. Setting hardcode_minus_L
10945 # to unsupported forces relinking
10946 hardcode_minus_L_CXX=yes
10947 hardcode_libdir_flag_spec_CXX='-L$libdir'
10948 hardcode_libdir_separator_CXX=
10952 shared_flag='-shared'
10953 if test "$aix_use_runtimelinking" = yes; then
10954 shared_flag="$shared_flag "'${wl}-G'
10958 if test "$host_cpu" = ia64; then
10959 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10960 # chokes on -Wl,-G. The following line is correct:
10963 if test "$aix_use_runtimelinking" = yes; then
10964 shared_flag='${wl}-G'
10966 shared_flag='${wl}-bM:SRE'
10971 # It seems that -bexpall does not export symbols beginning with
10972 # underscore (_), so it is better to generate a list of symbols to export.
10973 always_export_symbols_CXX=yes
10974 if test "$aix_use_runtimelinking" = yes; then
10975 # Warning - without using the other runtime loading flags (-brtl),
10976 # -berok will link without error, but may produce a broken library.
10977 allow_undefined_flag_CXX='-berok'
10978 # Determine the default libpath from the value encoded in an empty executable.
10979 cat >conftest.$ac_ext <<_ACEOF
10982 cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10994 rm -f conftest.$ac_objext conftest$ac_exeext
10995 if { (ac_try="$ac_link"
10996 case "(($ac_try" in
10997 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10998 *) ac_try_echo
=$ac_try;;
11000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11001 (eval "$ac_link") 2>conftest.er1
11003 grep -v '^ *+' conftest.er1
>conftest.err
11005 cat conftest.err
>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); } && {
11008 test -z "$ac_cxx_werror_flag" ||
11009 test ! -s conftest.err
11010 } && test -s conftest
$ac_exeext &&
11011 $as_test_x conftest
$ac_exeext; then
11013 lt_aix_libpath_sed
='
11014 /Import File Strings/,/^$/ {
11020 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11021 # Check for a 64-bit object if we didn't find anything.
11022 if test -z "$aix_libpath"; then
11023 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11026 echo "$as_me: failed program was:" >&5
11027 sed 's/^/| /' conftest.
$ac_ext >&5
11032 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11033 conftest
$ac_exeext conftest.
$ac_ext
11034 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11036 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11038 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"
11040 if test "$host_cpu" = ia64
; then
11041 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11042 allow_undefined_flag_CXX
="-z nodefs"
11043 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"
11045 # Determine the default libpath from the value encoded in an empty executable.
11046 cat >conftest.
$ac_ext <<_ACEOF
11049 cat confdefs.h
>>conftest.
$ac_ext
11050 cat >>conftest.
$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11061 rm -f conftest.
$ac_objext conftest
$ac_exeext
11062 if { (ac_try
="$ac_link"
11063 case "(($ac_try" in
11064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11065 *) ac_try_echo=$ac_try;;
11067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11068 (eval "$ac_link") 2>conftest.er1
11070 grep -v '^ *+' conftest.er1 >conftest.err
11072 cat conftest.err >&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } && {
11075 test -z "$ac_cxx_werror_flag" ||
11076 test ! -s conftest.err
11077 } && test -s conftest$ac_exeext &&
11078 $as_test_x conftest$ac_exeext; then
11080 lt_aix_libpath_sed='
11081 /Import File Strings/,/^$/ {
11087 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11088 # Check for a 64-bit object if we didn't find anything.
11089 if test -z "$aix_libpath"; then
11090 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11093 echo "$as_me: failed program was:" >&5
11094 sed 's/^/| /' conftest.$ac_ext >&5
11099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11100 conftest$ac_exeext conftest.$ac_ext
11101 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11103 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11104 # Warning - without using the other run time loading flags,
11105 # -berok will link without error, but may produce a broken library.
11106 no_undefined_flag_CXX=' ${wl}-bernotok'
11107 allow_undefined_flag_CXX=' ${wl}-berok'
11108 # Exported symbols can be pulled into shared objects from archives
11109 whole_archive_flag_spec_CXX='$convenience'
11110 archive_cmds_need_lc_CXX=yes
11111 # This is similar to how AIX traditionally builds its shared libraries.
11112 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'
11118 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11119 allow_undefined_flag_CXX=unsupported
11120 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11121 # support --undefined. This deserves some investigation. FIXME
11122 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11129 case $cc_basename in
11131 # FIXME: insert proper C++ library support
11137 cygwin* | mingw* | pw32*)
11138 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11139 # as there is no search path for DLLs.
11140 hardcode_libdir_flag_spec_CXX='-L$libdir'
11141 allow_undefined_flag_CXX=unsupported
11142 always_export_symbols_CXX=no
11143 enable_shared_with_static_runtimes_CXX=yes
11145 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11146 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'
11147 # If the export-symbols file already is a .def file (1st line
11148 # is EXPORTS), use it as is; otherwise, prepend...
11149 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11150 cp $export_symbols $output_objdir/$soname.def;
11152 echo EXPORTS > $output_objdir/$soname.def;
11153 cat $export_symbols >> $output_objdir/$soname.def;
11155 $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'
11160 darwin* | rhapsody*)
11162 rhapsody* | darwin1.[012])
11163 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11166 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11167 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11169 case ${MACOSX_DEPLOYMENT_TARGET} in
11171 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11174 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11180 archive_cmds_need_lc_CXX=no
11181 hardcode_direct_CXX=no
11182 hardcode_automatic_CXX=yes
11183 hardcode_shlibpath_var_CXX=unsupported
11184 whole_archive_flag_spec_CXX=''
11185 link_all_deplibs_CXX=yes
11187 if test "$GXX" = yes ; then
11188 lt_int_apple_cc_single_mod=no
11189 output_verbose_link_cmd='echo'
11190 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11191 lt_int_apple_cc_single_mod=yes
11193 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11194 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11196 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'
11198 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11199 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11200 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11201 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11203 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11205 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}'
11207 case $cc_basename in
11209 output_verbose_link_cmd='echo'
11210 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'
11211 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11212 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11213 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}'
11214 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}'
11224 case $cc_basename in
11226 # FIXME: insert proper C++ library support
11230 # Green Hills C++ Compiler
11231 # FIXME: insert proper C++ library support
11235 # FIXME: insert proper C++ library support
11241 # C++ shared libraries reported to be fairly broken before switch to ELF
11245 archive_cmds_need_lc_CXX=no
11247 freebsd* | dragonfly*)
11248 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11255 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11256 hardcode_libdir_separator_CXX=:
11257 export_dynamic_flag_spec_CXX='${wl}-E'
11258 hardcode_direct_CXX=yes
11259 hardcode_minus_L_CXX=yes # Not in the search PATH,
11260 # but as the default
11261 # location of the library.
11263 case $cc_basename in
11265 # FIXME: insert proper C++ library support
11269 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'
11270 # Commands to make compiler produce verbose output that lists
11271 # what "hidden" libraries, object files and flags are used when
11272 # linking a shared library.
11274 # There doesn't appear to be a way to prevent this compiler from
11275 # explicitly linking system object files so we need to strip them
11276 # from the output so that they don't get included in the library
11278 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'
11281 if test "$GXX" = yes; then
11282 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'
11284 # FIXME: insert proper C++ library support
11291 if test $with_gnu_ld = no; then
11292 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11293 hardcode_libdir_separator_CXX=:
11298 export_dynamic_flag_spec_CXX='${wl}-E'
11304 hardcode_direct_CXX=no
11305 hardcode_shlibpath_var_CXX=no
11308 hardcode_direct_CXX=yes
11309 hardcode_minus_L_CXX=yes # Not in the search PATH,
11310 # but as the default
11311 # location of the library.
11315 case $cc_basename in
11317 # FIXME: insert proper C++ library support
11323 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11326 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11329 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11332 # Commands to make compiler produce verbose output that lists
11333 # what "hidden" libraries, object files and flags are used when
11334 # linking a shared library.
11336 # There doesn't appear to be a way to prevent this compiler from
11337 # explicitly linking system object files so we need to strip them
11338 # from the output so that they don't get included in the library
11340 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'
11343 if test "$GXX" = yes; then
11344 if test $with_gnu_ld = no; then
11347 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11350 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11353 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'
11358 # FIXME: insert proper C++ library support
11365 hardcode_direct_CXX=no
11366 hardcode_shlibpath_var_CXX=no
11367 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11368 export_dynamic_flag_spec_CXX='${wl}-E'
11369 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11370 # Instead, shared libraries are loaded at an image base (0x10000000 by
11371 # default) and relocated if they conflict, which is a slow very memory
11372 # consuming and fragmenting process. To avoid this, we pick a random,
11373 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11374 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11375 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'
11376 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'
11379 case $cc_basename in
11382 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'
11384 # Archives containing C++ object files must be created using
11385 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11386 # necessary to make sure instantiated templates are included
11388 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11391 if test "$GXX" = yes; then
11392 if test "$with_gnu_ld" = no; then
11393 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'
11395 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'
11398 link_all_deplibs_CXX=yes
11401 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11402 hardcode_libdir_separator_CXX=:
11404 linux* | k*bsd*-gnu)
11405 case $cc_basename in
11407 # Kuck and Associates, Inc. (KAI) C++ Compiler
11409 # KCC will only create a shared library if the output file
11410 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11411 # to its proper name (with version) after linking.
11412 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'
11413 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'
11414 # Commands to make compiler produce verbose output that lists
11415 # what "hidden" libraries, object files and flags are used when
11416 # linking a shared library.
11418 # There doesn't appear to be a way to prevent this compiler from
11419 # explicitly linking system object files so we need to strip them
11420 # from the output so that they don't get included in the library
11422 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'
11424 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11425 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11427 # Archives containing C++ object files must be created using
11428 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11429 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11434 # version 8.0 and above of icpc choke on multiply defined symbols
11435 # if we add $predep_objects and $postdep_objects, however 7.1 and
11436 # earlier do not add the objects themselves.
11437 case `$CC -V 2>&1` in
11439 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11440 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'
11442 *) # Version 8.0 or newer
11445 ia64
*) tmp_idyn
=' -i_dynamic';;
11447 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11448 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'
11451 archive_cmds_need_lc_CXX
=no
11452 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11453 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11454 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11457 # Portland Group C++ compiler
11458 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11459 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'
11461 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11462 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11463 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'
11467 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11468 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'
11470 runpath_var
=LD_RUN_PATH
11471 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11472 hardcode_libdir_separator_CXX
=:
11474 # Commands to make compiler produce verbose output that lists
11475 # what "hidden" libraries, object files and flags are used when
11476 # linking a shared library.
11478 # There doesn't appear to be a way to prevent this compiler from
11479 # explicitly linking system object files so we need to strip them
11480 # from the output so that they don't get included in the library
11482 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'
11485 case `$CC -V 2>&1 | sed 5q` in
11488 no_undefined_flag_CXX
=' -zdefs'
11489 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11490 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'
11491 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11492 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'
11494 # Not sure whether something based on
11495 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11497 output_verbose_link_cmd
='echo'
11499 # Archives containing C++ object files must be created using
11500 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11501 # necessary to make sure instantiated templates are included
11503 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11510 # FIXME: insert proper C++ library support
11514 # FIXME: insert proper C++ library support
11518 case $cc_basename in
11520 # FIXME: insert proper C++ library support
11524 # FIXME: insert proper C++ library support
11529 netbsd
* | netbsdelf
*-gnu)
11530 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11531 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11533 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11534 hardcode_direct_CXX
=yes
11535 hardcode_shlibpath_var_CXX
=no
11537 # Workaround some broken pre-1.5 toolchains
11538 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11541 # C++ shared libraries are fairly broken
11545 if test -f /usr
/libexec
/ld.so
; then
11546 hardcode_direct_CXX
=yes
11547 hardcode_shlibpath_var_CXX
=no
11548 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11549 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11550 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11551 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11552 export_dynamic_flag_spec_CXX
='${wl}-E'
11553 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11555 output_verbose_link_cmd
='echo'
11561 case $cc_basename in
11563 # Kuck and Associates, Inc. (KAI) C++ Compiler
11565 # KCC will only create a shared library if the output file
11566 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11567 # to its proper name (with version) after linking.
11568 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'
11570 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11571 hardcode_libdir_separator_CXX
=:
11573 # Archives containing C++ object files must be created using
11574 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11575 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11579 # Rational C++ 2.4.1
11580 # FIXME: insert proper C++ library support
11584 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11585 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'
11587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11588 hardcode_libdir_separator_CXX
=:
11590 # Commands to make compiler produce verbose output that lists
11591 # what "hidden" libraries, object files and flags are used when
11592 # linking a shared library.
11594 # There doesn't appear to be a way to prevent this compiler from
11595 # explicitly linking system object files so we need to strip them
11596 # from the output so that they don't get included in the library
11598 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'
11601 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11602 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11603 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'
11605 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11606 hardcode_libdir_separator_CXX
=:
11608 # Commands to make compiler produce verbose output that lists
11609 # what "hidden" libraries, object files and flags are used when
11610 # linking a shared library.
11611 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11614 # FIXME: insert proper C++ library support
11621 case $cc_basename in
11623 # Kuck and Associates, Inc. (KAI) C++ Compiler
11625 # KCC will only create a shared library if the output file
11626 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11627 # to its proper name (with version) after linking.
11628 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'
11630 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11631 hardcode_libdir_separator_CXX
=:
11633 # Archives containing C++ object files must be created using
11634 # the KAI C++ compiler.
11635 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11638 # Rational C++ 2.4.1
11639 # FIXME: insert proper C++ library support
11643 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11644 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'
11645 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11646 echo "-hidden">> $lib.exp~
11647 $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~
11650 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11651 hardcode_libdir_separator_CXX
=:
11653 # Commands to make compiler produce verbose output that lists
11654 # what "hidden" libraries, object files and flags are used when
11655 # linking a shared library.
11657 # There doesn't appear to be a way to prevent this compiler from
11658 # explicitly linking system object files so we need to strip them
11659 # from the output so that they don't get included in the library
11661 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'
11664 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11665 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11666 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'
11668 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11669 hardcode_libdir_separator_CXX
=:
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11674 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11677 # FIXME: insert proper C++ library support
11684 # FIXME: insert proper C++ library support
11688 case $cc_basename in
11691 # FIXME: insert proper C++ library support
11696 # FIXME: insert proper C++ library support
11700 # FIXME: insert proper C++ library support
11706 case $cc_basename in
11708 # Sun C++ 4.2, 5.x and Centerline C++
11709 archive_cmds_need_lc_CXX
=yes
11710 no_undefined_flag_CXX
=' -zdefs'
11711 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11712 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11713 $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'
11715 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11716 hardcode_shlibpath_var_CXX
=no
11718 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11720 # The compiler driver will combine and reorder linker options,
11721 # but understands `-z linker_flag'.
11722 # Supported since Solaris 2.6 (maybe 2.5.1?)
11723 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11726 link_all_deplibs_CXX
=yes
11728 output_verbose_link_cmd
='echo'
11730 # Archives containing C++ object files must be created using
11731 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11732 # necessary to make sure instantiated templates are included
11734 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11737 # Green Hills C++ Compiler
11738 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11740 # The C++ compiler must be used to create the archive.
11741 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11744 # GNU C++ compiler with Solaris linker
11745 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11746 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11747 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
11748 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11749 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11750 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11752 # Commands to make compiler produce verbose output that lists
11753 # what "hidden" libraries, object files and flags are used when
11754 # linking a shared library.
11755 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11757 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11759 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11760 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11761 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11763 # Commands to make compiler produce verbose output that lists
11764 # what "hidden" libraries, object files and flags are used when
11765 # linking a shared library.
11766 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11769 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11771 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11773 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11780 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11781 no_undefined_flag_CXX
='${wl}-z,text'
11782 archive_cmds_need_lc_CXX
=no
11783 hardcode_shlibpath_var_CXX
=no
11784 runpath_var
='LD_RUN_PATH'
11786 case $cc_basename in
11788 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11789 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11792 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11793 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11797 sysv5
* | sco3.2v5
* | sco5v6
*)
11798 # Note: We can NOT use -z defs as we might desire, because we do not
11799 # link with -lc, and that would cause any symbols used from libc to
11800 # always be unresolved, which means just about no library would
11801 # ever link correctly. If we're not using GNU ld we use -z text
11802 # though, which does catch some bad symbols but isn't as heavy-handed
11804 # For security reasons, it is highly recommended that you always
11805 # use absolute paths for naming shared libraries, and exclude the
11806 # DT_RUNPATH tag from executables and libraries. But doing so
11807 # requires that you compile everything twice, which is a pain.
11808 # So that behaviour is only enabled if SCOABSPATH is set to a
11809 # non-empty value in the environment. Most likely only useful for
11810 # creating official distributions of packages.
11811 # This is a hack until libtool officially supports absolute path
11812 # names for shared libraries.
11813 no_undefined_flag_CXX
='${wl}-z,text'
11814 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11815 archive_cmds_need_lc_CXX
=no
11816 hardcode_shlibpath_var_CXX
=no
11817 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11818 hardcode_libdir_separator_CXX
=':'
11819 link_all_deplibs_CXX
=yes
11820 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11821 runpath_var
='LD_RUN_PATH'
11823 case $cc_basename in
11825 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11826 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11829 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11830 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11835 case $cc_basename in
11837 # NonStop-UX NCC 3.20
11838 # FIXME: insert proper C++ library support
11842 # FIXME: insert proper C++ library support
11848 # FIXME: insert proper C++ library support
11852 # FIXME: insert proper C++ library support
11856 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11857 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11858 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11864 cat > conftest.
$ac_ext <<EOF
11868 Foo (void) { a = 0; }
11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11875 (eval $ac_compile) 2>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); }; then
11879 # Parse the compiler output and extract the necessary
11880 # objects, libraries and library flags.
11882 # Sentinel used to keep track of whether or not we are before
11883 # the conftest object file.
11884 pre_test_object_deps_done
=no
11886 # The `*' in the case matches for architectures that use `case' in
11887 # $output_verbose_cmd can trigger glob expansion during the loop
11888 # eval without this substitution.
11889 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
11891 for p
in `eval $output_verbose_link_cmd`; do
11895 # Some compilers place space between "-{L,R}" and the path.
11896 # Remove the space.
11897 if test $p = "-L" \
11898 ||
test $p = "-R"; then
11905 if test "$pre_test_object_deps_done" = no
; then
11908 # Internal compiler library paths should come after those
11909 # provided the user. The postdeps already come after the
11910 # user supplied libs so there is no need to process them.
11911 if test -z "$compiler_lib_search_path_CXX"; then
11912 compiler_lib_search_path_CXX
="${prev}${p}"
11914 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
11917 # The "-l" case would never come before the object being
11918 # linked, so don't bother handling this case.
11921 if test -z "$postdeps_CXX"; then
11922 postdeps_CXX
="${prev}${p}"
11924 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
11930 # This assumes that the test object file only shows up
11931 # once in the compiler output.
11932 if test "$p" = "conftest.$objext"; then
11933 pre_test_object_deps_done
=yes
11937 if test "$pre_test_object_deps_done" = no
; then
11938 if test -z "$predep_objects_CXX"; then
11939 predep_objects_CXX
="$p"
11941 predep_objects_CXX
="$predep_objects_CXX $p"
11944 if test -z "$postdep_objects_CXX"; then
11945 postdep_objects_CXX
="$p"
11947 postdep_objects_CXX
="$postdep_objects_CXX $p"
11952 *) ;; # Ignore the rest.
11960 echo "libtool.m4: error: problem compiling CXX test program"
11963 $rm -f confest.
$objext
11965 # PORTME: override above test on systems where it is broken
11968 # Interix 3.5 installs completely hosed .la files for C++, so rather than
11969 # hack all around it, let's just trust "g++" to DTRT.
11970 predep_objects_CXX
=
11971 postdep_objects_CXX
=
11976 case `$CC -V 2>&1 | sed 5q` in
11980 # The more standards-conforming stlport4 library is
11981 # incompatible with the Cstd library. Avoid specifying
11982 # it if it's in CXXFLAGS. Ignore libCrun as
11983 # -library=stlport4 depends on it.
11984 case " $CXX $CXXFLAGS " in
11985 *" -library=stlport4 "*)
11986 solaris_use_stlport4
=yes
11989 if test "$solaris_use_stlport4" != yes; then
11990 postdeps_CXX
='-library=Cstd -library=Crun'
11997 case $cc_basename in
11999 # The more standards-conforming stlport4 library is
12000 # incompatible with the Cstd library. Avoid specifying
12001 # it if it's in CXXFLAGS. Ignore libCrun as
12002 # -library=stlport4 depends on it.
12003 case " $CXX $CXXFLAGS " in
12004 *" -library=stlport4 "*)
12005 solaris_use_stlport4
=yes
12009 # Adding this requires a known-good setup of shared libraries for
12010 # Sun compiler versions before 5.6, else PIC objects from an old
12011 # archive will be linked into the output, leading to subtle bugs.
12012 if test "$solaris_use_stlport4" != yes; then
12013 postdeps_CXX
='-library=Cstd -library=Crun'
12021 case " $postdeps_CXX " in
12022 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12025 lt_prog_compiler_wl_CXX
=
12026 lt_prog_compiler_pic_CXX
=
12027 lt_prog_compiler_static_CXX
=
12029 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12030 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12032 # C++ specific cases for pic, static, wl, etc.
12033 if test "$GXX" = yes; then
12034 lt_prog_compiler_wl_CXX
='-Wl,'
12035 lt_prog_compiler_static_CXX
='-static'
12039 # All AIX code is PIC.
12040 if test "$host_cpu" = ia64
; then
12041 # AIX 5 now supports IA64 processor
12042 lt_prog_compiler_static_CXX
='-Bstatic'
12046 # FIXME: we need at least 68020 code to build shared libraries, but
12047 # adding the `-m68020' flag to GCC prevents building anything better,
12049 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12051 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12052 # PIC is the default for these OSes.
12054 mingw
* | cygwin
* | os2
* | pw32
*)
12055 # This hack is so that the source file can tell whether it is being
12056 # built for inclusion in a dll (and should export symbols for example).
12057 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12058 # (--disable-auto-import) libraries
12059 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12061 darwin
* | rhapsody
*)
12062 # PIC is the default on this platform
12063 # Common symbols not allowed in MH_DYLIB files
12064 lt_prog_compiler_pic_CXX
='-fno-common'
12067 # DJGPP does not support shared libraries at all
12068 lt_prog_compiler_pic_CXX
=
12071 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12072 # Instead, we relocate shared libraries at runtime.
12075 if test -d /usr
/nec
; then
12076 lt_prog_compiler_pic_CXX
=-Kconform_pic
12080 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12081 # not for PA HP-UX.
12086 lt_prog_compiler_pic_CXX
='-fPIC'
12091 lt_prog_compiler_pic_CXX
='-fPIC'
12097 # All AIX code is PIC.
12098 if test "$host_cpu" = ia64
; then
12099 # AIX 5 now supports IA64 processor
12100 lt_prog_compiler_static_CXX
='-Bstatic'
12102 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12106 case $cc_basename in
12108 # Green Hills C++ Compiler
12109 # _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"
12114 # PIC is the default on this platform
12115 # Common symbols not allowed in MH_DYLIB files
12116 case $cc_basename in
12118 lt_prog_compiler_pic_CXX
='-qnocommon'
12119 lt_prog_compiler_wl_CXX
='-Wl,'
12124 case $cc_basename in
12126 lt_prog_compiler_pic_CXX
='-KPIC'
12129 # Green Hills C++ Compiler
12130 lt_prog_compiler_pic_CXX
='-pic'
12136 freebsd
* | dragonfly
*)
12137 # FreeBSD uses GNU C++
12139 hpux9
* | hpux10
* | hpux11
*)
12140 case $cc_basename in
12142 lt_prog_compiler_wl_CXX
='-Wl,'
12143 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12144 if test "$host_cpu" != ia64
; then
12145 lt_prog_compiler_pic_CXX
='+Z'
12149 lt_prog_compiler_wl_CXX
='-Wl,'
12150 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12156 lt_prog_compiler_pic_CXX
='+Z'
12165 # This is c89, which is MS Visual C++ (no shared libs)
12166 # Anyone wants to do a port?
12168 irix5
* | irix6
* | nonstopux
*)
12169 case $cc_basename in
12171 lt_prog_compiler_wl_CXX
='-Wl,'
12172 lt_prog_compiler_static_CXX
='-non_shared'
12173 # CC pic flag -KPIC is the default.
12179 linux
* | k
*bsd
*-gnu)
12180 case $cc_basename in
12183 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12184 lt_prog_compiler_pic_CXX
='-fPIC'
12188 lt_prog_compiler_wl_CXX
='-Wl,'
12189 lt_prog_compiler_pic_CXX
='-KPIC'
12190 lt_prog_compiler_static_CXX
='-static'
12193 # Portland Group C++ compiler.
12194 lt_prog_compiler_wl_CXX
='-Wl,'
12195 lt_prog_compiler_pic_CXX
='-fpic'
12196 lt_prog_compiler_static_CXX
='-Bstatic'
12200 # Make sure the PIC flag is empty. It appears that all Alpha
12201 # Linux and Compaq Tru64 Unix objects are PIC.
12202 lt_prog_compiler_pic_CXX
=
12203 lt_prog_compiler_static_CXX
='-non_shared'
12206 case `$CC -V 2>&1 | sed 5q` in
12209 lt_prog_compiler_pic_CXX
='-KPIC'
12210 lt_prog_compiler_static_CXX
='-Bstatic'
12211 lt_prog_compiler_wl_CXX
='-Qoption ld '
12222 case $cc_basename in
12224 lt_prog_compiler_pic_CXX
='-W c,exportall'
12230 netbsd
* | netbsdelf
*-gnu)
12232 osf3
* | osf4
* | osf5
*)
12233 case $cc_basename in
12235 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12238 # Rational C++ 2.4.1
12239 lt_prog_compiler_pic_CXX
='-pic'
12242 # Digital/Compaq C++
12243 lt_prog_compiler_wl_CXX
='-Wl,'
12244 # Make sure the PIC flag is empty. It appears that all Alpha
12245 # Linux and Compaq Tru64 Unix objects are PIC.
12246 lt_prog_compiler_pic_CXX
=
12247 lt_prog_compiler_static_CXX
='-non_shared'
12256 case $cc_basename in
12258 # Sun C++ 4.2, 5.x and Centerline C++
12259 lt_prog_compiler_pic_CXX
='-KPIC'
12260 lt_prog_compiler_static_CXX
='-Bstatic'
12261 lt_prog_compiler_wl_CXX
='-Qoption ld '
12264 # Green Hills C++ Compiler
12265 lt_prog_compiler_pic_CXX
='-PIC'
12272 case $cc_basename in
12275 lt_prog_compiler_pic_CXX
='-pic'
12276 lt_prog_compiler_static_CXX
='-Bstatic'
12280 lt_prog_compiler_pic_CXX
='-pic'
12287 case $cc_basename in
12289 # NonStop-UX NCC 3.20
12290 lt_prog_compiler_pic_CXX
='-KPIC'
12296 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12297 case $cc_basename in
12299 lt_prog_compiler_wl_CXX
='-Wl,'
12300 lt_prog_compiler_pic_CXX
='-KPIC'
12301 lt_prog_compiler_static_CXX
='-Bstatic'
12308 lt_prog_compiler_can_build_shared_CXX
=no
12313 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12314 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12317 # Check to make sure the PIC flag actually works.
12319 if test -n "$lt_prog_compiler_pic_CXX"; then
12321 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12322 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12323 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 lt_prog_compiler_pic_works_CXX
=no
12327 ac_outfile
=conftest.
$ac_objext
12328 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12329 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12330 # Insert the option either (1) after the last *FLAGS variable, or
12331 # (2) before a word containing "conftest.", or (3) at the end.
12332 # Note that $ac_compile itself does not contain backslashes and begins
12333 # with a dollar sign (not a hyphen), so the echo should work correctly.
12334 # The option is referenced via a variable to avoid confusing sed.
12335 lt_compile
=`echo "$ac_compile" | $SED \
12336 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12338 -e 's:$: $lt_compiler_flag:'`
12339 (eval echo "\"\$as_me:12339: $lt_compile\"" >&5)
12340 (eval "$lt_compile" 2>conftest.err
)
12342 cat conftest.err
>&5
12343 echo "$as_me:12343: \$? = $ac_status" >&5
12344 if (exit $ac_status) && test -s "$ac_outfile"; then
12345 # The compiler can only warn and ignore the option if not recognized
12346 # So say no if there are warnings other than the usual output.
12347 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12348 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12349 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12350 lt_prog_compiler_pic_works_CXX
=yes
12356 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12357 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12359 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12360 case $lt_prog_compiler_pic_CXX in
12362 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12365 lt_prog_compiler_pic_CXX
=
12366 lt_prog_compiler_can_build_shared_CXX
=no
12371 # For platforms which do not support PIC, -DPIC is meaningless:
12373 lt_prog_compiler_pic_CXX
=
12376 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12381 # Check to make sure the static flag actually works.
12383 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12384 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12385 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12386 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 lt_prog_compiler_static_works_CXX
=no
12390 save_LDFLAGS
="$LDFLAGS"
12391 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12392 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12393 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12394 # The linker can only warn and ignore the option if not recognized
12395 # So say no if there are warnings
12396 if test -s conftest.err
; then
12397 # Append any errors to the config.log.
12398 cat conftest.err
1>&5
12399 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12400 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12401 if diff conftest.exp conftest.er2
>/dev
/null
; then
12402 lt_prog_compiler_static_works_CXX
=yes
12405 lt_prog_compiler_static_works_CXX
=yes
12409 LDFLAGS
="$save_LDFLAGS"
12412 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12413 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12415 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12418 lt_prog_compiler_static_CXX
=
12422 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12423 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12424 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12425 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 lt_cv_prog_compiler_c_o_CXX
=no
12428 $rm -r conftest
2>/dev
/null
12432 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12434 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12435 # Insert the option either (1) after the last *FLAGS variable, or
12436 # (2) before a word containing "conftest.", or (3) at the end.
12437 # Note that $ac_compile itself does not contain backslashes and begins
12438 # with a dollar sign (not a hyphen), so the echo should work correctly.
12439 lt_compile
=`echo "$ac_compile" | $SED \
12440 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12441 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12442 -e 's:$: $lt_compiler_flag:'`
12443 (eval echo "\"\$as_me:12443: $lt_compile\"" >&5)
12444 (eval "$lt_compile" 2>out
/conftest.err
)
12446 cat out
/conftest.err
>&5
12447 echo "$as_me:12447: \$? = $ac_status" >&5
12448 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12450 # The compiler can only warn and ignore the option if not recognized
12451 # So say no if there are warnings
12452 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12453 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12454 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12455 lt_cv_prog_compiler_c_o_CXX
=yes
12460 # SGI C++ compiler will create directory out/ii_files/ for
12461 # template instantiation
12462 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12463 $rm out
/* && rmdir out
12469 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12470 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12473 hard_links
="nottested"
12474 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12475 # do not overwrite the value of need_locks provided by the user
12476 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12477 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12480 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12482 ln conftest.a conftest.b
2>&5 || hard_links
=no
12483 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12484 { echo "$as_me:$LINENO: result: $hard_links" >&5
12485 echo "${ECHO_T}$hard_links" >&6; }
12486 if test "$hard_links" = no
; then
12487 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12488 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12495 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12496 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12498 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12501 # If we're using GNU nm, then we don't want the "-C" option.
12502 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12503 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12504 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'
12506 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'
12510 export_symbols_cmds_CXX
="$ltdll_cmds"
12513 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'
12515 linux
* | k
*bsd
*-gnu)
12516 link_all_deplibs_CXX
=no
12519 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12523 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12524 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12525 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12528 # Do we need to explicitly link libc?
12530 case "x$archive_cmds_need_lc_CXX" in
12532 # Assume -lc should be added
12533 archive_cmds_need_lc_CXX
=yes
12535 if test "$enable_shared" = yes && test "$GCC" = yes; then
12536 case $archive_cmds_CXX in
12538 # FIXME: we may have to deal with multi-command sequences.
12541 # Test whether the compiler implicitly links with -lc since on some
12542 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12543 # to ld, don't add -lc before -lgcc.
12544 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12545 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12547 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12550 (eval $ac_compile) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); } 2>conftest.err
; then
12556 libobjs
=conftest.
$ac_objext
12558 wl
=$lt_prog_compiler_wl_CXX
12559 pic_flag
=$lt_prog_compiler_pic_CXX
12565 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12566 allow_undefined_flag_CXX
=
12567 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12568 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); }
12573 archive_cmds_need_lc_CXX
=no
12575 archive_cmds_need_lc_CXX
=yes
12577 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12579 cat conftest.err
1>&5
12582 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12583 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12590 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12591 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12592 library_names_spec
=
12593 libname_spec
='lib$name'
12597 postuninstall_cmds
=
12601 shlibpath_overrides_runpath
=unknown
12603 dynamic_linker
="$host_os ld.so"
12604 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12606 need_lib_prefix
=unknown
12607 hardcode_into_libs
=no
12609 # when you set need_version to no, make sure it does not cause -set_version
12610 # flags to be left without arguments
12611 need_version
=unknown
12616 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12617 shlibpath_var
=LIBPATH
12619 # AIX 3 has no versioning support, so we append a major version to the name.
12620 soname_spec
='${libname}${release}${shared_ext}$major'
12627 hardcode_into_libs
=yes
12628 if test "$host_cpu" = ia64
; then
12629 # AIX 5 supports IA64
12630 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12631 shlibpath_var
=LD_LIBRARY_PATH
12633 # With GCC up to 2.95.x, collect2 would create an import file
12634 # for dependence libraries. The import file would start with
12635 # the line `#! .'. This would cause the generated library to
12636 # depend on `.', always an invalid library. This was fixed in
12637 # development snapshots of GCC prior to 3.0.
12639 aix4 | aix4.
[01] | aix4.
[01].
*)
12640 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12642 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12645 can_build_shared
=no
12649 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12650 # soname into executable. Probably we can add versioning support to
12651 # collect2, so additional links can be useful in future.
12652 if test "$aix_use_runtimelinking" = yes; then
12653 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12654 # instead of lib<name>.a to let people know that these are not
12655 # typical AIX shared libraries.
12656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12658 # We preserve .a as extension for shared libraries through AIX4.2
12659 # and later when we are not doing run time linking.
12660 library_names_spec
='${libname}${release}.a $libname.a'
12661 soname_spec
='${libname}${release}${shared_ext}$major'
12663 shlibpath_var
=LIBPATH
12668 library_names_spec
='$libname.ixlibrary $libname.a'
12669 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12670 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'
12674 library_names_spec
='${libname}${shared_ext}'
12675 dynamic_linker
="$host_os ld.so"
12676 shlibpath_var
=LIBRARY_PATH
12682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12683 soname_spec
='${libname}${release}${shared_ext}$major'
12684 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12685 shlibpath_var
=LD_LIBRARY_PATH
12686 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12687 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12688 # the default ld.so.conf also contains /usr/contrib/lib and
12689 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12690 # libtool to hard-code these into programs
12693 cygwin
* | mingw
* | pw32
*)
12694 version_type
=windows
12699 case $GCC,$host_os in
12700 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12701 library_names_spec
='$libname.dll.a'
12702 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12703 postinstall_cmds
='base_file=`basename \${file}`~
12704 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12705 dldir=$destdir/`dirname \$dlpath`~
12706 test -d \$dldir || mkdir -p \$dldir~
12707 $install_prog $dir/$dlname \$dldir/$dlname~
12708 chmod a+x \$dldir/$dlname'
12709 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12710 dlpath=$dir/\$dldll~
12712 shlibpath_overrides_runpath
=yes
12716 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12717 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12718 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12721 # MinGW DLLs use traditional 'lib' prefix
12722 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12723 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12724 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12725 # It is most probably a Windows format PATH printed by
12726 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12727 # path with ; separators, and with drive letters. We can handle the
12728 # drive letters (cygwin fileutils understands them), so leave them,
12729 # especially as we might pass files found there to a mingw objdump,
12730 # which wouldn't understand a cygwinified path. Ahh.
12731 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12733 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12737 # pw32 DLLs use 'pw' prefix rather than 'lib'
12738 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12744 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12747 dynamic_linker
='Win32 ld.exe'
12748 # FIXME: first we should search . and the directory the executable is in
12752 darwin
* | rhapsody
*)
12753 dynamic_linker
="$host_os dyld"
12754 version_type
=darwin
12757 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12758 soname_spec
='${libname}${release}${major}$shared_ext'
12759 shlibpath_overrides_runpath
=yes
12760 shlibpath_var
=DYLD_LIBRARY_PATH
12761 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12763 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12771 soname_spec
='${libname}${release}${shared_ext}$major'
12772 shlibpath_var
=LD_LIBRARY_PATH
12779 freebsd
* | dragonfly
*)
12780 # DragonFly does not have aout. When/if they implement a new
12781 # versioning mechanism, adjust this.
12782 if test -x /usr
/bin
/objformat
; then
12783 objformat
=`/usr/bin/objformat`
12786 freebsd
[123]*) objformat
=aout
;;
12787 *) objformat
=elf
;;
12790 version_type
=freebsd-
$objformat
12791 case $version_type in
12793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12798 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12802 shlibpath_var
=LD_LIBRARY_PATH
12805 shlibpath_overrides_runpath
=yes
12807 freebsd3.
[01]* | freebsdelf3.
[01]*)
12808 shlibpath_overrides_runpath
=yes
12809 hardcode_into_libs
=yes
12811 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12812 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12813 shlibpath_overrides_runpath
=no
12814 hardcode_into_libs
=yes
12816 *) # from 4.6 on, and DragonFly
12817 shlibpath_overrides_runpath
=yes
12818 hardcode_into_libs
=yes
12827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12828 soname_spec
='${libname}${release}${shared_ext}$major'
12829 shlibpath_var
=LD_LIBRARY_PATH
12830 hardcode_into_libs
=yes
12833 hpux9
* | hpux10
* | hpux11
*)
12834 # Give a soname corresponding to the major version so that dld.sl refuses to
12835 # link against other versions.
12842 hardcode_into_libs
=yes
12843 dynamic_linker
="$host_os dld.so"
12844 shlibpath_var
=LD_LIBRARY_PATH
12845 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12847 soname_spec
='${libname}${release}${shared_ext}$major'
12848 if test "X$HPUX_IA64_MODE" = X32
; then
12849 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12851 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12853 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12857 hardcode_into_libs
=yes
12858 dynamic_linker
="$host_os dld.sl"
12859 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12860 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12862 soname_spec
='${libname}${release}${shared_ext}$major'
12863 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12864 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12868 dynamic_linker
="$host_os dld.sl"
12869 shlibpath_var
=SHLIB_PATH
12870 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12872 soname_spec
='${libname}${release}${shared_ext}$major'
12875 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12876 postinstall_cmds
='chmod 555 $lib'
12883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12884 soname_spec
='${libname}${release}${shared_ext}$major'
12885 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12886 shlibpath_var
=LD_LIBRARY_PATH
12887 shlibpath_overrides_runpath
=no
12888 hardcode_into_libs
=yes
12891 irix5
* | irix6
* | nonstopux
*)
12893 nonstopux
*) version_type
=nonstopux
;;
12895 if test "$lt_cv_prog_gnu_ld" = yes; then
12903 soname_spec
='${libname}${release}${shared_ext}$major'
12904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12906 irix5
* | nonstopux
*)
12907 libsuff
= shlibsuff
=
12910 case $LD in # libtool.m4 will add one of these switches to LD
12911 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12912 libsuff
= shlibsuff
= libmagic
=32-bit;;
12913 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12914 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12915 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12916 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12917 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12921 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12922 shlibpath_overrides_runpath
=no
12923 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12924 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12925 hardcode_into_libs
=yes
12928 # No shared lib support for Linux oldld, aout, or coff.
12929 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12933 # This must be Linux ELF.
12934 linux
* | k
*bsd
*-gnu)
12938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12939 soname_spec
='${libname}${release}${shared_ext}$major'
12940 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12941 shlibpath_var
=LD_LIBRARY_PATH
12942 shlibpath_overrides_runpath
=no
12943 # This implies no fast_install, which is unacceptable.
12944 # Some rework will be needed to allow for fast_install
12945 # before this can be enabled.
12946 hardcode_into_libs
=yes
12948 # Append ld.so.conf contents to the search path
12949 if test -f /etc
/ld.so.conf
; then
12950 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' ' '`
12951 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12954 # We used to test for /lib/ld.so.1 and disable shared libraries on
12955 # powerpc, because MkLinux only supported shared libraries with the
12956 # GNU dynamic linker. Since this was broken with cross compilers,
12957 # most powerpc-linux boxes support dynamic linking these days and
12958 # people can always --disable-shared, the test was removed, and we
12959 # assume the GNU/Linux dynamic linker is in use.
12960 dynamic_linker
='GNU/Linux ld.so'
12967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12968 soname_spec
='${libname}${release}${shared_ext}$major'
12969 shlibpath_var
=LD_LIBRARY_PATH
12970 shlibpath_overrides_runpath
=no
12971 hardcode_into_libs
=yes
12972 dynamic_linker
='NetBSD ld.elf_so'
12979 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12982 dynamic_linker
='NetBSD (a.out) ld.so'
12984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12985 soname_spec
='${libname}${release}${shared_ext}$major'
12986 dynamic_linker
='NetBSD ld.elf_so'
12988 shlibpath_var
=LD_LIBRARY_PATH
12989 shlibpath_overrides_runpath
=yes
12990 hardcode_into_libs
=yes
12995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12996 shlibpath_var
=LD_LIBRARY_PATH
12997 shlibpath_overrides_runpath
=yes
13004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13005 soname_spec
='${libname}${release}${shared_ext}$major'
13006 shlibpath_var
=LD_LIBRARY_PATH
13007 shlibpath_overrides_runpath
=yes
13012 sys_lib_dlsearch_path_spec
="/usr/lib"
13014 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13016 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13017 *) need_version
=no
;;
13019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13020 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13021 shlibpath_var
=LD_LIBRARY_PATH
13022 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13024 openbsd2.
[89] | openbsd2.
[89].
*)
13025 shlibpath_overrides_runpath
=no
13028 shlibpath_overrides_runpath
=yes
13032 shlibpath_overrides_runpath
=yes
13037 libname_spec
='$name'
13040 library_names_spec
='$libname${shared_ext} $libname.a'
13041 dynamic_linker
='OS/2 ld.exe'
13042 shlibpath_var
=LIBPATH
13045 osf3
* | osf4
* | osf5
*)
13049 soname_spec
='${libname}${release}${shared_ext}$major'
13050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13051 shlibpath_var
=LD_LIBRARY_PATH
13052 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13053 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13065 soname_spec
='${libname}${release}${shared_ext}$major'
13066 shlibpath_var
=LD_LIBRARY_PATH
13067 shlibpath_overrides_runpath
=yes
13068 hardcode_into_libs
=yes
13069 # ldd complains unless libraries are executable
13070 postinstall_cmds
='chmod +x $lib'
13075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13076 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13077 shlibpath_var
=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath
=yes
13079 if test "$with_gnu_ld" = yes; then
13087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13088 soname_spec
='${libname}${release}${shared_ext}$major'
13089 shlibpath_var
=LD_LIBRARY_PATH
13090 case $host_vendor in
13092 shlibpath_overrides_runpath
=no
13094 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13095 runpath_var
=LD_RUN_PATH
13103 shlibpath_overrides_runpath
=no
13104 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13110 if test -d /usr
/nec
;then
13112 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13113 soname_spec
='$libname${shared_ext}.$major'
13114 shlibpath_var
=LD_LIBRARY_PATH
13118 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13119 version_type
=freebsd-elf
13122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13123 soname_spec
='${libname}${release}${shared_ext}$major'
13124 shlibpath_var
=LD_LIBRARY_PATH
13125 hardcode_into_libs
=yes
13126 if test "$with_gnu_ld" = yes; then
13127 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13128 shlibpath_overrides_runpath
=no
13130 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13131 shlibpath_overrides_runpath
=yes
13134 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13138 sys_lib_dlsearch_path_spec
='/usr/lib'
13143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13144 soname_spec
='${libname}${release}${shared_ext}$major'
13145 shlibpath_var
=LD_LIBRARY_PATH
13152 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13153 echo "${ECHO_T}$dynamic_linker" >&6; }
13154 test "$dynamic_linker" = no
&& can_build_shared
=no
13156 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13157 if test "$GCC" = yes; then
13158 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13161 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13162 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13163 hardcode_action_CXX
=
13164 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13165 test -n "$runpath_var_CXX" || \
13166 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13168 # We can hardcode non-existant directories.
13169 if test "$hardcode_direct_CXX" != no
&&
13170 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13171 # have to relink, otherwise we might link with an installed library
13172 # when we should be linking with a yet-to-be-installed one
13173 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13174 test "$hardcode_minus_L_CXX" != no
; then
13175 # Linking always hardcodes the temporary library directory.
13176 hardcode_action_CXX
=relink
13178 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13179 hardcode_action_CXX
=immediate
13182 # We cannot hardcode anything, or else we can only hardcode existing
13184 hardcode_action_CXX
=unsupported
13186 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13187 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13189 if test "$hardcode_action_CXX" = relink
; then
13190 # Fast installation is not supported
13191 enable_fast_install
=no
13192 elif test "$shlibpath_overrides_runpath" = yes ||
13193 test "$enable_shared" = no
; then
13194 # Fast installation is not necessary
13195 enable_fast_install
=needless
13199 # The else clause should only fire when bootstrapping the
13200 # libtool distribution, otherwise you forgot to ship ltmain.sh
13201 # with your package, and you will get complaints that there are
13202 # no rules to generate ltmain.sh.
13203 if test -f "$ltmain"; then
13204 # See if we are running on zsh, and set the options which allow our commands through
13205 # without removal of \ escapes.
13206 if test -n "${ZSH_VERSION+set}" ; then
13207 setopt NO_GLOB_SUBST
13209 # Now quote all the things that may contain metacharacters while being
13210 # careful not to overquote the AC_SUBSTed values. We take copies of the
13211 # variables and quote the copies for generation of the libtool script.
13212 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13214 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13215 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13216 deplibs_check_method reload_flag reload_cmds need_locks \
13217 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13218 lt_cv_sys_global_symbol_to_c_name_address \
13219 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13220 old_postinstall_cmds old_postuninstall_cmds \
13224 lt_prog_compiler_wl_CXX \
13225 lt_prog_compiler_pic_CXX \
13226 lt_prog_compiler_static_CXX \
13227 lt_prog_compiler_no_builtin_flag_CXX \
13228 export_dynamic_flag_spec_CXX \
13229 thread_safe_flag_spec_CXX \
13230 whole_archive_flag_spec_CXX \
13231 enable_shared_with_static_runtimes_CXX \
13232 old_archive_cmds_CXX \
13233 old_archive_from_new_cmds_CXX \
13234 predep_objects_CXX \
13235 postdep_objects_CXX \
13238 compiler_lib_search_path_CXX \
13240 archive_expsym_cmds_CXX \
13241 postinstall_cmds_CXX \
13242 postuninstall_cmds_CXX \
13243 old_archive_from_expsyms_cmds_CXX \
13244 allow_undefined_flag_CXX \
13245 no_undefined_flag_CXX \
13246 export_symbols_cmds_CXX \
13247 hardcode_libdir_flag_spec_CXX \
13248 hardcode_libdir_flag_spec_ld_CXX \
13249 hardcode_libdir_separator_CXX \
13250 hardcode_automatic_CXX \
13252 module_expsym_cmds_CXX \
13253 lt_cv_prog_compiler_c_o_CXX \
13254 fix_srcfile_path_CXX \
13255 exclude_expsyms_CXX \
13256 include_expsyms_CXX
; do
13259 old_archive_cmds_CXX | \
13260 old_archive_from_new_cmds_CXX | \
13261 archive_cmds_CXX | \
13262 archive_expsym_cmds_CXX | \
13263 module_cmds_CXX | \
13264 module_expsym_cmds_CXX | \
13265 old_archive_from_expsyms_cmds_CXX | \
13266 export_symbols_cmds_CXX | \
13267 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13268 postinstall_cmds | postuninstall_cmds | \
13269 old_postinstall_cmds | old_postuninstall_cmds | \
13270 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13271 # Double-quote double-evaled strings.
13272 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13275 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13281 *'\$0 --fallback-echo"')
13282 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13288 cat <<__EOF__ >> "$cfgfile"
13289 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13291 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13293 # Shell to use when invoking shell scripts.
13296 # Whether or not to build shared libraries.
13297 build_libtool_libs=$enable_shared
13299 # Whether or not to build static libraries.
13300 build_old_libs=$enable_static
13302 # Whether or not to add -lc for building shared libraries.
13303 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13305 # Whether or not to disallow shared libs when runtime libs are static
13306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13308 # Whether or not to optimize for fast installation.
13309 fast_install=$enable_fast_install
13312 host_alias=$host_alias
13316 # The build system.
13317 build_alias=$build_alias
13321 # An echo program that does not interpret backslashes.
13326 AR_FLAGS=$lt_AR_FLAGS
13331 # LTCC compiler flags.
13332 LTCFLAGS=$lt_LTCFLAGS
13334 # A language-specific compiler.
13335 CC=$lt_compiler_CXX
13337 # Is the compiler the GNU C compiler?
13343 # The linker used to build libraries.
13346 # Whether we need hard or soft links.
13349 # A BSD-compatible nm program.
13352 # A symbol stripping program
13355 # Used to examine libraries when file_magic_cmd begins "file"
13356 MAGIC_CMD=$MAGIC_CMD
13358 # Used on cygwin: DLL creation program.
13361 # Used on cygwin: object dumper.
13364 # Used on cygwin: assembler.
13367 # The name of the directory that contains temporary libtool files.
13370 # How to create reloadable object files.
13371 reload_flag=$lt_reload_flag
13372 reload_cmds=$lt_reload_cmds
13374 # How to pass a linker flag through the compiler.
13375 wl=$lt_lt_prog_compiler_wl_CXX
13377 # Object file suffix (normally "o").
13378 objext="$ac_objext"
13380 # Old archive suffix (normally "a").
13383 # Shared library suffix (normally ".so").
13384 shrext_cmds='$shrext_cmds'
13386 # Executable file suffix (normally "").
13389 # Additional compiler flags for building library objects.
13390 pic_flag=$lt_lt_prog_compiler_pic_CXX
13393 # What is the maximum length of a command?
13394 max_cmd_len=$lt_cv_sys_max_cmd_len
13396 # Does compiler simultaneously support -c and -o options?
13397 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13399 # Must we lock files when doing compilation?
13400 need_locks=$lt_need_locks
13402 # Do we need the lib prefix for modules?
13403 need_lib_prefix=$need_lib_prefix
13405 # Do we need a version for libraries?
13406 need_version=$need_version
13408 # Whether dlopen is supported.
13409 dlopen_support=$enable_dlopen
13411 # Whether dlopen of programs is supported.
13412 dlopen_self=$enable_dlopen_self
13414 # Whether dlopen of statically linked programs is supported.
13415 dlopen_self_static=$enable_dlopen_self_static
13417 # Compiler flag to prevent dynamic linking.
13418 link_static_flag=$lt_lt_prog_compiler_static_CXX
13420 # Compiler flag to turn off builtin functions.
13421 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13423 # Compiler flag to allow reflexive dlopens.
13424 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13426 # Compiler flag to generate shared objects directly from archives.
13427 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13429 # Compiler flag to generate thread-safe objects.
13430 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13432 # Library versioning type.
13433 version_type=$version_type
13435 # Format of library name prefix.
13436 libname_spec=$lt_libname_spec
13438 # List of archive names. First name is the real one, the rest are links.
13439 # The last name is the one that the linker finds with -lNAME.
13440 library_names_spec=$lt_library_names_spec
13442 # The coded name of the library, if different from the real name.
13443 soname_spec=$lt_soname_spec
13445 # Commands used to build and install an old-style archive.
13447 old_archive_cmds=$lt_old_archive_cmds_CXX
13448 old_postinstall_cmds=$lt_old_postinstall_cmds
13449 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13451 # Create an old-style archive from a shared archive.
13452 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13454 # Create a temporary old-style archive to link instead of a shared archive.
13455 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13457 # Commands used to build and install a shared archive.
13458 archive_cmds=$lt_archive_cmds_CXX
13459 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13460 postinstall_cmds=$lt_postinstall_cmds
13461 postuninstall_cmds=$lt_postuninstall_cmds
13463 # Commands used to build a loadable module (assumed same as above if empty)
13464 module_cmds=$lt_module_cmds_CXX
13465 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13467 # Commands to strip libraries.
13468 old_striplib=$lt_old_striplib
13469 striplib=$lt_striplib
13471 # Dependencies to place before the objects being linked to create a
13473 predep_objects=$lt_predep_objects_CXX
13475 # Dependencies to place after the objects being linked to create a
13477 postdep_objects=$lt_postdep_objects_CXX
13479 # Dependencies to place before the objects being linked to create a
13481 predeps=$lt_predeps_CXX
13483 # Dependencies to place after the objects being linked to create a
13485 postdeps=$lt_postdeps_CXX
13487 # The library search path used internally by the compiler when linking
13488 # a shared library.
13489 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13491 # Method to check whether dependent libraries are shared objects.
13492 deplibs_check_method=$lt_deplibs_check_method
13494 # Command to use when deplibs_check_method == file_magic.
13495 file_magic_cmd=$lt_file_magic_cmd
13497 # Flag that allows shared libraries with undefined symbols to be built.
13498 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13500 # Flag that forces no undefined symbols.
13501 no_undefined_flag=$lt_no_undefined_flag_CXX
13503 # Commands used to finish a libtool library installation in a directory.
13504 finish_cmds=$lt_finish_cmds
13506 # Same as above, but a single script fragment to be evaled but not shown.
13507 finish_eval=$lt_finish_eval
13509 # Take the output of nm and produce a listing of raw symbols and C names.
13510 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13512 # Transform the output of nm in a proper C declaration
13513 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13515 # Transform the output of nm in a C name address pair
13516 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13518 # This is the shared library runtime path variable.
13519 runpath_var=$runpath_var
13521 # This is the shared library path variable.
13522 shlibpath_var=$shlibpath_var
13524 # Is shlibpath searched before the hard-coded library search path?
13525 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13527 # How to hardcode a shared library path into an executable.
13528 hardcode_action=$hardcode_action_CXX
13530 # Whether we should hardcode library paths into libraries.
13531 hardcode_into_libs=$hardcode_into_libs
13533 # Flag to hardcode \$libdir into a binary during linking.
13534 # This must work even if \$libdir does not exist.
13535 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13537 # If ld is used when linking, flag to hardcode \$libdir into
13538 # a binary during linking. This must work even if \$libdir does
13540 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13542 # Whether we need a single -rpath flag with a separated argument.
13543 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13545 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13546 # resulting binary.
13547 hardcode_direct=$hardcode_direct_CXX
13549 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13550 # resulting binary.
13551 hardcode_minus_L=$hardcode_minus_L_CXX
13553 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13554 # the resulting binary.
13555 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13557 # Set to yes if building a shared library automatically hardcodes DIR into the library
13558 # and all subsequent libraries and executables linked against it.
13559 hardcode_automatic=$hardcode_automatic_CXX
13561 # Variables whose values should be saved in libtool wrapper scripts and
13562 # restored at relink time.
13563 variables_saved_for_relink="$variables_saved_for_relink"
13565 # Whether libtool must link a program against all its dependency libraries.
13566 link_all_deplibs=$link_all_deplibs_CXX
13568 # Compile-time system search path for libraries
13569 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13571 # Run-time system search path for libraries
13572 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13574 # Fix the shell variable \$srcfile for the compiler.
13575 fix_srcfile_path=$lt_fix_srcfile_path
13577 # Set to yes if exported symbols are required.
13578 always_export_symbols=$always_export_symbols_CXX
13580 # The commands to list exported symbols.
13581 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13583 # The commands to extract the exported symbol list from a shared archive.
13584 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13586 # Symbols that should not be listed in the preloaded symbols.
13587 exclude_expsyms=$lt_exclude_expsyms_CXX
13589 # Symbols that must always be exported.
13590 include_expsyms=$lt_include_expsyms_CXX
13592 # ### END LIBTOOL TAG CONFIG: $tagname
13598 # If there is no Makefile yet, we rely on a make rule to execute
13599 # `config.status --recheck' to rerun these tests and create the
13600 # libtool script then.
13601 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13602 if test -f "$ltmain_in"; then
13603 test -f Makefile
&& make "$ltmain"
13609 ac_cpp
='$CPP $CPPFLAGS'
13610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13618 with_gnu_ldcxx
=$with_gnu_ld
13619 with_gnu_ld
=$lt_save_with_gnu_ld
13620 lt_cv_path_LDCXX
=$lt_cv_path_LD
13621 lt_cv_path_LD
=$lt_save_path_LD
13622 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13623 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13631 if test -n "$F77" && test "X$F77" != "Xno"; then
13634 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13635 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13636 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13639 archive_cmds_need_lc_F77
=no
13640 allow_undefined_flag_F77
=
13641 always_export_symbols_F77
=no
13642 archive_expsym_cmds_F77
=
13643 export_dynamic_flag_spec_F77
=
13644 hardcode_direct_F77
=no
13645 hardcode_libdir_flag_spec_F77
=
13646 hardcode_libdir_flag_spec_ld_F77
=
13647 hardcode_libdir_separator_F77
=
13648 hardcode_minus_L_F77
=no
13649 hardcode_automatic_F77
=no
13651 module_expsym_cmds_F77
=
13652 link_all_deplibs_F77
=unknown
13653 old_archive_cmds_F77
=$old_archive_cmds
13654 no_undefined_flag_F77
=
13655 whole_archive_flag_spec_F77
=
13656 enable_shared_with_static_runtimes_F77
=no
13658 # Source file extension for f77 test sources.
13661 # Object file extension for compiled f77 test sources.
13665 # Code to be used in simple compile tests
13666 lt_simple_compile_test_code
="\
13672 # Code to be used in simple link tests
13673 lt_simple_link_test_code
="\
13678 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13680 # If no C compiler was specified, use CC.
13683 # If no C compiler flags were specified, use CFLAGS.
13684 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13686 # Allow CC to be a program name with arguments.
13690 # save warnings/boilerplate of simple test code
13691 ac_outfile
=conftest.
$ac_objext
13692 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13693 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13694 _lt_compiler_boilerplate
=`cat conftest.err`
13697 ac_outfile
=conftest.
$ac_objext
13698 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13699 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13700 _lt_linker_boilerplate
=`cat conftest.err`
13704 # Allow CC to be a program name with arguments.
13709 for cc_temp
in $compiler""; do
13711 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13712 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13717 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13720 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13721 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13722 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13723 echo "${ECHO_T}$can_build_shared" >&6; }
13725 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13726 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13727 test "$can_build_shared" = "no" && enable_shared
=no
13729 # On AIX, shared libraries and static libraries use the same namespace, and
13730 # are all built from PIC.
13733 test "$enable_shared" = yes && enable_static
=no
13734 if test -n "$RANLIB"; then
13735 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13736 postinstall_cmds
='$RANLIB $lib'
13740 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13741 test "$enable_shared" = yes && enable_static
=no
13745 { echo "$as_me:$LINENO: result: $enable_shared" >&5
13746 echo "${ECHO_T}$enable_shared" >&6; }
13748 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13749 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13750 # Make sure either enable_shared or enable_static is yes.
13751 test "$enable_shared" = yes || enable_static
=yes
13752 { echo "$as_me:$LINENO: result: $enable_static" >&5
13753 echo "${ECHO_T}$enable_static" >&6; }
13758 lt_prog_compiler_wl_F77
=
13759 lt_prog_compiler_pic_F77
=
13760 lt_prog_compiler_static_F77
=
13762 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13763 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13765 if test "$GCC" = yes; then
13766 lt_prog_compiler_wl_F77
='-Wl,'
13767 lt_prog_compiler_static_F77
='-static'
13771 # All AIX code is PIC.
13772 if test "$host_cpu" = ia64
; then
13773 # AIX 5 now supports IA64 processor
13774 lt_prog_compiler_static_F77
='-Bstatic'
13779 # FIXME: we need at least 68020 code to build shared libraries, but
13780 # adding the `-m68020' flag to GCC prevents building anything better,
13782 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
13785 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13786 # PIC is the default for these OSes.
13789 mingw
* | cygwin
* | pw32
* | os2
*)
13790 # This hack is so that the source file can tell whether it is being
13791 # built for inclusion in a dll (and should export symbols for example).
13792 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13793 # (--disable-auto-import) libraries
13794 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13797 darwin
* | rhapsody
*)
13798 # PIC is the default on this platform
13799 # Common symbols not allowed in MH_DYLIB files
13800 lt_prog_compiler_pic_F77
='-fno-common'
13804 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13805 # Instead, we relocate shared libraries at runtime.
13809 # Just because we use GCC doesn't mean we suddenly get shared libraries
13810 # on systems that don't support them.
13811 lt_prog_compiler_can_build_shared_F77
=no
13816 if test -d /usr
/nec
; then
13817 lt_prog_compiler_pic_F77
=-Kconform_pic
13822 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13823 # not for PA HP-UX.
13829 lt_prog_compiler_pic_F77
='-fPIC'
13835 lt_prog_compiler_pic_F77
='-fPIC'
13839 # PORTME Check for flag to pass linker flags through the system compiler.
13842 lt_prog_compiler_wl_F77
='-Wl,'
13843 if test "$host_cpu" = ia64
; then
13844 # AIX 5 now supports IA64 processor
13845 lt_prog_compiler_static_F77
='-Bstatic'
13847 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
13851 # PIC is the default on this platform
13852 # Common symbols not allowed in MH_DYLIB files
13853 case $cc_basename in
13855 lt_prog_compiler_pic_F77
='-qnocommon'
13856 lt_prog_compiler_wl_F77
='-Wl,'
13861 mingw
* | cygwin
* | pw32
* | os2
*)
13862 # This hack is so that the source file can tell whether it is being
13863 # built for inclusion in a dll (and should export symbols for example).
13864 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
13867 hpux9
* | hpux10
* | hpux11
*)
13868 lt_prog_compiler_wl_F77
='-Wl,'
13869 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13870 # not for PA HP-UX.
13876 lt_prog_compiler_pic_F77
='+Z'
13879 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13880 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
13883 irix5
* | irix6
* | nonstopux
*)
13884 lt_prog_compiler_wl_F77
='-Wl,'
13885 # PIC (with -KPIC) is the default.
13886 lt_prog_compiler_static_F77
='-non_shared'
13890 lt_prog_compiler_pic_F77
='-KPIC'
13891 lt_prog_compiler_static_F77
='-Bstatic'
13894 linux
* | k
*bsd
*-gnu)
13895 case $cc_basename in
13897 lt_prog_compiler_wl_F77
='-Wl,'
13898 lt_prog_compiler_pic_F77
='-KPIC'
13899 lt_prog_compiler_static_F77
='-static'
13901 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
13902 # Portland Group compilers (*not* the Pentium gcc compiler,
13903 # which looks to be a dead project)
13904 lt_prog_compiler_wl_F77
='-Wl,'
13905 lt_prog_compiler_pic_F77
='-fpic'
13906 lt_prog_compiler_static_F77
='-Bstatic'
13909 lt_prog_compiler_wl_F77
='-Wl,'
13910 # All Alpha code is PIC.
13911 lt_prog_compiler_static_F77
='-non_shared'
13914 case `$CC -V 2>&1 | sed 5q` in
13917 lt_prog_compiler_pic_F77
='-KPIC'
13918 lt_prog_compiler_static_F77
='-Bstatic'
13919 lt_prog_compiler_wl_F77
='-Wl,'
13922 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13923 lt_prog_compiler_pic_F77
='-KPIC'
13924 lt_prog_compiler_static_F77
='-Bstatic'
13925 lt_prog_compiler_wl_F77
=''
13932 osf3
* | osf4
* | osf5
*)
13933 lt_prog_compiler_wl_F77
='-Wl,'
13934 # All OSF/1 code is PIC.
13935 lt_prog_compiler_static_F77
='-non_shared'
13939 lt_prog_compiler_static_F77
='-non_shared'
13943 lt_prog_compiler_pic_F77
='-KPIC'
13944 lt_prog_compiler_static_F77
='-Bstatic'
13945 case $cc_basename in
13946 f77
* | f90
* | f95
*)
13947 lt_prog_compiler_wl_F77
='-Qoption ld ';;
13949 lt_prog_compiler_wl_F77
='-Wl,';;
13954 lt_prog_compiler_wl_F77
='-Qoption ld '
13955 lt_prog_compiler_pic_F77
='-PIC'
13956 lt_prog_compiler_static_F77
='-Bstatic'
13959 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13960 lt_prog_compiler_wl_F77
='-Wl,'
13961 lt_prog_compiler_pic_F77
='-KPIC'
13962 lt_prog_compiler_static_F77
='-Bstatic'
13966 if test -d /usr
/nec
;then
13967 lt_prog_compiler_pic_F77
='-Kconform_pic'
13968 lt_prog_compiler_static_F77
='-Bstatic'
13972 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13973 lt_prog_compiler_wl_F77
='-Wl,'
13974 lt_prog_compiler_pic_F77
='-KPIC'
13975 lt_prog_compiler_static_F77
='-Bstatic'
13979 lt_prog_compiler_wl_F77
='-Wl,'
13980 lt_prog_compiler_can_build_shared_F77
=no
13984 lt_prog_compiler_pic_F77
='-pic'
13985 lt_prog_compiler_static_F77
='-Bstatic'
13989 lt_prog_compiler_can_build_shared_F77
=no
13994 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13995 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13998 # Check to make sure the PIC flag actually works.
14000 if test -n "$lt_prog_compiler_pic_F77"; then
14002 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14003 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14004 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14005 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 lt_prog_compiler_pic_works_F77
=no
14008 ac_outfile
=conftest.
$ac_objext
14009 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14010 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14011 # Insert the option either (1) after the last *FLAGS variable, or
14012 # (2) before a word containing "conftest.", or (3) at the end.
14013 # Note that $ac_compile itself does not contain backslashes and begins
14014 # with a dollar sign (not a hyphen), so the echo should work correctly.
14015 # The option is referenced via a variable to avoid confusing sed.
14016 lt_compile
=`echo "$ac_compile" | $SED \
14017 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14019 -e 's:$: $lt_compiler_flag:'`
14020 (eval echo "\"\$as_me:14020: $lt_compile\"" >&5)
14021 (eval "$lt_compile" 2>conftest.err
)
14023 cat conftest.err
>&5
14024 echo "$as_me:14024: \$? = $ac_status" >&5
14025 if (exit $ac_status) && test -s "$ac_outfile"; then
14026 # The compiler can only warn and ignore the option if not recognized
14027 # So say no if there are warnings other than the usual output.
14028 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14029 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14030 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14031 lt_prog_compiler_pic_works_F77
=yes
14037 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14038 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14040 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14041 case $lt_prog_compiler_pic_F77 in
14043 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14046 lt_prog_compiler_pic_F77
=
14047 lt_prog_compiler_can_build_shared_F77
=no
14052 # For platforms which do not support PIC, -DPIC is meaningless:
14054 lt_prog_compiler_pic_F77
=
14057 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14062 # Check to make sure the static flag actually works.
14064 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14065 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14066 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14067 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14070 lt_prog_compiler_static_works_F77
=no
14071 save_LDFLAGS
="$LDFLAGS"
14072 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14073 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14074 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14075 # The linker can only warn and ignore the option if not recognized
14076 # So say no if there are warnings
14077 if test -s conftest.err
; then
14078 # Append any errors to the config.log.
14079 cat conftest.err
1>&5
14080 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14081 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14082 if diff conftest.exp conftest.er2
>/dev
/null
; then
14083 lt_prog_compiler_static_works_F77
=yes
14086 lt_prog_compiler_static_works_F77
=yes
14090 LDFLAGS
="$save_LDFLAGS"
14093 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14094 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14096 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14099 lt_prog_compiler_static_F77
=
14103 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14104 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14105 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14106 echo $ECHO_N "(cached) $ECHO_C" >&6
14108 lt_cv_prog_compiler_c_o_F77
=no
14109 $rm -r conftest
2>/dev
/null
14113 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14115 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14116 # Insert the option either (1) after the last *FLAGS variable, or
14117 # (2) before a word containing "conftest.", or (3) at the end.
14118 # Note that $ac_compile itself does not contain backslashes and begins
14119 # with a dollar sign (not a hyphen), so the echo should work correctly.
14120 lt_compile
=`echo "$ac_compile" | $SED \
14121 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14123 -e 's:$: $lt_compiler_flag:'`
14124 (eval echo "\"\$as_me:14124: $lt_compile\"" >&5)
14125 (eval "$lt_compile" 2>out
/conftest.err
)
14127 cat out
/conftest.err
>&5
14128 echo "$as_me:14128: \$? = $ac_status" >&5
14129 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14131 # The compiler can only warn and ignore the option if not recognized
14132 # So say no if there are warnings
14133 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14134 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14135 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14136 lt_cv_prog_compiler_c_o_F77
=yes
14141 # SGI C++ compiler will create directory out/ii_files/ for
14142 # template instantiation
14143 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14144 $rm out
/* && rmdir out
14150 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14151 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14154 hard_links
="nottested"
14155 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14156 # do not overwrite the value of need_locks provided by the user
14157 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14158 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14161 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14163 ln conftest.a conftest.b
2>&5 || hard_links
=no
14164 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14165 { echo "$as_me:$LINENO: result: $hard_links" >&5
14166 echo "${ECHO_T}$hard_links" >&6; }
14167 if test "$hard_links" = no
; then
14168 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14169 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14176 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14177 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14180 allow_undefined_flag_F77
=
14181 enable_shared_with_static_runtimes_F77
=no
14183 archive_expsym_cmds_F77
=
14184 old_archive_From_new_cmds_F77
=
14185 old_archive_from_expsyms_cmds_F77
=
14186 export_dynamic_flag_spec_F77
=
14187 whole_archive_flag_spec_F77
=
14188 thread_safe_flag_spec_F77
=
14189 hardcode_libdir_flag_spec_F77
=
14190 hardcode_libdir_flag_spec_ld_F77
=
14191 hardcode_libdir_separator_F77
=
14192 hardcode_direct_F77
=no
14193 hardcode_minus_L_F77
=no
14194 hardcode_shlibpath_var_F77
=unsupported
14195 link_all_deplibs_F77
=unknown
14196 hardcode_automatic_F77
=no
14198 module_expsym_cmds_F77
=
14199 always_export_symbols_F77
=no
14200 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14201 # include_expsyms should be a list of space-separated symbols to be *always*
14202 # included in the symbol list
14203 include_expsyms_F77
=
14204 # exclude_expsyms can be an extended regexp of symbols to exclude
14205 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14206 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14207 # as well as any symbol that contains `d'.
14208 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14209 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14210 # platforms (ab)use it in PIC code, but their linkers get confused if
14211 # the symbol is explicitly referenced. Since portable code cannot
14212 # rely on this symbol name, it's probably fine to never include it in
14213 # preloaded symbol tables.
14214 extract_expsyms_cmds
=
14215 # Just being paranoid about ensuring that cc_basename is set.
14216 for cc_temp
in $compiler""; do
14218 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14219 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14224 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14227 cygwin
* | mingw
* | pw32
*)
14228 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14229 # When not using gcc, we currently assume that we are using
14230 # Microsoft Visual C++.
14231 if test "$GCC" != yes; then
14236 # we just hope/assume this is gcc and not c89 (= MSVC++)
14245 if test "$with_gnu_ld" = yes; then
14246 # If archive_cmds runs LD, not CC, wlarc should be empty
14249 # Set some defaults for GNU ld with shared library support. These
14250 # are reset later if shared libraries are not supported. Putting them
14251 # here allows them to be overridden if necessary.
14252 runpath_var
=LD_RUN_PATH
14253 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14254 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14255 # ancient GNU ld didn't support --whole-archive et. al.
14256 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14257 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14259 whole_archive_flag_spec_F77
=
14261 supports_anon_versioning
=no
14262 case `$LD -v 2>/dev/null` in
14263 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14264 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14265 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14266 *\
2.11.
*) ;; # other 2.11 versions
14267 *) supports_anon_versioning
=yes ;;
14270 # See if GNU ld supports shared libraries.
14272 aix3
* | aix4
* | aix5
*)
14273 # On AIX/PPC, the GNU linker is very broken
14274 if test "$host_cpu" != ia64
; then
14278 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14279 *** to be unable to reliably create shared libraries on AIX.
14280 *** Therefore, libtool is disabling shared libraries support. If you
14281 *** really care for shared libraries, you may want to modify your PATH
14282 *** so that a non-GNU linker is found, and then restart.
14289 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)'
14290 hardcode_libdir_flag_spec_F77
='-L$libdir'
14291 hardcode_minus_L_F77
=yes
14293 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14294 # that the semantics of dynamic libraries on AmigaOS, at least up
14295 # to version 4, is to share data among multiple programs linked
14296 # with the same dynamic library. Since this doesn't match the
14297 # behavior of shared libraries on other platforms, we can't use
14303 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14304 allow_undefined_flag_F77
=unsupported
14305 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14306 # support --undefined. This deserves some investigation. FIXME
14307 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14313 cygwin
* | mingw
* | pw32
*)
14314 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14315 # as there is no search path for DLLs.
14316 hardcode_libdir_flag_spec_F77
='-L$libdir'
14317 allow_undefined_flag_F77
=unsupported
14318 always_export_symbols_F77
=no
14319 enable_shared_with_static_runtimes_F77
=yes
14320 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14322 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14323 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14324 # If the export-symbols file already is a .def file (1st line
14325 # is EXPORTS), use it as is; otherwise, prepend...
14326 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14327 cp $export_symbols $output_objdir/$soname.def;
14329 echo EXPORTS > $output_objdir/$soname.def;
14330 cat $export_symbols >> $output_objdir/$soname.def;
14332 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14339 hardcode_direct_F77
=no
14340 hardcode_shlibpath_var_F77
=no
14341 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14342 export_dynamic_flag_spec_F77
='${wl}-E'
14343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14344 # Instead, shared libraries are loaded at an image base (0x10000000 by
14345 # default) and relocated if they conflict, which is a slow very memory
14346 # consuming and fragmenting process. To avoid this, we pick a random,
14347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14349 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'
14350 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'
14353 gnu
* | linux
* | k
*bsd
*-gnu)
14354 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14356 case $cc_basename,$host_cpu in
14357 pgcc
*) # Portland Group C compiler
14358 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'
14359 tmp_addflag
=' $pic_flag'
14361 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14362 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'
14363 tmp_addflag
=' $pic_flag -Mnomain' ;;
14364 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14365 tmp_addflag
=' -i_dynamic' ;;
14366 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14367 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14368 ifc
* | ifort
*) # Intel Fortran compiler
14369 tmp_addflag
=' -nofor_main' ;;
14371 case `$CC -V 2>&1 | sed 5q` in
14372 *Sun\ C
*) # Sun C 5.9
14373 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'
14374 tmp_sharedflag
='-G' ;;
14375 *Sun\ F
*) # Sun Fortran 8.3
14376 tmp_sharedflag
='-G' ;;
14378 tmp_sharedflag
='-shared' ;;
14380 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14382 if test $supports_anon_versioning = yes; then
14383 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14384 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14385 $echo "local: *; };" >> $output_objdir/$libname.ver~
14386 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14388 link_all_deplibs_F77
=no
14394 netbsd
* | netbsdelf
*-gnu)
14395 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14396 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14399 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14400 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14405 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14409 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14410 *** create shared libraries on Solaris systems. Therefore, libtool
14411 *** is disabling shared libraries support. We urge you to upgrade GNU
14412 *** binutils to release 2.9.1 or newer. Another option is to modify
14413 *** your PATH or compiler configuration so that the native linker is
14414 *** used, and then restart.
14417 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14418 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14419 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14425 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14426 case `$LD -v 2>&1` in
14427 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14431 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14432 *** reliably create shared libraries on SCO systems. Therefore, libtool
14433 *** is disabling shared libraries support. We urge you to upgrade GNU
14434 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14435 *** your PATH or compiler configuration so that the native linker is
14436 *** used, and then restart.
14441 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14442 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14443 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14444 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14453 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14455 hardcode_direct_F77
=yes
14456 hardcode_shlibpath_var_F77
=no
14460 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14461 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14462 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14469 if test "$ld_shlibs_F77" = no
; then
14471 hardcode_libdir_flag_spec_F77
=
14472 export_dynamic_flag_spec_F77
=
14473 whole_archive_flag_spec_F77
=
14476 # PORTME fill in a description of your system's linker (not GNU ld)
14479 allow_undefined_flag_F77
=unsupported
14480 always_export_symbols_F77
=yes
14481 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'
14482 # Note: this linker hardcodes the directories in LIBPATH if there
14483 # are no directories specified by -L.
14484 hardcode_minus_L_F77
=yes
14485 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14486 # Neither direct hardcoding nor static linking is supported with a
14488 hardcode_direct_F77
=unsupported
14493 if test "$host_cpu" = ia64
; then
14494 # On IA64, the linker does run time linking by default, so we don't
14495 # have to do anything special.
14496 aix_use_runtimelinking
=no
14497 exp_sym_flag
='-Bexport'
14500 # If we're using GNU nm, then we don't want the "-C" option.
14501 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14502 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14503 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'
14505 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'
14507 aix_use_runtimelinking
=no
14509 # Test if we are trying to use run time linking or normal
14510 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14511 # need to do runtime linking.
14512 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14513 for ld_flag
in $LDFLAGS; do
14514 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14515 aix_use_runtimelinking
=yes
14522 exp_sym_flag
='-bexport'
14523 no_entry_flag
='-bnoentry'
14526 # When large executables or shared objects are built, AIX ld can
14527 # have problems creating the table of contents. If linking a library
14528 # or program results in "error TOC overflow" add -mminimal-toc to
14529 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14530 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14532 archive_cmds_F77
=''
14533 hardcode_direct_F77
=yes
14534 hardcode_libdir_separator_F77
=':'
14535 link_all_deplibs_F77
=yes
14537 if test "$GCC" = yes; then
14538 case $host_os in aix4.
[012]|aix4.
[012].
*)
14539 # We only want to do this on AIX 4.2 and lower, the check
14540 # below for broken collect2 doesn't work under 4.3+
14541 collect2name
=`${CC} -print-prog-name=collect2`
14542 if test -f "$collect2name" && \
14543 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14545 # We have reworked collect2
14548 # We have old collect2
14549 hardcode_direct_F77
=unsupported
14550 # It fails to find uninstalled libraries when the uninstalled
14551 # path is not listed in the libpath. Setting hardcode_minus_L
14552 # to unsupported forces relinking
14553 hardcode_minus_L_F77
=yes
14554 hardcode_libdir_flag_spec_F77
='-L$libdir'
14555 hardcode_libdir_separator_F77
=
14559 shared_flag
='-shared'
14560 if test "$aix_use_runtimelinking" = yes; then
14561 shared_flag
="$shared_flag "'${wl}-G'
14565 if test "$host_cpu" = ia64
; then
14566 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14567 # chokes on -Wl,-G. The following line is correct:
14570 if test "$aix_use_runtimelinking" = yes; then
14571 shared_flag
='${wl}-G'
14573 shared_flag
='${wl}-bM:SRE'
14578 # It seems that -bexpall does not export symbols beginning with
14579 # underscore (_), so it is better to generate a list of symbols to export.
14580 always_export_symbols_F77
=yes
14581 if test "$aix_use_runtimelinking" = yes; then
14582 # Warning - without using the other runtime loading flags (-brtl),
14583 # -berok will link without error, but may produce a broken library.
14584 allow_undefined_flag_F77
='-berok'
14585 # Determine the default libpath from the value encoded in an empty executable.
14586 cat >conftest.
$ac_ext <<_ACEOF
14591 rm -f conftest.
$ac_objext conftest
$ac_exeext
14592 if { (ac_try
="$ac_link"
14593 case "(($ac_try" in
14594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_link") 2>conftest.er1
14600 grep -v '^ *+' conftest.er1 >conftest.err
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_f77_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest$ac_exeext &&
14608 $as_test_x conftest$ac_exeext; then
14610 lt_aix_libpath_sed='
14611 /Import File Strings/,/^$/ {
14617 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14618 # Check for a 64-bit object if we didn't find anything.
14619 if test -z "$aix_libpath"; then
14620 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14630 conftest$ac_exeext conftest.$ac_ext
14631 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14633 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14634 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"
14636 if test "$host_cpu" = ia64; then
14637 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14638 allow_undefined_flag_F77="-z nodefs"
14639 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"
14641 # Determine the default libpath from the value encoded in an empty executable.
14642 cat >conftest.$ac_ext <<_ACEOF
14647 rm -f conftest.$ac_objext conftest$ac_exeext
14648 if { (ac_try="$ac_link"
14649 case "(($ac_try" in
14650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14651 *) ac_try_echo
=$ac_try;;
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654 (eval "$ac_link") 2>conftest.er1
14656 grep -v '^ *+' conftest.er1
>conftest.err
14658 cat conftest.err
>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); } && {
14661 test -z "$ac_f77_werror_flag" ||
14662 test ! -s conftest.err
14663 } && test -s conftest
$ac_exeext &&
14664 $as_test_x conftest
$ac_exeext; then
14666 lt_aix_libpath_sed
='
14667 /Import File Strings/,/^$/ {
14673 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14674 # Check for a 64-bit object if we didn't find anything.
14675 if test -z "$aix_libpath"; then
14676 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14686 conftest
$ac_exeext conftest.
$ac_ext
14687 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14689 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14690 # Warning - without using the other run time loading flags,
14691 # -berok will link without error, but may produce a broken library.
14692 no_undefined_flag_F77
=' ${wl}-bernotok'
14693 allow_undefined_flag_F77
=' ${wl}-berok'
14694 # Exported symbols can be pulled into shared objects from archives
14695 whole_archive_flag_spec_F77
='$convenience'
14696 archive_cmds_need_lc_F77
=yes
14697 # This is similar to how AIX traditionally builds its shared libraries.
14698 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'
14704 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)'
14705 hardcode_libdir_flag_spec_F77
='-L$libdir'
14706 hardcode_minus_L_F77
=yes
14707 # see comment about different semantics on the GNU ld section
14712 export_dynamic_flag_spec_F77
=-rdynamic
14715 cygwin
* | mingw
* | pw32
*)
14716 # When not using gcc, we currently assume that we are using
14717 # Microsoft Visual C++.
14718 # hardcode_libdir_flag_spec is actually meaningless, as there is
14719 # no search path for DLLs.
14720 hardcode_libdir_flag_spec_F77
=' '
14721 allow_undefined_flag_F77
=unsupported
14722 # Tell ltmain to make .lib files, not .a files.
14724 # Tell ltmain to make .dll files, not .so files.
14726 # FIXME: Setting linknames here is a bad hack.
14727 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14728 # The linker will automatically build a .lib file if we build a DLL.
14729 old_archive_From_new_cmds_F77
='true'
14730 # FIXME: Should let the user specify the lib program.
14731 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14732 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14733 enable_shared_with_static_runtimes_F77
=yes
14736 darwin
* | rhapsody
*)
14738 rhapsody
* | darwin1.
[012])
14739 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14742 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14743 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14745 case ${MACOSX_DEPLOYMENT_TARGET} in
14747 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14750 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14756 archive_cmds_need_lc_F77
=no
14757 hardcode_direct_F77
=no
14758 hardcode_automatic_F77
=yes
14759 hardcode_shlibpath_var_F77
=unsupported
14760 whole_archive_flag_spec_F77
=''
14761 link_all_deplibs_F77
=yes
14762 if test "$GCC" = yes ; then
14763 output_verbose_link_cmd
='echo'
14764 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14765 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14766 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14767 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14768 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}'
14770 case $cc_basename in
14772 output_verbose_link_cmd
='echo'
14773 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
14774 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14775 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14776 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}'
14777 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}'
14787 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14788 hardcode_libdir_flag_spec_F77
='-L$libdir'
14789 hardcode_shlibpath_var_F77
=no
14796 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14797 # support. Future versions do this automatically, but an explicit c++rt0.o
14798 # does not break anything, and helps significantly (at the cost of a little
14801 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14802 hardcode_libdir_flag_spec_F77
='-R$libdir'
14803 hardcode_direct_F77
=yes
14804 hardcode_shlibpath_var_F77
=no
14807 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14809 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14810 hardcode_direct_F77
=yes
14811 hardcode_minus_L_F77
=yes
14812 hardcode_shlibpath_var_F77
=no
14815 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14816 freebsd
* | dragonfly
*)
14817 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14818 hardcode_libdir_flag_spec_F77
='-R$libdir'
14819 hardcode_direct_F77
=yes
14820 hardcode_shlibpath_var_F77
=no
14824 if test "$GCC" = yes; then
14825 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'
14827 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'
14829 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14830 hardcode_libdir_separator_F77
=:
14831 hardcode_direct_F77
=yes
14833 # hardcode_minus_L: Not really in the search PATH,
14834 # but as the default location of the library.
14835 hardcode_minus_L_F77
=yes
14836 export_dynamic_flag_spec_F77
='${wl}-E'
14840 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14841 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14843 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14845 if test "$with_gnu_ld" = no
; then
14846 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14847 hardcode_libdir_separator_F77
=:
14849 hardcode_direct_F77
=yes
14850 export_dynamic_flag_spec_F77
='${wl}-E'
14852 # hardcode_minus_L: Not really in the search PATH,
14853 # but as the default location of the library.
14854 hardcode_minus_L_F77
=yes
14859 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
14862 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14865 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14868 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14874 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14877 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14880 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14884 if test "$with_gnu_ld" = no
; then
14885 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
14886 hardcode_libdir_separator_F77
=:
14890 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
14891 hardcode_direct_F77
=no
14892 hardcode_shlibpath_var_F77
=no
14895 hardcode_direct_F77
=yes
14896 export_dynamic_flag_spec_F77
='${wl}-E'
14898 # hardcode_minus_L: Not really in the search PATH,
14899 # but as the default location of the library.
14900 hardcode_minus_L_F77
=yes
14906 irix5
* | irix6
* | nonstopux
*)
14907 if test "$GCC" = yes; then
14908 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'
14910 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'
14911 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
14913 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14914 hardcode_libdir_separator_F77
=:
14915 link_all_deplibs_F77
=yes
14918 netbsd
* | netbsdelf
*-gnu)
14919 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14920 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14922 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14924 hardcode_libdir_flag_spec_F77
='-R$libdir'
14925 hardcode_direct_F77
=yes
14926 hardcode_shlibpath_var_F77
=no
14930 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14931 hardcode_direct_F77
=yes
14932 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14933 hardcode_libdir_separator_F77
=:
14934 hardcode_shlibpath_var_F77
=no
14938 if test -f /usr
/libexec
/ld.so
; then
14939 hardcode_direct_F77
=yes
14940 hardcode_shlibpath_var_F77
=no
14941 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14942 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14943 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14944 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14945 export_dynamic_flag_spec_F77
='${wl}-E'
14948 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14949 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14950 hardcode_libdir_flag_spec_F77
='-R$libdir'
14953 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14954 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14964 hardcode_libdir_flag_spec_F77
='-L$libdir'
14965 hardcode_minus_L_F77
=yes
14966 allow_undefined_flag_F77
=unsupported
14967 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'
14968 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14972 if test "$GCC" = yes; then
14973 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14974 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'
14976 allow_undefined_flag_F77
=' -expect_unresolved \*'
14977 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'
14979 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14980 hardcode_libdir_separator_F77
=:
14983 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14984 if test "$GCC" = yes; then
14985 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
14986 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'
14987 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
14989 allow_undefined_flag_F77
=' -expect_unresolved \*'
14990 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'
14991 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~
14992 $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'
14994 # Both c and cxx compiler support -rpath directly
14995 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
14997 hardcode_libdir_separator_F77
=:
15001 no_undefined_flag_F77
=' -z text'
15002 if test "$GCC" = yes; then
15004 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15006 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15009 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15010 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15011 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15013 hardcode_libdir_flag_spec_F77
='-R$libdir'
15014 hardcode_shlibpath_var_F77
=no
15016 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15018 # The compiler driver will combine and reorder linker options,
15019 # but understands `-z linker_flag'. GCC discards it without `$wl',
15020 # but is careful enough not to reorder.
15021 # Supported since Solaris 2.6 (maybe 2.5.1?)
15022 if test "$GCC" = yes; then
15023 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15025 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15029 link_all_deplibs_F77
=yes
15033 if test "x$host_vendor" = xsequent
; then
15034 # Use $CC to link under sequent, because it throws in some extra .o
15035 # files that make .init and .fini sections work.
15036 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15038 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15040 hardcode_libdir_flag_spec_F77
='-L$libdir'
15041 hardcode_direct_F77
=yes
15042 hardcode_minus_L_F77
=yes
15043 hardcode_shlibpath_var_F77
=no
15047 case $host_vendor in
15049 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15050 hardcode_direct_F77
=yes # is this really true???
15053 ## LD is ld it makes a PLAMLIB
15054 ## CC just makes a GrossModule.
15055 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15056 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15057 hardcode_direct_F77
=no
15060 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15061 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15064 runpath_var
='LD_RUN_PATH'
15065 hardcode_shlibpath_var_F77
=no
15069 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15070 hardcode_shlibpath_var_F77
=no
15071 export_dynamic_flag_spec_F77
='-Bexport'
15075 if test -d /usr
/nec
; then
15076 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15077 hardcode_shlibpath_var_F77
=no
15078 runpath_var
=LD_RUN_PATH
15079 hardcode_runpath_var
=yes
15084 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15085 no_undefined_flag_F77
='${wl}-z,text'
15086 archive_cmds_need_lc_F77
=no
15087 hardcode_shlibpath_var_F77
=no
15088 runpath_var
='LD_RUN_PATH'
15090 if test "$GCC" = yes; then
15091 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15092 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15094 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15095 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15099 sysv5
* | sco3.2v5
* | sco5v6
*)
15100 # Note: We can NOT use -z defs as we might desire, because we do not
15101 # link with -lc, and that would cause any symbols used from libc to
15102 # always be unresolved, which means just about no library would
15103 # ever link correctly. If we're not using GNU ld we use -z text
15104 # though, which does catch some bad symbols but isn't as heavy-handed
15106 no_undefined_flag_F77
='${wl}-z,text'
15107 allow_undefined_flag_F77
='${wl}-z,nodefs'
15108 archive_cmds_need_lc_F77
=no
15109 hardcode_shlibpath_var_F77
=no
15110 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15111 hardcode_libdir_separator_F77
=':'
15112 link_all_deplibs_F77
=yes
15113 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15114 runpath_var
='LD_RUN_PATH'
15116 if test "$GCC" = yes; then
15117 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15118 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15120 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15121 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15126 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15127 hardcode_libdir_flag_spec_F77
='-L$libdir'
15128 hardcode_shlibpath_var_F77
=no
15137 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15138 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15139 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15142 # Do we need to explicitly link libc?
15144 case "x$archive_cmds_need_lc_F77" in
15146 # Assume -lc should be added
15147 archive_cmds_need_lc_F77
=yes
15149 if test "$enable_shared" = yes && test "$GCC" = yes; then
15150 case $archive_cmds_F77 in
15152 # FIXME: we may have to deal with multi-command sequences.
15155 # Test whether the compiler implicitly links with -lc since on some
15156 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15157 # to ld, don't add -lc before -lgcc.
15158 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15159 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15161 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15164 (eval $ac_compile) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } 2>conftest.err
; then
15170 libobjs
=conftest.
$ac_objext
15172 wl
=$lt_prog_compiler_wl_F77
15173 pic_flag
=$lt_prog_compiler_pic_F77
15179 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15180 allow_undefined_flag_F77
=
15181 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15182 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }
15187 archive_cmds_need_lc_F77
=no
15189 archive_cmds_need_lc_F77
=yes
15191 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15193 cat conftest.err
1>&5
15196 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15197 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15204 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15205 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15206 library_names_spec
=
15207 libname_spec
='lib$name'
15211 postuninstall_cmds
=
15215 shlibpath_overrides_runpath
=unknown
15217 dynamic_linker
="$host_os ld.so"
15218 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15220 need_lib_prefix
=unknown
15221 hardcode_into_libs
=no
15223 # when you set need_version to no, make sure it does not cause -set_version
15224 # flags to be left without arguments
15225 need_version
=unknown
15230 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15231 shlibpath_var
=LIBPATH
15233 # AIX 3 has no versioning support, so we append a major version to the name.
15234 soname_spec
='${libname}${release}${shared_ext}$major'
15241 hardcode_into_libs
=yes
15242 if test "$host_cpu" = ia64
; then
15243 # AIX 5 supports IA64
15244 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15245 shlibpath_var
=LD_LIBRARY_PATH
15247 # With GCC up to 2.95.x, collect2 would create an import file
15248 # for dependence libraries. The import file would start with
15249 # the line `#! .'. This would cause the generated library to
15250 # depend on `.', always an invalid library. This was fixed in
15251 # development snapshots of GCC prior to 3.0.
15253 aix4 | aix4.
[01] | aix4.
[01].
*)
15254 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15256 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15259 can_build_shared
=no
15263 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15264 # soname into executable. Probably we can add versioning support to
15265 # collect2, so additional links can be useful in future.
15266 if test "$aix_use_runtimelinking" = yes; then
15267 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15268 # instead of lib<name>.a to let people know that these are not
15269 # typical AIX shared libraries.
15270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 # We preserve .a as extension for shared libraries through AIX4.2
15273 # and later when we are not doing run time linking.
15274 library_names_spec
='${libname}${release}.a $libname.a'
15275 soname_spec
='${libname}${release}${shared_ext}$major'
15277 shlibpath_var
=LIBPATH
15282 library_names_spec
='$libname.ixlibrary $libname.a'
15283 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15284 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'
15288 library_names_spec
='${libname}${shared_ext}'
15289 dynamic_linker
="$host_os ld.so"
15290 shlibpath_var
=LIBRARY_PATH
15296 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297 soname_spec
='${libname}${release}${shared_ext}$major'
15298 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15299 shlibpath_var
=LD_LIBRARY_PATH
15300 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15301 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15302 # the default ld.so.conf also contains /usr/contrib/lib and
15303 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15304 # libtool to hard-code these into programs
15307 cygwin
* | mingw
* | pw32
*)
15308 version_type
=windows
15313 case $GCC,$host_os in
15314 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15315 library_names_spec
='$libname.dll.a'
15316 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15317 postinstall_cmds
='base_file=`basename \${file}`~
15318 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15319 dldir=$destdir/`dirname \$dlpath`~
15320 test -d \$dldir || mkdir -p \$dldir~
15321 $install_prog $dir/$dlname \$dldir/$dlname~
15322 chmod a+x \$dldir/$dlname'
15323 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15324 dlpath=$dir/\$dldll~
15326 shlibpath_overrides_runpath
=yes
15330 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15331 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15332 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15335 # MinGW DLLs use traditional 'lib' prefix
15336 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15337 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15338 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15339 # It is most probably a Windows format PATH printed by
15340 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15341 # path with ; separators, and with drive letters. We can handle the
15342 # drive letters (cygwin fileutils understands them), so leave them,
15343 # especially as we might pass files found there to a mingw objdump,
15344 # which wouldn't understand a cygwinified path. Ahh.
15345 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15347 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15351 # pw32 DLLs use 'pw' prefix rather than 'lib'
15352 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15358 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15361 dynamic_linker
='Win32 ld.exe'
15362 # FIXME: first we should search . and the directory the executable is in
15366 darwin
* | rhapsody
*)
15367 dynamic_linker
="$host_os dyld"
15368 version_type
=darwin
15371 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15372 soname_spec
='${libname}${release}${major}$shared_ext'
15373 shlibpath_overrides_runpath
=yes
15374 shlibpath_var
=DYLD_LIBRARY_PATH
15375 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15377 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15385 soname_spec
='${libname}${release}${shared_ext}$major'
15386 shlibpath_var
=LD_LIBRARY_PATH
15393 freebsd
* | dragonfly
*)
15394 # DragonFly does not have aout. When/if they implement a new
15395 # versioning mechanism, adjust this.
15396 if test -x /usr
/bin
/objformat
; then
15397 objformat
=`/usr/bin/objformat`
15400 freebsd
[123]*) objformat
=aout
;;
15401 *) objformat
=elf
;;
15404 version_type
=freebsd-
$objformat
15405 case $version_type in
15407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15416 shlibpath_var
=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15421 freebsd3.
[01]* | freebsdelf3.
[01]*)
15422 shlibpath_overrides_runpath
=yes
15423 hardcode_into_libs
=yes
15425 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15426 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15427 shlibpath_overrides_runpath
=no
15428 hardcode_into_libs
=yes
15430 *) # from 4.6 on, and DragonFly
15431 shlibpath_overrides_runpath
=yes
15432 hardcode_into_libs
=yes
15441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15442 soname_spec
='${libname}${release}${shared_ext}$major'
15443 shlibpath_var
=LD_LIBRARY_PATH
15444 hardcode_into_libs
=yes
15447 hpux9
* | hpux10
* | hpux11
*)
15448 # Give a soname corresponding to the major version so that dld.sl refuses to
15449 # link against other versions.
15456 hardcode_into_libs
=yes
15457 dynamic_linker
="$host_os dld.so"
15458 shlibpath_var
=LD_LIBRARY_PATH
15459 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461 soname_spec
='${libname}${release}${shared_ext}$major'
15462 if test "X$HPUX_IA64_MODE" = X32
; then
15463 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15465 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15467 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15471 hardcode_into_libs
=yes
15472 dynamic_linker
="$host_os dld.sl"
15473 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15474 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15476 soname_spec
='${libname}${release}${shared_ext}$major'
15477 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15478 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15482 dynamic_linker
="$host_os dld.sl"
15483 shlibpath_var
=SHLIB_PATH
15484 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15486 soname_spec
='${libname}${release}${shared_ext}$major'
15489 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15490 postinstall_cmds
='chmod 555 $lib'
15497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15498 soname_spec
='${libname}${release}${shared_ext}$major'
15499 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15500 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=no
15502 hardcode_into_libs
=yes
15505 irix5
* | irix6
* | nonstopux
*)
15507 nonstopux
*) version_type
=nonstopux
;;
15509 if test "$lt_cv_prog_gnu_ld" = yes; then
15517 soname_spec
='${libname}${release}${shared_ext}$major'
15518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15520 irix5
* | nonstopux
*)
15521 libsuff
= shlibsuff
=
15524 case $LD in # libtool.m4 will add one of these switches to LD
15525 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15526 libsuff
= shlibsuff
= libmagic
=32-bit;;
15527 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15528 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15529 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15530 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15531 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15535 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15536 shlibpath_overrides_runpath
=no
15537 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15538 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15539 hardcode_into_libs
=yes
15542 # No shared lib support for Linux oldld, aout, or coff.
15543 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15547 # This must be Linux ELF.
15548 linux
* | k
*bsd
*-gnu)
15552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 soname_spec
='${libname}${release}${shared_ext}$major'
15554 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15555 shlibpath_var
=LD_LIBRARY_PATH
15556 shlibpath_overrides_runpath
=no
15557 # This implies no fast_install, which is unacceptable.
15558 # Some rework will be needed to allow for fast_install
15559 # before this can be enabled.
15560 hardcode_into_libs
=yes
15562 # Append ld.so.conf contents to the search path
15563 if test -f /etc
/ld.so.conf
; then
15564 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' ' '`
15565 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15568 # We used to test for /lib/ld.so.1 and disable shared libraries on
15569 # powerpc, because MkLinux only supported shared libraries with the
15570 # GNU dynamic linker. Since this was broken with cross compilers,
15571 # most powerpc-linux boxes support dynamic linking these days and
15572 # people can always --disable-shared, the test was removed, and we
15573 # assume the GNU/Linux dynamic linker is in use.
15574 dynamic_linker
='GNU/Linux ld.so'
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15582 soname_spec
='${libname}${release}${shared_ext}$major'
15583 shlibpath_var
=LD_LIBRARY_PATH
15584 shlibpath_overrides_runpath
=no
15585 hardcode_into_libs
=yes
15586 dynamic_linker
='NetBSD ld.elf_so'
15593 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15595 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15596 dynamic_linker
='NetBSD (a.out) ld.so'
15598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 dynamic_linker
='NetBSD ld.elf_so'
15602 shlibpath_var
=LD_LIBRARY_PATH
15603 shlibpath_overrides_runpath
=yes
15604 hardcode_into_libs
=yes
15609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610 shlibpath_var
=LD_LIBRARY_PATH
15611 shlibpath_overrides_runpath
=yes
15618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15619 soname_spec
='${libname}${release}${shared_ext}$major'
15620 shlibpath_var
=LD_LIBRARY_PATH
15621 shlibpath_overrides_runpath
=yes
15626 sys_lib_dlsearch_path_spec
="/usr/lib"
15628 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15630 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15631 *) need_version
=no
;;
15633 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15634 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15635 shlibpath_var
=LD_LIBRARY_PATH
15636 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15638 openbsd2.
[89] | openbsd2.
[89].
*)
15639 shlibpath_overrides_runpath
=no
15642 shlibpath_overrides_runpath
=yes
15646 shlibpath_overrides_runpath
=yes
15651 libname_spec
='$name'
15654 library_names_spec
='$libname${shared_ext} $libname.a'
15655 dynamic_linker
='OS/2 ld.exe'
15656 shlibpath_var
=LIBPATH
15659 osf3
* | osf4
* | osf5
*)
15663 soname_spec
='${libname}${release}${shared_ext}$major'
15664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15665 shlibpath_var
=LD_LIBRARY_PATH
15666 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15667 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679 soname_spec
='${libname}${release}${shared_ext}$major'
15680 shlibpath_var
=LD_LIBRARY_PATH
15681 shlibpath_overrides_runpath
=yes
15682 hardcode_into_libs
=yes
15683 # ldd complains unless libraries are executable
15684 postinstall_cmds
='chmod +x $lib'
15689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15690 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15691 shlibpath_var
=LD_LIBRARY_PATH
15692 shlibpath_overrides_runpath
=yes
15693 if test "$with_gnu_ld" = yes; then
15701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15702 soname_spec
='${libname}${release}${shared_ext}$major'
15703 shlibpath_var
=LD_LIBRARY_PATH
15704 case $host_vendor in
15706 shlibpath_overrides_runpath
=no
15708 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15709 runpath_var
=LD_RUN_PATH
15717 shlibpath_overrides_runpath
=no
15718 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15724 if test -d /usr
/nec
;then
15726 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15727 soname_spec
='$libname${shared_ext}.$major'
15728 shlibpath_var
=LD_LIBRARY_PATH
15732 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15733 version_type
=freebsd-elf
15736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15737 soname_spec
='${libname}${release}${shared_ext}$major'
15738 shlibpath_var
=LD_LIBRARY_PATH
15739 hardcode_into_libs
=yes
15740 if test "$with_gnu_ld" = yes; then
15741 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15742 shlibpath_overrides_runpath
=no
15744 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15745 shlibpath_overrides_runpath
=yes
15748 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15752 sys_lib_dlsearch_path_spec
='/usr/lib'
15757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15759 shlibpath_var
=LD_LIBRARY_PATH
15766 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15767 echo "${ECHO_T}$dynamic_linker" >&6; }
15768 test "$dynamic_linker" = no
&& can_build_shared
=no
15770 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15771 if test "$GCC" = yes; then
15772 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15775 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15776 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15777 hardcode_action_F77
=
15778 if test -n "$hardcode_libdir_flag_spec_F77" || \
15779 test -n "$runpath_var_F77" || \
15780 test "X$hardcode_automatic_F77" = "Xyes" ; then
15782 # We can hardcode non-existant directories.
15783 if test "$hardcode_direct_F77" != no
&&
15784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15785 # have to relink, otherwise we might link with an installed library
15786 # when we should be linking with a yet-to-be-installed one
15787 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15788 test "$hardcode_minus_L_F77" != no
; then
15789 # Linking always hardcodes the temporary library directory.
15790 hardcode_action_F77
=relink
15792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15793 hardcode_action_F77
=immediate
15796 # We cannot hardcode anything, or else we can only hardcode existing
15798 hardcode_action_F77
=unsupported
15800 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15801 echo "${ECHO_T}$hardcode_action_F77" >&6; }
15803 if test "$hardcode_action_F77" = relink
; then
15804 # Fast installation is not supported
15805 enable_fast_install
=no
15806 elif test "$shlibpath_overrides_runpath" = yes ||
15807 test "$enable_shared" = no
; then
15808 # Fast installation is not necessary
15809 enable_fast_install
=needless
15813 # The else clause should only fire when bootstrapping the
15814 # libtool distribution, otherwise you forgot to ship ltmain.sh
15815 # with your package, and you will get complaints that there are
15816 # no rules to generate ltmain.sh.
15817 if test -f "$ltmain"; then
15818 # See if we are running on zsh, and set the options which allow our commands through
15819 # without removal of \ escapes.
15820 if test -n "${ZSH_VERSION+set}" ; then
15821 setopt NO_GLOB_SUBST
15823 # Now quote all the things that may contain metacharacters while being
15824 # careful not to overquote the AC_SUBSTed values. We take copies of the
15825 # variables and quote the copies for generation of the libtool script.
15826 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15828 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15829 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15830 deplibs_check_method reload_flag reload_cmds need_locks \
15831 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15832 lt_cv_sys_global_symbol_to_c_name_address \
15833 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15834 old_postinstall_cmds old_postuninstall_cmds \
15838 lt_prog_compiler_wl_F77 \
15839 lt_prog_compiler_pic_F77 \
15840 lt_prog_compiler_static_F77 \
15841 lt_prog_compiler_no_builtin_flag_F77 \
15842 export_dynamic_flag_spec_F77 \
15843 thread_safe_flag_spec_F77 \
15844 whole_archive_flag_spec_F77 \
15845 enable_shared_with_static_runtimes_F77 \
15846 old_archive_cmds_F77 \
15847 old_archive_from_new_cmds_F77 \
15848 predep_objects_F77 \
15849 postdep_objects_F77 \
15852 compiler_lib_search_path_F77 \
15854 archive_expsym_cmds_F77 \
15855 postinstall_cmds_F77 \
15856 postuninstall_cmds_F77 \
15857 old_archive_from_expsyms_cmds_F77 \
15858 allow_undefined_flag_F77 \
15859 no_undefined_flag_F77 \
15860 export_symbols_cmds_F77 \
15861 hardcode_libdir_flag_spec_F77 \
15862 hardcode_libdir_flag_spec_ld_F77 \
15863 hardcode_libdir_separator_F77 \
15864 hardcode_automatic_F77 \
15866 module_expsym_cmds_F77 \
15867 lt_cv_prog_compiler_c_o_F77 \
15868 fix_srcfile_path_F77 \
15869 exclude_expsyms_F77 \
15870 include_expsyms_F77
; do
15873 old_archive_cmds_F77 | \
15874 old_archive_from_new_cmds_F77 | \
15875 archive_cmds_F77 | \
15876 archive_expsym_cmds_F77 | \
15877 module_cmds_F77 | \
15878 module_expsym_cmds_F77 | \
15879 old_archive_from_expsyms_cmds_F77 | \
15880 export_symbols_cmds_F77 | \
15881 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15882 postinstall_cmds | postuninstall_cmds | \
15883 old_postinstall_cmds | old_postuninstall_cmds | \
15884 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
15885 # Double-quote double-evaled strings.
15886 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15889 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15895 *'\$0 --fallback-echo"')
15896 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15902 cat <<__EOF__ >> "$cfgfile"
15903 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15905 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15907 # Shell to use when invoking shell scripts.
15910 # Whether or not to build shared libraries.
15911 build_libtool_libs=$enable_shared
15913 # Whether or not to build static libraries.
15914 build_old_libs=$enable_static
15916 # Whether or not to add -lc for building shared libraries.
15917 build_libtool_need_lc=$archive_cmds_need_lc_F77
15919 # Whether or not to disallow shared libs when runtime libs are static
15920 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
15922 # Whether or not to optimize for fast installation.
15923 fast_install=$enable_fast_install
15926 host_alias=$host_alias
15930 # The build system.
15931 build_alias=$build_alias
15935 # An echo program that does not interpret backslashes.
15940 AR_FLAGS=$lt_AR_FLAGS
15945 # LTCC compiler flags.
15946 LTCFLAGS=$lt_LTCFLAGS
15948 # A language-specific compiler.
15949 CC=$lt_compiler_F77
15951 # Is the compiler the GNU C compiler?
15957 # The linker used to build libraries.
15960 # Whether we need hard or soft links.
15963 # A BSD-compatible nm program.
15966 # A symbol stripping program
15969 # Used to examine libraries when file_magic_cmd begins "file"
15970 MAGIC_CMD=$MAGIC_CMD
15972 # Used on cygwin: DLL creation program.
15975 # Used on cygwin: object dumper.
15978 # Used on cygwin: assembler.
15981 # The name of the directory that contains temporary libtool files.
15984 # How to create reloadable object files.
15985 reload_flag=$lt_reload_flag
15986 reload_cmds=$lt_reload_cmds
15988 # How to pass a linker flag through the compiler.
15989 wl=$lt_lt_prog_compiler_wl_F77
15991 # Object file suffix (normally "o").
15992 objext="$ac_objext"
15994 # Old archive suffix (normally "a").
15997 # Shared library suffix (normally ".so").
15998 shrext_cmds='$shrext_cmds'
16000 # Executable file suffix (normally "").
16003 # Additional compiler flags for building library objects.
16004 pic_flag=$lt_lt_prog_compiler_pic_F77
16007 # What is the maximum length of a command?
16008 max_cmd_len=$lt_cv_sys_max_cmd_len
16010 # Does compiler simultaneously support -c and -o options?
16011 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16013 # Must we lock files when doing compilation?
16014 need_locks=$lt_need_locks
16016 # Do we need the lib prefix for modules?
16017 need_lib_prefix=$need_lib_prefix
16019 # Do we need a version for libraries?
16020 need_version=$need_version
16022 # Whether dlopen is supported.
16023 dlopen_support=$enable_dlopen
16025 # Whether dlopen of programs is supported.
16026 dlopen_self=$enable_dlopen_self
16028 # Whether dlopen of statically linked programs is supported.
16029 dlopen_self_static=$enable_dlopen_self_static
16031 # Compiler flag to prevent dynamic linking.
16032 link_static_flag=$lt_lt_prog_compiler_static_F77
16034 # Compiler flag to turn off builtin functions.
16035 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16037 # Compiler flag to allow reflexive dlopens.
16038 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16040 # Compiler flag to generate shared objects directly from archives.
16041 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16043 # Compiler flag to generate thread-safe objects.
16044 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16046 # Library versioning type.
16047 version_type=$version_type
16049 # Format of library name prefix.
16050 libname_spec=$lt_libname_spec
16052 # List of archive names. First name is the real one, the rest are links.
16053 # The last name is the one that the linker finds with -lNAME.
16054 library_names_spec=$lt_library_names_spec
16056 # The coded name of the library, if different from the real name.
16057 soname_spec=$lt_soname_spec
16059 # Commands used to build and install an old-style archive.
16061 old_archive_cmds=$lt_old_archive_cmds_F77
16062 old_postinstall_cmds=$lt_old_postinstall_cmds
16063 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16065 # Create an old-style archive from a shared archive.
16066 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16068 # Create a temporary old-style archive to link instead of a shared archive.
16069 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16071 # Commands used to build and install a shared archive.
16072 archive_cmds=$lt_archive_cmds_F77
16073 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16074 postinstall_cmds=$lt_postinstall_cmds
16075 postuninstall_cmds=$lt_postuninstall_cmds
16077 # Commands used to build a loadable module (assumed same as above if empty)
16078 module_cmds=$lt_module_cmds_F77
16079 module_expsym_cmds=$lt_module_expsym_cmds_F77
16081 # Commands to strip libraries.
16082 old_striplib=$lt_old_striplib
16083 striplib=$lt_striplib
16085 # Dependencies to place before the objects being linked to create a
16087 predep_objects=$lt_predep_objects_F77
16089 # Dependencies to place after the objects being linked to create a
16091 postdep_objects=$lt_postdep_objects_F77
16093 # Dependencies to place before the objects being linked to create a
16095 predeps=$lt_predeps_F77
16097 # Dependencies to place after the objects being linked to create a
16099 postdeps=$lt_postdeps_F77
16101 # The library search path used internally by the compiler when linking
16102 # a shared library.
16103 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16105 # Method to check whether dependent libraries are shared objects.
16106 deplibs_check_method=$lt_deplibs_check_method
16108 # Command to use when deplibs_check_method == file_magic.
16109 file_magic_cmd=$lt_file_magic_cmd
16111 # Flag that allows shared libraries with undefined symbols to be built.
16112 allow_undefined_flag=$lt_allow_undefined_flag_F77
16114 # Flag that forces no undefined symbols.
16115 no_undefined_flag=$lt_no_undefined_flag_F77
16117 # Commands used to finish a libtool library installation in a directory.
16118 finish_cmds=$lt_finish_cmds
16120 # Same as above, but a single script fragment to be evaled but not shown.
16121 finish_eval=$lt_finish_eval
16123 # Take the output of nm and produce a listing of raw symbols and C names.
16124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16126 # Transform the output of nm in a proper C declaration
16127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16129 # Transform the output of nm in a C name address pair
16130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16132 # This is the shared library runtime path variable.
16133 runpath_var=$runpath_var
16135 # This is the shared library path variable.
16136 shlibpath_var=$shlibpath_var
16138 # Is shlibpath searched before the hard-coded library search path?
16139 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16141 # How to hardcode a shared library path into an executable.
16142 hardcode_action=$hardcode_action_F77
16144 # Whether we should hardcode library paths into libraries.
16145 hardcode_into_libs=$hardcode_into_libs
16147 # Flag to hardcode \$libdir into a binary during linking.
16148 # This must work even if \$libdir does not exist.
16149 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16151 # If ld is used when linking, flag to hardcode \$libdir into
16152 # a binary during linking. This must work even if \$libdir does
16154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16156 # Whether we need a single -rpath flag with a separated argument.
16157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16159 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16160 # resulting binary.
16161 hardcode_direct=$hardcode_direct_F77
16163 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16164 # resulting binary.
16165 hardcode_minus_L=$hardcode_minus_L_F77
16167 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16168 # the resulting binary.
16169 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16171 # Set to yes if building a shared library automatically hardcodes DIR into the library
16172 # and all subsequent libraries and executables linked against it.
16173 hardcode_automatic=$hardcode_automatic_F77
16175 # Variables whose values should be saved in libtool wrapper scripts and
16176 # restored at relink time.
16177 variables_saved_for_relink="$variables_saved_for_relink"
16179 # Whether libtool must link a program against all its dependency libraries.
16180 link_all_deplibs=$link_all_deplibs_F77
16182 # Compile-time system search path for libraries
16183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16185 # Run-time system search path for libraries
16186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16188 # Fix the shell variable \$srcfile for the compiler.
16189 fix_srcfile_path=$lt_fix_srcfile_path
16191 # Set to yes if exported symbols are required.
16192 always_export_symbols=$always_export_symbols_F77
16194 # The commands to list exported symbols.
16195 export_symbols_cmds=$lt_export_symbols_cmds_F77
16197 # The commands to extract the exported symbol list from a shared archive.
16198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16200 # Symbols that should not be listed in the preloaded symbols.
16201 exclude_expsyms=$lt_exclude_expsyms_F77
16203 # Symbols that must always be exported.
16204 include_expsyms=$lt_include_expsyms_F77
16206 # ### END LIBTOOL TAG CONFIG: $tagname
16212 # If there is no Makefile yet, we rely on a make rule to execute
16213 # `config.status --recheck' to rerun these tests and create the
16214 # libtool script then.
16215 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16216 if test -f "$ltmain_in"; then
16217 test -f Makefile
&& make "$ltmain"
16223 ac_cpp
='$CPP $CPPFLAGS'
16224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16236 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16239 # Source file extension for Java test sources.
16242 # Object file extension for compiled Java test sources.
16246 # Code to be used in simple compile tests
16247 lt_simple_compile_test_code
="class foo {}"
16249 # Code to be used in simple link tests
16250 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16252 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16254 # If no C compiler was specified, use CC.
16257 # If no C compiler flags were specified, use CFLAGS.
16258 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16260 # Allow CC to be a program name with arguments.
16264 # save warnings/boilerplate of simple test code
16265 ac_outfile
=conftest.
$ac_objext
16266 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16267 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16268 _lt_compiler_boilerplate
=`cat conftest.err`
16271 ac_outfile
=conftest.
$ac_objext
16272 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16273 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16274 _lt_linker_boilerplate
=`cat conftest.err`
16278 # Allow CC to be a program name with arguments.
16283 for cc_temp
in $compiler""; do
16285 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16286 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16291 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16294 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16295 archive_cmds_need_lc_GCJ
=no
16297 old_archive_cmds_GCJ
=$old_archive_cmds
16300 lt_prog_compiler_no_builtin_flag_GCJ
=
16302 if test "$GCC" = yes; then
16303 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16306 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16307 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16309 echo $ECHO_N "(cached) $ECHO_C" >&6
16311 lt_cv_prog_compiler_rtti_exceptions
=no
16312 ac_outfile
=conftest.
$ac_objext
16313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16314 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16315 # Insert the option either (1) after the last *FLAGS variable, or
16316 # (2) before a word containing "conftest.", or (3) at the end.
16317 # Note that $ac_compile itself does not contain backslashes and begins
16318 # with a dollar sign (not a hyphen), so the echo should work correctly.
16319 # The option is referenced via a variable to avoid confusing sed.
16320 lt_compile
=`echo "$ac_compile" | $SED \
16321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16323 -e 's:$: $lt_compiler_flag:'`
16324 (eval echo "\"\$as_me:16324: $lt_compile\"" >&5)
16325 (eval "$lt_compile" 2>conftest.err
)
16327 cat conftest.err
>&5
16328 echo "$as_me:16328: \$? = $ac_status" >&5
16329 if (exit $ac_status) && test -s "$ac_outfile"; then
16330 # The compiler can only warn and ignore the option if not recognized
16331 # So say no if there are warnings other than the usual output.
16332 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16333 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16334 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16335 lt_cv_prog_compiler_rtti_exceptions
=yes
16341 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16342 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16344 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16345 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16352 lt_prog_compiler_wl_GCJ
=
16353 lt_prog_compiler_pic_GCJ
=
16354 lt_prog_compiler_static_GCJ
=
16356 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16357 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16359 if test "$GCC" = yes; then
16360 lt_prog_compiler_wl_GCJ
='-Wl,'
16361 lt_prog_compiler_static_GCJ
='-static'
16365 # All AIX code is PIC.
16366 if test "$host_cpu" = ia64
; then
16367 # AIX 5 now supports IA64 processor
16368 lt_prog_compiler_static_GCJ
='-Bstatic'
16373 # FIXME: we need at least 68020 code to build shared libraries, but
16374 # adding the `-m68020' flag to GCC prevents building anything better,
16376 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16379 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16380 # PIC is the default for these OSes.
16383 mingw
* | cygwin
* | pw32
* | os2
*)
16384 # This hack is so that the source file can tell whether it is being
16385 # built for inclusion in a dll (and should export symbols for example).
16386 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16387 # (--disable-auto-import) libraries
16388 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16391 darwin
* | rhapsody
*)
16392 # PIC is the default on this platform
16393 # Common symbols not allowed in MH_DYLIB files
16394 lt_prog_compiler_pic_GCJ
='-fno-common'
16398 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16399 # Instead, we relocate shared libraries at runtime.
16403 # Just because we use GCC doesn't mean we suddenly get shared libraries
16404 # on systems that don't support them.
16405 lt_prog_compiler_can_build_shared_GCJ
=no
16410 if test -d /usr
/nec
; then
16411 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16416 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16417 # not for PA HP-UX.
16423 lt_prog_compiler_pic_GCJ
='-fPIC'
16429 lt_prog_compiler_pic_GCJ
='-fPIC'
16433 # PORTME Check for flag to pass linker flags through the system compiler.
16436 lt_prog_compiler_wl_GCJ
='-Wl,'
16437 if test "$host_cpu" = ia64
; then
16438 # AIX 5 now supports IA64 processor
16439 lt_prog_compiler_static_GCJ
='-Bstatic'
16441 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16445 # PIC is the default on this platform
16446 # Common symbols not allowed in MH_DYLIB files
16447 case $cc_basename in
16449 lt_prog_compiler_pic_GCJ
='-qnocommon'
16450 lt_prog_compiler_wl_GCJ
='-Wl,'
16455 mingw
* | cygwin
* | pw32
* | os2
*)
16456 # This hack is so that the source file can tell whether it is being
16457 # built for inclusion in a dll (and should export symbols for example).
16458 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16461 hpux9
* | hpux10
* | hpux11
*)
16462 lt_prog_compiler_wl_GCJ
='-Wl,'
16463 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16464 # not for PA HP-UX.
16470 lt_prog_compiler_pic_GCJ
='+Z'
16473 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16474 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16477 irix5
* | irix6
* | nonstopux
*)
16478 lt_prog_compiler_wl_GCJ
='-Wl,'
16479 # PIC (with -KPIC) is the default.
16480 lt_prog_compiler_static_GCJ
='-non_shared'
16484 lt_prog_compiler_pic_GCJ
='-KPIC'
16485 lt_prog_compiler_static_GCJ
='-Bstatic'
16488 linux
* | k
*bsd
*-gnu)
16489 case $cc_basename in
16491 lt_prog_compiler_wl_GCJ
='-Wl,'
16492 lt_prog_compiler_pic_GCJ
='-KPIC'
16493 lt_prog_compiler_static_GCJ
='-static'
16495 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16496 # Portland Group compilers (*not* the Pentium gcc compiler,
16497 # which looks to be a dead project)
16498 lt_prog_compiler_wl_GCJ
='-Wl,'
16499 lt_prog_compiler_pic_GCJ
='-fpic'
16500 lt_prog_compiler_static_GCJ
='-Bstatic'
16503 lt_prog_compiler_wl_GCJ
='-Wl,'
16504 # All Alpha code is PIC.
16505 lt_prog_compiler_static_GCJ
='-non_shared'
16508 case `$CC -V 2>&1 | sed 5q` in
16511 lt_prog_compiler_pic_GCJ
='-KPIC'
16512 lt_prog_compiler_static_GCJ
='-Bstatic'
16513 lt_prog_compiler_wl_GCJ
='-Wl,'
16516 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16517 lt_prog_compiler_pic_GCJ
='-KPIC'
16518 lt_prog_compiler_static_GCJ
='-Bstatic'
16519 lt_prog_compiler_wl_GCJ
=''
16526 osf3
* | osf4
* | osf5
*)
16527 lt_prog_compiler_wl_GCJ
='-Wl,'
16528 # All OSF/1 code is PIC.
16529 lt_prog_compiler_static_GCJ
='-non_shared'
16533 lt_prog_compiler_static_GCJ
='-non_shared'
16537 lt_prog_compiler_pic_GCJ
='-KPIC'
16538 lt_prog_compiler_static_GCJ
='-Bstatic'
16539 case $cc_basename in
16540 f77
* | f90
* | f95
*)
16541 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16543 lt_prog_compiler_wl_GCJ
='-Wl,';;
16548 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16549 lt_prog_compiler_pic_GCJ
='-PIC'
16550 lt_prog_compiler_static_GCJ
='-Bstatic'
16553 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16554 lt_prog_compiler_wl_GCJ
='-Wl,'
16555 lt_prog_compiler_pic_GCJ
='-KPIC'
16556 lt_prog_compiler_static_GCJ
='-Bstatic'
16560 if test -d /usr
/nec
;then
16561 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16562 lt_prog_compiler_static_GCJ
='-Bstatic'
16566 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16567 lt_prog_compiler_wl_GCJ
='-Wl,'
16568 lt_prog_compiler_pic_GCJ
='-KPIC'
16569 lt_prog_compiler_static_GCJ
='-Bstatic'
16573 lt_prog_compiler_wl_GCJ
='-Wl,'
16574 lt_prog_compiler_can_build_shared_GCJ
=no
16578 lt_prog_compiler_pic_GCJ
='-pic'
16579 lt_prog_compiler_static_GCJ
='-Bstatic'
16583 lt_prog_compiler_can_build_shared_GCJ
=no
16588 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16589 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16592 # Check to make sure the PIC flag actually works.
16594 if test -n "$lt_prog_compiler_pic_GCJ"; then
16596 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16597 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16598 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 lt_prog_compiler_pic_works_GCJ
=no
16602 ac_outfile
=conftest.
$ac_objext
16603 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16604 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16605 # Insert the option either (1) after the last *FLAGS variable, or
16606 # (2) before a word containing "conftest.", or (3) at the end.
16607 # Note that $ac_compile itself does not contain backslashes and begins
16608 # with a dollar sign (not a hyphen), so the echo should work correctly.
16609 # The option is referenced via a variable to avoid confusing sed.
16610 lt_compile
=`echo "$ac_compile" | $SED \
16611 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16612 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16613 -e 's:$: $lt_compiler_flag:'`
16614 (eval echo "\"\$as_me:16614: $lt_compile\"" >&5)
16615 (eval "$lt_compile" 2>conftest.err
)
16617 cat conftest.err
>&5
16618 echo "$as_me:16618: \$? = $ac_status" >&5
16619 if (exit $ac_status) && test -s "$ac_outfile"; then
16620 # The compiler can only warn and ignore the option if not recognized
16621 # So say no if there are warnings other than the usual output.
16622 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16623 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16624 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16625 lt_prog_compiler_pic_works_GCJ
=yes
16631 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16632 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16634 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16635 case $lt_prog_compiler_pic_GCJ in
16637 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16640 lt_prog_compiler_pic_GCJ
=
16641 lt_prog_compiler_can_build_shared_GCJ
=no
16646 # For platforms which do not support PIC, -DPIC is meaningless:
16648 lt_prog_compiler_pic_GCJ
=
16651 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16656 # Check to make sure the static flag actually works.
16658 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16659 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16660 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16661 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16664 lt_prog_compiler_static_works_GCJ
=no
16665 save_LDFLAGS
="$LDFLAGS"
16666 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16667 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16668 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16669 # The linker can only warn and ignore the option if not recognized
16670 # So say no if there are warnings
16671 if test -s conftest.err
; then
16672 # Append any errors to the config.log.
16673 cat conftest.err
1>&5
16674 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16675 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16676 if diff conftest.exp conftest.er2
>/dev
/null
; then
16677 lt_prog_compiler_static_works_GCJ
=yes
16680 lt_prog_compiler_static_works_GCJ
=yes
16684 LDFLAGS
="$save_LDFLAGS"
16687 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16688 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16690 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16693 lt_prog_compiler_static_GCJ
=
16697 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16698 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16699 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 lt_cv_prog_compiler_c_o_GCJ
=no
16703 $rm -r conftest
2>/dev
/null
16707 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16709 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16710 # Insert the option either (1) after the last *FLAGS variable, or
16711 # (2) before a word containing "conftest.", or (3) at the end.
16712 # Note that $ac_compile itself does not contain backslashes and begins
16713 # with a dollar sign (not a hyphen), so the echo should work correctly.
16714 lt_compile
=`echo "$ac_compile" | $SED \
16715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16717 -e 's:$: $lt_compiler_flag:'`
16718 (eval echo "\"\$as_me:16718: $lt_compile\"" >&5)
16719 (eval "$lt_compile" 2>out
/conftest.err
)
16721 cat out
/conftest.err
>&5
16722 echo "$as_me:16722: \$? = $ac_status" >&5
16723 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16725 # The compiler can only warn and ignore the option if not recognized
16726 # So say no if there are warnings
16727 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16728 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16729 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16730 lt_cv_prog_compiler_c_o_GCJ
=yes
16735 # SGI C++ compiler will create directory out/ii_files/ for
16736 # template instantiation
16737 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16738 $rm out
/* && rmdir out
16744 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16745 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16748 hard_links
="nottested"
16749 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16750 # do not overwrite the value of need_locks provided by the user
16751 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16752 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16755 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16757 ln conftest.a conftest.b
2>&5 || hard_links
=no
16758 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16759 { echo "$as_me:$LINENO: result: $hard_links" >&5
16760 echo "${ECHO_T}$hard_links" >&6; }
16761 if test "$hard_links" = no
; then
16762 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16763 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16770 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16771 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16774 allow_undefined_flag_GCJ
=
16775 enable_shared_with_static_runtimes_GCJ
=no
16777 archive_expsym_cmds_GCJ
=
16778 old_archive_From_new_cmds_GCJ
=
16779 old_archive_from_expsyms_cmds_GCJ
=
16780 export_dynamic_flag_spec_GCJ
=
16781 whole_archive_flag_spec_GCJ
=
16782 thread_safe_flag_spec_GCJ
=
16783 hardcode_libdir_flag_spec_GCJ
=
16784 hardcode_libdir_flag_spec_ld_GCJ
=
16785 hardcode_libdir_separator_GCJ
=
16786 hardcode_direct_GCJ
=no
16787 hardcode_minus_L_GCJ
=no
16788 hardcode_shlibpath_var_GCJ
=unsupported
16789 link_all_deplibs_GCJ
=unknown
16790 hardcode_automatic_GCJ
=no
16792 module_expsym_cmds_GCJ
=
16793 always_export_symbols_GCJ
=no
16794 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16795 # include_expsyms should be a list of space-separated symbols to be *always*
16796 # included in the symbol list
16797 include_expsyms_GCJ
=
16798 # exclude_expsyms can be an extended regexp of symbols to exclude
16799 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16800 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16801 # as well as any symbol that contains `d'.
16802 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16803 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16804 # platforms (ab)use it in PIC code, but their linkers get confused if
16805 # the symbol is explicitly referenced. Since portable code cannot
16806 # rely on this symbol name, it's probably fine to never include it in
16807 # preloaded symbol tables.
16808 extract_expsyms_cmds
=
16809 # Just being paranoid about ensuring that cc_basename is set.
16810 for cc_temp
in $compiler""; do
16812 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16813 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16818 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16821 cygwin
* | mingw
* | pw32
*)
16822 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16823 # When not using gcc, we currently assume that we are using
16824 # Microsoft Visual C++.
16825 if test "$GCC" != yes; then
16830 # we just hope/assume this is gcc and not c89 (= MSVC++)
16839 if test "$with_gnu_ld" = yes; then
16840 # If archive_cmds runs LD, not CC, wlarc should be empty
16843 # Set some defaults for GNU ld with shared library support. These
16844 # are reset later if shared libraries are not supported. Putting them
16845 # here allows them to be overridden if necessary.
16846 runpath_var
=LD_RUN_PATH
16847 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
16848 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16849 # ancient GNU ld didn't support --whole-archive et. al.
16850 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
16851 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16853 whole_archive_flag_spec_GCJ
=
16855 supports_anon_versioning
=no
16856 case `$LD -v 2>/dev/null` in
16857 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16858 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16859 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16860 *\
2.11.
*) ;; # other 2.11 versions
16861 *) supports_anon_versioning
=yes ;;
16864 # See if GNU ld supports shared libraries.
16866 aix3
* | aix4
* | aix5
*)
16867 # On AIX/PPC, the GNU linker is very broken
16868 if test "$host_cpu" != ia64
; then
16872 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16873 *** to be unable to reliably create shared libraries on AIX.
16874 *** Therefore, libtool is disabling shared libraries support. If you
16875 *** really care for shared libraries, you may want to modify your PATH
16876 *** so that a non-GNU linker is found, and then restart.
16883 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)'
16884 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16885 hardcode_minus_L_GCJ
=yes
16887 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16888 # that the semantics of dynamic libraries on AmigaOS, at least up
16889 # to version 4, is to share data among multiple programs linked
16890 # with the same dynamic library. Since this doesn't match the
16891 # behavior of shared libraries on other platforms, we can't use
16897 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16898 allow_undefined_flag_GCJ
=unsupported
16899 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16900 # support --undefined. This deserves some investigation. FIXME
16901 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16907 cygwin
* | mingw
* | pw32
*)
16908 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16909 # as there is no search path for DLLs.
16910 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16911 allow_undefined_flag_GCJ
=unsupported
16912 always_export_symbols_GCJ
=no
16913 enable_shared_with_static_runtimes_GCJ
=yes
16914 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16916 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
16917 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16918 # If the export-symbols file already is a .def file (1st line
16919 # is EXPORTS), use it as is; otherwise, prepend...
16920 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16921 cp $export_symbols $output_objdir/$soname.def;
16923 echo EXPORTS > $output_objdir/$soname.def;
16924 cat $export_symbols >> $output_objdir/$soname.def;
16926 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16933 hardcode_direct_GCJ
=no
16934 hardcode_shlibpath_var_GCJ
=no
16935 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16936 export_dynamic_flag_spec_GCJ
='${wl}-E'
16937 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16938 # Instead, shared libraries are loaded at an image base (0x10000000 by
16939 # default) and relocated if they conflict, which is a slow very memory
16940 # consuming and fragmenting process. To avoid this, we pick a random,
16941 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16942 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16943 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'
16944 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'
16947 gnu
* | linux
* | k
*bsd
*-gnu)
16948 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
16950 case $cc_basename,$host_cpu in
16951 pgcc
*) # Portland Group C compiler
16952 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'
16953 tmp_addflag
=' $pic_flag'
16955 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16956 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'
16957 tmp_addflag
=' $pic_flag -Mnomain' ;;
16958 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16959 tmp_addflag
=' -i_dynamic' ;;
16960 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16961 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16962 ifc
* | ifort
*) # Intel Fortran compiler
16963 tmp_addflag
=' -nofor_main' ;;
16965 case `$CC -V 2>&1 | sed 5q` in
16966 *Sun\ C
*) # Sun C 5.9
16967 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'
16968 tmp_sharedflag
='-G' ;;
16969 *Sun\ F
*) # Sun Fortran 8.3
16970 tmp_sharedflag
='-G' ;;
16972 tmp_sharedflag
='-shared' ;;
16974 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16976 if test $supports_anon_versioning = yes; then
16977 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
16978 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16979 $echo "local: *; };" >> $output_objdir/$libname.ver~
16980 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16982 link_all_deplibs_GCJ
=no
16988 netbsd
* | netbsdelf
*-gnu)
16989 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16990 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16993 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16994 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16999 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17003 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17004 *** create shared libraries on Solaris systems. Therefore, libtool
17005 *** is disabling shared libraries support. We urge you to upgrade GNU
17006 *** binutils to release 2.9.1 or newer. Another option is to modify
17007 *** your PATH or compiler configuration so that the native linker is
17008 *** used, and then restart.
17011 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17012 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17013 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17019 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17020 case `$LD -v 2>&1` in
17021 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17025 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17026 *** reliably create shared libraries on SCO systems. Therefore, libtool
17027 *** is disabling shared libraries support. We urge you to upgrade GNU
17028 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17029 *** your PATH or compiler configuration so that the native linker is
17030 *** used, and then restart.
17035 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17036 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17037 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17038 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17047 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17049 hardcode_direct_GCJ
=yes
17050 hardcode_shlibpath_var_GCJ
=no
17054 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17055 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17056 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17063 if test "$ld_shlibs_GCJ" = no
; then
17065 hardcode_libdir_flag_spec_GCJ
=
17066 export_dynamic_flag_spec_GCJ
=
17067 whole_archive_flag_spec_GCJ
=
17070 # PORTME fill in a description of your system's linker (not GNU ld)
17073 allow_undefined_flag_GCJ
=unsupported
17074 always_export_symbols_GCJ
=yes
17075 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'
17076 # Note: this linker hardcodes the directories in LIBPATH if there
17077 # are no directories specified by -L.
17078 hardcode_minus_L_GCJ
=yes
17079 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17080 # Neither direct hardcoding nor static linking is supported with a
17082 hardcode_direct_GCJ
=unsupported
17087 if test "$host_cpu" = ia64
; then
17088 # On IA64, the linker does run time linking by default, so we don't
17089 # have to do anything special.
17090 aix_use_runtimelinking
=no
17091 exp_sym_flag
='-Bexport'
17094 # If we're using GNU nm, then we don't want the "-C" option.
17095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17096 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17097 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'
17099 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'
17101 aix_use_runtimelinking
=no
17103 # Test if we are trying to use run time linking or normal
17104 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17105 # need to do runtime linking.
17106 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17107 for ld_flag
in $LDFLAGS; do
17108 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17109 aix_use_runtimelinking
=yes
17116 exp_sym_flag
='-bexport'
17117 no_entry_flag
='-bnoentry'
17120 # When large executables or shared objects are built, AIX ld can
17121 # have problems creating the table of contents. If linking a library
17122 # or program results in "error TOC overflow" add -mminimal-toc to
17123 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17124 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17126 archive_cmds_GCJ
=''
17127 hardcode_direct_GCJ
=yes
17128 hardcode_libdir_separator_GCJ
=':'
17129 link_all_deplibs_GCJ
=yes
17131 if test "$GCC" = yes; then
17132 case $host_os in aix4.
[012]|aix4.
[012].
*)
17133 # We only want to do this on AIX 4.2 and lower, the check
17134 # below for broken collect2 doesn't work under 4.3+
17135 collect2name
=`${CC} -print-prog-name=collect2`
17136 if test -f "$collect2name" && \
17137 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17139 # We have reworked collect2
17142 # We have old collect2
17143 hardcode_direct_GCJ
=unsupported
17144 # It fails to find uninstalled libraries when the uninstalled
17145 # path is not listed in the libpath. Setting hardcode_minus_L
17146 # to unsupported forces relinking
17147 hardcode_minus_L_GCJ
=yes
17148 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17149 hardcode_libdir_separator_GCJ
=
17153 shared_flag
='-shared'
17154 if test "$aix_use_runtimelinking" = yes; then
17155 shared_flag
="$shared_flag "'${wl}-G'
17159 if test "$host_cpu" = ia64
; then
17160 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17161 # chokes on -Wl,-G. The following line is correct:
17164 if test "$aix_use_runtimelinking" = yes; then
17165 shared_flag
='${wl}-G'
17167 shared_flag
='${wl}-bM:SRE'
17172 # It seems that -bexpall does not export symbols beginning with
17173 # underscore (_), so it is better to generate a list of symbols to export.
17174 always_export_symbols_GCJ
=yes
17175 if test "$aix_use_runtimelinking" = yes; then
17176 # Warning - without using the other runtime loading flags (-brtl),
17177 # -berok will link without error, but may produce a broken library.
17178 allow_undefined_flag_GCJ
='-berok'
17179 # Determine the default libpath from the value encoded in an empty executable.
17180 cat >conftest.
$ac_ext <<_ACEOF
17183 cat confdefs.h
>>conftest.
$ac_ext
17184 cat >>conftest.
$ac_ext <<_ACEOF
17185 /* end confdefs.h. */
17195 rm -f conftest.
$ac_objext conftest
$ac_exeext
17196 if { (ac_try
="$ac_link"
17197 case "(($ac_try" in
17198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 (eval "$ac_link") 2>conftest.er1
17204 grep -v '^ *+' conftest.er1 >conftest.err
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } && {
17209 test -z "$ac_c_werror_flag" ||
17210 test ! -s conftest.err
17211 } && test -s conftest$ac_exeext &&
17212 $as_test_x conftest$ac_exeext; then
17214 lt_aix_libpath_sed='
17215 /Import File Strings/,/^$/ {
17221 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17222 # Check for a 64-bit object if we didn't find anything.
17223 if test -z "$aix_libpath"; then
17224 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17234 conftest$ac_exeext conftest.$ac_ext
17235 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17237 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17238 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"
17240 if test "$host_cpu" = ia64; then
17241 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17242 allow_undefined_flag_GCJ="-z nodefs"
17243 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"
17245 # Determine the default libpath from the value encoded in an empty executable.
17246 cat >conftest.$ac_ext <<_ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (ac_try="$ac_link"
17263 case "(($ac_try" in
17264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest
$ac_exeext &&
17278 $as_test_x conftest
$ac_exeext; then
17280 lt_aix_libpath_sed
='
17281 /Import File Strings/,/^$/ {
17287 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17288 # Check for a 64-bit object if we didn't find anything.
17289 if test -z "$aix_libpath"; then
17290 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17293 echo "$as_me: failed program was:" >&5
17294 sed 's/^/| /' conftest.
$ac_ext >&5
17299 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17300 conftest
$ac_exeext conftest.
$ac_ext
17301 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17303 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17304 # Warning - without using the other run time loading flags,
17305 # -berok will link without error, but may produce a broken library.
17306 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17307 allow_undefined_flag_GCJ
=' ${wl}-berok'
17308 # Exported symbols can be pulled into shared objects from archives
17309 whole_archive_flag_spec_GCJ
='$convenience'
17310 archive_cmds_need_lc_GCJ
=yes
17311 # This is similar to how AIX traditionally builds its shared libraries.
17312 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'
17318 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)'
17319 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17320 hardcode_minus_L_GCJ
=yes
17321 # see comment about different semantics on the GNU ld section
17326 export_dynamic_flag_spec_GCJ
=-rdynamic
17329 cygwin
* | mingw
* | pw32
*)
17330 # When not using gcc, we currently assume that we are using
17331 # Microsoft Visual C++.
17332 # hardcode_libdir_flag_spec is actually meaningless, as there is
17333 # no search path for DLLs.
17334 hardcode_libdir_flag_spec_GCJ
=' '
17335 allow_undefined_flag_GCJ
=unsupported
17336 # Tell ltmain to make .lib files, not .a files.
17338 # Tell ltmain to make .dll files, not .so files.
17340 # FIXME: Setting linknames here is a bad hack.
17341 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17342 # The linker will automatically build a .lib file if we build a DLL.
17343 old_archive_From_new_cmds_GCJ
='true'
17344 # FIXME: Should let the user specify the lib program.
17345 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17346 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17347 enable_shared_with_static_runtimes_GCJ
=yes
17350 darwin
* | rhapsody
*)
17352 rhapsody
* | darwin1.
[012])
17353 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17356 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17357 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17359 case ${MACOSX_DEPLOYMENT_TARGET} in
17361 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17364 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17370 archive_cmds_need_lc_GCJ
=no
17371 hardcode_direct_GCJ
=no
17372 hardcode_automatic_GCJ
=yes
17373 hardcode_shlibpath_var_GCJ
=unsupported
17374 whole_archive_flag_spec_GCJ
=''
17375 link_all_deplibs_GCJ
=yes
17376 if test "$GCC" = yes ; then
17377 output_verbose_link_cmd
='echo'
17378 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17379 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17380 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17381 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17382 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}'
17384 case $cc_basename in
17386 output_verbose_link_cmd
='echo'
17387 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17388 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17389 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17390 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}'
17391 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}'
17401 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17402 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17403 hardcode_shlibpath_var_GCJ
=no
17410 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17411 # support. Future versions do this automatically, but an explicit c++rt0.o
17412 # does not break anything, and helps significantly (at the cost of a little
17415 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17416 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17417 hardcode_direct_GCJ
=yes
17418 hardcode_shlibpath_var_GCJ
=no
17421 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17423 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17424 hardcode_direct_GCJ
=yes
17425 hardcode_minus_L_GCJ
=yes
17426 hardcode_shlibpath_var_GCJ
=no
17429 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17430 freebsd
* | dragonfly
*)
17431 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17432 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17433 hardcode_direct_GCJ
=yes
17434 hardcode_shlibpath_var_GCJ
=no
17438 if test "$GCC" = yes; then
17439 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'
17441 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'
17443 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17444 hardcode_libdir_separator_GCJ
=:
17445 hardcode_direct_GCJ
=yes
17447 # hardcode_minus_L: Not really in the search PATH,
17448 # but as the default location of the library.
17449 hardcode_minus_L_GCJ
=yes
17450 export_dynamic_flag_spec_GCJ
='${wl}-E'
17454 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17455 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17457 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17459 if test "$with_gnu_ld" = no
; then
17460 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17461 hardcode_libdir_separator_GCJ
=:
17463 hardcode_direct_GCJ
=yes
17464 export_dynamic_flag_spec_GCJ
='${wl}-E'
17466 # hardcode_minus_L: Not really in the search PATH,
17467 # but as the default location of the library.
17468 hardcode_minus_L_GCJ
=yes
17473 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17476 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17479 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17482 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17488 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17491 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17494 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17498 if test "$with_gnu_ld" = no
; then
17499 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17500 hardcode_libdir_separator_GCJ
=:
17504 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17505 hardcode_direct_GCJ
=no
17506 hardcode_shlibpath_var_GCJ
=no
17509 hardcode_direct_GCJ
=yes
17510 export_dynamic_flag_spec_GCJ
='${wl}-E'
17512 # hardcode_minus_L: Not really in the search PATH,
17513 # but as the default location of the library.
17514 hardcode_minus_L_GCJ
=yes
17520 irix5
* | irix6
* | nonstopux
*)
17521 if test "$GCC" = yes; then
17522 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'
17524 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'
17525 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17527 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17528 hardcode_libdir_separator_GCJ
=:
17529 link_all_deplibs_GCJ
=yes
17532 netbsd
* | netbsdelf
*-gnu)
17533 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17534 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17536 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17538 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17539 hardcode_direct_GCJ
=yes
17540 hardcode_shlibpath_var_GCJ
=no
17544 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17545 hardcode_direct_GCJ
=yes
17546 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17547 hardcode_libdir_separator_GCJ
=:
17548 hardcode_shlibpath_var_GCJ
=no
17552 if test -f /usr
/libexec
/ld.so
; then
17553 hardcode_direct_GCJ
=yes
17554 hardcode_shlibpath_var_GCJ
=no
17555 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17556 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17557 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17558 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17559 export_dynamic_flag_spec_GCJ
='${wl}-E'
17562 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17563 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17564 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17567 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17568 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17578 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17579 hardcode_minus_L_GCJ
=yes
17580 allow_undefined_flag_GCJ
=unsupported
17581 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'
17582 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17586 if test "$GCC" = yes; then
17587 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17588 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'
17590 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17591 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'
17593 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17594 hardcode_libdir_separator_GCJ
=:
17597 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17598 if test "$GCC" = yes; then
17599 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17600 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'
17601 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17603 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17604 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'
17605 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~
17606 $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'
17608 # Both c and cxx compiler support -rpath directly
17609 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17611 hardcode_libdir_separator_GCJ
=:
17615 no_undefined_flag_GCJ
=' -z text'
17616 if test "$GCC" = yes; then
17618 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17619 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17620 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17623 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17624 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17625 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17627 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17628 hardcode_shlibpath_var_GCJ
=no
17630 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17632 # The compiler driver will combine and reorder linker options,
17633 # but understands `-z linker_flag'. GCC discards it without `$wl',
17634 # but is careful enough not to reorder.
17635 # Supported since Solaris 2.6 (maybe 2.5.1?)
17636 if test "$GCC" = yes; then
17637 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17639 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17643 link_all_deplibs_GCJ
=yes
17647 if test "x$host_vendor" = xsequent
; then
17648 # Use $CC to link under sequent, because it throws in some extra .o
17649 # files that make .init and .fini sections work.
17650 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17652 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17654 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17655 hardcode_direct_GCJ
=yes
17656 hardcode_minus_L_GCJ
=yes
17657 hardcode_shlibpath_var_GCJ
=no
17661 case $host_vendor in
17663 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17664 hardcode_direct_GCJ
=yes # is this really true???
17667 ## LD is ld it makes a PLAMLIB
17668 ## CC just makes a GrossModule.
17669 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17670 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17671 hardcode_direct_GCJ
=no
17674 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17675 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17678 runpath_var
='LD_RUN_PATH'
17679 hardcode_shlibpath_var_GCJ
=no
17683 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17684 hardcode_shlibpath_var_GCJ
=no
17685 export_dynamic_flag_spec_GCJ
='-Bexport'
17689 if test -d /usr
/nec
; then
17690 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17691 hardcode_shlibpath_var_GCJ
=no
17692 runpath_var
=LD_RUN_PATH
17693 hardcode_runpath_var
=yes
17698 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17699 no_undefined_flag_GCJ
='${wl}-z,text'
17700 archive_cmds_need_lc_GCJ
=no
17701 hardcode_shlibpath_var_GCJ
=no
17702 runpath_var
='LD_RUN_PATH'
17704 if test "$GCC" = yes; then
17705 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17706 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17708 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17709 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17713 sysv5
* | sco3.2v5
* | sco5v6
*)
17714 # Note: We can NOT use -z defs as we might desire, because we do not
17715 # link with -lc, and that would cause any symbols used from libc to
17716 # always be unresolved, which means just about no library would
17717 # ever link correctly. If we're not using GNU ld we use -z text
17718 # though, which does catch some bad symbols but isn't as heavy-handed
17720 no_undefined_flag_GCJ
='${wl}-z,text'
17721 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17722 archive_cmds_need_lc_GCJ
=no
17723 hardcode_shlibpath_var_GCJ
=no
17724 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17725 hardcode_libdir_separator_GCJ
=':'
17726 link_all_deplibs_GCJ
=yes
17727 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17728 runpath_var
='LD_RUN_PATH'
17730 if test "$GCC" = yes; then
17731 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17732 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17734 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17735 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17740 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17741 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17742 hardcode_shlibpath_var_GCJ
=no
17751 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17752 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17753 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17756 # Do we need to explicitly link libc?
17758 case "x$archive_cmds_need_lc_GCJ" in
17760 # Assume -lc should be added
17761 archive_cmds_need_lc_GCJ
=yes
17763 if test "$enable_shared" = yes && test "$GCC" = yes; then
17764 case $archive_cmds_GCJ in
17766 # FIXME: we may have to deal with multi-command sequences.
17769 # Test whether the compiler implicitly links with -lc since on some
17770 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17771 # to ld, don't add -lc before -lgcc.
17772 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17773 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); } 2>conftest.err
; then
17784 libobjs
=conftest.
$ac_objext
17786 wl
=$lt_prog_compiler_wl_GCJ
17787 pic_flag
=$lt_prog_compiler_pic_GCJ
17793 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17794 allow_undefined_flag_GCJ
=
17795 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17796 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }
17801 archive_cmds_need_lc_GCJ
=no
17803 archive_cmds_need_lc_GCJ
=yes
17805 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17807 cat conftest.err
1>&5
17810 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17811 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17818 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17819 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17820 library_names_spec
=
17821 libname_spec
='lib$name'
17825 postuninstall_cmds
=
17829 shlibpath_overrides_runpath
=unknown
17831 dynamic_linker
="$host_os ld.so"
17832 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17834 need_lib_prefix
=unknown
17835 hardcode_into_libs
=no
17837 # when you set need_version to no, make sure it does not cause -set_version
17838 # flags to be left without arguments
17839 need_version
=unknown
17844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17845 shlibpath_var
=LIBPATH
17847 # AIX 3 has no versioning support, so we append a major version to the name.
17848 soname_spec
='${libname}${release}${shared_ext}$major'
17855 hardcode_into_libs
=yes
17856 if test "$host_cpu" = ia64
; then
17857 # AIX 5 supports IA64
17858 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17859 shlibpath_var
=LD_LIBRARY_PATH
17861 # With GCC up to 2.95.x, collect2 would create an import file
17862 # for dependence libraries. The import file would start with
17863 # the line `#! .'. This would cause the generated library to
17864 # depend on `.', always an invalid library. This was fixed in
17865 # development snapshots of GCC prior to 3.0.
17867 aix4 | aix4.
[01] | aix4.
[01].
*)
17868 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17870 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
17873 can_build_shared
=no
17877 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17878 # soname into executable. Probably we can add versioning support to
17879 # collect2, so additional links can be useful in future.
17880 if test "$aix_use_runtimelinking" = yes; then
17881 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17882 # instead of lib<name>.a to let people know that these are not
17883 # typical AIX shared libraries.
17884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17886 # We preserve .a as extension for shared libraries through AIX4.2
17887 # and later when we are not doing run time linking.
17888 library_names_spec
='${libname}${release}.a $libname.a'
17889 soname_spec
='${libname}${release}${shared_ext}$major'
17891 shlibpath_var
=LIBPATH
17896 library_names_spec
='$libname.ixlibrary $libname.a'
17897 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17898 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'
17902 library_names_spec
='${libname}${shared_ext}'
17903 dynamic_linker
="$host_os ld.so"
17904 shlibpath_var
=LIBRARY_PATH
17910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17911 soname_spec
='${libname}${release}${shared_ext}$major'
17912 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17913 shlibpath_var
=LD_LIBRARY_PATH
17914 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17915 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17916 # the default ld.so.conf also contains /usr/contrib/lib and
17917 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17918 # libtool to hard-code these into programs
17921 cygwin
* | mingw
* | pw32
*)
17922 version_type
=windows
17927 case $GCC,$host_os in
17928 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17929 library_names_spec
='$libname.dll.a'
17930 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17931 postinstall_cmds
='base_file=`basename \${file}`~
17932 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17933 dldir=$destdir/`dirname \$dlpath`~
17934 test -d \$dldir || mkdir -p \$dldir~
17935 $install_prog $dir/$dlname \$dldir/$dlname~
17936 chmod a+x \$dldir/$dlname'
17937 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17938 dlpath=$dir/\$dldll~
17940 shlibpath_overrides_runpath
=yes
17944 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17945 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17946 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17949 # MinGW DLLs use traditional 'lib' prefix
17950 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17951 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17952 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
17953 # It is most probably a Windows format PATH printed by
17954 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17955 # path with ; separators, and with drive letters. We can handle the
17956 # drive letters (cygwin fileutils understands them), so leave them,
17957 # especially as we might pass files found there to a mingw objdump,
17958 # which wouldn't understand a cygwinified path. Ahh.
17959 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17961 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17965 # pw32 DLLs use 'pw' prefix rather than 'lib'
17966 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17972 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17975 dynamic_linker
='Win32 ld.exe'
17976 # FIXME: first we should search . and the directory the executable is in
17980 darwin
* | rhapsody
*)
17981 dynamic_linker
="$host_os dyld"
17982 version_type
=darwin
17985 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17986 soname_spec
='${libname}${release}${major}$shared_ext'
17987 shlibpath_overrides_runpath
=yes
17988 shlibpath_var
=DYLD_LIBRARY_PATH
17989 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17991 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17999 soname_spec
='${libname}${release}${shared_ext}$major'
18000 shlibpath_var
=LD_LIBRARY_PATH
18007 freebsd
* | dragonfly
*)
18008 # DragonFly does not have aout. When/if they implement a new
18009 # versioning mechanism, adjust this.
18010 if test -x /usr
/bin
/objformat
; then
18011 objformat
=`/usr/bin/objformat`
18014 freebsd
[123]*) objformat
=aout
;;
18015 *) objformat
=elf
;;
18018 version_type
=freebsd-
$objformat
18019 case $version_type in
18021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18026 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18030 shlibpath_var
=LD_LIBRARY_PATH
18033 shlibpath_overrides_runpath
=yes
18035 freebsd3.
[01]* | freebsdelf3.
[01]*)
18036 shlibpath_overrides_runpath
=yes
18037 hardcode_into_libs
=yes
18039 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18040 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18041 shlibpath_overrides_runpath
=no
18042 hardcode_into_libs
=yes
18044 *) # from 4.6 on, and DragonFly
18045 shlibpath_overrides_runpath
=yes
18046 hardcode_into_libs
=yes
18055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18056 soname_spec
='${libname}${release}${shared_ext}$major'
18057 shlibpath_var
=LD_LIBRARY_PATH
18058 hardcode_into_libs
=yes
18061 hpux9
* | hpux10
* | hpux11
*)
18062 # Give a soname corresponding to the major version so that dld.sl refuses to
18063 # link against other versions.
18070 hardcode_into_libs
=yes
18071 dynamic_linker
="$host_os dld.so"
18072 shlibpath_var
=LD_LIBRARY_PATH
18073 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18075 soname_spec
='${libname}${release}${shared_ext}$major'
18076 if test "X$HPUX_IA64_MODE" = X32
; then
18077 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18079 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18081 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18085 hardcode_into_libs
=yes
18086 dynamic_linker
="$host_os dld.sl"
18087 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18088 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18090 soname_spec
='${libname}${release}${shared_ext}$major'
18091 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18092 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18096 dynamic_linker
="$host_os dld.sl"
18097 shlibpath_var
=SHLIB_PATH
18098 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18100 soname_spec
='${libname}${release}${shared_ext}$major'
18103 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18104 postinstall_cmds
='chmod 555 $lib'
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18112 soname_spec
='${libname}${release}${shared_ext}$major'
18113 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18114 shlibpath_var
=LD_LIBRARY_PATH
18115 shlibpath_overrides_runpath
=no
18116 hardcode_into_libs
=yes
18119 irix5
* | irix6
* | nonstopux
*)
18121 nonstopux
*) version_type
=nonstopux
;;
18123 if test "$lt_cv_prog_gnu_ld" = yes; then
18131 soname_spec
='${libname}${release}${shared_ext}$major'
18132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18134 irix5
* | nonstopux
*)
18135 libsuff
= shlibsuff
=
18138 case $LD in # libtool.m4 will add one of these switches to LD
18139 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18140 libsuff
= shlibsuff
= libmagic
=32-bit;;
18141 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18142 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18143 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18144 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18145 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18149 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18150 shlibpath_overrides_runpath
=no
18151 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18152 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18153 hardcode_into_libs
=yes
18156 # No shared lib support for Linux oldld, aout, or coff.
18157 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18161 # This must be Linux ELF.
18162 linux
* | k
*bsd
*-gnu)
18166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18167 soname_spec
='${libname}${release}${shared_ext}$major'
18168 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18169 shlibpath_var
=LD_LIBRARY_PATH
18170 shlibpath_overrides_runpath
=no
18171 # This implies no fast_install, which is unacceptable.
18172 # Some rework will be needed to allow for fast_install
18173 # before this can be enabled.
18174 hardcode_into_libs
=yes
18176 # Append ld.so.conf contents to the search path
18177 if test -f /etc
/ld.so.conf
; then
18178 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' ' '`
18179 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18182 # We used to test for /lib/ld.so.1 and disable shared libraries on
18183 # powerpc, because MkLinux only supported shared libraries with the
18184 # GNU dynamic linker. Since this was broken with cross compilers,
18185 # most powerpc-linux boxes support dynamic linking these days and
18186 # people can always --disable-shared, the test was removed, and we
18187 # assume the GNU/Linux dynamic linker is in use.
18188 dynamic_linker
='GNU/Linux ld.so'
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18196 soname_spec
='${libname}${release}${shared_ext}$major'
18197 shlibpath_var
=LD_LIBRARY_PATH
18198 shlibpath_overrides_runpath
=no
18199 hardcode_into_libs
=yes
18200 dynamic_linker
='NetBSD ld.elf_so'
18207 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18209 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18210 dynamic_linker
='NetBSD (a.out) ld.so'
18212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18213 soname_spec
='${libname}${release}${shared_ext}$major'
18214 dynamic_linker
='NetBSD ld.elf_so'
18216 shlibpath_var
=LD_LIBRARY_PATH
18217 shlibpath_overrides_runpath
=yes
18218 hardcode_into_libs
=yes
18223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18224 shlibpath_var
=LD_LIBRARY_PATH
18225 shlibpath_overrides_runpath
=yes
18232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18233 soname_spec
='${libname}${release}${shared_ext}$major'
18234 shlibpath_var
=LD_LIBRARY_PATH
18235 shlibpath_overrides_runpath
=yes
18240 sys_lib_dlsearch_path_spec
="/usr/lib"
18242 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18244 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18245 *) need_version
=no
;;
18247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18249 shlibpath_var
=LD_LIBRARY_PATH
18250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18252 openbsd2.
[89] | openbsd2.
[89].
*)
18253 shlibpath_overrides_runpath
=no
18256 shlibpath_overrides_runpath
=yes
18260 shlibpath_overrides_runpath
=yes
18265 libname_spec
='$name'
18268 library_names_spec
='$libname${shared_ext} $libname.a'
18269 dynamic_linker
='OS/2 ld.exe'
18270 shlibpath_var
=LIBPATH
18273 osf3
* | osf4
* | osf5
*)
18277 soname_spec
='${libname}${release}${shared_ext}$major'
18278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18279 shlibpath_var
=LD_LIBRARY_PATH
18280 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18281 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18293 soname_spec
='${libname}${release}${shared_ext}$major'
18294 shlibpath_var
=LD_LIBRARY_PATH
18295 shlibpath_overrides_runpath
=yes
18296 hardcode_into_libs
=yes
18297 # ldd complains unless libraries are executable
18298 postinstall_cmds
='chmod +x $lib'
18303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18304 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18305 shlibpath_var
=LD_LIBRARY_PATH
18306 shlibpath_overrides_runpath
=yes
18307 if test "$with_gnu_ld" = yes; then
18315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18316 soname_spec
='${libname}${release}${shared_ext}$major'
18317 shlibpath_var
=LD_LIBRARY_PATH
18318 case $host_vendor in
18320 shlibpath_overrides_runpath
=no
18322 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18323 runpath_var
=LD_RUN_PATH
18331 shlibpath_overrides_runpath
=no
18332 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18338 if test -d /usr
/nec
;then
18340 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18341 soname_spec
='$libname${shared_ext}.$major'
18342 shlibpath_var
=LD_LIBRARY_PATH
18346 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18347 version_type
=freebsd-elf
18350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18351 soname_spec
='${libname}${release}${shared_ext}$major'
18352 shlibpath_var
=LD_LIBRARY_PATH
18353 hardcode_into_libs
=yes
18354 if test "$with_gnu_ld" = yes; then
18355 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18356 shlibpath_overrides_runpath
=no
18358 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18359 shlibpath_overrides_runpath
=yes
18362 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18366 sys_lib_dlsearch_path_spec
='/usr/lib'
18371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18372 soname_spec
='${libname}${release}${shared_ext}$major'
18373 shlibpath_var
=LD_LIBRARY_PATH
18380 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18381 echo "${ECHO_T}$dynamic_linker" >&6; }
18382 test "$dynamic_linker" = no
&& can_build_shared
=no
18384 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18385 if test "$GCC" = yes; then
18386 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18389 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18390 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18391 hardcode_action_GCJ
=
18392 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18393 test -n "$runpath_var_GCJ" || \
18394 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18396 # We can hardcode non-existant directories.
18397 if test "$hardcode_direct_GCJ" != no
&&
18398 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18399 # have to relink, otherwise we might link with an installed library
18400 # when we should be linking with a yet-to-be-installed one
18401 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18402 test "$hardcode_minus_L_GCJ" != no
; then
18403 # Linking always hardcodes the temporary library directory.
18404 hardcode_action_GCJ
=relink
18406 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18407 hardcode_action_GCJ
=immediate
18410 # We cannot hardcode anything, or else we can only hardcode existing
18412 hardcode_action_GCJ
=unsupported
18414 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18415 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18417 if test "$hardcode_action_GCJ" = relink
; then
18418 # Fast installation is not supported
18419 enable_fast_install
=no
18420 elif test "$shlibpath_overrides_runpath" = yes ||
18421 test "$enable_shared" = no
; then
18422 # Fast installation is not necessary
18423 enable_fast_install
=needless
18427 # The else clause should only fire when bootstrapping the
18428 # libtool distribution, otherwise you forgot to ship ltmain.sh
18429 # with your package, and you will get complaints that there are
18430 # no rules to generate ltmain.sh.
18431 if test -f "$ltmain"; then
18432 # See if we are running on zsh, and set the options which allow our commands through
18433 # without removal of \ escapes.
18434 if test -n "${ZSH_VERSION+set}" ; then
18435 setopt NO_GLOB_SUBST
18437 # Now quote all the things that may contain metacharacters while being
18438 # careful not to overquote the AC_SUBSTed values. We take copies of the
18439 # variables and quote the copies for generation of the libtool script.
18440 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18442 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18443 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18444 deplibs_check_method reload_flag reload_cmds need_locks \
18445 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18446 lt_cv_sys_global_symbol_to_c_name_address \
18447 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18448 old_postinstall_cmds old_postuninstall_cmds \
18452 lt_prog_compiler_wl_GCJ \
18453 lt_prog_compiler_pic_GCJ \
18454 lt_prog_compiler_static_GCJ \
18455 lt_prog_compiler_no_builtin_flag_GCJ \
18456 export_dynamic_flag_spec_GCJ \
18457 thread_safe_flag_spec_GCJ \
18458 whole_archive_flag_spec_GCJ \
18459 enable_shared_with_static_runtimes_GCJ \
18460 old_archive_cmds_GCJ \
18461 old_archive_from_new_cmds_GCJ \
18462 predep_objects_GCJ \
18463 postdep_objects_GCJ \
18466 compiler_lib_search_path_GCJ \
18468 archive_expsym_cmds_GCJ \
18469 postinstall_cmds_GCJ \
18470 postuninstall_cmds_GCJ \
18471 old_archive_from_expsyms_cmds_GCJ \
18472 allow_undefined_flag_GCJ \
18473 no_undefined_flag_GCJ \
18474 export_symbols_cmds_GCJ \
18475 hardcode_libdir_flag_spec_GCJ \
18476 hardcode_libdir_flag_spec_ld_GCJ \
18477 hardcode_libdir_separator_GCJ \
18478 hardcode_automatic_GCJ \
18480 module_expsym_cmds_GCJ \
18481 lt_cv_prog_compiler_c_o_GCJ \
18482 fix_srcfile_path_GCJ \
18483 exclude_expsyms_GCJ \
18484 include_expsyms_GCJ
; do
18487 old_archive_cmds_GCJ | \
18488 old_archive_from_new_cmds_GCJ | \
18489 archive_cmds_GCJ | \
18490 archive_expsym_cmds_GCJ | \
18491 module_cmds_GCJ | \
18492 module_expsym_cmds_GCJ | \
18493 old_archive_from_expsyms_cmds_GCJ | \
18494 export_symbols_cmds_GCJ | \
18495 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18496 postinstall_cmds | postuninstall_cmds | \
18497 old_postinstall_cmds | old_postuninstall_cmds | \
18498 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18499 # Double-quote double-evaled strings.
18500 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18503 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18509 *'\$0 --fallback-echo"')
18510 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18516 cat <<__EOF__ >> "$cfgfile"
18517 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18519 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18521 # Shell to use when invoking shell scripts.
18524 # Whether or not to build shared libraries.
18525 build_libtool_libs=$enable_shared
18527 # Whether or not to build static libraries.
18528 build_old_libs=$enable_static
18530 # Whether or not to add -lc for building shared libraries.
18531 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18533 # Whether or not to disallow shared libs when runtime libs are static
18534 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18536 # Whether or not to optimize for fast installation.
18537 fast_install=$enable_fast_install
18540 host_alias=$host_alias
18544 # The build system.
18545 build_alias=$build_alias
18549 # An echo program that does not interpret backslashes.
18554 AR_FLAGS=$lt_AR_FLAGS
18559 # LTCC compiler flags.
18560 LTCFLAGS=$lt_LTCFLAGS
18562 # A language-specific compiler.
18563 CC=$lt_compiler_GCJ
18565 # Is the compiler the GNU C compiler?
18571 # The linker used to build libraries.
18574 # Whether we need hard or soft links.
18577 # A BSD-compatible nm program.
18580 # A symbol stripping program
18583 # Used to examine libraries when file_magic_cmd begins "file"
18584 MAGIC_CMD=$MAGIC_CMD
18586 # Used on cygwin: DLL creation program.
18589 # Used on cygwin: object dumper.
18592 # Used on cygwin: assembler.
18595 # The name of the directory that contains temporary libtool files.
18598 # How to create reloadable object files.
18599 reload_flag=$lt_reload_flag
18600 reload_cmds=$lt_reload_cmds
18602 # How to pass a linker flag through the compiler.
18603 wl=$lt_lt_prog_compiler_wl_GCJ
18605 # Object file suffix (normally "o").
18606 objext="$ac_objext"
18608 # Old archive suffix (normally "a").
18611 # Shared library suffix (normally ".so").
18612 shrext_cmds='$shrext_cmds'
18614 # Executable file suffix (normally "").
18617 # Additional compiler flags for building library objects.
18618 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18621 # What is the maximum length of a command?
18622 max_cmd_len=$lt_cv_sys_max_cmd_len
18624 # Does compiler simultaneously support -c and -o options?
18625 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18627 # Must we lock files when doing compilation?
18628 need_locks=$lt_need_locks
18630 # Do we need the lib prefix for modules?
18631 need_lib_prefix=$need_lib_prefix
18633 # Do we need a version for libraries?
18634 need_version=$need_version
18636 # Whether dlopen is supported.
18637 dlopen_support=$enable_dlopen
18639 # Whether dlopen of programs is supported.
18640 dlopen_self=$enable_dlopen_self
18642 # Whether dlopen of statically linked programs is supported.
18643 dlopen_self_static=$enable_dlopen_self_static
18645 # Compiler flag to prevent dynamic linking.
18646 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18648 # Compiler flag to turn off builtin functions.
18649 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18651 # Compiler flag to allow reflexive dlopens.
18652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18654 # Compiler flag to generate shared objects directly from archives.
18655 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18657 # Compiler flag to generate thread-safe objects.
18658 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18660 # Library versioning type.
18661 version_type=$version_type
18663 # Format of library name prefix.
18664 libname_spec=$lt_libname_spec
18666 # List of archive names. First name is the real one, the rest are links.
18667 # The last name is the one that the linker finds with -lNAME.
18668 library_names_spec=$lt_library_names_spec
18670 # The coded name of the library, if different from the real name.
18671 soname_spec=$lt_soname_spec
18673 # Commands used to build and install an old-style archive.
18675 old_archive_cmds=$lt_old_archive_cmds_GCJ
18676 old_postinstall_cmds=$lt_old_postinstall_cmds
18677 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18679 # Create an old-style archive from a shared archive.
18680 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18682 # Create a temporary old-style archive to link instead of a shared archive.
18683 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18685 # Commands used to build and install a shared archive.
18686 archive_cmds=$lt_archive_cmds_GCJ
18687 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18688 postinstall_cmds=$lt_postinstall_cmds
18689 postuninstall_cmds=$lt_postuninstall_cmds
18691 # Commands used to build a loadable module (assumed same as above if empty)
18692 module_cmds=$lt_module_cmds_GCJ
18693 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18695 # Commands to strip libraries.
18696 old_striplib=$lt_old_striplib
18697 striplib=$lt_striplib
18699 # Dependencies to place before the objects being linked to create a
18701 predep_objects=$lt_predep_objects_GCJ
18703 # Dependencies to place after the objects being linked to create a
18705 postdep_objects=$lt_postdep_objects_GCJ
18707 # Dependencies to place before the objects being linked to create a
18709 predeps=$lt_predeps_GCJ
18711 # Dependencies to place after the objects being linked to create a
18713 postdeps=$lt_postdeps_GCJ
18715 # The library search path used internally by the compiler when linking
18716 # a shared library.
18717 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18719 # Method to check whether dependent libraries are shared objects.
18720 deplibs_check_method=$lt_deplibs_check_method
18722 # Command to use when deplibs_check_method == file_magic.
18723 file_magic_cmd=$lt_file_magic_cmd
18725 # Flag that allows shared libraries with undefined symbols to be built.
18726 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18728 # Flag that forces no undefined symbols.
18729 no_undefined_flag=$lt_no_undefined_flag_GCJ
18731 # Commands used to finish a libtool library installation in a directory.
18732 finish_cmds=$lt_finish_cmds
18734 # Same as above, but a single script fragment to be evaled but not shown.
18735 finish_eval=$lt_finish_eval
18737 # Take the output of nm and produce a listing of raw symbols and C names.
18738 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18740 # Transform the output of nm in a proper C declaration
18741 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18743 # Transform the output of nm in a C name address pair
18744 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18746 # This is the shared library runtime path variable.
18747 runpath_var=$runpath_var
18749 # This is the shared library path variable.
18750 shlibpath_var=$shlibpath_var
18752 # Is shlibpath searched before the hard-coded library search path?
18753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18755 # How to hardcode a shared library path into an executable.
18756 hardcode_action=$hardcode_action_GCJ
18758 # Whether we should hardcode library paths into libraries.
18759 hardcode_into_libs=$hardcode_into_libs
18761 # Flag to hardcode \$libdir into a binary during linking.
18762 # This must work even if \$libdir does not exist.
18763 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18765 # If ld is used when linking, flag to hardcode \$libdir into
18766 # a binary during linking. This must work even if \$libdir does
18768 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18770 # Whether we need a single -rpath flag with a separated argument.
18771 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18773 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18774 # resulting binary.
18775 hardcode_direct=$hardcode_direct_GCJ
18777 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18778 # resulting binary.
18779 hardcode_minus_L=$hardcode_minus_L_GCJ
18781 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18782 # the resulting binary.
18783 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18785 # Set to yes if building a shared library automatically hardcodes DIR into the library
18786 # and all subsequent libraries and executables linked against it.
18787 hardcode_automatic=$hardcode_automatic_GCJ
18789 # Variables whose values should be saved in libtool wrapper scripts and
18790 # restored at relink time.
18791 variables_saved_for_relink="$variables_saved_for_relink"
18793 # Whether libtool must link a program against all its dependency libraries.
18794 link_all_deplibs=$link_all_deplibs_GCJ
18796 # Compile-time system search path for libraries
18797 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18799 # Run-time system search path for libraries
18800 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18802 # Fix the shell variable \$srcfile for the compiler.
18803 fix_srcfile_path=$lt_fix_srcfile_path
18805 # Set to yes if exported symbols are required.
18806 always_export_symbols=$always_export_symbols_GCJ
18808 # The commands to list exported symbols.
18809 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18811 # The commands to extract the exported symbol list from a shared archive.
18812 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18814 # Symbols that should not be listed in the preloaded symbols.
18815 exclude_expsyms=$lt_exclude_expsyms_GCJ
18817 # Symbols that must always be exported.
18818 include_expsyms=$lt_include_expsyms_GCJ
18820 # ### END LIBTOOL TAG CONFIG: $tagname
18826 # If there is no Makefile yet, we rely on a make rule to execute
18827 # `config.status --recheck' to rerun these tests and create the
18828 # libtool script then.
18829 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18830 if test -f "$ltmain_in"; then
18831 test -f Makefile
&& make "$ltmain"
18837 ac_cpp
='$CPP $CPPFLAGS'
18838 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18852 # Source file extension for RC test sources.
18855 # Object file extension for compiled RC test sources.
18859 # Code to be used in simple compile tests
18860 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18862 # Code to be used in simple link tests
18863 lt_simple_link_test_code
="$lt_simple_compile_test_code"
18865 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18867 # If no C compiler was specified, use CC.
18870 # If no C compiler flags were specified, use CFLAGS.
18871 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
18873 # Allow CC to be a program name with arguments.
18877 # save warnings/boilerplate of simple test code
18878 ac_outfile
=conftest.
$ac_objext
18879 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
18880 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18881 _lt_compiler_boilerplate
=`cat conftest.err`
18884 ac_outfile
=conftest.
$ac_objext
18885 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
18886 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
18887 _lt_linker_boilerplate
=`cat conftest.err`
18891 # Allow CC to be a program name with arguments.
18896 for cc_temp
in $compiler""; do
18898 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
18899 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
18904 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18906 lt_cv_prog_compiler_c_o_RC
=yes
18908 # The else clause should only fire when bootstrapping the
18909 # libtool distribution, otherwise you forgot to ship ltmain.sh
18910 # with your package, and you will get complaints that there are
18911 # no rules to generate ltmain.sh.
18912 if test -f "$ltmain"; then
18913 # See if we are running on zsh, and set the options which allow our commands through
18914 # without removal of \ escapes.
18915 if test -n "${ZSH_VERSION+set}" ; then
18916 setopt NO_GLOB_SUBST
18918 # Now quote all the things that may contain metacharacters while being
18919 # careful not to overquote the AC_SUBSTed values. We take copies of the
18920 # variables and quote the copies for generation of the libtool script.
18921 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18923 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18924 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18925 deplibs_check_method reload_flag reload_cmds need_locks \
18926 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18927 lt_cv_sys_global_symbol_to_c_name_address \
18928 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18929 old_postinstall_cmds old_postuninstall_cmds \
18933 lt_prog_compiler_wl_RC \
18934 lt_prog_compiler_pic_RC \
18935 lt_prog_compiler_static_RC \
18936 lt_prog_compiler_no_builtin_flag_RC \
18937 export_dynamic_flag_spec_RC \
18938 thread_safe_flag_spec_RC \
18939 whole_archive_flag_spec_RC \
18940 enable_shared_with_static_runtimes_RC \
18941 old_archive_cmds_RC \
18942 old_archive_from_new_cmds_RC \
18943 predep_objects_RC \
18944 postdep_objects_RC \
18947 compiler_lib_search_path_RC \
18949 archive_expsym_cmds_RC \
18950 postinstall_cmds_RC \
18951 postuninstall_cmds_RC \
18952 old_archive_from_expsyms_cmds_RC \
18953 allow_undefined_flag_RC \
18954 no_undefined_flag_RC \
18955 export_symbols_cmds_RC \
18956 hardcode_libdir_flag_spec_RC \
18957 hardcode_libdir_flag_spec_ld_RC \
18958 hardcode_libdir_separator_RC \
18959 hardcode_automatic_RC \
18961 module_expsym_cmds_RC \
18962 lt_cv_prog_compiler_c_o_RC \
18963 fix_srcfile_path_RC \
18964 exclude_expsyms_RC \
18965 include_expsyms_RC
; do
18968 old_archive_cmds_RC | \
18969 old_archive_from_new_cmds_RC | \
18970 archive_cmds_RC | \
18971 archive_expsym_cmds_RC | \
18973 module_expsym_cmds_RC | \
18974 old_archive_from_expsyms_cmds_RC | \
18975 export_symbols_cmds_RC | \
18976 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18977 postinstall_cmds | postuninstall_cmds | \
18978 old_postinstall_cmds | old_postuninstall_cmds | \
18979 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18980 # Double-quote double-evaled strings.
18981 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18984 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18990 *'\$0 --fallback-echo"')
18991 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18997 cat <<__EOF__ >> "$cfgfile"
18998 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19002 # Shell to use when invoking shell scripts.
19005 # Whether or not to build shared libraries.
19006 build_libtool_libs=$enable_shared
19008 # Whether or not to build static libraries.
19009 build_old_libs=$enable_static
19011 # Whether or not to add -lc for building shared libraries.
19012 build_libtool_need_lc=$archive_cmds_need_lc_RC
19014 # Whether or not to disallow shared libs when runtime libs are static
19015 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19017 # Whether or not to optimize for fast installation.
19018 fast_install=$enable_fast_install
19021 host_alias=$host_alias
19025 # The build system.
19026 build_alias=$build_alias
19030 # An echo program that does not interpret backslashes.
19035 AR_FLAGS=$lt_AR_FLAGS
19040 # LTCC compiler flags.
19041 LTCFLAGS=$lt_LTCFLAGS
19043 # A language-specific compiler.
19046 # Is the compiler the GNU C compiler?
19052 # The linker used to build libraries.
19055 # Whether we need hard or soft links.
19058 # A BSD-compatible nm program.
19061 # A symbol stripping program
19064 # Used to examine libraries when file_magic_cmd begins "file"
19065 MAGIC_CMD=$MAGIC_CMD
19067 # Used on cygwin: DLL creation program.
19070 # Used on cygwin: object dumper.
19073 # Used on cygwin: assembler.
19076 # The name of the directory that contains temporary libtool files.
19079 # How to create reloadable object files.
19080 reload_flag=$lt_reload_flag
19081 reload_cmds=$lt_reload_cmds
19083 # How to pass a linker flag through the compiler.
19084 wl=$lt_lt_prog_compiler_wl_RC
19086 # Object file suffix (normally "o").
19087 objext="$ac_objext"
19089 # Old archive suffix (normally "a").
19092 # Shared library suffix (normally ".so").
19093 shrext_cmds='$shrext_cmds'
19095 # Executable file suffix (normally "").
19098 # Additional compiler flags for building library objects.
19099 pic_flag=$lt_lt_prog_compiler_pic_RC
19102 # What is the maximum length of a command?
19103 max_cmd_len=$lt_cv_sys_max_cmd_len
19105 # Does compiler simultaneously support -c and -o options?
19106 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19108 # Must we lock files when doing compilation?
19109 need_locks=$lt_need_locks
19111 # Do we need the lib prefix for modules?
19112 need_lib_prefix=$need_lib_prefix
19114 # Do we need a version for libraries?
19115 need_version=$need_version
19117 # Whether dlopen is supported.
19118 dlopen_support=$enable_dlopen
19120 # Whether dlopen of programs is supported.
19121 dlopen_self=$enable_dlopen_self
19123 # Whether dlopen of statically linked programs is supported.
19124 dlopen_self_static=$enable_dlopen_self_static
19126 # Compiler flag to prevent dynamic linking.
19127 link_static_flag=$lt_lt_prog_compiler_static_RC
19129 # Compiler flag to turn off builtin functions.
19130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19132 # Compiler flag to allow reflexive dlopens.
19133 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19135 # Compiler flag to generate shared objects directly from archives.
19136 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19138 # Compiler flag to generate thread-safe objects.
19139 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19141 # Library versioning type.
19142 version_type=$version_type
19144 # Format of library name prefix.
19145 libname_spec=$lt_libname_spec
19147 # List of archive names. First name is the real one, the rest are links.
19148 # The last name is the one that the linker finds with -lNAME.
19149 library_names_spec=$lt_library_names_spec
19151 # The coded name of the library, if different from the real name.
19152 soname_spec=$lt_soname_spec
19154 # Commands used to build and install an old-style archive.
19156 old_archive_cmds=$lt_old_archive_cmds_RC
19157 old_postinstall_cmds=$lt_old_postinstall_cmds
19158 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19160 # Create an old-style archive from a shared archive.
19161 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19163 # Create a temporary old-style archive to link instead of a shared archive.
19164 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19166 # Commands used to build and install a shared archive.
19167 archive_cmds=$lt_archive_cmds_RC
19168 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19169 postinstall_cmds=$lt_postinstall_cmds
19170 postuninstall_cmds=$lt_postuninstall_cmds
19172 # Commands used to build a loadable module (assumed same as above if empty)
19173 module_cmds=$lt_module_cmds_RC
19174 module_expsym_cmds=$lt_module_expsym_cmds_RC
19176 # Commands to strip libraries.
19177 old_striplib=$lt_old_striplib
19178 striplib=$lt_striplib
19180 # Dependencies to place before the objects being linked to create a
19182 predep_objects=$lt_predep_objects_RC
19184 # Dependencies to place after the objects being linked to create a
19186 postdep_objects=$lt_postdep_objects_RC
19188 # Dependencies to place before the objects being linked to create a
19190 predeps=$lt_predeps_RC
19192 # Dependencies to place after the objects being linked to create a
19194 postdeps=$lt_postdeps_RC
19196 # The library search path used internally by the compiler when linking
19197 # a shared library.
19198 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19200 # Method to check whether dependent libraries are shared objects.
19201 deplibs_check_method=$lt_deplibs_check_method
19203 # Command to use when deplibs_check_method == file_magic.
19204 file_magic_cmd=$lt_file_magic_cmd
19206 # Flag that allows shared libraries with undefined symbols to be built.
19207 allow_undefined_flag=$lt_allow_undefined_flag_RC
19209 # Flag that forces no undefined symbols.
19210 no_undefined_flag=$lt_no_undefined_flag_RC
19212 # Commands used to finish a libtool library installation in a directory.
19213 finish_cmds=$lt_finish_cmds
19215 # Same as above, but a single script fragment to be evaled but not shown.
19216 finish_eval=$lt_finish_eval
19218 # Take the output of nm and produce a listing of raw symbols and C names.
19219 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19221 # Transform the output of nm in a proper C declaration
19222 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19224 # Transform the output of nm in a C name address pair
19225 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19227 # This is the shared library runtime path variable.
19228 runpath_var=$runpath_var
19230 # This is the shared library path variable.
19231 shlibpath_var=$shlibpath_var
19233 # Is shlibpath searched before the hard-coded library search path?
19234 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19236 # How to hardcode a shared library path into an executable.
19237 hardcode_action=$hardcode_action_RC
19239 # Whether we should hardcode library paths into libraries.
19240 hardcode_into_libs=$hardcode_into_libs
19242 # Flag to hardcode \$libdir into a binary during linking.
19243 # This must work even if \$libdir does not exist.
19244 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19246 # If ld is used when linking, flag to hardcode \$libdir into
19247 # a binary during linking. This must work even if \$libdir does
19249 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19251 # Whether we need a single -rpath flag with a separated argument.
19252 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19254 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19255 # resulting binary.
19256 hardcode_direct=$hardcode_direct_RC
19258 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19259 # resulting binary.
19260 hardcode_minus_L=$hardcode_minus_L_RC
19262 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19263 # the resulting binary.
19264 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19266 # Set to yes if building a shared library automatically hardcodes DIR into the library
19267 # and all subsequent libraries and executables linked against it.
19268 hardcode_automatic=$hardcode_automatic_RC
19270 # Variables whose values should be saved in libtool wrapper scripts and
19271 # restored at relink time.
19272 variables_saved_for_relink="$variables_saved_for_relink"
19274 # Whether libtool must link a program against all its dependency libraries.
19275 link_all_deplibs=$link_all_deplibs_RC
19277 # Compile-time system search path for libraries
19278 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19280 # Run-time system search path for libraries
19281 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19283 # Fix the shell variable \$srcfile for the compiler.
19284 fix_srcfile_path=$lt_fix_srcfile_path
19286 # Set to yes if exported symbols are required.
19287 always_export_symbols=$always_export_symbols_RC
19289 # The commands to list exported symbols.
19290 export_symbols_cmds=$lt_export_symbols_cmds_RC
19292 # The commands to extract the exported symbol list from a shared archive.
19293 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19295 # Symbols that should not be listed in the preloaded symbols.
19296 exclude_expsyms=$lt_exclude_expsyms_RC
19298 # Symbols that must always be exported.
19299 include_expsyms=$lt_include_expsyms_RC
19301 # ### END LIBTOOL TAG CONFIG: $tagname
19307 # If there is no Makefile yet, we rely on a make rule to execute
19308 # `config.status --recheck' to rerun these tests and create the
19309 # libtool script then.
19310 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19311 if test -f "$ltmain_in"; then
19312 test -f Makefile
&& make "$ltmain"
19318 ac_cpp
='$CPP $CPPFLAGS'
19319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19328 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19329 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19330 { (exit 1); exit 1; }; }
19334 # Append the new tag name to the list of available tags.
19335 if test -n "$tagname" ; then
19336 available_tags
="$available_tags $tagname"
19342 # Now substitute the updated list of available tags.
19343 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19344 mv "${ofile}T" "$ofile"
19348 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19349 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19350 { (exit 1); exit 1; }; }
19356 # This can be used to rebuild libtool when needed
19357 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19359 # Always use our own libtool.
19360 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19362 # Prevent multiple expansion
19383 # Find a good install program. We prefer a C program (faster),
19384 # so one script is as good as another. But avoid the broken or
19385 # incompatible versions:
19386 # SysV /etc/install, /usr/sbin/install
19387 # SunOS /usr/etc/install
19388 # IRIX /sbin/install
19390 # AmigaOS /C/install, which installs bootblocks on floppy discs
19391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19394 # OS/2's system install, which has a completely different semantic
19395 # ./install, which can be erroneously created by make from ./install.sh.
19396 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19398 if test -z "$INSTALL"; then
19399 if test "${ac_cv_path_install+set}" = set; then
19400 echo $ECHO_N "(cached) $ECHO_C" >&6
19402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19403 for as_dir
in $PATH
19406 test -z "$as_dir" && as_dir
=.
19407 # Account for people who put trailing slashes in PATH elements.
19409 .
/ | .
// |
/cC
/* | \
19410 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
19411 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
19414 # OSF1 and SCO ODT 3.0 have their own names for install.
19415 # Don't use installbsd from OSF since it installs stuff as root
19417 for ac_prog
in ginstall scoinst
install; do
19418 for ac_exec_ext
in '' $ac_executable_extensions; do
19419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19420 if test $ac_prog = install &&
19421 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19422 # AIX install. It has an incompatible calling convention.
19424 elif test $ac_prog = install &&
19425 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
19426 # program-specific install script used by HP pwplus--don't use.
19429 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
19442 if test "${ac_cv_path_install+set}" = set; then
19443 INSTALL
=$ac_cv_path_install
19445 # As a last resort, use the slow shell script. Don't cache a
19446 # value for INSTALL within a source directory, because that will
19447 # break other packages using the cache if that directory is
19448 # removed, or if the value is a relative name.
19449 INSTALL
=$ac_install_sh
19452 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19453 echo "${ECHO_T}$INSTALL" >&6; }
19455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19456 # It thinks the first close brace ends the variable substitution.
19457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
19459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
19461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
19464 ac_cpp
='$CPP $CPPFLAGS'
19465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19468 if test -n "$ac_tool_prefix"; then
19469 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
19470 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
19471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19473 if test "${ac_cv_prog_CC+set}" = set; then
19474 echo $ECHO_N "(cached) $ECHO_C" >&6
19476 if test -n "$CC"; then
19477 ac_cv_prog_CC
="$CC" # Let the user override the test.
19479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19480 for as_dir
in $PATH
19483 test -z "$as_dir" && as_dir
=.
19484 for ac_exec_ext
in '' $ac_executable_extensions; do
19485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19486 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
19487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19497 if test -n "$CC"; then
19498 { echo "$as_me:$LINENO: result: $CC" >&5
19499 echo "${ECHO_T}$CC" >&6; }
19501 { echo "$as_me:$LINENO: result: no" >&5
19502 echo "${ECHO_T}no" >&6; }
19507 if test -z "$ac_cv_prog_CC"; then
19509 # Extract the first word of "gcc", so it can be a program name with args.
19510 set dummy gcc
; ac_word
=$2
19511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 if test -n "$ac_ct_CC"; then
19517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
19519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19520 for as_dir
in $PATH
19523 test -z "$as_dir" && as_dir
=.
19524 for ac_exec_ext
in '' $ac_executable_extensions; do
19525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19526 ac_cv_prog_ac_ct_CC
="gcc"
19527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
19537 if test -n "$ac_ct_CC"; then
19538 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19539 echo "${ECHO_T}$ac_ct_CC" >&6; }
19541 { echo "$as_me:$LINENO: result: no" >&5
19542 echo "${ECHO_T}no" >&6; }
19545 if test "x$ac_ct_CC" = x
; then
19548 case $cross_compiling:$ac_tool_warned in
19550 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19551 whose name does not start with the host triplet. If you think this
19552 configuration is useful to you, please write to autoconf@gnu.org." >&5
19553 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19554 whose name does not start with the host triplet. If you think this
19555 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19556 ac_tool_warned
=yes ;;
19561 CC
="$ac_cv_prog_CC"
19564 if test -z "$CC"; then
19565 if test -n "$ac_tool_prefix"; then
19566 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
19567 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
19568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19570 if test "${ac_cv_prog_CC+set}" = set; then
19571 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 if test -n "$CC"; then
19574 ac_cv_prog_CC
="$CC" # Let the user override the test.
19576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19577 for as_dir
in $PATH
19580 test -z "$as_dir" && as_dir
=.
19581 for ac_exec_ext
in '' $ac_executable_extensions; do
19582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19583 ac_cv_prog_CC
="${ac_tool_prefix}cc"
19584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19594 if test -n "$CC"; then
19595 { echo "$as_me:$LINENO: result: $CC" >&5
19596 echo "${ECHO_T}$CC" >&6; }
19598 { echo "$as_me:$LINENO: result: no" >&5
19599 echo "${ECHO_T}no" >&6; }
19605 if test -z "$CC"; then
19606 # Extract the first word of "cc", so it can be a program name with args.
19607 set dummy cc
; ac_word
=$2
19608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19610 if test "${ac_cv_prog_CC+set}" = set; then
19611 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 if test -n "$CC"; then
19614 ac_cv_prog_CC
="$CC" # Let the user override the test.
19616 ac_prog_rejected
=no
19617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19618 for as_dir
in $PATH
19621 test -z "$as_dir" && as_dir
=.
19622 for ac_exec_ext
in '' $ac_executable_extensions; do
19623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19624 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
19625 ac_prog_rejected
=yes
19629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19636 if test $ac_prog_rejected = yes; then
19637 # We found a bogon in the path, so make sure we never use it.
19638 set dummy
$ac_cv_prog_CC
19640 if test $# != 0; then
19641 # We chose a different compiler from the bogus one.
19642 # However, it has the same basename, so the bogon will be chosen
19643 # first if we set CC to just the basename; use the full file name.
19645 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
19651 if test -n "$CC"; then
19652 { echo "$as_me:$LINENO: result: $CC" >&5
19653 echo "${ECHO_T}$CC" >&6; }
19655 { echo "$as_me:$LINENO: result: no" >&5
19656 echo "${ECHO_T}no" >&6; }
19661 if test -z "$CC"; then
19662 if test -n "$ac_tool_prefix"; then
19663 for ac_prog
in cl.exe
19665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19666 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
19667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19669 if test "${ac_cv_prog_CC+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 if test -n "$CC"; then
19673 ac_cv_prog_CC
="$CC" # Let the user override the test.
19675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19676 for as_dir
in $PATH
19679 test -z "$as_dir" && as_dir
=.
19680 for ac_exec_ext
in '' $ac_executable_extensions; do
19681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19682 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
19683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19693 if test -n "$CC"; then
19694 { echo "$as_me:$LINENO: result: $CC" >&5
19695 echo "${ECHO_T}$CC" >&6; }
19697 { echo "$as_me:$LINENO: result: no" >&5
19698 echo "${ECHO_T}no" >&6; }
19702 test -n "$CC" && break
19705 if test -z "$CC"; then
19707 for ac_prog
in cl.exe
19709 # Extract the first word of "$ac_prog", so it can be a program name with args.
19710 set dummy
$ac_prog; ac_word
=$2
19711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
19714 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 if test -n "$ac_ct_CC"; then
19717 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
19719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19720 for as_dir
in $PATH
19723 test -z "$as_dir" && as_dir
=.
19724 for ac_exec_ext
in '' $ac_executable_extensions; do
19725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19726 ac_cv_prog_ac_ct_CC
="$ac_prog"
19727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19736 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
19737 if test -n "$ac_ct_CC"; then
19738 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
19739 echo "${ECHO_T}$ac_ct_CC" >&6; }
19741 { echo "$as_me:$LINENO: result: no" >&5
19742 echo "${ECHO_T}no" >&6; }
19746 test -n "$ac_ct_CC" && break
19749 if test "x$ac_ct_CC" = x
; then
19752 case $cross_compiling:$ac_tool_warned in
19754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19755 whose name does not start with the host triplet. If you think this
19756 configuration is useful to you, please write to autoconf@gnu.org." >&5
19757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19758 whose name does not start with the host triplet. If you think this
19759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19760 ac_tool_warned
=yes ;;
19769 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
19770 See \`config.log' for more details." >&5
19771 echo "$as_me: error: no acceptable C compiler found in \$PATH
19772 See \`config.log' for more details." >&2;}
19773 { (exit 1); exit 1; }; }
19775 # Provide some information about the compiler.
19776 echo "$as_me:$LINENO: checking for C compiler version" >&5
19777 ac_compiler
=`set X $ac_compile; echo $2`
19778 { (ac_try
="$ac_compiler --version >&5"
19779 case "(($ac_try" in
19780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_compiler --version >&5") 2>&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }
19788 { (ac_try="$ac_compiler -v >&5"
19789 case "(($ac_try" in
19790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19791 *) ac_try_echo
=$ac_try;;
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compiler -v >&5") 2>&5
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }
19798 { (ac_try
="$ac_compiler -V >&5"
19799 case "(($ac_try" in
19800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19801 *) ac_try_echo=$ac_try;;
19803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 (eval "$ac_compiler -V >&5") 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }
19809 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
19810 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
19811 if test "${ac_cv_c_compiler_gnu+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.$ac_ext <<_ACEOF
19817 cat confdefs.h >>conftest.$ac_ext
19818 cat >>conftest.$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19832 rm -f conftest.$ac_objext
19833 if { (ac_try="$ac_compile"
19834 case "(($ac_try" in
19835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19836 *) ac_try_echo
=$ac_try;;
19838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19839 (eval "$ac_compile") 2>conftest.er1
19841 grep -v '^ *+' conftest.er1
>conftest.err
19843 cat conftest.err
>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } && {
19846 test -z "$ac_c_werror_flag" ||
19847 test ! -s conftest.err
19848 } && test -s conftest.
$ac_objext; then
19849 ac_compiler_gnu
=yes
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.
$ac_ext >&5
19857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19858 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
19861 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
19862 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
19863 GCC
=`test $ac_compiler_gnu = yes && echo yes`
19864 ac_test_CFLAGS
=${CFLAGS+set}
19865 ac_save_CFLAGS
=$CFLAGS
19866 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
19867 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
19868 if test "${ac_cv_prog_cc_g+set}" = set; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 ac_save_c_werror_flag
=$ac_c_werror_flag
19872 ac_c_werror_flag
=yes
19875 cat >conftest.
$ac_ext <<_ACEOF
19878 cat confdefs.h
>>conftest.
$ac_ext
19879 cat >>conftest.
$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19890 rm -f conftest.
$ac_objext
19891 if { (ac_try
="$ac_compile"
19892 case "(($ac_try" in
19893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19894 *) ac_try_echo=$ac_try;;
19896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19899 grep -v '^ *+' conftest.er1 >conftest.err
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19907 ac_cv_prog_cc_g=yes
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19913 cat >conftest.$ac_ext <<_ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19928 rm -f conftest.$ac_objext
19929 if { (ac_try="$ac_compile"
19930 case "(($ac_try" in
19931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19932 *) ac_try_echo
=$ac_try;;
19934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19935 (eval "$ac_compile") 2>conftest.er1
19937 grep -v '^ *+' conftest.er1
>conftest.err
19939 cat conftest.err
>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && {
19942 test -z "$ac_c_werror_flag" ||
19943 test ! -s conftest.err
19944 } && test -s conftest.
$ac_objext; then
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.
$ac_ext >&5
19950 ac_c_werror_flag
=$ac_save_c_werror_flag
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19967 rm -f conftest.
$ac_objext
19968 if { (ac_try
="$ac_compile"
19969 case "(($ac_try" in
19970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19971 *) ac_try_echo=$ac_try;;
19973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19974 (eval "$ac_compile") 2>conftest.er1
19976 grep -v '^ *+' conftest.er1 >conftest.err
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } && {
19981 test -z "$ac_c_werror_flag" ||
19982 test ! -s conftest.err
19983 } && test -s conftest.$ac_objext; then
19984 ac_cv_prog_cc_g=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19999 ac_c_werror_flag=$ac_save_c_werror_flag
20001 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20002 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
20003 if test "$ac_test_CFLAGS" = set; then
20004 CFLAGS=$ac_save_CFLAGS
20005 elif test $ac_cv_prog_cc_g = yes; then
20006 if test "$GCC" = yes; then
20012 if test "$GCC" = yes; then
20018 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
20019 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
20020 if test "${ac_cv_prog_cc_c89+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 ac_cv_prog_cc_c89=no
20025 cat >conftest.$ac_ext <<_ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 #include <stdarg.h>
20033 #include <sys/types.h>
20034 #include <sys/stat.h>
20035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
20036 struct buf { int x; };
20037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
20038 static char *e (p, i)
20044 static char *f (char * (*g) (char **, int), char **p, ...)
20049 s = g (p, va_arg (v,int));
20054 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
20055 function prototypes and stuff, but not '\xHH' hex character constants.
20056 These don't provoke an error unfortunately, instead are silently treated
20057 as 'x'. The following induces an error, until -std is added to get
20058 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
20059 array size at least. It's necessary to write '\x00'==0 to get something
20060 that's true only with -std. */
20061 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
20063 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
20064 inside strings and character constants. */
20066 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
20068 int test (int i, double x);
20069 struct s1 {int (*f) (int a);};
20070 struct s2 {int (*f) (double a);};
20071 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
20077 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
20082 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20083 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20085 CC="$ac_save_CC $ac_arg"
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20090 *) ac_try_echo
=$ac_try;;
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20095 grep -v '^ *+' conftest.er1
>conftest.err
20097 cat conftest.err
>&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.
$ac_objext; then
20103 ac_cv_prog_cc_c89
=$ac_arg
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.
$ac_ext >&5
20111 rm -f core conftest.err conftest.
$ac_objext
20112 test "x$ac_cv_prog_cc_c89" != "xno" && break
20114 rm -f conftest.
$ac_ext
20119 case "x$ac_cv_prog_cc_c89" in
20121 { echo "$as_me:$LINENO: result: none needed" >&5
20122 echo "${ECHO_T}none needed" >&6; } ;;
20124 { echo "$as_me:$LINENO: result: unsupported" >&5
20125 echo "${ECHO_T}unsupported" >&6; } ;;
20127 CC
="$CC $ac_cv_prog_cc_c89"
20128 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20129 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
20134 ac_cpp
='$CPP $CPPFLAGS'
20135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20139 depcc
="$CC" am_compiler_list
=
20141 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
20142 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
20143 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20147 # We make a subdir and do the tests there. Otherwise we can end up
20148 # making bogus files that we don't know about and never remove. For
20149 # instance it was reported that on HP-UX the gcc test will end up
20150 # making a dummy file named `D' -- because `-MD' means `put the output
20153 # Copy depcomp to subdir because otherwise we won't find it if we're
20154 # using a relative directory.
20155 cp "$am_depcomp" conftest.dir
20157 # We will build objects and dependencies in a subdirectory because
20158 # it helps to detect inapplicable dependency modes. For instance
20159 # both Tru64's cc and ICC support -MD to output dependencies as a
20160 # side effect of compilation, but ICC will put the dependencies in
20161 # the current directory while Tru64 will put them in the object
20165 am_cv_CC_dependencies_compiler_type
=none
20166 if test "$am_compiler_list" = ""; then
20167 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20169 for depmode
in $am_compiler_list; do
20170 # Setup a source with many dependencies, because some compilers
20171 # like to wrap large dependency lists on column 80 (with \), and
20172 # we should not choose a depcomp mode which is confused by this.
20174 # We need to recreate these files for each test, as the compiler may
20175 # overwrite some of them when testing with obscure command lines.
20176 # This happens at least with the AIX C compiler.
20178 for i
in 1 2 3 4 5 6; do
20179 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
20180 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20181 # Solaris 8's {/usr,}/bin/sh.
20182 touch sub
/conftst
$i.h
20184 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20188 # after this tag, mechanisms are not by side-effect, so they'll
20189 # only be used when explicitly requested
20190 if test "x$enable_dependency_tracking" = xyes
; then
20198 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20199 # mode. It turns out that the SunPro C++ compiler does not properly
20200 # handle `-M -o', and we need to detect this.
20201 if depmode
=$depmode \
20202 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
20203 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
20204 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
20205 >/dev
/null
2>conftest.err
&&
20206 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20207 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
20208 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
20209 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
20210 # icc doesn't choke on unknown options, it will just issue warnings
20211 # or remarks (even with -Werror). So we grep stderr for any message
20212 # that says an option was ignored or not supported.
20213 # When given -MP, icc 7.0 and 7.1 complain thusly:
20214 # icc: Command line warning: ignoring option '-M'; no argument required
20215 # The diagnosis changed in icc 8.0:
20216 # icc: Command line remark: option '-MP' not supported
20217 if (grep 'ignoring option' conftest.err ||
20218 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
20219 am_cv_CC_dependencies_compiler_type
=$depmode
20226 rm -rf conftest.dir
20228 am_cv_CC_dependencies_compiler_type
=none
20232 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
20233 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
20234 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
20237 test "x$enable_dependency_tracking" != xno \
20238 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
20239 am__fastdepCC_TRUE
=
20240 am__fastdepCC_FALSE
='#'
20242 am__fastdepCC_TRUE
='#'
20243 am__fastdepCC_FALSE
=
20247 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
20248 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
20249 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
20250 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 cat >conftest.
make <<\_ACEOF
20256 @
echo '@@@%%%=$(MAKE)=@@@%%%'
20258 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20259 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20260 *@@@
%%%=?
*=@@@
%%%*)
20261 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
20263 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
20265 rm -f conftest.
make
20267 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
20268 { echo "$as_me:$LINENO: result: yes" >&5
20269 echo "${ECHO_T}yes" >&6; }
20272 { echo "$as_me:$LINENO: result: no" >&5
20273 echo "${ECHO_T}no" >&6; }
20274 SET_MAKE
="MAKE=${MAKE-make}"
20279 #PKG_CHECK_MODULES(DEPS, gtk+-2.0 >= 2.2)
20280 #AC_SUBST(DEPS_CFLAGS)
20281 #AC_SUBST(DEPS_LIBS)
20284 { echo "$as_me:$LINENO: checking for X" >&5
20285 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
20288 # Check whether --with-x was given.
20289 if test "${with_x+set}" = set; then
20293 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20294 if test "x$with_x" = xno
; then
20295 # The user explicitly disabled X.
20298 case $x_includes,$x_libraries in #(
20299 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
20300 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
20301 { (exit 1); exit 1; }; };; #(
20302 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
20303 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 # One or both of the vars are not set, and there is no cached value.
20306 ac_x_includes
=no ac_x_libraries
=no
20307 rm -f -r conftest.dir
20308 if mkdir conftest.dir
; then
20310 cat >Imakefile
<<'_ACEOF'
20312 @echo incroot='${INCROOT}'
20314 @echo usrlibdir='${USRLIBDIR}'
20316 @echo libdir='${LIBDIR}'
20318 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
20319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20320 for ac_var
in incroot usrlibdir libdir
; do
20321 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
20323 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20324 for ac_extension
in a so sl
; do
20325 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
20326 test -f "$ac_im_libdir/libX11.$ac_extension"; then
20327 ac_im_usrlibdir
=$ac_im_libdir; break
20330 # Screen out bogus values from the imake configuration. They are
20331 # bogus both because they are the default anyway, and because
20332 # using them would break gcc on systems where it needs fixed includes.
20333 case $ac_im_incroot in
20334 /usr
/include
) ac_x_includes
= ;;
20335 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
20337 case $ac_im_usrlibdir in
20338 /usr
/lib |
/lib
) ;;
20339 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
20343 rm -f -r conftest.dir
20346 # Standard set of common directories for X headers.
20347 # Check X11 before X11Rn because it is often a symlink to the current release.
20359 /usr/local/X11/include
20360 /usr/local/X11R6/include
20361 /usr/local/X11R5/include
20362 /usr/local/X11R4/include
20364 /usr/local/include/X11
20365 /usr/local/include/X11R6
20366 /usr/local/include/X11R5
20367 /usr/local/include/X11R4
20371 /usr/XFree86/include/X11
20375 /usr/unsupported/include
20376 /usr/athena/include
20377 /usr/local/x11r5/include
20378 /usr/lpp/Xamples/include
20380 /usr/openwin/include
20381 /usr/openwin/share/include'
20383 if test "$ac_x_includes" = no
; then
20384 # Guess where to find include files, by looking for Xlib.h.
20385 # First, try using that file with no special directory specified.
20386 cat >conftest.
$ac_ext <<_ACEOF
20389 cat confdefs.h
>>conftest.
$ac_ext
20390 cat >>conftest.
$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 #include <X11/Xlib.h>
20394 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20395 case "(($ac_try" in
20396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20397 *) ac_try_echo=$ac_try;;
20399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20400 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20402 grep -v '^ *+' conftest.er1 >conftest.err
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } >/dev/null && {
20407 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20408 test ! -s conftest.err
20410 # We can compile using X headers with no special include directory.
20413 echo "$as_me: failed program was:" >&5
20414 sed 's/^/| /' conftest.$ac_ext >&5
20416 for ac_dir in $ac_x_header_dirs; do
20417 if test -r "$ac_dir/X11/Xlib.h"; then
20418 ac_x_includes=$ac_dir
20424 rm -f conftest.err conftest.$ac_ext
20425 fi # $ac_x_includes = no
20427 if test "$ac_x_libraries" = no; then
20428 # Check for the libraries.
20429 # See if we find them without any special options.
20430 # Don't add to $LIBS permanently.
20433 cat >conftest.$ac_ext <<_ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 #include <X11/Xlib.h>
20448 rm -f conftest.$ac_objext conftest$ac_exeext
20449 if { (ac_try="$ac_link"
20450 case "(($ac_try" in
20451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20452 *) ac_try_echo
=$ac_try;;
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_link") 2>conftest.er1
20457 grep -v '^ *+' conftest.er1
>conftest.err
20459 cat conftest.err
>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && {
20462 test -z "$ac_c_werror_flag" ||
20463 test ! -s conftest.err
20464 } && test -s conftest
$ac_exeext &&
20465 $as_test_x conftest
$ac_exeext; then
20467 # We can link X programs with no special library path.
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.
$ac_ext >&5
20474 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20476 # Don't even attempt the hair of trying to link an X program!
20477 for ac_extension
in a so sl
; do
20478 if test -r "$ac_dir/libX11.$ac_extension"; then
20479 ac_x_libraries
=$ac_dir
20486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20487 conftest
$ac_exeext conftest.
$ac_ext
20488 fi # $ac_x_libraries = no
20490 case $ac_x_includes,$ac_x_libraries in #(
20491 no
,* |
*,no |
*\'*)
20492 # Didn't find X, or a directory has "'" in its name.
20493 ac_cv_have_x
="have_x=no";; #(
20495 # Record where we found X for the cache.
20496 ac_cv_have_x
="have_x=yes\
20497 ac_x_includes='$ac_x_includes'\
20498 ac_x_libraries='$ac_x_libraries'"
20504 eval "$ac_cv_have_x"
20507 if test "$have_x" != yes; then
20508 { echo "$as_me:$LINENO: result: $have_x" >&5
20509 echo "${ECHO_T}$have_x" >&6; }
20512 # If each of the values was on the command line, it overrides each guess.
20513 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
20514 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
20515 # Update the cache value to reflect the command line values.
20516 ac_cv_have_x
="have_x=yes\
20517 ac_x_includes='$x_includes'\
20518 ac_x_libraries='$x_libraries'"
20519 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20520 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
20523 { echo "$as_me:$LINENO: checking for XFlush in -lX11" >&5
20524 echo $ECHO_N "checking for XFlush in -lX11... $ECHO_C" >&6; }
20525 if test "${ac_cv_lib_X11_XFlush+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 ac_check_lib_save_LIBS
=$LIBS
20530 cat >conftest.
$ac_ext <<_ACEOF
20533 cat confdefs.h
>>conftest.
$ac_ext
20534 cat >>conftest.
$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20552 rm -f conftest.
$ac_objext conftest
$ac_exeext
20553 if { (ac_try
="$ac_link"
20554 case "(($ac_try" in
20555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_link") 2>conftest.er1
20561 grep -v '^ *+' conftest.er1 >conftest.err
20563 cat conftest.err >&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); } && {
20566 test -z "$ac_c_werror_flag" ||
20567 test ! -s conftest.err
20568 } && test -s conftest$ac_exeext &&
20569 $as_test_x conftest$ac_exeext; then
20570 ac_cv_lib_X11_XFlush=yes
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_cv_lib_X11_XFlush=no
20578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20579 conftest$ac_exeext conftest.$ac_ext
20580 LIBS=$ac_check_lib_save_LIBS
20582 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XFlush" >&5
20583 echo "${ECHO_T}$ac_cv_lib_X11_XFlush" >&6; }
20584 if test $ac_cv_lib_X11_XFlush = yes; then
20588 echo "Unable to find Xlib libraries. Bailing out."
20596 { echo "$as_me:$LINENO: checking for Imlib_init in -lImlib" >&5
20597 echo $ECHO_N "checking for Imlib_init in -lImlib... $ECHO_C" >&6; }
20598 if test "${ac_cv_lib_Imlib_Imlib_init+set}" = set; then
20599 echo $ECHO_N "(cached) $ECHO_C" >&6
20601 ac_check_lib_save_LIBS=$LIBS
20602 LIBS="-lImlib $LIBS"
20603 cat >conftest.$ac_ext <<_ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20610 /* Override any GCC internal prototype to avoid an error.
20611 Use char because int might match the return type of a GCC
20612 builtin and then its argument prototype would still apply. */
20616 char Imlib_init ();
20620 return Imlib_init ();
20625 rm -f conftest.$ac_objext conftest$ac_exeext
20626 if { (ac_try="$ac_link"
20627 case "(($ac_try" in
20628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20629 *) ac_try_echo
=$ac_try;;
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_link") 2>conftest.er1
20634 grep -v '^ *+' conftest.er1
>conftest.err
20636 cat conftest.err
>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest
$ac_exeext &&
20642 $as_test_x conftest
$ac_exeext; then
20643 ac_cv_lib_Imlib_Imlib_init
=yes
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.
$ac_ext >&5
20648 ac_cv_lib_Imlib_Imlib_init
=no
20651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20652 conftest
$ac_exeext conftest.
$ac_ext
20653 LIBS
=$ac_check_lib_save_LIBS
20655 { echo "$as_me:$LINENO: result: $ac_cv_lib_Imlib_Imlib_init" >&5
20656 echo "${ECHO_T}$ac_cv_lib_Imlib_Imlib_init" >&6; }
20657 if test $ac_cv_lib_Imlib_Imlib_init = yes; then
20661 echo "Unable to find Imlib libraries. Bailing out."
20668 # Check for pthreads
20669 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20670 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
20671 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20674 ac_check_lib_save_LIBS
=$LIBS
20675 LIBS
="-lpthread $LIBS"
20676 cat >conftest.
$ac_ext <<_ACEOF
20679 cat confdefs.h
>>conftest.
$ac_ext
20680 cat >>conftest.
$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20683 /* Override any GCC internal prototype to avoid an error.
20684 Use char because int might match the return type of a GCC
20685 builtin and then its argument prototype would still apply. */
20689 char pthread_create ();
20693 return pthread_create ();
20698 rm -f conftest.
$ac_objext conftest
$ac_exeext
20699 if { (ac_try
="$ac_link"
20700 case "(($ac_try" in
20701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_link") 2>conftest.er1
20707 grep -v '^ *+' conftest.er1 >conftest.err
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest$ac_exeext &&
20715 $as_test_x conftest$ac_exeext; then
20716 ac_cv_lib_pthread_pthread_create=yes
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 ac_cv_lib_pthread_pthread_create=no
20724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20725 conftest$ac_exeext conftest.$ac_ext
20726 LIBS=$ac_check_lib_save_LIBS
20728 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20729 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
20730 if test $ac_cv_lib_pthread_pthread_create = yes; then
20736 # Checks for header files.
20739 # Checks for typedefs, structures, and compiler characteristics.
20741 *msys*) MMS_BITFIELDS='-mms-bitfields' ; WINSOCK='-lws2_32' ;;
20742 *) MMS_BITFIELDS='' ; WINSOCK='' ;;
20747 # Checks for library functions.
20748 ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/server/Makefile src/docks/Makefile src/hello/Makefile"
20750 cat >confcache <<\_ACEOF
20751 # This file is a shell script that caches the results of configure
20752 # tests run on this system so they can be shared between configure
20753 # scripts and configure runs, see configure's option --config-cache.
20754 # It is not useful on other systems. If it contains results you don't
20755 # want to keep, you may remove or edit it.
20757 # config.status only pays attention to the cache file if you give it
20758 # the --recheck option to rerun configure.
20760 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
20761 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20762 # following values.
20766 # The following way of writing the cache mishandles newlines in values,
20767 # but we know of no workaround that is simple, portable, and efficient.
20768 # So, we kill variables containing newlines.
20769 # Ultrix sh set writes to stderr and can't be redirected directly,
20770 # and sets the high bit in the cache file unless we assign to the vars.
20772 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20773 eval ac_val
=\$
$ac_var
20777 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20778 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20781 _ | IFS | as_nl
) ;; #(
20782 *) $as_unset $ac_var ;;
20788 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20789 *${as_nl}ac_space
=\
*)
20790 # `set' does not quote correctly, so add quotes (double-quote
20791 # substitution turns \\\\ into \\, and sed turns \\ into \).
20794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20797 # `set' quotes correctly as required by POSIX, so do not add quotes.
20798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20811 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20812 if test -w "$cache_file"; then
20813 test "x$cache_file" != "x/dev/null" &&
20814 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20815 echo "$as_me: updating cache $cache_file" >&6;}
20816 cat confcache
>$cache_file
20818 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20819 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20824 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20825 # Let make expand exec_prefix.
20826 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20828 DEFS
=-DHAVE_CONFIG_H
20832 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20833 # 1. Remove the extension, and $U if already installed.
20834 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20835 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20837 # will be set to the directory where LIBOBJS objects are built.
20838 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20839 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20841 LIBOBJS
=$ac_libobjs
20843 LTLIBOBJS
=$ac_ltlibobjs
20846 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20847 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20848 Usually this means the macro was only invoked conditionally." >&5
20849 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20850 Usually this means the macro was only invoked conditionally." >&2;}
20851 { (exit 1); exit 1; }; }
20853 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20854 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20855 Usually this means the macro was only invoked conditionally." >&5
20856 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20857 Usually this means the macro was only invoked conditionally." >&2;}
20858 { (exit 1); exit 1; }; }
20860 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20861 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20862 Usually this means the macro was only invoked conditionally." >&5
20863 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20864 Usually this means the macro was only invoked conditionally." >&2;}
20865 { (exit 1); exit 1; }; }
20867 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20868 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20869 Usually this means the macro was only invoked conditionally." >&5
20870 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20871 Usually this means the macro was only invoked conditionally." >&2;}
20872 { (exit 1); exit 1; }; }
20875 : ${CONFIG_STATUS=./config.status}
20876 ac_clean_files_save
=$ac_clean_files
20877 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20878 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20879 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20880 cat >$CONFIG_STATUS <<_ACEOF
20882 # Generated by $as_me.
20883 # Run this file to recreate the current configuration.
20884 # Compiler output produced by configure, useful for debugging
20885 # configure, is in config.log if it exists.
20888 ac_cs_recheck=false
20890 SHELL=\${CONFIG_SHELL-$SHELL}
20893 cat >>$CONFIG_STATUS <<\_ACEOF
20894 ## --------------------- ##
20895 ## M4sh Initialization. ##
20896 ## --------------------- ##
20898 # Be more Bourne compatible
20899 DUALCASE
=1; export DUALCASE
# for MKS sh
20900 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20903 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20904 # is contrary to our usage. Disable this feature.
20905 alias -g '${1+"$@"}'='"$@"'
20906 setopt NO_GLOB_SUBST
20908 case `(set -o) 2>/dev/null` in
20909 *posix
*) set -o posix
;;
20918 # Avoid depending upon Character Ranges.
20919 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20920 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20921 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20922 as_cr_digits
='0123456789'
20923 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20925 # The user is always right.
20926 if test "${PATH_SEPARATOR+set}" != set; then
20927 echo "#! /bin/sh" >conf$$.sh
20928 echo "exit 0" >>conf$$.sh
20930 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20938 # Support unset when possible.
20939 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20947 # We need space, tab and new line, in precisely that order. Quoting is
20948 # there to prevent editors from complaining about space-tab.
20949 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20950 # splitting by setting IFS to empty value.)
20955 # Find who we are. Look in the path if we contain no directory separator.
20957 *[\\/]* ) as_myself
=$0 ;;
20958 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20959 for as_dir
in $PATH
20962 test -z "$as_dir" && as_dir
=.
20963 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20969 # We did not find ourselves, most probably we were run as `sh COMMAND'
20970 # in which case we are not to be found in the path.
20971 if test "x$as_myself" = x
; then
20974 if test ! -f "$as_myself"; then
20975 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20976 { (exit 1); exit 1; }
20979 # Work around bugs in pre-3.0 UWIN ksh.
20980 for as_var
in ENV MAIL MAILPATH
20981 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
20989 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20990 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20991 LC_TELEPHONE LC_TIME
20993 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20994 eval $as_var=C
; export $as_var
20996 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21000 # Required to use basename.
21001 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21002 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21008 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21009 as_basename
=basename
21015 # Name of the executable.
21016 as_me
=`$as_basename -- "$0" ||
21017 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21018 X"$0" : 'X\(//\)$' \| \
21019 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21021 sed '/^.*\/\([^/][^/]*\)\/*$/{
21040 as_lineno_1
=$LINENO
21041 as_lineno_2
=$LINENO
21042 test "x$as_lineno_1" != "x$as_lineno_2" &&
21043 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21045 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21046 # uniformly replaced by the line number. The first 'sed' inserts a
21047 # line-number line after each line using $LINENO; the second 'sed'
21048 # does the real work. The second script uses 'N' to pair each
21049 # line-number line with the line containing $LINENO, and appends
21050 # trailing '-' during substitution so that $LINENO is not a special
21051 # case at line end.
21052 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21053 # scripts with optimization help from Paolo Bonzini. Blame Lee
21054 # E. McMahon (1931-1989) for sed's syntax. :-)
21066 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21069 ' >$as_me.lineno
&&
21070 chmod +x
"$as_me.lineno" ||
21071 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21072 { (exit 1); exit 1; }; }
21074 # Don't try to exec as it changes $[0], causing all sort of problems
21075 # (the dirname of $[0] is not the place where we might find the
21076 # original and so on. Autoconf is especially sensitive to this).
21077 .
"./$as_me.lineno"
21078 # Exit status is that of the last command.
21083 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21089 ECHO_C
= ECHO_N
= ECHO_T
=
21090 case `echo -n x` in
21092 case `echo 'x\c'` in
21093 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21100 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21101 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21107 rm -f conf$$ conf$$.exe conf$$.
file
21108 if test -d conf$$.dir
; then
21109 rm -f conf$$.dir
/conf$$.
file
21115 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21117 # ... but there are two gotchas:
21118 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21119 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21120 # In both cases, we have to default to `cp -p'.
21121 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21123 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21128 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21129 rmdir conf$$.dir
2>/dev
/null
21131 if mkdir
-p .
2>/dev
/null
; then
21134 test -d .
/-p && rmdir .
/-p
21138 if test -x / >/dev
/null
2>&1; then
21139 as_test_x
='test -x'
21141 if ls -dL / >/dev
/null
2>&1; then
21148 if test -d "$1"; then
21154 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21155 ???[sx]*):;;*)false;;esac;fi
21159 as_executable_p
=$as_test_x
21161 # Sed expression to map a string onto a valid CPP name.
21162 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21164 # Sed expression to map a string onto a valid variable name.
21165 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21170 # Save the log message, to keep $[0] and so on meaningful, and to
21171 # report actual input values of CONFIG_FILES etc. instead of their
21172 # values after options handling.
21174 This file was extended by xdock $as_me 0.0.1, which was
21175 generated by GNU Autoconf 2.61. Invocation command line was
21177 CONFIG_FILES = $CONFIG_FILES
21178 CONFIG_HEADERS = $CONFIG_HEADERS
21179 CONFIG_LINKS = $CONFIG_LINKS
21180 CONFIG_COMMANDS = $CONFIG_COMMANDS
21183 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21188 cat >>$CONFIG_STATUS <<_ACEOF
21189 # Files that config.status was made for.
21190 config_files="$ac_config_files"
21191 config_headers="$ac_config_headers"
21192 config_commands="$ac_config_commands"
21196 cat >>$CONFIG_STATUS <<\_ACEOF
21198 \`$as_me' instantiates files from templates according to the
21199 current configuration.
21201 Usage: $0 [OPTIONS] [FILE]...
21203 -h, --help print this help, then exit
21204 -V, --version print version number and configuration settings, then exit
21205 -q, --quiet do not print progress messages
21206 -d, --debug don't remove temporary files
21207 --recheck update $as_me by reconfiguring in the same conditions
21208 --file=FILE[:TEMPLATE]
21209 instantiate the configuration file FILE
21210 --header=FILE[:TEMPLATE]
21211 instantiate the configuration header FILE
21213 Configuration files:
21216 Configuration headers:
21219 Configuration commands:
21222 Report bugs to <bug-autoconf@gnu.org>."
21225 cat >>$CONFIG_STATUS <<_ACEOF
21227 xdock config.status 0.0.1
21228 configured by $0, generated by GNU Autoconf 2.61,
21229 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21231 Copyright (C) 2006 Free Software Foundation, Inc.
21232 This config.status script is free software; the Free Software Foundation
21233 gives unlimited permission to copy, distribute and modify it."
21241 cat >>$CONFIG_STATUS <<\_ACEOF
21242 # If no file are specified by the user, then we need to provide default
21243 # value. By we need to know if files were specified by the user.
21249 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21250 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21261 # Handling of the options.
21262 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21264 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21265 echo "$ac_cs_version"; exit ;;
21266 --debug |
--debu |
--deb |
--de |
--d |
-d )
21268 --file |
--fil |
--fi |
--f )
21270 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21271 ac_need_defaults
=false
;;
21272 --header |
--heade |
--head |
--hea )
21274 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21275 ac_need_defaults
=false
;;
21277 # Conflict between --help and --header
21278 { echo "$as_me: error: ambiguous option: $1
21279 Try \`$0 --help' for more information." >&2
21280 { (exit 1); exit 1; }; };;
21281 --help |
--hel |
-h )
21282 echo "$ac_cs_usage"; exit ;;
21283 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21284 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21287 # This is an error.
21288 -*) { echo "$as_me: error: unrecognized option: $1
21289 Try \`$0 --help' for more information." >&2
21290 { (exit 1); exit 1; }; } ;;
21292 *) ac_config_targets
="$ac_config_targets $1"
21293 ac_need_defaults
=false
;;
21299 ac_configure_extra_args
=
21301 if $ac_cs_silent; then
21303 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21307 cat >>$CONFIG_STATUS <<_ACEOF
21308 if \$ac_cs_recheck; then
21309 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21310 CONFIG_SHELL=$SHELL
21311 export CONFIG_SHELL
21312 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21316 cat >>$CONFIG_STATUS <<\_ACEOF
21320 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21321 ## Running $as_me. ##
21327 cat >>$CONFIG_STATUS <<_ACEOF
21331 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21335 cat >>$CONFIG_STATUS <<\_ACEOF
21337 # Handling of arguments.
21338 for ac_config_target
in $ac_config_targets
21340 case $ac_config_target in
21341 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21342 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21343 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21344 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21345 "src/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/lib/Makefile" ;;
21346 "src/server/Makefile") CONFIG_FILES
="$CONFIG_FILES src/server/Makefile" ;;
21347 "src/docks/Makefile") CONFIG_FILES
="$CONFIG_FILES src/docks/Makefile" ;;
21348 "src/hello/Makefile") CONFIG_FILES
="$CONFIG_FILES src/hello/Makefile" ;;
21350 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21351 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21352 { (exit 1); exit 1; }; };;
21357 # If the user did not use the arguments to specify the items to instantiate,
21358 # then the envvar interface is used. Set only those that are not.
21359 # We use the long form for the default assignment because of an extremely
21360 # bizarre bug on SunOS 4.1.3.
21361 if $ac_need_defaults; then
21362 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21363 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21364 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21367 # Have a temporary directory for convenience. Make it in the build tree
21368 # simply because there is no reason against having it here, and in addition,
21369 # creating and moving files from /tmp can sometimes cause problems.
21370 # Hook for its removal unless debugging.
21371 # Note that there is a small window in which the directory will not be cleaned:
21372 # after its creation but before its name has been assigned to `$tmp'.
21376 trap 'exit_status=$?
21377 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21379 trap '{ (exit 1); exit 1; }' 1 2 13 15
21381 # Create a (secure) tmp directory for tmp files.
21384 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21385 test -n "$tmp" && test -d "$tmp"
21388 tmp
=.
/conf$$
-$RANDOM
21389 (umask 077 && mkdir
"$tmp")
21392 echo "$me: cannot create a temporary directory in ." >&2
21393 { (exit 1); exit 1; }
21397 # Set up the sed scripts for CONFIG_FILES section.
21400 # No need to generate the scripts if there are no CONFIG_FILES.
21401 # This happens for instance when ./config.status config.h
21402 if test -n "$CONFIG_FILES"; then
21409 for ac_last_try
in false false false false false
:; do
21410 cat >conf$
$subs.
sed <<_ACEOF
21411 SHELL!$SHELL$ac_delim
21412 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21413 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21414 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21415 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21416 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21417 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21418 exec_prefix!$exec_prefix$ac_delim
21419 prefix!$prefix$ac_delim
21420 program_transform_name!$program_transform_name$ac_delim
21421 bindir!$bindir$ac_delim
21422 sbindir!$sbindir$ac_delim
21423 libexecdir!$libexecdir$ac_delim
21424 datarootdir!$datarootdir$ac_delim
21425 datadir!$datadir$ac_delim
21426 sysconfdir!$sysconfdir$ac_delim
21427 sharedstatedir!$sharedstatedir$ac_delim
21428 localstatedir!$localstatedir$ac_delim
21429 includedir!$includedir$ac_delim
21430 oldincludedir!$oldincludedir$ac_delim
21431 docdir!$docdir$ac_delim
21432 infodir!$infodir$ac_delim
21433 htmldir!$htmldir$ac_delim
21434 dvidir!$dvidir$ac_delim
21435 pdfdir!$pdfdir$ac_delim
21436 psdir!$psdir$ac_delim
21437 libdir!$libdir$ac_delim
21438 localedir!$localedir$ac_delim
21439 mandir!$mandir$ac_delim
21440 DEFS!$DEFS$ac_delim
21441 ECHO_C!$ECHO_C$ac_delim
21442 ECHO_N!$ECHO_N$ac_delim
21443 ECHO_T!$ECHO_T$ac_delim
21444 LIBS!$LIBS$ac_delim
21445 build_alias!$build_alias$ac_delim
21446 host_alias!$host_alias$ac_delim
21447 target_alias!$target_alias$ac_delim
21448 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21449 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21450 INSTALL_DATA!$INSTALL_DATA$ac_delim
21451 am__isrc!$am__isrc$ac_delim
21452 CYGPATH_W!$CYGPATH_W$ac_delim
21453 PACKAGE!$PACKAGE$ac_delim
21454 VERSION!$VERSION$ac_delim
21455 ACLOCAL!$ACLOCAL$ac_delim
21456 AUTOCONF!$AUTOCONF$ac_delim
21457 AUTOMAKE!$AUTOMAKE$ac_delim
21458 AUTOHEADER!$AUTOHEADER$ac_delim
21459 MAKEINFO!$MAKEINFO$ac_delim
21460 install_sh!$install_sh$ac_delim
21461 STRIP!$STRIP$ac_delim
21462 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21463 mkdir_p!$mkdir_p$ac_delim
21465 SET_MAKE!$SET_MAKE$ac_delim
21466 am__leading_dot!$am__leading_dot$ac_delim
21467 AMTAR!$AMTAR$ac_delim
21468 am__tar!$am__tar$ac_delim
21469 am__untar!$am__untar$ac_delim
21470 build!$build$ac_delim
21471 build_cpu!$build_cpu$ac_delim
21472 build_vendor!$build_vendor$ac_delim
21473 build_os!$build_os$ac_delim
21474 host!$host$ac_delim
21475 host_cpu!$host_cpu$ac_delim
21476 host_vendor!$host_vendor$ac_delim
21477 host_os!$host_os$ac_delim
21479 CFLAGS!$CFLAGS$ac_delim
21480 LDFLAGS!$LDFLAGS$ac_delim
21481 CPPFLAGS!$CPPFLAGS$ac_delim
21482 ac_ct_CC!$ac_ct_CC$ac_delim
21483 EXEEXT!$EXEEXT$ac_delim
21484 OBJEXT!$OBJEXT$ac_delim
21485 DEPDIR!$DEPDIR$ac_delim
21486 am__include!$am__include$ac_delim
21487 am__quote!$am__quote$ac_delim
21488 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21489 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21490 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21491 CCDEPMODE!$CCDEPMODE$ac_delim
21492 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21493 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21495 GREP!$GREP$ac_delim
21496 EGREP!$EGREP$ac_delim
21497 LN_S!$LN_S$ac_delim
21498 ECHO!$ECHO$ac_delim
21500 RANLIB!$RANLIB$ac_delim
21503 CXXFLAGS!$CXXFLAGS$ac_delim
21504 ac_ct_CXX!$ac_ct_CXX$ac_delim
21505 CXXDEPMODE!$CXXDEPMODE$ac_delim
21506 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21507 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21510 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21512 elif $ac_last_try; then
21513 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21514 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21515 { (exit 1); exit 1; }; }
21517 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21521 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21522 if test -n "$ac_eof"; then
21523 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21524 ac_eof
=`expr $ac_eof + 1`
21527 cat >>$CONFIG_STATUS <<_ACEOF
21528 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21532 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21533 s/^/s,@/; s/!/@,|#_!!_#|/
21536 s/'"$ac_delim"'$/,g/; t
21538 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21539 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21540 rm -f conf$
$subs.
sed
21541 cat >>$CONFIG_STATUS <<_ACEOF
21547 for ac_last_try
in false false false false false
:; do
21548 cat >conf$
$subs.
sed <<_ACEOF
21549 CXXCPP!$CXXCPP$ac_delim
21551 FFLAGS!$FFLAGS$ac_delim
21552 ac_ct_F77!$ac_ct_F77$ac_delim
21553 LIBTOOL!$LIBTOOL$ac_delim
21554 XMKMF!$XMKMF$ac_delim
21556 IMLIB!$IMLIB$ac_delim
21557 PTHREAD!$PTHREAD$ac_delim
21558 MMS_BITFIELDS!$MMS_BITFIELDS$ac_delim
21559 WINSOCK!$WINSOCK$ac_delim
21560 LIBOBJS!$LIBOBJS$ac_delim
21561 LTLIBOBJS!$LTLIBOBJS$ac_delim
21564 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
21566 elif $ac_last_try; then
21567 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21568 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21569 { (exit 1); exit 1; }; }
21571 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21575 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21576 if test -n "$ac_eof"; then
21577 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21578 ac_eof
=`expr $ac_eof + 1`
21581 cat >>$CONFIG_STATUS <<_ACEOF
21582 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21586 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21587 s/^/s,@/; s/!/@,|#_!!_#|/
21590 s/'"$ac_delim"'$/,g/; t
21592 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21593 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21594 rm -f conf$
$subs.
sed
21595 cat >>$CONFIG_STATUS <<_ACEOF
21602 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21603 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21604 # trailing colons and then remove the whole line if VPATH becomes empty
21605 # (actually we leave an empty line to preserve line numbers).
21606 if test "x$srcdir" = x.
; then
21607 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21608 s/:*\$(srcdir):*/:/
21609 s/:*\${srcdir}:*/:/
21611 s/^\([^=]*=[ ]*\):*/\1/
21617 cat >>$CONFIG_STATUS <<\_ACEOF
21618 fi # test -n "$CONFIG_FILES"
21621 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21624 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21626 case $ac_mode$ac_tag in
21628 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21629 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21630 { (exit 1); exit 1; }; };;
21631 :[FH
]-) ac_tag
=-:-;;
21632 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21649 -) ac_f
="$tmp/stdin";;
21650 *) # Look for the file first in the build tree, then in the source tree
21651 # (if the path is not absolute). The absolute path cannot be DOS-style,
21652 # because $ac_f cannot contain `:'.
21656 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21658 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21659 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21660 { (exit 1); exit 1; }; };;
21662 ac_file_inputs
="$ac_file_inputs $ac_f"
21665 # Let's still pretend it is `configure' which instantiates (i.e., don't
21666 # use $as_me), people would be surprised to read:
21667 # /* config.h. Generated by config.status. */
21668 configure_input
="Generated from "`IFS=:
21669 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21670 if test x
"$ac_file" != x-
; then
21671 configure_input
="$ac_file. $configure_input"
21672 { echo "$as_me:$LINENO: creating $ac_file" >&5
21673 echo "$as_me: creating $ac_file" >&6;}
21677 *:-:* |
*:-) cat >"$tmp/stdin";;
21682 ac_dir
=`$as_dirname -- "$ac_file" ||
21683 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21684 X"$ac_file" : 'X\(//\)[^/]' \| \
21685 X"$ac_file" : 'X\(//\)$' \| \
21686 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21692 /^X\(\/\/\)[^/].*/{
21707 -*) as_dir
=.
/$as_dir;;
21709 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21713 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21714 *) as_qdir
=$as_dir;;
21716 as_dirs
="'$as_qdir' $as_dirs"
21717 as_dir
=`$as_dirname -- "$as_dir" ||
21718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21719 X"$as_dir" : 'X\(//\)[^/]' \| \
21720 X"$as_dir" : 'X\(//\)$' \| \
21721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21727 /^X\(\/\/\)[^/].*/{
21740 test -d "$as_dir" && break
21742 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21743 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21744 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21745 { (exit 1); exit 1; }; }; }
21749 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21751 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21752 # A ".." for each directory in $ac_dir_suffix.
21753 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21754 case $ac_top_builddir_sub in
21755 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21756 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21759 ac_abs_top_builddir
=$ac_pwd
21760 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21761 # for backward compatibility:
21762 ac_top_builddir
=$ac_top_build_prefix
21765 .
) # We are building in place.
21767 ac_top_srcdir
=$ac_top_builddir_sub
21768 ac_abs_top_srcdir
=$ac_pwd ;;
21769 [\\/]* | ?
:[\\/]* ) # Absolute name.
21770 ac_srcdir
=$srcdir$ac_dir_suffix;
21771 ac_top_srcdir
=$srcdir
21772 ac_abs_top_srcdir
=$srcdir ;;
21773 *) # Relative name.
21774 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21775 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21776 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21778 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21788 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21789 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21791 ac_MKDIR_P
=$MKDIR_P
21793 [\\/$
]* | ?
:[\\/]* ) ;;
21794 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21798 cat >>$CONFIG_STATUS <<\_ACEOF
21799 # If the template does not know about datarootdir, expand it.
21800 # FIXME: This hack should be removed a few years after 2.60.
21801 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21803 case `sed -n '/datarootdir/ {
21812 ' $ac_file_inputs` in
21813 *datarootdir
*) ac_datarootdir_seen
=yes;;
21814 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21815 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21816 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21818 cat >>$CONFIG_STATUS <<_ACEOF
21819 ac_datarootdir_hack='
21820 s&@datadir@&$datadir&g
21821 s&@docdir@&$docdir&g
21822 s&@infodir@&$infodir&g
21823 s&@localedir@&$localedir&g
21824 s&@mandir@&$mandir&g
21825 s&\\\${datarootdir}&$datarootdir&g' ;;
21829 # Neutralize VPATH when `$srcdir' = `.'.
21830 # Shell code in configure.ac might set extrasub.
21831 # FIXME: do we really want to maintain this feature?
21832 cat >>$CONFIG_STATUS <<_ACEOF
21836 cat >>$CONFIG_STATUS <<\_ACEOF
21838 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21839 s
&@configure_input@
&$configure_input&;t t
21840 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21841 s
&@srcdir@
&$ac_srcdir&;t t
21842 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21843 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21844 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21845 s
&@builddir@
&$ac_builddir&;t t
21846 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21847 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21848 s
&@INSTALL@
&$ac_INSTALL&;t t
21849 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21850 $ac_datarootdir_hack
21851 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21853 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21854 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21856 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21857 which seems to be undefined. Please make sure it is defined." >&5
21858 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21859 which seems to be undefined. Please make sure it is defined." >&2;}
21863 -) cat "$tmp/out"; rm -f "$tmp/out";;
21864 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21873 # Transform confdefs.h into a sed script `conftest.defines', that
21874 # substitutes the proper values into config.h.in to produce config.h.
21875 rm -f conftest.defines conftest.
tail
21876 # First, append a space to every undef/define line, to ease matching.
21877 echo 's/$/ /' >conftest.defines
21878 # Then, protect against being on the right side of a sed subst, or in
21879 # an unquoted here document, in config.status. If some macros were
21880 # called several times there might be several #defines for the same
21881 # symbol, which is useless. But do not sort them, since the last
21882 # AC_DEFINE must be honored.
21883 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21884 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21885 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21886 # PARAMS is the parameter list in the macro definition--in most cases, it's
21887 # just an empty string.
21888 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21889 ac_dB
='\\)[ (].*,\\1define\\2'
21897 s/^[ ]*#[ ]*define[ ][ ]*//
21902 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21903 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21904 ' >>conftest.defines
21906 # Remove the space that was appended to ease matching.
21907 # Then replace #undef with comments. This is necessary, for
21908 # example, in the case of _POSIX_SOURCE, which is predefined and required
21909 # on some systems where configure will not decide to define it.
21910 # (The regexp can be short, since the line contains either #define or #undef.)
21912 s,^[ #]*u.*,/* & */,' >>conftest.defines
21914 # Break up conftest.defines:
21915 ac_max_sed_lines
=50
21917 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21918 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21919 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21921 ac_in
='$ac_file_inputs'
21922 ac_out
='"$tmp/out1"'
21923 ac_nxt
='"$tmp/out2"'
21927 # Write a here document:
21928 cat >>$CONFIG_STATUS <<_ACEOF
21929 # First, check the format of the line:
21930 cat >"\$tmp/defines.sed" <<\\CEOF
21931 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21932 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21936 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21938 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21939 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21940 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21941 grep . conftest.
tail >/dev
/null ||
break
21942 rm -f conftest.defines
21943 mv conftest.
tail conftest.defines
21945 rm -f conftest.defines conftest.
tail
21947 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21948 cat >>$CONFIG_STATUS <<\_ACEOF
21949 if test x
"$ac_file" != x-
; then
21950 echo "/* $configure_input */" >"$tmp/config.h"
21951 cat "$ac_result" >>"$tmp/config.h"
21952 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21953 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21954 echo "$as_me: $ac_file is unchanged" >&6;}
21957 mv "$tmp/config.h" $ac_file
21960 echo "/* $configure_input */"
21964 # Compute $ac_file's index in $config_headers.
21966 for _am_header
in $config_headers :; do
21967 case $_am_header in
21968 $ac_file |
$ac_file:* )
21971 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21974 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21975 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21976 X$ac_file : 'X\(//\)[^/]' \| \
21977 X$ac_file : 'X\(//\)$' \| \
21978 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21984 /^X\(\/\/\)[^/].*/{
21996 s/.*/./; q'`/stamp-h
$_am_stamp_count
21999 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22000 echo "$as_me: executing $ac_file commands" >&6;}
22005 case $ac_file$ac_mode in
22006 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22007 # Strip MF so we end up with the name of the file.
22008 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22009 # Check whether this is an Automake generated Makefile or not.
22010 # We used to match only the files named `Makefile.in', but
22011 # some people rename them; so instead we look at the file content.
22012 # Grep'ing the first line is not enough: some people post-process
22013 # each Makefile.in and add a new line on top of each file to say so.
22014 # Grep'ing the whole file is not good either: AIX grep has a line
22015 # limit of 2048, but all sed's we know have understand at least 4000.
22016 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
22017 dirpart
=`$as_dirname -- "$mf" ||
22018 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22019 X"$mf" : 'X\(//\)[^/]' \| \
22020 X"$mf" : 'X\(//\)$' \| \
22021 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22027 /^X\(\/\/\)[^/].*/{
22043 # Extract the definition of DEPDIR, am__include, and am__quote
22044 # from the Makefile without running `make'.
22045 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22046 test -z "$DEPDIR" && continue
22047 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22048 test -z "am__include" && continue
22049 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22050 # When using ansi2knr, U may be empty or an underscore; expand it
22051 U
=`sed -n 's/^U = //p' < "$mf"`
22052 # Find all dependency output files, they are included files with
22053 # $(DEPDIR) in their names. We invoke sed twice because it is the
22054 # simplest approach to changing $(DEPDIR) to its actual value in the
22056 for file in `sed -n "
22057 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22058 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22059 # Make sure the directory exists.
22060 test -f "$dirpart/$file" && continue
22061 fdir
=`$as_dirname -- "$file" ||
22062 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22063 X"$file" : 'X\(//\)[^/]' \| \
22064 X"$file" : 'X\(//\)$' \| \
22065 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22071 /^X\(\/\/\)[^/].*/{
22084 { as_dir
=$dirpart/$fdir
22086 -*) as_dir
=.
/$as_dir;;
22088 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22092 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22093 *) as_qdir
=$as_dir;;
22095 as_dirs
="'$as_qdir' $as_dirs"
22096 as_dir
=`$as_dirname -- "$as_dir" ||
22097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22098 X"$as_dir" : 'X\(//\)[^/]' \| \
22099 X"$as_dir" : 'X\(//\)$' \| \
22100 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22106 /^X\(\/\/\)[^/].*/{
22119 test -d "$as_dir" && break
22121 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22122 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22123 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22124 { (exit 1); exit 1; }; }; }
22125 # echo "creating $dirpart/$file"
22126 echo '# dummy' > "$dirpart/$file"
22135 { (exit 0); exit 0; }
22137 chmod +x
$CONFIG_STATUS
22138 ac_clean_files
=$ac_clean_files_save
22141 # configure is writing to config.log, and then calls config.status.
22142 # config.status does its own redirection, appending to config.log.
22143 # Unfortunately, on DOS this fails, as config.log is still kept open
22144 # by configure, so config.status won't be able to write to it; its
22145 # output is simply discarded. So we exec the FD to /dev/null,
22146 # effectively closing config.log, so it can be properly (re)opened and
22147 # appended to by config.status. When coming back to configure, we
22148 # need to make the FD available again.
22149 if test "$no_create" != yes; then
22151 ac_config_status_args
=
22152 test "$silent" = yes &&
22153 ac_config_status_args
="$ac_config_status_args --quiet"
22155 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22157 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22158 # would make configure fail if this is the last instruction.
22159 $ac_cs_success ||
{ (exit 1); exit 1; }