2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for vimicxx 0.1.
5 # Report bugs to <ahmed.badran@gmail.com>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='vimicxx'
730 PACKAGE_TARNAME
='vimicxx'
731 PACKAGE_VERSION
='0.1'
732 PACKAGE_STRING
='vimicxx 0.1'
733 PACKAGE_BUGREPORT
='ahmed.badran@gmail.com'
735 ac_unique_file
="src/generic_exception.h"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
882 ac_precious_vars
='build_alias
902 # Initialize some variables set by options.
904 ac_init_version
=false
905 # The variables have the same names as the options, with
906 # dashes changed to underlines.
914 program_transform_name
=s
,x
,x
,
922 # Installation directory options.
923 # These are left unexpanded so users can "make install exec_prefix=/foo"
924 # and all the variables that are supposed to be based on exec_prefix
925 # by default will actually change.
926 # Use braces instead of parens because sh, perl, etc. also accept them.
927 # (The list follows the same order as the GNU Coding Standards.)
928 bindir
='${exec_prefix}/bin'
929 sbindir
='${exec_prefix}/sbin'
930 libexecdir
='${exec_prefix}/libexec'
931 datarootdir
='${prefix}/share'
932 datadir
='${datarootdir}'
933 sysconfdir
='${prefix}/etc'
934 sharedstatedir
='${prefix}/com'
935 localstatedir
='${prefix}/var'
936 includedir
='${prefix}/include'
937 oldincludedir
='/usr/include'
938 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
939 infodir
='${datarootdir}/info'
944 libdir
='${exec_prefix}/lib'
945 localedir
='${datarootdir}/locale'
946 mandir
='${datarootdir}/man'
952 # If the previous option needs an argument, assign it.
953 if test -n "$ac_prev"; then
954 eval $ac_prev=\
$ac_option
960 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1006 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1007 { (exit 1); exit 1; }; }
1008 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1009 eval enable_
$ac_feature=no
;;
1011 -docdir |
--docdir |
--docdi |
--doc |
--do)
1013 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1014 docdir
=$ac_optarg ;;
1016 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1018 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1019 dvidir
=$ac_optarg ;;
1021 -enable-* |
--enable-*)
1022 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1025 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1026 { (exit 1); exit 1; }; }
1027 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1028 eval enable_
$ac_feature=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1222 { echo "$as_me: error: invalid package name: $ac_package" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1225 eval with_
$ac_package=\
$ac_optarg ;;
1227 -without-* |
--without-*)
1228 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 { echo "$as_me: error: invalid package name: $ac_package" >&2
1232 { (exit 1); exit 1; }; }
1233 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1234 eval with_
$ac_package=no
;;
1237 # Obsolete; use --with-x.
1240 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1241 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1242 ac_prev
=x_includes
;;
1243 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1244 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1245 x_includes
=$ac_optarg ;;
1247 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1248 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1249 ac_prev
=x_libraries
;;
1250 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1251 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1252 x_libraries
=$ac_optarg ;;
1254 -*) { echo "$as_me: error: unrecognized option: $ac_option
1255 Try \`$0 --help' for more information." >&2
1256 { (exit 1); exit 1; }; }
1260 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1263 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1264 { (exit 1); exit 1; }; }
1265 eval $ac_envvar=\
$ac_optarg
1266 export $ac_envvar ;;
1269 # FIXME: should be removed in autoconf 3.0.
1270 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1272 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1279 if test -n "$ac_prev"; then
1280 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1281 { echo "$as_me: error: missing argument to $ac_option" >&2
1282 { (exit 1); exit 1; }; }
1285 # Be sure to have absolute directory names.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1293 [\\/$
]* | ?
:[\\/]* ) continue;;
1294 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1296 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1297 { (exit 1); exit 1; }; }
1300 # There might be people who depend on the old broken behavior: `$host'
1301 # used to hold the argument of --host etc.
1302 # FIXME: To remove some day.
1305 target
=$target_alias
1307 # FIXME: To remove some day.
1308 if test "x$host_alias" != x
; then
1309 if test "x$build_alias" = x
; then
1310 cross_compiling
=maybe
1311 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1312 If a cross compiler is detected then cross compile mode will be used." >&2
1313 elif test "x$build_alias" != "x$host_alias"; then
1319 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1321 test "$silent" = yes && exec 6>/dev
/null
1324 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1325 ac_ls_di
=`ls -di .` &&
1326 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1327 { echo "$as_me: error: Working directory cannot be determined" >&2
1328 { (exit 1); exit 1; }; }
1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1330 { echo "$as_me: error: pwd does not report name of working directory" >&2
1331 { (exit 1); exit 1; }; }
1334 # Find the source files, if location was not specified.
1335 if test -z "$srcdir"; then
1336 ac_srcdir_defaulted
=yes
1337 # Try the directory containing this script, then the parent directory.
1338 ac_confdir
=`$as_dirname -- "$0" ||
1339 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1340 X"$0" : 'X\(//\)[^/]' \| \
1341 X"$0" : 'X\(//\)$' \| \
1342 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1366 ac_srcdir_defaulted
=no
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1369 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1370 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1371 { (exit 1); exit 1; }; }
1373 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1375 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1376 { (exit 1); exit 1; }; }
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures vimicxx 0.1 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/vimicxx]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
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 vimicxx 0.1:";;
1477 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1478 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1479 --disable-dependency-tracking speeds up one-time build
1480 --enable-dependency-tracking do not reject slow dependency extractors
1481 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1482 --enable-static[=PKGS
] build static libraries
[default
=yes]
1483 --enable-fast-install[=PKGS
]
1484 optimize
for fast installation
[default
=yes]
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
]
1495 Some influential environment variables
:
1496 CXX C
++ compiler
command
1497 CXXFLAGS C
++ compiler flags
1498 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1499 nonstandard directory
<lib dir
>
1500 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1501 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1502 you have headers
in a nonstandard directory
<include dir
>
1503 CC C compiler
command
1504 CFLAGS C compiler flags
1506 CXXCPP C
++ preprocessor
1507 F77 Fortran
77 compiler
command
1508 FFLAGS Fortran
77 compiler flags
1509 PKG_CONFIG path to pkg-config utility
1510 libconfigfile_CFLAGS
1511 C compiler flags
for libconfigfile
, overriding pkg-config
1513 linker flags
for libconfigfile
, overriding pkg-config
1515 Use these variables to override the choices made by
`configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1518 Report bugs to <ahmed.badran@gmail.com>.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" || continue
1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1532 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1533 # A ".." for each directory in $ac_dir_suffix.
1534 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1535 case $ac_top_builddir_sub in
1536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540 ac_abs_top_builddir=$ac_pwd
1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1542 # for backward compatibility:
1543 ac_top_builddir=$ac_top_build_prefix
1546 .) # We are building in place.
1548 ac_top_srcdir=$ac_top_builddir_sub
1549 ac_abs_top_srcdir=$ac_pwd ;;
1550 [\\/]* | ?:[\\/]* ) # Absolute name.
1551 ac_srcdir=$srcdir$ac_dir_suffix;
1552 ac_top_srcdir=$srcdir
1553 ac_abs_top_srcdir=$srcdir ;;
1555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1556 ac_top_srcdir=$ac_top_build_prefix$srcdir
1557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1561 cd "$ac_dir" || { ac_status=$?; continue; }
1562 # Check for guested configure.
1563 if test -f "$ac_srcdir/configure.gnu"; then
1565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1566 elif test -f "$ac_srcdir/configure"; then
1568 $SHELL "$ac_srcdir/configure" --help=recursive
1570 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1572 cd "$ac_pwd" || { ac_status=$?; break; }
1576 test -n "$ac_init_help" && exit $ac_status
1577 if $ac_init_version; then
1579 vimicxx configure 0.1
1580 generated by GNU Autoconf 2.61
1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1583 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1584 This configure script is free software; the Free Software Foundation
1585 gives unlimited permission to copy, distribute and modify it.
1589 cat >config.log <<_ACEOF
1590 This file contains any messages produced by compilers while
1591 running configure, to aid debugging if configure makes a mistake.
1593 It was created by vimicxx $as_me 0.1, which was
1594 generated by GNU Autoconf 2.61. Invocation command line was
1606 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1607 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1608 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1609 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1610 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1612 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1613 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1615 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1616 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1617 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1618 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1619 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1620 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1621 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir=.
1630 echo "PATH: $as_dir"
1646 # Keep a trace of the command line.
1647 # Strip out --no-create and --no-recursion so they do not pile up.
1648 # Strip out --silent because we don't want to record it for future runs.
1649 # Also quote any args containing shell meta-characters.
1650 # Make two passes to allow for proper duplicate-argument suppression.
1654 ac_must_keep_next=false
1660 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1662 | -silent | --silent | --silen | --sile | --sil)
1665 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1668 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1670 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1671 if test $ac_must_keep_next = true; then
1672 ac_must_keep_next=false # Got value, back to normal.
1675 *=* | --config-cache | -C | -disable-* | --disable-* \
1676 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1677 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1678 | -with-* | --with-* | -without-* | --without-* | --x)
1679 case "$ac_configure_args0 " in
1680 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1683 -* ) ac_must_keep_next=true ;;
1686 ac_configure_args="$ac_configure_args '$ac_arg'"
1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1694 # When interrupted or exit'd, cleanup temporary files, and complete
1695 # config.log. We remove comments because anyway the quotes in there
1696 # would cause problems or look ugly.
1697 # WARNING: Use '\'' to represent an apostrophe within the trap.
1698 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1699 trap 'exit_status=$?
1700 # Save into config.log some information that might help in debugging.
1705 ## ---------------- ##
1706 ## Cache variables. ##
1707 ## ---------------- ##
1710 # The following way of writing the cache mishandles newlines in values,
1712 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1713 eval ac_val=\$$ac_var
1717 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1718 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1721 _ | IFS | as_nl) ;; #(
1722 *) $as_unset $ac_var ;;
1727 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1728 *${as_nl}ac_space=\ *)
1730 "s/'\''/'\''\\\\'\'''\''/g;
1731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1742 ## ----------------- ##
1743 ## Output variables. ##
1744 ## ----------------- ##
1747 for ac_var in $ac_subst_vars
1749 eval ac_val=\$$ac_var
1751 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1753 echo "$ac_var='\''$ac_val'\''"
1757 if test -n "$ac_subst_files"; then
1759 ## ------------------- ##
1760 ## File substitutions. ##
1761 ## ------------------- ##
1764 for ac_var in $ac_subst_files
1766 eval ac_val=\$$ac_var
1768 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770 echo "$ac_var='\''$ac_val'\''"
1775 if test -s confdefs.h; then
1785 test "$ac_signal" != 0 &&
1786 echo "$as_me: caught signal $ac_signal"
1787 echo "$as_me: exit $exit_status"
1789 rm -f core *.core core.conftest.* &&
1790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1793 for ac_signal in 1 2 13 15; do
1794 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1798 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1799 rm -f -r conftest* confdefs.h
1801 # Predefined preprocessor variables.
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_NAME "$PACKAGE_NAME"
1808 cat >>confdefs.h <<_ACEOF
1809 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1813 cat >>confdefs.h <<_ACEOF
1814 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1818 cat >>confdefs.h <<_ACEOF
1819 #define PACKAGE_STRING "$PACKAGE_STRING"
1823 cat >>confdefs.h <<_ACEOF
1824 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1828 # Let the site file select an alternate cache file if it wants to.
1829 # Prefer explicitly selected file to automatically selected ones.
1830 if test -n "$CONFIG_SITE"; then
1831 set x "$CONFIG_SITE"
1832 elif test "x$prefix" != xNONE; then
1833 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1835 set x "$ac_default_prefix/share/config.site" \
1836 "$ac_default_prefix/etc/config.site"
1841 if test -r "$ac_site_file"; then
1842 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1843 echo "$as_me: loading site script $ac_site_file" >&6;}
1844 sed 's/^/| /' "$ac_site_file" >&5
1849 if test -r "$cache_file"; then
1850 # Some versions of bash will fail to source /dev/null (special
1851 # files actually), so we avoid doing that.
1852 if test -f "$cache_file"; then
1853 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1854 echo "$as_me: loading cache $cache_file" >&6;}
1856 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1857 *) . "./$cache_file";;
1861 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1862 echo "$as_me: creating cache $cache_file" >&6;}
1866 # Check that the precious variables saved in the cache have kept the same
1868 ac_cache_corrupted=false
1869 for ac_var in $ac_precious_vars; do
1870 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1871 eval ac_new_set=\$ac_env_${ac_var}_set
1872 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1873 eval ac_new_val=\$ac_env_${ac_var}_value
1874 case $ac_old_set,$ac_new_set in
1876 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1877 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1878 ac_cache_corrupted=: ;;
1880 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1881 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1882 ac_cache_corrupted=: ;;
1885 if test "x$ac_old_val" != "x$ac_new_val"; then
1886 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1887 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1888 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1889 echo "$as_me: former value
: $ac_old_val" >&2;}
1890 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1891 echo "$as_me: current value
: $ac_new_val" >&2;}
1892 ac_cache_corrupted=:
1895 # Pass precious variables to config.status.
1896 if test "$ac_new_set" = set; then
1898 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1899 *) ac_arg=$ac_var=$ac_new_val ;;
1901 case " $ac_configure_args " in
1902 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1903 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1907 if $ac_cache_corrupted; then
1908 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1909 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1910 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1911 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1912 { (exit 1); exit 1; }; }
1940 ac_cpp='$CPP $CPPFLAGS'
1941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1946 am__api_version='1.10'
1949 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1950 if test -f "$ac_dir/install-sh"; then
1952 ac_install_sh="$ac_aux_dir/install-sh -c"
1954 elif test -f "$ac_dir/install.sh"; then
1956 ac_install_sh="$ac_aux_dir/install.sh -c"
1958 elif test -f "$ac_dir/shtool"; then
1960 ac_install_sh="$ac_aux_dir/shtool install -c"
1964 if test -z "$ac_aux_dir"; then
1965 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1966 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1967 { (exit 1); exit 1; }; }
1970 # These three variables are undocumented and unsupported,
1971 # and are intended to be withdrawn in a future Autoconf release.
1972 # They can cause serious problems if a builder's source tree is in a directory
1973 # whose full name contains unusual characters.
1974 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1975 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1976 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1979 # Find a good install program. We prefer a C program (faster),
1980 # so one script is as good as another. But avoid the broken or
1981 # incompatible versions:
1982 # SysV /etc/install, /usr/sbin/install
1983 # SunOS /usr/etc/install
1984 # IRIX /sbin/install
1986 # AmigaOS /C/install, which installs bootblocks on floppy discs
1987 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1988 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1989 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1990 # OS/2's system install, which has a completely different semantic
1991 # ./install, which can be erroneously created by make from ./install.sh.
1992 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1993 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1994 if test -z "$INSTALL"; then
1995 if test "${ac_cv_path_install+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir=.
2003 # Account for people who put trailing slashes in PATH elements.
2005 ./ | .// | /cC/* | \
2006 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2007 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2010 # OSF1 and SCO ODT 3.0 have their own names for install.
2011 # Don't use installbsd from OSF since it installs stuff as root
2013 for ac_prog in ginstall scoinst install; do
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2016 if test $ac_prog = install &&
2017 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2018 # AIX install. It has an incompatible calling convention.
2020 elif test $ac_prog = install &&
2021 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2022 # program-specific install script used by HP pwplus--don't use.
2025 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2038 if test "${ac_cv_path_install+set}" = set; then
2039 INSTALL=$ac_cv_path_install
2041 # As a last resort, use the slow shell script. Don't cache a
2042 # value for INSTALL within a source directory, because that will
2043 # break other packages using the cache if that directory is
2044 # removed, or if the value is a relative name.
2045 INSTALL=$ac_install_sh
2048 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2049 echo "${ECHO_T}$INSTALL" >&6; }
2051 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2052 # It thinks the first close brace ends the variable substitution.
2053 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2055 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2057 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2059 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2060 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2063 echo timestamp > conftest.file
2064 # Do `set' in a subshell so we don't clobber the current shell
's
2065 # arguments. Must try -L first in case configure is actually a
2066 # symlink; some systems play weird games with the mod time of symlinks
2067 # (eg FreeBSD returns the mod time of the symlink's containing
2070 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2071 if test "$*" = "X"; then
2073 set X
`ls -t $srcdir/configure conftest.file`
2076 if test "$*" != "X $srcdir/configure conftest.file" \
2077 && test "$*" != "X conftest.file $srcdir/configure"; then
2079 # If neither matched, then we have a broken ls. This can happen
2080 # if, for instance, CONFIG_SHELL is bash and it inherits a
2081 # broken ls alias from the environment. This has actually
2082 # happened. Such a system could not be considered "sane".
2083 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2084 alias in your environment" >&5
2085 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2086 alias in your environment" >&2;}
2087 { (exit 1); exit 1; }; }
2090 test "$2" = conftest.
file
2096 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2097 Check your system clock" >&5
2098 echo "$as_me: error: newly created file is older than distributed files!
2099 Check your system clock" >&2;}
2100 { (exit 1); exit 1; }; }
2102 { echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6; }
2104 test "$program_prefix" != NONE
&&
2105 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2106 # Use a double $ so make ignores it.
2107 test "$program_suffix" != NONE
&&
2108 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2109 # Double any \ or $. echo might interpret backslashes.
2110 # By default was `s,x,x', remove it if useless.
2111 cat <<\_ACEOF
>conftest.
sed
2112 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2114 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2117 # expand $ac_aux_dir to an absolute path
2118 am_aux_dir
=`cd $ac_aux_dir && pwd`
2120 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2121 # Use eval to expand $SHELL
2122 if eval "$MISSING --run true"; then
2123 am_missing_run
="$MISSING --run "
2126 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2127 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2130 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2131 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2132 if test -z "$MKDIR_P"; then
2133 if test "${ac_cv_path_mkdir+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2137 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2140 test -z "$as_dir" && as_dir
=.
2141 for ac_prog
in mkdir gmkdir
; do
2142 for ac_exec_ext
in '' $ac_executable_extensions; do
2143 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2144 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2145 'mkdir (GNU coreutils) '* | \
2146 'mkdir (coreutils) '* | \
2147 'mkdir (fileutils) '4.1*)
2148 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2158 if test "${ac_cv_path_mkdir+set}" = set; then
2159 MKDIR_P
="$ac_cv_path_mkdir -p"
2161 # As a last resort, use the slow shell script. Don't cache a
2162 # value for MKDIR_P within a source directory, because that will
2163 # break other packages using the cache if that directory is
2164 # removed, or if the value is a relative name.
2165 test -d .
/--version && rmdir .
/--version
2166 MKDIR_P
="$ac_install_sh -d"
2169 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2170 echo "${ECHO_T}$MKDIR_P" >&6; }
2174 [\\/$
]* | ?
:[\\/]*) ;;
2175 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2178 for ac_prog
in gawk mawk nawk
awk
2180 # Extract the first word of "$ac_prog", so it can be a program name with args.
2181 set dummy
$ac_prog; ac_word
=$2
2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184 if test "${ac_cv_prog_AWK+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$AWK"; then
2188 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir
=.
2195 for ac_exec_ext
in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_prog_AWK
="$ac_prog"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test -n "$AWK"; then
2209 { echo "$as_me:$LINENO: result: $AWK" >&5
2210 echo "${ECHO_T}$AWK" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2217 test -n "$AWK" && break
2220 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2221 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2222 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2223 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 cat >conftest.
make <<\_ACEOF
2229 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2232 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2234 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2236 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2240 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2241 { echo "$as_me:$LINENO: result: yes" >&5
2242 echo "${ECHO_T}yes" >&6; }
2245 { echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6; }
2247 SET_MAKE
="MAKE=${MAKE-make}"
2250 rm -rf .tst
2>/dev
/null
2251 mkdir .tst
2>/dev
/null
2252 if test -d .tst
; then
2257 rmdir .tst
2>/dev
/null
2259 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2260 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2261 # is not polluted with repeated "-I."
2262 am__isrc
=' -I$(srcdir)'
2263 # test to see if srcdir already configured
2264 if test -f $srcdir/config.status
; then
2265 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2266 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2267 { (exit 1); exit 1; }; }
2271 # test whether we have cygpath
2272 if test -z "$CYGPATH_W"; then
2273 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2274 CYGPATH_W
='cygpath -w'
2281 # Define the identity of the package.
2286 # Some tools Automake needs.
2288 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2291 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2294 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2297 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2300 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2302 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2304 # Installed binaries are usually stripped using `strip' when the user
2305 # run `make install-strip'. However `strip' might not be the right
2306 # tool to use in cross-compilation environments, therefore Automake
2307 # will honor the `STRIP' environment variable to overrule this program.
2308 if test "$cross_compiling" != no
; then
2309 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2314 if test "${ac_cv_prog_STRIP+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$STRIP"; then
2318 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir
=.
2325 for ac_exec_ext
in '' $ac_executable_extensions; do
2326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 STRIP
=$ac_cv_prog_STRIP
2338 if test -n "$STRIP"; then
2339 { echo "$as_me:$LINENO: result: $STRIP" >&5
2340 echo "${ECHO_T}$STRIP" >&6; }
2342 { echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6; }
2348 if test -z "$ac_cv_prog_STRIP"; then
2350 # Extract the first word of "strip", so it can be a program name with args.
2351 set dummy strip
; ac_word
=$2
2352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2354 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 if test -n "$ac_ct_STRIP"; then
2358 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 for ac_exec_ext
in '' $ac_executable_extensions; do
2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367 ac_cv_prog_ac_ct_STRIP
="strip"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2378 if test -n "$ac_ct_STRIP"; then
2379 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2380 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2382 { echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6; }
2386 if test "x$ac_ct_STRIP" = x
; then
2389 case $cross_compiling:$ac_tool_warned in
2391 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&5
2394 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2395 whose name does not start with the host triplet. If you think this
2396 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2397 ac_tool_warned
=yes ;;
2402 STRIP
="$ac_cv_prog_STRIP"
2406 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2408 # We need awk for the "check" target. The system "awk" is bad on
2410 # Always define AMTAR for backward compatibility.
2412 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2414 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2421 ac_config_headers
="$ac_config_headers config.h"
2424 # Checks for programs.
2426 ac_cpp
='$CXXCPP $CPPFLAGS'
2427 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2428 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2429 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2430 if test -z "$CXX"; then
2431 if test -n "$CCC"; then
2434 if test -n "$ac_tool_prefix"; then
2435 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2438 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2441 if test "${ac_cv_prog_CXX+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 if test -n "$CXX"; then
2445 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir
=.
2452 for ac_exec_ext
in '' $ac_executable_extensions; do
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2465 if test -n "$CXX"; then
2466 { echo "$as_me:$LINENO: result: $CXX" >&5
2467 echo "${ECHO_T}$CXX" >&6; }
2469 { echo "$as_me:$LINENO: result: no" >&5
2470 echo "${ECHO_T}no" >&6; }
2474 test -n "$CXX" && break
2477 if test -z "$CXX"; then
2479 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2481 # Extract the first word of "$ac_prog", so it can be a program name with args.
2482 set dummy
$ac_prog; ac_word
=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$ac_ct_CXX"; then
2489 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2509 if test -n "$ac_ct_CXX"; then
2510 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2511 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$ac_ct_CXX" && break
2521 if test "x$ac_ct_CXX" = x
; then
2524 case $cross_compiling:$ac_tool_warned in
2526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2527 whose name does not start with the host triplet. If you think this
2528 configuration is useful to you, please write to autoconf@gnu.org." >&5
2529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2530 whose name does not start with the host triplet. If you think this
2531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2532 ac_tool_warned
=yes ;;
2540 # Provide some information about the compiler.
2541 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2542 ac_compiler
=`set X $ac_compile; echo $2`
2543 { (ac_try
="$ac_compiler --version >&5"
2545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2549 (eval "$ac_compiler --version >&5") 2>&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }
2553 { (ac_try="$ac_compiler -v >&5"
2555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2556 *) ac_try_echo
=$ac_try;;
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_compiler -v >&5") 2>&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }
2563 { (ac_try
="$ac_compiler -V >&5"
2565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compiler -V >&5") 2>&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2594 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2595 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2596 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2598 # List of possible output files, starting from the most likely.
2599 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2600 # only as a last resort. b.out is created by i960 compilers.
2601 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2603 # The IRIX 6 linker writes into existing files which may not be
2604 # executable, retaining their permissions. Remove them first so a
2605 # subsequent execution test works.
2607 for ac_file in $ac_files
2610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2611 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2616 if { (ac_try="$ac_link_default"
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622 (eval "$ac_link_default") 2>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; then
2626 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2627 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2628 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2629 # so that the user can short-circuit this test for compilers unknown to
2631 for ac_file
in $ac_files ''
2633 test -f "$ac_file" ||
continue
2635 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2638 # We found the default executable, but exeext='' is most
2642 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2644 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2646 # We set ac_cv_exeext here because the later test for it is not
2647 # safe: cross compilers may not add the suffix if given an `-o'
2648 # argument, so we may need to know it at that point already.
2649 # Even if this section looks crufty: it has the advantage of
2656 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2662 { echo "$as_me:$LINENO: result: $ac_file" >&5
2663 echo "${ECHO_T}$ac_file" >&6; }
2664 if test -z "$ac_file"; then
2665 echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2668 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2669 See \`config.log' for more details." >&5
2670 echo "$as_me: error: C++ compiler cannot create executables
2671 See \`config.log' for more details." >&2;}
2672 { (exit 77); exit 77; }; }
2675 ac_exeext
=$ac_cv_exeext
2677 # Check that the compiler produces executables we can run. If not, either
2678 # the compiler is broken, or we cross compile.
2679 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2680 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2681 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2682 # If not cross compiling, check that we can run a simple program.
2683 if test "$cross_compiling" != yes; then
2684 if { ac_try
='./$ac_file'
2685 { (case "(($ac_try" in
2686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2690 (eval "$ac_try") 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2696 if test "$cross_compiling" = maybe; then
2699 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2700 If you meant to cross compile, use \`--host'.
2701 See \`config.log' for more details.
" >&5
2702 echo "$as_me: error
: cannot run C
++ compiled programs.
2703 If you meant to cross compile
, use \
`--host'.
2704 See \`config.log
' for more details." >&2;}
2705 { (exit 1); exit 1; }; }
2709 { echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6; }
2712 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2713 ac_clean_files=$ac_clean_files_save
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2718 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2719 echo "${ECHO_T}$cross_compiling" >&6; }
2721 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2722 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2723 if { (ac_try="$ac_link"
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2729 (eval "$ac_link") 2>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; then
2733 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2734 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2735 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2737 for ac_file
in conftest.exe conftest conftest.
*; do
2738 test -f "$ac_file" ||
continue
2740 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2741 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2747 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2750 See \`config.log' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2754 rm -f conftest
$ac_cv_exeext
2755 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2756 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2758 rm -f conftest.
$ac_ext
2759 EXEEXT
=$ac_cv_exeext
2761 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2762 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2763 if test "${ac_cv_objext+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 rm -f conftest.o conftest.obj
2782 if { (ac_try
="$ac_compile"
2784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2788 (eval "$ac_compile") 2>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); }; then
2792 for ac_file in conftest.o conftest.obj conftest.*; do
2793 test -f "$ac_file" || continue;
2795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2805 See \`config.log
' for more details." >&5
2806 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2807 See \`config.log' for more details.
" >&2;}
2808 { (exit 1); exit 1; }; }
2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2813 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2814 echo "${ECHO_T}$ac_cv_objext" >&6; }
2815 OBJEXT=$ac_cv_objext
2817 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2818 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2819 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2820 echo $ECHO_N "(cached
) $ECHO_C" >&6
2822 cat >conftest.$ac_ext <<_ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2840 rm -f conftest.$ac_objext
2841 if { (ac_try="$ac_compile"
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2847 (eval "$ac_compile") 2>conftest.er1
2849 grep -v '^ *+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2853 (exit $ac_status); } && {
2854 test -z "$ac_cxx_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext; then
2859 echo "$as_me: failed program was
:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2869 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2870 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2871 GXX=`test $ac_compiler_gnu = yes && echo yes`
2872 ac_test_CXXFLAGS=${CXXFLAGS+set}
2873 ac_save_CXXFLAGS=$CXXFLAGS
2874 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2875 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2876 if test "${ac_cv_prog_cxx_g+set}" = set; then
2877 echo $ECHO_N "(cached
) $ECHO_C" >&6
2879 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2880 ac_cxx_werror_flag=yes
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_cxx_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_cv_prog_cxx_g=yes
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2945 grep -v '^ *+' conftest.er1 >conftest.err
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_cxx_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.$ac_objext; then
2955 echo "$as_me: failed program was
:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2958 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_cxx_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2992 ac_cv_prog_cxx_g=yes
2994 echo "$as_me: failed program was
:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3009 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3010 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3011 if test "$ac_test_CXXFLAGS" = set; then
3012 CXXFLAGS=$ac_save_CXXFLAGS
3013 elif test $ac_cv_prog_cxx_g = yes; then
3014 if test "$GXX" = yes; then
3020 if test "$GXX" = yes; then
3027 ac_cpp='$CPP $CPPFLAGS'
3028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3031 DEPDIR="${am__leading_dot}deps
"
3033 ac_config_commands="$ac_config_commands depfiles
"
3036 am_make=${MAKE-make}
3037 cat > confinc << 'END'
3042 # If we don't find an include directive, just comment out the code.
3043 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3044 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3048 # First try GNU make style include.
3049 echo "include confinc" > confmf
3050 # We grep out `Entering directory' and `Leaving directory'
3051 # messages which can occur if `w' ends up in MAKEFLAGS.
3052 # In particular we don't look at `^make:' because GNU make might
3053 # be invoked under some other name (usually "gmake"), in which
3054 # case it prints its new name instead of `make'.
3055 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3060 # Now try BSD make style include.
3061 if test "$am__include" = "#"; then
3062 echo '.include "confinc"' > confmf
3063 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3064 am__include
=.include
3071 { echo "$as_me:$LINENO: result: $_am_result" >&5
3072 echo "${ECHO_T}$_am_result" >&6; }
3073 rm -f confinc confmf
3075 # Check whether --enable-dependency-tracking was given.
3076 if test "${enable_dependency_tracking+set}" = set; then
3077 enableval
=$enable_dependency_tracking;
3080 if test "x$enable_dependency_tracking" != xno
; then
3081 am_depcomp
="$ac_aux_dir/depcomp"
3084 if test "x$enable_dependency_tracking" != xno; then
3094 depcc
="$CXX" am_compiler_list
=
3096 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3097 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3098 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3102 # We make a subdir and do the tests there. Otherwise we can end up
3103 # making bogus files that we don't know about and never remove. For
3104 # instance it was reported that on HP-UX the gcc test will end up
3105 # making a dummy file named `D' -- because `-MD' means `put the output
3108 # Copy depcomp to subdir because otherwise we won't find it if we're
3109 # using a relative directory.
3110 cp "$am_depcomp" conftest.dir
3112 # We will build objects and dependencies in a subdirectory because
3113 # it helps to detect inapplicable dependency modes. For instance
3114 # both Tru64's cc and ICC support -MD to output dependencies as a
3115 # side effect of compilation, but ICC will put the dependencies in
3116 # the current directory while Tru64 will put them in the object
3120 am_cv_CXX_dependencies_compiler_type
=none
3121 if test "$am_compiler_list" = ""; then
3122 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3124 for depmode
in $am_compiler_list; do
3125 # Setup a source with many dependencies, because some compilers
3126 # like to wrap large dependency lists on column 80 (with \), and
3127 # we should not choose a depcomp mode which is confused by this.
3129 # We need to recreate these files for each test, as the compiler may
3130 # overwrite some of them when testing with obscure command lines.
3131 # This happens at least with the AIX C compiler.
3133 for i
in 1 2 3 4 5 6; do
3134 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3135 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3136 # Solaris 8's {/usr,}/bin/sh.
3137 touch sub
/conftst
$i.h
3139 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3143 # after this tag, mechanisms are not by side-effect, so they'll
3144 # only be used when explicitly requested
3145 if test "x$enable_dependency_tracking" = xyes
; then
3153 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3154 # mode. It turns out that the SunPro C++ compiler does not properly
3155 # handle `-M -o', and we need to detect this.
3156 if depmode
=$depmode \
3157 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3158 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3159 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3160 >/dev
/null
2>conftest.err
&&
3161 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3162 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3163 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3164 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3165 # icc doesn't choke on unknown options, it will just issue warnings
3166 # or remarks (even with -Werror). So we grep stderr for any message
3167 # that says an option was ignored or not supported.
3168 # When given -MP, icc 7.0 and 7.1 complain thusly:
3169 # icc: Command line warning: ignoring option '-M'; no argument required
3170 # The diagnosis changed in icc 8.0:
3171 # icc: Command line remark: option '-MP' not supported
3172 if (grep 'ignoring option' conftest.err ||
3173 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3174 am_cv_CXX_dependencies_compiler_type
=$depmode
3183 am_cv_CXX_dependencies_compiler_type
=none
3187 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3188 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3189 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3192 test "x$enable_dependency_tracking" != xno \
3193 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3194 am__fastdepCXX_TRUE
=
3195 am__fastdepCXX_FALSE
='#'
3197 am__fastdepCXX_TRUE
='#'
3198 am__fastdepCXX_FALSE
=
3203 ac_cpp
='$CPP $CPPFLAGS'
3204 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3209 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3212 if test "${ac_cv_prog_CC+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 if test -n "$CC"; then
3216 ac_cv_prog_CC
="$CC" # Let the user override the test.
3218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir
=.
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 if test -n "$CC"; then
3237 { echo "$as_me:$LINENO: result: $CC" >&5
3238 echo "${ECHO_T}$CC" >&6; }
3240 { echo "$as_me:$LINENO: result: no" >&5
3241 echo "${ECHO_T}no" >&6; }
3246 if test -z "$ac_cv_prog_CC"; then
3248 # Extract the first word of "gcc", so it can be a program name with args.
3249 set dummy gcc
; ac_word
=$2
3250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 if test -n "$ac_ct_CC"; then
3256 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3262 test -z "$as_dir" && as_dir
=.
3263 for ac_exec_ext
in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_CC
="gcc"
3266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3276 if test -n "$ac_ct_CC"; then
3277 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3278 echo "${ECHO_T}$ac_ct_CC" >&6; }
3280 { echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6; }
3284 if test "x$ac_ct_CC" = x
; then
3287 case $cross_compiling:$ac_tool_warned in
3289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3290 whose name does not start with the host triplet. If you think this
3291 configuration is useful to you, please write to autoconf@gnu.org." >&5
3292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3293 whose name does not start with the host triplet. If you think this
3294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3295 ac_tool_warned
=yes ;;
3303 if test -z "$CC"; then
3304 if test -n "$ac_tool_prefix"; then
3305 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3306 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3309 if test "${ac_cv_prog_CC+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 if test -n "$CC"; then
3313 ac_cv_prog_CC
="$CC" # Let the user override the test.
3315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 test -z "$as_dir" && as_dir
=.
3320 for ac_exec_ext
in '' $ac_executable_extensions; do
3321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3322 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3333 if test -n "$CC"; then
3334 { echo "$as_me:$LINENO: result: $CC" >&5
3335 echo "${ECHO_T}$CC" >&6; }
3337 { echo "$as_me:$LINENO: result: no" >&5
3338 echo "${ECHO_T}no" >&6; }
3344 if test -z "$CC"; then
3345 # Extract the first word of "cc", so it can be a program name with args.
3346 set dummy cc
; ac_word
=$2
3347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3349 if test "${ac_cv_prog_CC+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 if test -n "$CC"; then
3353 ac_cv_prog_CC
="$CC" # Let the user override the test.
3356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3360 test -z "$as_dir" && as_dir
=.
3361 for ac_exec_ext
in '' $ac_executable_extensions; do
3362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3364 ac_prog_rejected
=yes
3368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 if test $ac_prog_rejected = yes; then
3376 # We found a bogon in the path, so make sure we never use it.
3377 set dummy
$ac_cv_prog_CC
3379 if test $# != 0; then
3380 # We chose a different compiler from the bogus one.
3381 # However, it has the same basename, so the bogon will be chosen
3382 # first if we set CC to just the basename; use the full file name.
3384 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3390 if test -n "$CC"; then
3391 { echo "$as_me:$LINENO: result: $CC" >&5
3392 echo "${ECHO_T}$CC" >&6; }
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3400 if test -z "$CC"; then
3401 if test -n "$ac_tool_prefix"; then
3402 for ac_prog
in cl.exe
3404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3405 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3408 if test "${ac_cv_prog_CC+set}" = set; then
3409 echo $ECHO_N "(cached) $ECHO_C" >&6
3411 if test -n "$CC"; then
3412 ac_cv_prog_CC
="$CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3432 if test -n "$CC"; then
3433 { echo "$as_me:$LINENO: result: $CC" >&5
3434 echo "${ECHO_T}$CC" >&6; }
3436 { echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6; }
3441 test -n "$CC" && break
3444 if test -z "$CC"; then
3446 for ac_prog
in cl.exe
3448 # Extract the first word of "$ac_prog", so it can be a program name with args.
3449 set dummy
$ac_prog; ac_word
=$2
3450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3452 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 if test -n "$ac_ct_CC"; then
3456 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3462 test -z "$as_dir" && as_dir
=.
3463 for ac_exec_ext
in '' $ac_executable_extensions; do
3464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3465 ac_cv_prog_ac_ct_CC
="$ac_prog"
3466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3476 if test -n "$ac_ct_CC"; then
3477 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3478 echo "${ECHO_T}$ac_ct_CC" >&6; }
3480 { echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6; }
3485 test -n "$ac_ct_CC" && break
3488 if test "x$ac_ct_CC" = x
; then
3491 case $cross_compiling:$ac_tool_warned in
3493 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3494 whose name does not start with the host triplet. If you think this
3495 configuration is useful to you, please write to autoconf@gnu.org." >&5
3496 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3497 whose name does not start with the host triplet. If you think this
3498 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3499 ac_tool_warned
=yes ;;
3508 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3509 See \`config.log' for more details." >&5
3510 echo "$as_me: error: no acceptable C compiler found in \$PATH
3511 See \`config.log' for more details." >&2;}
3512 { (exit 1); exit 1; }; }
3514 # Provide some information about the compiler.
3515 echo "$as_me:$LINENO: checking for C compiler version" >&5
3516 ac_compiler
=`set X $ac_compile; echo $2`
3517 { (ac_try
="$ac_compiler --version >&5"
3519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3520 *) ac_try_echo=$ac_try;;
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3523 (eval "$ac_compiler --version >&5") 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }
3527 { (ac_try="$ac_compiler -v >&5"
3529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3530 *) ac_try_echo
=$ac_try;;
3532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_compiler -v >&5") 2>&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }
3537 { (ac_try
="$ac_compiler -V >&5"
3539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_compiler -V >&5") 2>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }
3548 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3549 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3550 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 cat >conftest.$ac_ext <<_ACEOF
3556 cat confdefs.h >>conftest.$ac_ext
3557 cat >>conftest.$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3571 rm -f conftest.$ac_objext
3572 if { (ac_try="$ac_compile"
3574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3575 *) ac_try_echo
=$ac_try;;
3577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3578 (eval "$ac_compile") 2>conftest.er1
3580 grep -v '^ *+' conftest.er1
>conftest.err
3582 cat conftest.err
>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } && {
3585 test -z "$ac_c_werror_flag" ||
3586 test ! -s conftest.err
3587 } && test -s conftest.
$ac_objext; then
3590 echo "$as_me: failed program was:" >&5
3591 sed 's/^/| /' conftest.
$ac_ext >&5
3596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3597 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3600 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3601 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3602 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3603 ac_test_CFLAGS
=${CFLAGS+set}
3604 ac_save_CFLAGS
=$CFLAGS
3605 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3606 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_cc_g+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 ac_save_c_werror_flag
=$ac_c_werror_flag
3611 ac_c_werror_flag
=yes
3614 cat >conftest.
$ac_ext <<_ACEOF
3617 cat confdefs.h
>>conftest.
$ac_ext
3618 cat >>conftest.
$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3629 rm -f conftest.
$ac_objext
3630 if { (ac_try
="$ac_compile"
3632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_compile") 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } && {
3643 test -z "$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 } && test -s conftest.$ac_objext; then
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3652 cat >conftest.$ac_ext <<_ACEOF
3655 cat confdefs.h >>conftest.$ac_ext
3656 cat >>conftest.$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3667 rm -f conftest.$ac_objext
3668 if { (ac_try="$ac_compile"
3670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3671 *) ac_try_echo
=$ac_try;;
3673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3674 (eval "$ac_compile") 2>conftest.er1
3676 grep -v '^ *+' conftest.er1
>conftest.err
3678 cat conftest.err
>&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); } && {
3681 test -z "$ac_c_werror_flag" ||
3682 test ! -s conftest.err
3683 } && test -s conftest.
$ac_objext; then
3686 echo "$as_me: failed program was:" >&5
3687 sed 's/^/| /' conftest.
$ac_ext >&5
3689 ac_c_werror_flag
=$ac_save_c_werror_flag
3691 cat >conftest.
$ac_ext <<_ACEOF
3694 cat confdefs.h
>>conftest.
$ac_ext
3695 cat >>conftest.
$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3706 rm -f conftest.
$ac_objext
3707 if { (ac_try
="$ac_compile"
3709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3710 *) ac_try_echo=$ac_try;;
3712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3713 (eval "$ac_compile") 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } && {
3720 test -z "$ac_c_werror_flag" ||
3721 test ! -s conftest.err
3722 } && test -s conftest.$ac_objext; then
3725 echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.$ac_ext >&5
3731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 ac_c_werror_flag=$ac_save_c_werror_flag
3740 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3741 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3742 if test "$ac_test_CFLAGS" = set; then
3743 CFLAGS=$ac_save_CFLAGS
3744 elif test $ac_cv_prog_cc_g = yes; then
3745 if test "$GCC" = yes; then
3751 if test "$GCC" = yes; then
3757 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3758 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3759 if test "${ac_cv_prog_cc_c89+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 ac_cv_prog_cc_c89=no
3764 cat >conftest.$ac_ext <<_ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3772 #include <sys/types.h>
3773 #include <sys/stat.h>
3774 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3775 struct buf { int x; };
3776 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3777 static char *e (p, i)
3783 static char *f (char * (*g) (char **, int), char **p, ...)
3788 s = g (p, va_arg (v,int));
3793 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3794 function prototypes and stuff, but not '\xHH' hex character constants.
3795 These don't provoke an error unfortunately, instead are silently treated
3796 as 'x'. The following induces an error, until -std is added to get
3797 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3798 array size at least. It's necessary to write '\x00'==0 to get something
3799 that's true only with -std. */
3800 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3802 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3803 inside strings and character constants. */
3805 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3807 int test (int i, double x);
3808 struct s1 {int (*f) (int a);};
3809 struct s2 {int (*f) (double a);};
3810 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3816 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3821 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3822 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3824 CC="$ac_save_CC $ac_arg"
3825 rm -f conftest.$ac_objext
3826 if { (ac_try="$ac_compile"
3828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3829 *) ac_try_echo
=$ac_try;;
3831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3832 (eval "$ac_compile") 2>conftest.er1
3834 grep -v '^ *+' conftest.er1
>conftest.err
3836 cat conftest.err
>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } && {
3839 test -z "$ac_c_werror_flag" ||
3840 test ! -s conftest.err
3841 } && test -s conftest.
$ac_objext; then
3842 ac_cv_prog_cc_c89
=$ac_arg
3844 echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.
$ac_ext >&5
3850 rm -f core conftest.err conftest.
$ac_objext
3851 test "x$ac_cv_prog_cc_c89" != "xno" && break
3853 rm -f conftest.
$ac_ext
3858 case "x$ac_cv_prog_cc_c89" in
3860 { echo "$as_me:$LINENO: result: none needed" >&5
3861 echo "${ECHO_T}none needed" >&6; } ;;
3863 { echo "$as_me:$LINENO: result: unsupported" >&5
3864 echo "${ECHO_T}unsupported" >&6; } ;;
3866 CC
="$CC $ac_cv_prog_cc_c89"
3867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3868 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3873 ac_cpp
='$CPP $CPPFLAGS'
3874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3878 depcc
="$CC" am_compiler_list
=
3880 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3881 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3882 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3883 echo $ECHO_N "(cached) $ECHO_C" >&6
3885 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3886 # We make a subdir and do the tests there. Otherwise we can end up
3887 # making bogus files that we don't know about and never remove. For
3888 # instance it was reported that on HP-UX the gcc test will end up
3889 # making a dummy file named `D' -- because `-MD' means `put the output
3892 # Copy depcomp to subdir because otherwise we won't find it if we're
3893 # using a relative directory.
3894 cp "$am_depcomp" conftest.dir
3896 # We will build objects and dependencies in a subdirectory because
3897 # it helps to detect inapplicable dependency modes. For instance
3898 # both Tru64's cc and ICC support -MD to output dependencies as a
3899 # side effect of compilation, but ICC will put the dependencies in
3900 # the current directory while Tru64 will put them in the object
3904 am_cv_CC_dependencies_compiler_type
=none
3905 if test "$am_compiler_list" = ""; then
3906 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3908 for depmode
in $am_compiler_list; do
3909 # Setup a source with many dependencies, because some compilers
3910 # like to wrap large dependency lists on column 80 (with \), and
3911 # we should not choose a depcomp mode which is confused by this.
3913 # We need to recreate these files for each test, as the compiler may
3914 # overwrite some of them when testing with obscure command lines.
3915 # This happens at least with the AIX C compiler.
3917 for i
in 1 2 3 4 5 6; do
3918 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3919 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3920 # Solaris 8's {/usr,}/bin/sh.
3921 touch sub
/conftst
$i.h
3923 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3927 # after this tag, mechanisms are not by side-effect, so they'll
3928 # only be used when explicitly requested
3929 if test "x$enable_dependency_tracking" = xyes
; then
3937 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3938 # mode. It turns out that the SunPro C++ compiler does not properly
3939 # handle `-M -o', and we need to detect this.
3940 if depmode
=$depmode \
3941 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3942 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3943 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3944 >/dev
/null
2>conftest.err
&&
3945 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3946 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3947 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3948 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3949 # icc doesn't choke on unknown options, it will just issue warnings
3950 # or remarks (even with -Werror). So we grep stderr for any message
3951 # that says an option was ignored or not supported.
3952 # When given -MP, icc 7.0 and 7.1 complain thusly:
3953 # icc: Command line warning: ignoring option '-M'; no argument required
3954 # The diagnosis changed in icc 8.0:
3955 # icc: Command line remark: option '-MP' not supported
3956 if (grep 'ignoring option' conftest.err ||
3957 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3958 am_cv_CC_dependencies_compiler_type
=$depmode
3967 am_cv_CC_dependencies_compiler_type
=none
3971 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3972 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3973 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3976 test "x$enable_dependency_tracking" != xno \
3977 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3979 am__fastdepCC_FALSE
='#'
3981 am__fastdepCC_TRUE
='#'
3982 am__fastdepCC_FALSE
=
3986 # Check whether --enable-shared was given.
3987 if test "${enable_shared+set}" = set; then
3988 enableval
=$enable_shared; p
=${PACKAGE-default}
3990 yes) enable_shared
=yes ;;
3991 no
) enable_shared
=no
;;
3994 # Look at the argument we got. We use all the common list separators.
3995 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3996 for pkg
in $enableval; do
3998 if test "X$pkg" = "X$p"; then
4010 # Check whether --enable-static was given.
4011 if test "${enable_static+set}" = set; then
4012 enableval
=$enable_static; p
=${PACKAGE-default}
4014 yes) enable_static
=yes ;;
4015 no
) enable_static
=no
;;
4018 # Look at the argument we got. We use all the common list separators.
4019 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4020 for pkg
in $enableval; do
4022 if test "X$pkg" = "X$p"; then
4034 # Check whether --enable-fast-install was given.
4035 if test "${enable_fast_install+set}" = set; then
4036 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4038 yes) enable_fast_install
=yes ;;
4039 no
) enable_fast_install
=no
;;
4041 enable_fast_install
=no
4042 # Look at the argument we got. We use all the common list separators.
4043 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4044 for pkg
in $enableval; do
4046 if test "X$pkg" = "X$p"; then
4047 enable_fast_install
=yes
4054 enable_fast_install
=yes
4058 # Make sure we can run config.sub.
4059 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4060 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4061 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4062 { (exit 1); exit 1; }; }
4064 { echo "$as_me:$LINENO: checking build system type" >&5
4065 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4066 if test "${ac_cv_build+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 ac_build_alias
=$build_alias
4070 test "x$ac_build_alias" = x
&&
4071 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4072 test "x$ac_build_alias" = x
&&
4073 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4074 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4075 { (exit 1); exit 1; }; }
4076 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4077 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4078 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4079 { (exit 1); exit 1; }; }
4082 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4083 echo "${ECHO_T}$ac_cv_build" >&6; }
4084 case $ac_cv_build in
4086 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4087 echo "$as_me: error: invalid value of canonical build" >&2;}
4088 { (exit 1); exit 1; }; };;
4091 ac_save_IFS
=$IFS; IFS
='-'
4097 # Remember, the first character of IFS is used to create $*,
4098 # except with old shells:
4101 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4104 { echo "$as_me:$LINENO: checking host system type" >&5
4105 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4106 if test "${ac_cv_host+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 if test "x$host_alias" = x
; then
4110 ac_cv_host
=$ac_cv_build
4112 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4113 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4114 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4115 { (exit 1); exit 1; }; }
4119 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4120 echo "${ECHO_T}$ac_cv_host" >&6; }
4123 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4124 echo "$as_me: error: invalid value of canonical host" >&2;}
4125 { (exit 1); exit 1; }; };;
4128 ac_save_IFS
=$IFS; IFS
='-'
4134 # Remember, the first character of IFS is used to create $*,
4135 # except with old shells:
4138 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4141 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4142 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4143 if test "${lt_cv_path_SED+set}" = set; then
4144 echo $ECHO_N "(cached) $ECHO_C" >&6
4146 # Loop through the user's path and test for sed and gsed.
4147 # Then use that list of sed's as ones to test for truncation.
4148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir
=.
4153 for lt_ac_prog
in sed gsed
; do
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4156 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4164 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4165 # along with /bin/sed that truncates output.
4166 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4167 test ! -f $lt_ac_sed && continue
4168 cat /dev
/null
> conftest.
in
4170 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4171 # Check for GNU sed and select it if it is found.
4172 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4173 lt_cv_path_SED
=$lt_ac_sed
4177 cat conftest.
in conftest.
in >conftest.tmp
4178 mv conftest.tmp conftest.
in
4179 cp conftest.
in conftest.
nl
4181 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4182 cmp -s conftest.out conftest.
nl ||
break
4183 # 10000 chars as input seems more than enough
4184 test $lt_ac_count -gt 10 && break
4185 lt_ac_count
=`expr $lt_ac_count + 1`
4186 if test $lt_ac_count -gt $lt_ac_max; then
4187 lt_ac_max
=$lt_ac_count
4188 lt_cv_path_SED
=$lt_ac_sed
4197 { echo "$as_me:$LINENO: result: $SED" >&5
4198 echo "${ECHO_T}$SED" >&6; }
4200 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4202 if test "${ac_cv_path_GREP+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 # Extract the first word of "grep ggrep" to use in msg output
4206 if test -z "$GREP"; then
4207 set dummy
grep ggrep
; ac_prog_name
=$2
4208 if test "${ac_cv_path_GREP+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 ac_path_GREP_found
=false
4212 # Loop through the user's path and test for each of PROGNAME-LIST
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4214 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_prog
in grep ggrep
; do
4219 for ac_exec_ext
in '' $ac_executable_extensions; do
4220 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4221 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4222 # Check for GNU ac_path_GREP and select it if it is found.
4223 # Check for GNU $ac_path_GREP
4224 case `"$ac_path_GREP" --version 2>&1` in
4226 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4229 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4232 cat "conftest.in" "conftest.in" >"conftest.tmp"
4233 mv "conftest.tmp" "conftest.in"
4234 cp "conftest.in" "conftest.nl"
4235 echo 'GREP' >> "conftest.nl"
4236 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4237 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4238 ac_count
=`expr $ac_count + 1`
4239 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4240 # Best one so far, save it but keep looking for a better one
4241 ac_cv_path_GREP
="$ac_path_GREP"
4242 ac_path_GREP_max
=$ac_count
4244 # 10*(2^10) chars as input seems more than enough
4245 test $ac_count -gt 10 && break
4247 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4251 $ac_path_GREP_found && break 3
4261 GREP
="$ac_cv_path_GREP"
4262 if test -z "$GREP"; then
4263 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4264 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4265 { (exit 1); exit 1; }; }
4269 ac_cv_path_GREP
=$GREP
4274 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4275 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4276 GREP
="$ac_cv_path_GREP"
4279 { echo "$as_me:$LINENO: checking for egrep" >&5
4280 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4281 if test "${ac_cv_path_EGREP+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4285 then ac_cv_path_EGREP
="$GREP -E"
4287 # Extract the first word of "egrep" to use in msg output
4288 if test -z "$EGREP"; then
4289 set dummy
egrep; ac_prog_name
=$2
4290 if test "${ac_cv_path_EGREP+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 ac_path_EGREP_found
=false
4294 # Loop through the user's path and test for each of PROGNAME-LIST
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_prog
in egrep; do
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4303 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4304 # Check for GNU ac_path_EGREP and select it if it is found.
4305 # Check for GNU $ac_path_EGREP
4306 case `"$ac_path_EGREP" --version 2>&1` in
4308 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4314 cat "conftest.in" "conftest.in" >"conftest.tmp"
4315 mv "conftest.tmp" "conftest.in"
4316 cp "conftest.in" "conftest.nl"
4317 echo 'EGREP' >> "conftest.nl"
4318 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4319 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4320 ac_count
=`expr $ac_count + 1`
4321 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4322 # Best one so far, save it but keep looking for a better one
4323 ac_cv_path_EGREP
="$ac_path_EGREP"
4324 ac_path_EGREP_max
=$ac_count
4326 # 10*(2^10) chars as input seems more than enough
4327 test $ac_count -gt 10 && break
4329 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4333 $ac_path_EGREP_found && break 3
4343 EGREP
="$ac_cv_path_EGREP"
4344 if test -z "$EGREP"; then
4345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4347 { (exit 1); exit 1; }; }
4351 ac_cv_path_EGREP
=$EGREP
4357 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4358 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4359 EGREP
="$ac_cv_path_EGREP"
4363 # Check whether --with-gnu-ld was given.
4364 if test "${with_gnu_ld+set}" = set; then
4365 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4371 if test "$GCC" = yes; then
4372 # Check if gcc -print-prog-name=ld gives a path.
4373 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4374 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4377 # gcc leaves a trailing carriage return which upsets mingw
4378 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4380 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4383 # Accept absolute paths.
4385 re_direlt
='/[^/][^/]*/\.\./'
4386 # Canonicalize the pathname of ld
4387 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4388 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4389 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4391 test -z "$LD" && LD
="$ac_prog"
4394 # If it fails, then pretend we aren't using GCC.
4398 # If it is relative, then search for the first ld in PATH.
4402 elif test "$with_gnu_ld" = yes; then
4403 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4404 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4406 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4407 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4409 if test "${lt_cv_path_LD+set}" = set; then
4410 echo $ECHO_N "(cached) $ECHO_C" >&6
4412 if test -z "$LD"; then
4413 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4414 for ac_dir
in $PATH; do
4416 test -z "$ac_dir" && ac_dir
=.
4417 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4418 lt_cv_path_LD
="$ac_dir/$ac_prog"
4419 # Check to see if the program is GNU ld. I'd rather use --version,
4420 # but apparently some variants of GNU ld only accept -v.
4421 # Break only if it was the GNU/non-GNU ld that we prefer.
4422 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4423 *GNU
* |
*'with BFD'*)
4424 test "$with_gnu_ld" != no
&& break
4427 test "$with_gnu_ld" != yes && break
4434 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4439 if test -n "$LD"; then
4440 { echo "$as_me:$LINENO: result: $LD" >&5
4441 echo "${ECHO_T}$LD" >&6; }
4443 { echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6; }
4446 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4447 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4448 { (exit 1); exit 1; }; }
4449 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4450 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4451 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4455 case `$LD -v 2>&1 </dev/null` in
4456 *GNU
* |
*'with BFD'*)
4457 lt_cv_prog_gnu_ld
=yes
4460 lt_cv_prog_gnu_ld
=no
4464 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4465 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4466 with_gnu_ld
=$lt_cv_prog_gnu_ld
4469 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4470 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4471 if test "${lt_cv_ld_reload_flag+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 lt_cv_ld_reload_flag
='-r'
4476 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4477 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4478 reload_flag
=$lt_cv_ld_reload_flag
4479 case $reload_flag in
4481 *) reload_flag
=" $reload_flag" ;;
4483 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4486 if test "$GCC" = yes; then
4487 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4489 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4494 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4495 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4496 if test "${lt_cv_path_NM+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 if test -n "$NM"; then
4500 # Let the user override the test.
4503 lt_nm_to_check
="${ac_tool_prefix}nm"
4504 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4505 lt_nm_to_check
="$lt_nm_to_check nm"
4507 for lt_tmp_nm
in $lt_nm_to_check; do
4508 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4509 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4511 test -z "$ac_dir" && ac_dir
=.
4512 tmp_nm
="$ac_dir/$lt_tmp_nm"
4513 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4514 # Check to see if the nm accepts a BSD-compat flag.
4515 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4516 # nm: unknown option "B" ignored
4517 # Tru64's nm complains that /dev/null is an invalid object file
4518 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4519 */dev
/null
* |
*'Invalid file or object type'*)
4520 lt_cv_path_NM
="$tmp_nm -B"
4524 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4526 lt_cv_path_NM
="$tmp_nm -p"
4530 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4531 continue # so that we can try to find one that supports BSD flags
4540 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4543 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4544 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4547 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4548 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4550 if test "$LN_S" = "ln -s"; then
4551 { echo "$as_me:$LINENO: result: yes" >&5
4552 echo "${ECHO_T}yes" >&6; }
4554 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4555 echo "${ECHO_T}no, using $LN_S" >&6; }
4558 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4559 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4560 if test "${lt_cv_deplibs_check_method+set}" = set; then
4561 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4564 lt_cv_file_magic_test_file
=
4565 lt_cv_deplibs_check_method
='unknown'
4566 # Need to set the preceding variable on all platforms that support
4567 # interlibrary dependencies.
4568 # 'none' -- dependencies not supported.
4569 # `unknown' -- same as none, but documents that we really don't know.
4570 # 'pass_all' -- all dependencies passed with no checks.
4571 # 'test_compile' -- check by making test program.
4572 # 'file_magic [[regex]]' -- check by looking for files in library path
4573 # which responds to the $file_magic_cmd with a given extended regex.
4574 # If you have `file' or equivalent on your system and you're not sure
4575 # whether `pass_all' will *always* work, you probably want this one.
4579 lt_cv_deplibs_check_method
=pass_all
4583 lt_cv_deplibs_check_method
=pass_all
4587 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4588 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4589 lt_cv_file_magic_test_file
=/shlib
/libc.so
4593 # func_win32_libid is a shell function defined in ltmain.sh
4594 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4595 lt_cv_file_magic_cmd
='func_win32_libid'
4599 # Base MSYS/MinGW do not provide the 'file' command needed by
4600 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4601 # unless we find 'file', for example because we are cross-compiling.
4602 if ( file / ) >/dev
/null
2>&1; then
4603 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4604 lt_cv_file_magic_cmd
='func_win32_libid'
4606 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4607 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4611 darwin
* | rhapsody
*)
4612 lt_cv_deplibs_check_method
=pass_all
4615 freebsd
* | dragonfly
*)
4616 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4619 # Not sure whether the presence of OpenBSD here was a mistake.
4620 # Let's accept both of them until this is cleared up.
4621 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4622 lt_cv_file_magic_cmd
=/usr
/bin
/file
4623 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4627 lt_cv_deplibs_check_method
=pass_all
4632 lt_cv_deplibs_check_method
=pass_all
4635 hpux10.20
* | hpux11
*)
4636 lt_cv_file_magic_cmd
=/usr
/bin
/file
4639 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4640 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4643 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]'
4644 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4647 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4648 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4654 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4655 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4658 irix5
* | irix6
* | nonstopux
*)
4660 *-32|
*"-32 ") libmagic
=32-bit;;
4661 *-n32|
*"-n32 ") libmagic
=N32
;;
4662 *-64|
*"-64 ") libmagic
=64-bit;;
4663 *) libmagic
=never-match
;;
4665 lt_cv_deplibs_check_method
=pass_all
4668 # This must be Linux ELF.
4669 linux
* | k
*bsd
*-gnu)
4670 lt_cv_deplibs_check_method
=pass_all
4674 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4675 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4677 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4682 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4683 lt_cv_file_magic_cmd
=/usr
/bin
/file
4684 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4688 lt_cv_deplibs_check_method
=unknown
4692 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4693 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4695 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4699 osf3
* | osf4
* | osf5
*)
4700 lt_cv_deplibs_check_method
=pass_all
4704 lt_cv_deplibs_check_method
=pass_all
4708 lt_cv_deplibs_check_method
=pass_all
4712 case $host_vendor in
4714 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]'
4715 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4718 lt_cv_deplibs_check_method
=pass_all
4721 lt_cv_file_magic_cmd
='/bin/file'
4722 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4725 lt_cv_file_magic_cmd
='/bin/file'
4726 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4727 lt_cv_file_magic_test_file
=/lib
/libc.so
4730 lt_cv_deplibs_check_method
=pass_all
4733 lt_cv_deplibs_check_method
=pass_all
4738 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4739 lt_cv_deplibs_check_method
=pass_all
4744 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4745 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4746 file_magic_cmd
=$lt_cv_file_magic_cmd
4747 deplibs_check_method
=$lt_cv_deplibs_check_method
4748 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4753 # If no C compiler was specified, use CC.
4756 # If no C compiler flags were specified, use CFLAGS.
4757 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4759 # Allow CC to be a program name with arguments.
4763 # Check whether --enable-libtool-lock was given.
4764 if test "${enable_libtool_lock+set}" = set; then
4765 enableval
=$enable_libtool_lock;
4768 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4770 # Some flags need to be propagated to the compiler or linker for good
4774 # Find out which ABI we are using.
4775 echo 'int i;' > conftest.
$ac_ext
4776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4777 (eval $ac_compile) 2>&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; then
4781 case `/usr/bin/file conftest.$ac_objext` in
4793 # Find out which ABI we are using.
4794 echo '#line 4794 "configure"' > conftest.
$ac_ext
4795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; then
4800 if test "$lt_cv_prog_gnu_ld" = yes; then
4801 case `/usr/bin/file conftest.$ac_objext` in
4803 LD
="${LD-ld} -melf32bsmip"
4806 LD
="${LD-ld} -melf32bmipn32"
4809 LD
="${LD-ld} -melf64bmip"
4813 case `/usr/bin/file conftest.$ac_objext` in
4829 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4830 s390
*-*linux
*|sparc
*-*linux
*)
4831 # Find out which ABI we are using.
4832 echo 'int i;' > conftest.
$ac_ext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4834 (eval $ac_compile) 2>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); }; then
4838 case `/usr/bin/file conftest.o` in
4841 x86_64-
*kfreebsd
*-gnu)
4842 LD
="${LD-ld} -m elf_i386_fbsd"
4845 LD
="${LD-ld} -m elf_i386"
4847 ppc64-
*linux
*|powerpc64-
*linux
*)
4848 LD
="${LD-ld} -m elf32ppclinux"
4851 LD
="${LD-ld} -m elf_s390"
4854 LD
="${LD-ld} -m elf32_sparc"
4860 x86_64-
*kfreebsd
*-gnu)
4861 LD
="${LD-ld} -m elf_x86_64_fbsd"
4864 LD
="${LD-ld} -m elf_x86_64"
4866 ppc
*-*linux
*|powerpc
*-*linux
*)
4867 LD
="${LD-ld} -m elf64ppc"
4870 LD
="${LD-ld} -m elf64_s390"
4873 LD
="${LD-ld} -m elf64_sparc"
4883 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4884 SAVE_CFLAGS
="$CFLAGS"
4885 CFLAGS
="$CFLAGS -belf"
4886 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4887 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4888 if test "${lt_cv_cc_needs_belf+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 ac_cpp
='$CPP $CPPFLAGS'
4893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4897 cat >conftest.
$ac_ext <<_ACEOF
4900 cat confdefs.h
>>conftest.
$ac_ext
4901 cat >>conftest.
$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4912 rm -f conftest.
$ac_objext conftest
$ac_exeext
4913 if { (ac_try
="$ac_link"
4915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4916 *) ac_try_echo=$ac_try;;
4918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4919 (eval "$ac_link") 2>conftest.er1
4921 grep -v '^ *+' conftest.er1 >conftest.err
4923 cat conftest.err >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } && {
4926 test -z "$ac_c_werror_flag" ||
4927 test ! -s conftest.err
4928 } && test -s conftest$ac_exeext &&
4929 $as_test_x conftest$ac_exeext; then
4930 lt_cv_cc_needs_belf=yes
4932 echo "$as_me: failed program was:" >&5
4933 sed 's/^/| /' conftest.$ac_ext >&5
4935 lt_cv_cc_needs_belf=no
4938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4939 conftest$ac_exeext conftest.$ac_ext
4941 ac_cpp='$CPP $CPPFLAGS'
4942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4947 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4948 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4949 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4950 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4951 CFLAGS="$SAVE_CFLAGS"
4955 # Find out which ABI we are using.
4956 echo 'int i;' > conftest.$ac_ext
4957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4958 (eval $ac_compile) 2>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; then
4962 case `/usr
/bin
/file conftest.o
` in
4964 case $lt_cv_prog_gnu_ld in
4965 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4967 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4981 need_locks="$enable_libtool_lock"
4985 ac_cpp='$CPP $CPPFLAGS'
4986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4989 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4990 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4991 # On Suns, sometimes $CPP names a directory.
4992 if test -n "$CPP" && test -d "$CPP"; then
4995 if test -z "$CPP"; then
4996 if test "${ac_cv_prog_CPP+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 # Double quotes because CPP needs to be expanded
5000 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5003 for ac_c_preproc_warn_flag in '' yes
5005 # Use a header file that comes with gcc, so configuring glibc
5006 # with a fresh cross-compiler works.
5007 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5008 # <limits.h> exists even on freestanding compilers.
5009 # On the NeXT, cc -E runs the code through the compiler's parser,
5010 # not just through cpp. "Syntax error" is here to catch this case.
5011 cat >conftest.$ac_ext <<_ACEOF
5014 cat confdefs.h >>conftest.$ac_ext
5015 cat >>conftest.$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5018 # include <limits.h>
5020 # include <assert.h>
5024 if { (ac_try="$ac_cpp conftest.$ac_ext"
5026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5027 *) ac_try_echo
=$ac_try;;
5029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5032 grep -v '^ *+' conftest.er1
>conftest.err
5034 cat conftest.err
>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } >/dev
/null
&& {
5037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5038 test ! -s conftest.err
5042 echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.
$ac_ext >&5
5045 # Broken: fails on valid input.
5049 rm -f conftest.err conftest.
$ac_ext
5051 # OK, works on sane cases. Now check whether nonexistent headers
5052 # can be detected and how.
5053 cat >conftest.
$ac_ext <<_ACEOF
5056 cat confdefs.h
>>conftest.
$ac_ext
5057 cat >>conftest.
$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5059 #include <ac_nonexistent.h>
5061 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5063 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5069 grep -v '^ *+' conftest.er1 >conftest.err
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } >/dev/null && {
5074 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5077 # Broken: success on invalid input.
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 # Passes both tests.
5088 rm -f conftest.err conftest.$ac_ext
5091 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5092 rm -f conftest.err conftest.
$ac_ext
5093 if $ac_preproc_ok; then
5105 { echo "$as_me:$LINENO: result: $CPP" >&5
5106 echo "${ECHO_T}$CPP" >&6; }
5108 for ac_c_preproc_warn_flag
in '' yes
5110 # Use a header file that comes with gcc, so configuring glibc
5111 # with a fresh cross-compiler works.
5112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5113 # <limits.h> exists even on freestanding compilers.
5114 # On the NeXT, cc -E runs the code through the compiler's parser,
5115 # not just through cpp. "Syntax error" is here to catch this case.
5116 cat >conftest.
$ac_ext <<_ACEOF
5119 cat confdefs.h
>>conftest.
$ac_ext
5120 cat >>conftest.
$ac_ext <<_ACEOF
5121 /* end confdefs.h. */
5123 # include <limits.h>
5125 # include <assert.h>
5129 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5137 grep -v '^ *+' conftest.er1 >conftest.err
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } >/dev/null && {
5142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5143 test ! -s conftest.err
5147 echo "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5150 # Broken: fails on valid input.
5154 rm -f conftest.err conftest.$ac_ext
5156 # OK, works on sane cases. Now check whether nonexistent headers
5157 # can be detected and how.
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #include <ac_nonexistent.h>
5166 if { (ac_try="$ac_cpp conftest.$ac_ext"
5168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5169 *) ac_try_echo
=$ac_try;;
5171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5174 grep -v '^ *+' conftest.er1
>conftest.err
5176 cat conftest.err
>&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } >/dev
/null
&& {
5179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5180 test ! -s conftest.err
5182 # Broken: success on invalid input.
5185 echo "$as_me: failed program was:" >&5
5186 sed 's/^/| /' conftest.
$ac_ext >&5
5188 # Passes both tests.
5193 rm -f conftest.err conftest.
$ac_ext
5196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5197 rm -f conftest.err conftest.
$ac_ext
5198 if $ac_preproc_ok; then
5201 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5202 See \`config.log' for more details." >&5
5203 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5204 See \`config.log' for more details." >&2;}
5205 { (exit 1); exit 1; }; }
5209 ac_cpp
='$CPP $CPPFLAGS'
5210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5215 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5216 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5217 if test "${ac_cv_header_stdc+set}" = set; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 cat >conftest.
$ac_ext <<_ACEOF
5223 cat confdefs.h
>>conftest.
$ac_ext
5224 cat >>conftest.
$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5239 rm -f conftest.
$ac_objext
5240 if { (ac_try
="$ac_compile"
5242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5243 *) ac_try_echo=$ac_try;;
5245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5246 (eval "$ac_compile") 2>conftest.er1
5248 grep -v '^ *+' conftest.er1 >conftest.err
5250 cat conftest.err >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); } && {
5253 test -z "$ac_c_werror_flag" ||
5254 test ! -s conftest.err
5255 } && test -s conftest.$ac_objext; then
5256 ac_cv_header_stdc=yes
5258 echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5261 ac_cv_header_stdc=no
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 if test $ac_cv_header_stdc = yes; then
5267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5268 cat >conftest.$ac_ext <<_ACEOF
5271 cat confdefs.h >>conftest.$ac_ext
5272 cat >>conftest.$ac_ext <<_ACEOF
5273 /* end confdefs.h. */
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "memchr" >/dev/null 2>&1; then
5281 ac_cv_header_stdc=no
5287 if test $ac_cv_header_stdc = yes; then
5288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5289 cat >conftest.$ac_ext <<_ACEOF
5292 cat confdefs.h >>conftest.$ac_ext
5293 cat >>conftest.$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5299 $EGREP "free" >/dev/null 2>&1; then
5302 ac_cv_header_stdc=no
5308 if test $ac_cv_header_stdc = yes; then
5309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5310 if test "$cross_compiling" = yes; then
5313 cat >conftest.$ac_ext <<_ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5321 #if ((' ' & 0x0FF) == 0x020)
5322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5325 # define ISLOWER(c) \
5326 (('a' <= (c) && (c) <= 'i') \
5327 || ('j' <= (c) && (c) <= 'r') \
5328 || ('s' <= (c) && (c) <= 'z'))
5329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5337 for (i = 0; i < 256; i++)
5338 if (XOR (islower (i), ISLOWER (i))
5339 || toupper (i) != TOUPPER (i))
5344 rm -f conftest$ac_exeext
5345 if { (ac_try="$ac_link"
5347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5348 *) ac_try_echo
=$ac_try;;
5350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5351 (eval "$ac_link") 2>&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5355 { (case "(($ac_try" in
5356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5357 *) ac_try_echo=$ac_try;;
5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5360 (eval "$ac_try") 2>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; }; then
5366 echo "$as_me: program exited with status $ac_status" >&5
5367 echo "$as_me: failed program was:" >&5
5368 sed 's/^/| /' conftest.$ac_ext >&5
5371 ac_cv_header_stdc=no
5373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5379 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5380 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5381 if test $ac_cv_header_stdc = yes; then
5383 cat >>confdefs.h <<\_ACEOF
5384 #define STDC_HEADERS 1
5389 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5399 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5400 inttypes.h stdint.h unistd.h
5402 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5403 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5405 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 cat >conftest.$ac_ext <<_ACEOF
5411 cat confdefs.h >>conftest.$ac_ext
5412 cat >>conftest.$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5414 $ac_includes_default
5416 #include <$ac_header>
5418 rm -f conftest.$ac_objext
5419 if { (ac_try="$ac_compile"
5421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5422 *) ac_try_echo
=$ac_try;;
5424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5425 (eval "$ac_compile") 2>conftest.er1
5427 grep -v '^ *+' conftest.er1
>conftest.err
5429 cat conftest.err
>&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } && {
5432 test -z "$ac_c_werror_flag" ||
5433 test ! -s conftest.err
5434 } && test -s conftest.
$ac_objext; then
5435 eval "$as_ac_Header=yes"
5437 echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.
$ac_ext >&5
5440 eval "$as_ac_Header=no"
5443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5445 ac_res
=`eval echo '${'$as_ac_Header'}'`
5446 { echo "$as_me:$LINENO: result: $ac_res" >&5
5447 echo "${ECHO_T}$ac_res" >&6; }
5448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5449 cat >>confdefs.h
<<_ACEOF
5450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5459 for ac_header
in dlfcn.h
5461 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5462 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5465 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 ac_res
=`eval echo '${'$as_ac_Header'}'`
5469 { echo "$as_me:$LINENO: result: $ac_res" >&5
5470 echo "${ECHO_T}$ac_res" >&6; }
5472 # Is the header compilable?
5473 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5475 cat >conftest.
$ac_ext <<_ACEOF
5478 cat confdefs.h
>>conftest.
$ac_ext
5479 cat >>conftest.
$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5481 $ac_includes_default
5482 #include <$ac_header>
5484 rm -f conftest.
$ac_objext
5485 if { (ac_try
="$ac_compile"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_compile") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && {
5498 test -z "$ac_c_werror_flag" ||
5499 test ! -s conftest.err
5500 } && test -s conftest.$ac_objext; then
5501 ac_header_compiler=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5506 ac_header_compiler=no
5509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5511 echo "${ECHO_T}$ac_header_compiler" >&6; }
5513 # Is the header present?
5514 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5516 cat >conftest.$ac_ext <<_ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5522 #include <$ac_header>
5524 if { (ac_try="$ac_cpp conftest.$ac_ext"
5526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5527 *) ac_try_echo
=$ac_try;;
5529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5530 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5532 grep -v '^ *+' conftest.er1
>conftest.err
5534 cat conftest.err
>&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } >/dev
/null
&& {
5537 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5538 test ! -s conftest.err
5540 ac_header_preproc
=yes
5542 echo "$as_me: failed program was:" >&5
5543 sed 's/^/| /' conftest.
$ac_ext >&5
5545 ac_header_preproc
=no
5548 rm -f conftest.err conftest.
$ac_ext
5549 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5550 echo "${ECHO_T}$ac_header_preproc" >&6; }
5552 # So? What about this header?
5553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5559 ac_header_preproc
=yes
5562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5575 ## ------------------------------------- ##
5576 ## Report this to ahmed.badran@gmail.com ##
5577 ## ------------------------------------- ##
5579 ) |
sed "s/^/$as_me: WARNING: /" >&2
5582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5584 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 eval "$as_ac_Header=\$ac_header_preproc"
5589 ac_res
=`eval echo '${'$as_ac_Header'}'`
5590 { echo "$as_me:$LINENO: result: $ac_res" >&5
5591 echo "${ECHO_T}$ac_res" >&6; }
5594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5595 cat >>confdefs.h
<<_ACEOF
5596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5605 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5606 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5607 (test "X$CXX" != "Xg++"))) ; then
5609 ac_cpp
='$CXXCPP $CPPFLAGS'
5610 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5611 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5612 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5613 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5614 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5615 if test -z "$CXXCPP"; then
5616 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 # Double quotes because CXXCPP needs to be expanded
5620 for CXXCPP
in "$CXX -E" "/lib/cpp"
5623 for ac_cxx_preproc_warn_flag
in '' yes
5625 # Use a header file that comes with gcc, so configuring glibc
5626 # with a fresh cross-compiler works.
5627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5628 # <limits.h> exists even on freestanding compilers.
5629 # On the NeXT, cc -E runs the code through the compiler's parser,
5630 # not just through cpp. "Syntax error" is here to catch this case.
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5638 # include <limits.h>
5640 # include <assert.h>
5644 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5652 grep -v '^ *+' conftest.er1 >conftest.err
5654 cat conftest.err >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } >/dev/null && {
5657 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5658 test ! -s conftest.err
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5665 # Broken: fails on valid input.
5669 rm -f conftest.err conftest.$ac_ext
5671 # OK, works on sane cases. Now check whether nonexistent headers
5672 # can be detected and how.
5673 cat >conftest.$ac_ext <<_ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5679 #include <ac_nonexistent.h>
5681 if { (ac_try="$ac_cpp conftest.$ac_ext"
5683 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5684 *) ac_try_echo
=$ac_try;;
5686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5689 grep -v '^ *+' conftest.er1
>conftest.err
5691 cat conftest.err
>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } >/dev
/null
&& {
5694 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5695 test ! -s conftest.err
5697 # Broken: success on invalid input.
5700 echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.
$ac_ext >&5
5703 # Passes both tests.
5708 rm -f conftest.err conftest.
$ac_ext
5711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5712 rm -f conftest.err conftest.
$ac_ext
5713 if $ac_preproc_ok; then
5718 ac_cv_prog_CXXCPP
=$CXXCPP
5721 CXXCPP
=$ac_cv_prog_CXXCPP
5723 ac_cv_prog_CXXCPP
=$CXXCPP
5725 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5726 echo "${ECHO_T}$CXXCPP" >&6; }
5728 for ac_cxx_preproc_warn_flag
in '' yes
5730 # Use a header file that comes with gcc, so configuring glibc
5731 # with a fresh cross-compiler works.
5732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5733 # <limits.h> exists even on freestanding compilers.
5734 # On the NeXT, cc -E runs the code through the compiler's parser,
5735 # not just through cpp. "Syntax error" is here to catch this case.
5736 cat >conftest.
$ac_ext <<_ACEOF
5739 cat confdefs.h
>>conftest.
$ac_ext
5740 cat >>conftest.
$ac_ext <<_ACEOF
5741 /* end confdefs.h. */
5743 # include <limits.h>
5745 # include <assert.h>
5749 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5752 *) ac_try_echo=$ac_try;;
5754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5757 grep -v '^ *+' conftest.er1 >conftest.err
5759 cat conftest.err >&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } >/dev/null && {
5762 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5763 test ! -s conftest.err
5767 echo "$as_me: failed program was:" >&5
5768 sed 's/^/| /' conftest.$ac_ext >&5
5770 # Broken: fails on valid input.
5774 rm -f conftest.err conftest.$ac_ext
5776 # OK, works on sane cases. Now check whether nonexistent headers
5777 # can be detected and how.
5778 cat >conftest.$ac_ext <<_ACEOF
5781 cat confdefs.h >>conftest.$ac_ext
5782 cat >>conftest.$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5784 #include <ac_nonexistent.h>
5786 if { (ac_try="$ac_cpp conftest.$ac_ext"
5788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5789 *) ac_try_echo
=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1
>conftest.err
5796 cat conftest.err
>&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } >/dev
/null
&& {
5799 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5800 test ! -s conftest.err
5802 # Broken: success on invalid input.
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.
$ac_ext >&5
5808 # Passes both tests.
5813 rm -f conftest.err conftest.
$ac_ext
5816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5817 rm -f conftest.err conftest.
$ac_ext
5818 if $ac_preproc_ok; then
5821 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5822 See \`config.log' for more details." >&5
5823 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5824 See \`config.log' for more details." >&2;}
5825 { (exit 1); exit 1; }; }
5829 ac_cpp
='$CXXCPP $CPPFLAGS'
5830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5838 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5839 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5841 if test -n "$ac_tool_prefix"; then
5842 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
5844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5845 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5846 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5848 if test "${ac_cv_prog_F77+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5851 if test -n "$F77"; then
5852 ac_cv_prog_F77
="$F77" # Let the user override the test.
5854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir
=.
5859 for ac_exec_ext
in '' $ac_executable_extensions; do
5860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5861 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 if test -n "$F77"; then
5873 { echo "$as_me:$LINENO: result: $F77" >&5
5874 echo "${ECHO_T}$F77" >&6; }
5876 { echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6; }
5881 test -n "$F77" && break
5884 if test -z "$F77"; then
5886 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
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy
$ac_prog; ac_word
=$2
5890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5892 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 if test -n "$ac_ct_F77"; then
5896 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5902 test -z "$as_dir" && as_dir
=.
5903 for ac_exec_ext
in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_ac_ct_F77
="$ac_prog"
5906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5916 if test -n "$ac_ct_F77"; then
5917 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5918 echo "${ECHO_T}$ac_ct_F77" >&6; }
5920 { echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6; }
5925 test -n "$ac_ct_F77" && break
5928 if test "x$ac_ct_F77" = x
; then
5931 case $cross_compiling:$ac_tool_warned in
5933 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5934 whose name does not start with the host triplet. If you think this
5935 configuration is useful to you, please write to autoconf@gnu.org." >&5
5936 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5939 ac_tool_warned
=yes ;;
5946 # Provide some information about the compiler.
5947 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5948 ac_compiler
=`set X $ac_compile; echo $2`
5949 { (ac_try
="$ac_compiler --version >&5"
5951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5952 *) ac_try_echo=$ac_try;;
5954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5955 (eval "$ac_compiler --version >&5") 2>&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }
5959 { (ac_try="$ac_compiler -v >&5"
5961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5962 *) ac_try_echo
=$ac_try;;
5964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5965 (eval "$ac_compiler -v >&5") 2>&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }
5969 { (ac_try
="$ac_compiler -V >&5"
5971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5972 *) ac_try_echo=$ac_try;;
5974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5975 (eval "$ac_compiler -V >&5") 2>&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }
5981 # If we don't use `.F
' as extension, the preprocessor is not run on the
5982 # input file. (Note that this only needs to work for GNU compilers.)
5985 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5986 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5987 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5988 echo $ECHO_N "(cached) $ECHO_C" >&6
5990 cat >conftest.$ac_ext <<_ACEOF
5998 rm -f conftest.$ac_objext
5999 if { (ac_try="$ac_compile"
6001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6002 *) ac_try_echo=$ac_try;;
6004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6005 (eval "$ac_compile") 2>conftest.er1
6007 grep -v '^
*+' conftest.er1 >conftest.err
6009 cat conftest.err >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); } && {
6012 test -z "$ac_f77_werror_flag" ||
6013 test ! -s conftest.err
6014 } && test -s conftest.$ac_objext; then
6017 echo "$as_me: failed program was:" >&5
6018 sed 's
/^
/|
/' conftest.$ac_ext >&5
6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6024 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6027 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6028 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6030 ac_test_FFLAGS=${FFLAGS+set}
6031 ac_save_FFLAGS=$FFLAGS
6033 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6034 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6035 if test "${ac_cv_prog_f77_g+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6039 cat >conftest.$ac_ext <<_ACEOF
6044 rm -f conftest.$ac_objext
6045 if { (ac_try="$ac_compile"
6047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6048 *) ac_try_echo=$ac_try;;
6050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6051 (eval "$ac_compile") 2>conftest.er1
6053 grep -v '^
*+' conftest.er1 >conftest.err
6055 cat conftest.err >&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); } && {
6058 test -z "$ac_f77_werror_flag" ||
6059 test ! -s conftest.err
6060 } && test -s conftest.$ac_objext; then
6061 ac_cv_prog_f77_g=yes
6063 echo "$as_me: failed program was:" >&5
6064 sed 's
/^
/|
/' conftest.$ac_ext >&5
6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6072 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6073 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6074 if test "$ac_test_FFLAGS" = set; then
6075 FFLAGS=$ac_save_FFLAGS
6076 elif test $ac_cv_prog_f77_g = yes; then
6077 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6083 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6090 G77=`test $ac_compiler_gnu = yes && echo yes`
6092 ac_cpp='$CPP $CPPFLAGS'
6093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6099 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6100 # find the maximum length of command line arguments
6101 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6102 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6103 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 # On DJGPP, this test can blow up pretty badly due to problems in libc
6112 # (any single argument exceeding 2000 bytes causes a buffer overrun
6113 # during glob expansion). Even if it were fixed, the result of this
6114 # check would be larger than it should be.
6115 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6119 # Under GNU Hurd, this test is not required because there is
6120 # no limit to the length of command line arguments.
6121 # Libtool will interpret -1 as no limit whatsoever
6122 lt_cv_sys_max_cmd_len
=-1;
6126 # On Win9x/ME, this test blows up -- it succeeds, but takes
6127 # about 5 minutes as the teststring grows exponentially.
6128 # Worse, since 9x/ME are not pre-emptively multitasking,
6129 # you end up with a "frozen" computer, even though with patience
6130 # the test eventually succeeds (with a max line length of 256k).
6131 # Instead, let's just punt: use the minimum linelength reported by
6132 # all of the supported platforms: 8192 (on NT/2K/XP).
6133 lt_cv_sys_max_cmd_len
=8192;
6137 # On AmigaOS with pdksh, this test takes hours, literally.
6138 # So we just punt and use a minimum line length of 8192.
6139 lt_cv_sys_max_cmd_len
=8192;
6142 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6143 # This has been around since 386BSD, at least. Likely further.
6144 if test -x /sbin
/sysctl
; then
6145 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6146 elif test -x /usr
/sbin
/sysctl
; then
6147 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6149 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6151 # And add a safety zone
6152 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6153 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6157 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6158 lt_cv_sys_max_cmd_len
=196608
6162 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6163 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6164 # nice to cause kernel panics so lets avoid the loop below.
6165 # First set a reasonable default.
6166 lt_cv_sys_max_cmd_len
=16384
6168 if test -x /sbin
/sysconfig
; then
6169 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6170 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6175 lt_cv_sys_max_cmd_len
=102400
6177 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6178 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6179 if test -n "$kargmax"; then
6180 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6182 lt_cv_sys_max_cmd_len
=32768
6186 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6187 if test -n "$lt_cv_sys_max_cmd_len"; then
6188 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6191 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6192 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6193 = "XX$teststring") >/dev
/null
2>&1 &&
6194 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6195 lt_cv_sys_max_cmd_len
=$new_result &&
6196 test $i != 17 # 1/2 MB should be enough
6199 teststring
=$teststring$teststring
6202 # Add a significant safety factor because C++ compilers can tack on massive
6203 # amounts of additional arguments before passing them to the linker.
6204 # It appears as though 1/2 is a usable value.
6205 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6212 if test -n $lt_cv_sys_max_cmd_len ; then
6213 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6214 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6216 { echo "$as_me:$LINENO: result: none" >&5
6217 echo "${ECHO_T}none" >&6; }
6224 # Check for command to grab the raw symbol name followed by C symbol from nm.
6225 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6226 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6227 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 # These are sane defaults that work on at least a few old systems.
6232 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6234 # Character class describing NM global symbol codes.
6235 symcode
='[BCDEGRST]'
6237 # Regexp to match symbols that can be accessed directly from C.
6238 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6240 # Transform an extracted symbol line into a proper C declaration
6241 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6243 # Transform an extracted symbol line into symbol name and symbol address
6244 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'"
6246 # Define system-specific variables.
6251 cygwin
* | mingw
* | pw32
*)
6252 symcode
='[ABCDGISTW]'
6254 hpux
*) # Its linker distinguishes data from code symbols
6255 if test "$host_cpu" = ia64
; then
6256 symcode
='[ABCDEGRST]'
6258 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6259 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'"
6261 linux
* | k
*bsd
*-gnu)
6262 if test "$host_cpu" = ia64
; then
6263 symcode
='[ABCDGIRSTW]'
6264 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6265 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'"
6269 symcode
='[BCDEGRST]'
6272 symcode
='[BCDEGQRST]'
6283 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6291 # Handle CRLF in mingw tool chain
6295 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6299 # If we're using GNU nm, then use its standard symbol codes.
6300 case `$NM -V 2>&1` in
6301 *GNU
* |
*'with BFD'*)
6302 symcode
='[ABCDGIRSTW]' ;;
6305 # Try without a prefix undercore, then with it.
6306 for ac_symprfx
in "" "_"; do
6308 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6309 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6311 # Write the raw and C identifiers.
6312 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6314 # Check to see that the pipe works correctly.
6318 cat > conftest.
$ac_ext <<EOF
6323 void nm_test_func(){}
6327 int main(){nm_test_var='a';nm_test_func();return(0);}
6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6331 (eval $ac_compile) 2>&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; then
6335 # Now try to grab the symbols.
6337 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6338 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } && test -s "$nlist"; then
6342 # Try sorting and uniquifying the output.
6343 if sort "$nlist" |
uniq > "$nlist"T
; then
6344 mv -f "$nlist"T
"$nlist"
6349 # Make sure that we snagged all the symbols we need.
6350 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6351 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6352 cat <<EOF > conftest.$ac_ext
6358 # Now generate the symbol file.
6359 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6361 cat <<EOF >> conftest.$ac_ext
6362 #if defined (__STDC__) && __STDC__
6363 # define lt_ptr_t void *
6365 # define lt_ptr_t char *
6369 /* The mapping between symbol names and symbols. */
6374 lt_preloaded_symbols[] =
6377 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6378 cat <<\EOF
>> conftest.
$ac_ext
6386 # Now try linking the two files.
6387 mv conftest.
$ac_objext conftstm.
$ac_objext
6388 lt_save_LIBS
="$LIBS"
6389 lt_save_CFLAGS
="$CFLAGS"
6390 LIBS
="conftstm.$ac_objext"
6391 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6393 (eval $ac_link) 2>&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6399 LIBS
="$lt_save_LIBS"
6400 CFLAGS
="$lt_save_CFLAGS"
6402 echo "cannot find nm_test_func in $nlist" >&5
6405 echo "cannot find nm_test_var in $nlist" >&5
6408 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6411 echo "$progname: failed program was:" >&5
6412 cat conftest.
$ac_ext >&5
6414 rm -rf conftest
* conftst
*
6416 # Do not use the global_symbol_pipe unless it works.
6417 if test "$pipe_works" = yes; then
6420 lt_cv_sys_global_symbol_pipe
=
6426 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6427 lt_cv_sys_global_symbol_to_cdecl
=
6429 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6430 { echo "$as_me:$LINENO: result: failed" >&5
6431 echo "${ECHO_T}failed" >&6; }
6433 { echo "$as_me:$LINENO: result: ok" >&5
6434 echo "${ECHO_T}ok" >&6; }
6437 { echo "$as_me:$LINENO: checking for objdir" >&5
6438 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6439 if test "${lt_cv_objdir+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6442 rm -f .libs
2>/dev
/null
6443 mkdir .libs
2>/dev
/null
6444 if test -d .libs
; then
6447 # MS-DOS does not allow filenames that begin with a dot.
6450 rmdir .libs
2>/dev
/null
6452 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6453 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6454 objdir
=$lt_cv_objdir
6462 # AIX sometimes has problems with the GCC collect2 program. For some
6463 # reason, if we set the COLLECT_NAMES environment variable, the problems
6464 # vanish in a puff of smoke.
6465 if test "X${COLLECT_NAMES+set}" != Xset
; then
6467 export COLLECT_NAMES
6472 # Sed substitution that helps us do robust quoting. It backslashifies
6473 # metacharacters that are still active within double-quoted strings.
6474 Xsed
='sed -e 1s/^X//'
6475 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6477 # Same as above, but do not quote variable references.
6478 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6480 # Sed substitution to delay expansion of an escaped shell variable in a
6481 # double_quote_subst'ed string.
6482 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6484 # Sed substitution to avoid accidental globbing in evaled expressions
6485 no_glob_subst
='s/\*/\\\*/g'
6491 default_ofile
=libtool
6492 can_build_shared
=yes
6494 # All known linkers require a `.a' archive for static linking (except MSVC,
6495 # which needs '.lib').
6497 ltmain
="$ac_aux_dir/ltmain.sh"
6498 ofile
="$default_ofile"
6499 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR
="$AR" # Let the user override the test.
6512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6516 test -z "$as_dir" && as_dir
=.
6517 for ac_exec_ext
in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 if test -n "$AR"; then
6531 { echo "$as_me:$LINENO: result: $AR" >&5
6532 echo "${ECHO_T}$AR" >&6; }
6534 { echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy
ar; ac_word
=$2
6544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6547 echo $ECHO_N "(cached) $ECHO_C" >&6
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6556 test -z "$as_dir" && as_dir
=.
6557 for ac_exec_ext
in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR
="ar"
6560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6572 echo "${ECHO_T}$ac_ct_AR" >&6; }
6574 { echo "$as_me:$LINENO: result: no" >&5
6575 echo "${ECHO_T}no" >&6; }
6578 if test "x$ac_ct_AR" = x
; then
6581 case $cross_compiling:$ac_tool_warned in
6583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6584 whose name does not start with the host triplet. If you think this
6585 configuration is useful to you, please write to autoconf@gnu.org." >&5
6586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6587 whose name does not start with the host triplet. If you think this
6588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6589 ac_tool_warned
=yes ;;
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6599 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6602 if test "${ac_cv_prog_RANLIB+set}" = set; then
6603 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 if test -n "$RANLIB"; then
6606 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir
=.
6613 for ac_exec_ext
in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 RANLIB
=$ac_cv_prog_RANLIB
6626 if test -n "$RANLIB"; then
6627 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6628 echo "${ECHO_T}$RANLIB" >&6; }
6630 { echo "$as_me:$LINENO: result: no" >&5
6631 echo "${ECHO_T}no" >&6; }
6636 if test -z "$ac_cv_prog_RANLIB"; then
6637 ac_ct_RANLIB
=$RANLIB
6638 # Extract the first word of "ranlib", so it can be a program name with args.
6639 set dummy ranlib
; ac_word
=$2
6640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 if test -n "$ac_ct_RANLIB"; then
6646 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir
=.
6653 for ac_exec_ext
in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6666 if test -n "$ac_ct_RANLIB"; then
6667 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6668 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6670 { echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6; }
6674 if test "x$ac_ct_RANLIB" = x
; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6680 whose name does not start with the host triplet. If you think this
6681 configuration is useful to you, please write to autoconf@gnu.org." >&5
6682 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6683 whose name does not start with the host triplet. If you think this
6684 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6685 ac_tool_warned
=yes ;;
6687 RANLIB
=$ac_ct_RANLIB
6690 RANLIB
="$ac_cv_prog_RANLIB"
6693 if test -n "$ac_tool_prefix"; then
6694 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6695 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6698 if test "${ac_cv_prog_STRIP+set}" = set; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 if test -n "$STRIP"; then
6702 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6708 test -z "$as_dir" && as_dir
=.
6709 for ac_exec_ext
in '' $ac_executable_extensions; do
6710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6721 STRIP
=$ac_cv_prog_STRIP
6722 if test -n "$STRIP"; then
6723 { echo "$as_me:$LINENO: result: $STRIP" >&5
6724 echo "${ECHO_T}$STRIP" >&6; }
6726 { echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6; }
6732 if test -z "$ac_cv_prog_STRIP"; then
6734 # Extract the first word of "strip", so it can be a program name with args.
6735 set dummy strip
; ac_word
=$2
6736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6738 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6739 echo $ECHO_N "(cached) $ECHO_C" >&6
6741 if test -n "$ac_ct_STRIP"; then
6742 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6748 test -z "$as_dir" && as_dir
=.
6749 for ac_exec_ext
in '' $ac_executable_extensions; do
6750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751 ac_cv_prog_ac_ct_STRIP
="strip"
6752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6761 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6762 if test -n "$ac_ct_STRIP"; then
6763 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6764 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6770 if test "x$ac_ct_STRIP" = x
; then
6773 case $cross_compiling:$ac_tool_warned in
6775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6776 whose name does not start with the host triplet. If you think this
6777 configuration is useful to you, please write to autoconf@gnu.org." >&5
6778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6779 whose name does not start with the host triplet. If you think this
6780 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6781 ac_tool_warned
=yes ;;
6786 STRIP
="$ac_cv_prog_STRIP"
6791 old_CFLAGS
="$CFLAGS"
6793 # Set sane defaults for various variables
6794 test -z "$AR" && AR
=ar
6795 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6796 test -z "$AS" && AS
=as
6797 test -z "$CC" && CC
=cc
6798 test -z "$LTCC" && LTCC
=$CC
6799 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6800 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6801 test -z "$LD" && LD
=ld
6802 test -z "$LN_S" && LN_S
="ln -s"
6803 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6804 test -z "$NM" && NM
=nm
6805 test -z "$SED" && SED
=sed
6806 test -z "$OBJDUMP" && OBJDUMP
=objdump
6807 test -z "$RANLIB" && RANLIB
=:
6808 test -z "$STRIP" && STRIP
=:
6809 test -z "$ac_objext" && ac_objext
=o
6811 # Determine commands to create old-style static archives.
6812 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6813 old_postinstall_cmds
='chmod 644 $oldlib'
6814 old_postuninstall_cmds
=
6816 if test -n "$RANLIB"; then
6819 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6822 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6825 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6828 for cc_temp
in $compiler""; do
6830 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6831 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6836 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6839 # Only perform the check for file, if the check method requires it
6840 case $deplibs_check_method in
6842 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6843 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6844 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6845 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6846 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6853 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6854 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6855 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6856 for ac_dir
in $ac_dummy; do
6858 test -z "$ac_dir" && ac_dir
=.
6859 if test -f $ac_dir/${ac_tool_prefix}file; then
6860 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6861 if test -n "$file_magic_test_file"; then
6862 case $deplibs_check_method in
6864 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6865 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6866 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6867 $EGREP "$file_magic_regex" > /dev
/null
; then
6872 *** Warning: the command libtool uses to detect shared libraries,
6873 *** $file_magic_cmd, produces output that libtool cannot recognize.
6874 *** The result is that libtool may fail to recognize shared libraries
6875 *** as such. This will affect the creation of libtool libraries that
6876 *** depend on shared libraries, but programs linked with such libtool
6877 *** libraries will work regardless of this problem. Nevertheless, you
6878 *** may want to report the problem to your system manager and/or to
6879 *** bug-libtool@gnu.org
6889 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6894 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6895 if test -n "$MAGIC_CMD"; then
6896 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6897 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6899 { echo "$as_me:$LINENO: result: no" >&5
6900 echo "${ECHO_T}no" >&6; }
6903 if test -z "$lt_cv_path_MAGIC_CMD"; then
6904 if test -n "$ac_tool_prefix"; then
6905 { echo "$as_me:$LINENO: checking for file" >&5
6906 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6907 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6915 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6916 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6917 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6918 for ac_dir
in $ac_dummy; do
6920 test -z "$ac_dir" && ac_dir
=.
6921 if test -f $ac_dir/file; then
6922 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6923 if test -n "$file_magic_test_file"; then
6924 case $deplibs_check_method in
6926 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6927 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6928 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6929 $EGREP "$file_magic_regex" > /dev
/null
; then
6934 *** Warning: the command libtool uses to detect shared libraries,
6935 *** $file_magic_cmd, produces output that libtool cannot recognize.
6936 *** The result is that libtool may fail to recognize shared libraries
6937 *** as such. This will affect the creation of libtool libraries that
6938 *** depend on shared libraries, but programs linked with such libtool
6939 *** libraries will work regardless of this problem. Nevertheless, you
6940 *** may want to report the problem to your system manager and/or to
6941 *** bug-libtool@gnu.org
6951 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6956 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6957 if test -n "$MAGIC_CMD"; then
6958 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6959 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6961 { echo "$as_me:$LINENO: result: no" >&5
6962 echo "${ECHO_T}no" >&6; }
6976 rhapsody
* | darwin
*)
6977 if test -n "$ac_tool_prefix"; then
6978 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6979 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6982 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 if test -n "$DSYMUTIL"; then
6986 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6992 test -z "$as_dir" && as_dir
=.
6993 for ac_exec_ext
in '' $ac_executable_extensions; do
6994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6995 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7006 if test -n "$DSYMUTIL"; then
7007 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7008 echo "${ECHO_T}$DSYMUTIL" >&6; }
7010 { echo "$as_me:$LINENO: result: no" >&5
7011 echo "${ECHO_T}no" >&6; }
7016 if test -z "$ac_cv_prog_DSYMUTIL"; then
7017 ac_ct_DSYMUTIL
=$DSYMUTIL
7018 # Extract the first word of "dsymutil", so it can be a program name with args.
7019 set dummy dsymutil
; ac_word
=$2
7020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7022 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7023 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 if test -n "$ac_ct_DSYMUTIL"; then
7026 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7032 test -z "$as_dir" && as_dir
=.
7033 for ac_exec_ext
in '' $ac_executable_extensions; do
7034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7035 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7045 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7046 if test -n "$ac_ct_DSYMUTIL"; then
7047 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7048 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7050 { echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6; }
7054 if test "x$ac_ct_DSYMUTIL" = x
; then
7057 case $cross_compiling:$ac_tool_warned in
7059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7060 whose name does not start with the host triplet. If you think this
7061 configuration is useful to you, please write to autoconf@gnu.org." >&5
7062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7063 whose name does not start with the host triplet. If you think this
7064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7065 ac_tool_warned
=yes ;;
7067 DSYMUTIL
=$ac_ct_DSYMUTIL
7070 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7073 if test -n "$ac_tool_prefix"; then
7074 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7075 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7078 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 if test -n "$NMEDIT"; then
7082 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7088 test -z "$as_dir" && as_dir
=.
7089 for ac_exec_ext
in '' $ac_executable_extensions; do
7090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7091 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7101 NMEDIT
=$ac_cv_prog_NMEDIT
7102 if test -n "$NMEDIT"; then
7103 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7104 echo "${ECHO_T}$NMEDIT" >&6; }
7106 { echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6; }
7112 if test -z "$ac_cv_prog_NMEDIT"; then
7113 ac_ct_NMEDIT
=$NMEDIT
7114 # Extract the first word of "nmedit", so it can be a program name with args.
7115 set dummy nmedit
; ac_word
=$2
7116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7118 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 if test -n "$ac_ct_NMEDIT"; then
7122 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir
=.
7129 for ac_exec_ext
in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7142 if test -n "$ac_ct_NMEDIT"; then
7143 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7144 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7146 { echo "$as_me:$LINENO: result: no" >&5
7147 echo "${ECHO_T}no" >&6; }
7150 if test "x$ac_ct_NMEDIT" = x
; then
7153 case $cross_compiling:$ac_tool_warned in
7155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7156 whose name does not start with the host triplet. If you think this
7157 configuration is useful to you, please write to autoconf@gnu.org." >&5
7158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7159 whose name does not start with the host triplet. If you think this
7160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7161 ac_tool_warned
=yes ;;
7163 NMEDIT
=$ac_ct_NMEDIT
7166 NMEDIT
="$ac_cv_prog_NMEDIT"
7170 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7171 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7172 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7173 echo $ECHO_N "(cached) $ECHO_C" >&6
7175 lt_cv_apple_cc_single_mod
=no
7176 if test -z "${LT_MULTI_MODULE}"; then
7177 # By default we will add the -single_module flag. You can override
7178 # by either setting the environment variable LT_MULTI_MODULE
7179 # non-empty at configure time, or by adding -multi_module to the
7181 echo "int foo(void){return 1;}" > conftest.c
7182 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7183 -dynamiclib ${wl}-single_module conftest.c
7184 if test -f libconftest.dylib
; then
7185 lt_cv_apple_cc_single_mod
=yes
7186 rm -rf libconftest.dylib
*
7191 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7192 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7193 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7194 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7195 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 lt_cv_ld_exported_symbols_list
=no
7199 save_LDFLAGS
=$LDFLAGS
7200 echo "_main" > conftest.sym
7201 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7202 cat >conftest.
$ac_ext <<_ACEOF
7205 cat confdefs.h
>>conftest.
$ac_ext
7206 cat >>conftest.
$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7217 rm -f conftest.
$ac_objext conftest
$ac_exeext
7218 if { (ac_try
="$ac_link"
7220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest$ac_exeext &&
7234 $as_test_x conftest$ac_exeext; then
7235 lt_cv_ld_exported_symbols_list=yes
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7240 lt_cv_ld_exported_symbols_list=no
7243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7244 conftest$ac_exeext conftest.$ac_ext
7245 LDFLAGS="$save_LDFLAGS"
7248 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7249 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7251 rhapsody* | darwin1.[0123])
7252 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7254 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256 # if running on 10.5 or later, the deployment target defaults
7257 # to the OS version, if on x86, and 10.4, the deployment
7258 # target defaults to 10.4. Don't you love it?
7259 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7260 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7261 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7263 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7265 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7269 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7270 _lt_dar_single_mod='$single_module'
7272 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7273 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7275 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7277 if test "$DSYMUTIL" != ":"; then
7278 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7289 # Check whether --enable-libtool-lock was given.
7290 if test "${enable_libtool_lock+set}" = set; then
7291 enableval=$enable_libtool_lock;
7294 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7297 # Check whether --with-pic was given.
7298 if test "${with_pic+set}" = set; then
7299 withval=$with_pic; pic_mode="$withval"
7304 test -z "$pic_mode" && pic_mode=default
7306 # Use C for the default configuration in the libtool script
7310 ac_cpp='$CPP $CPPFLAGS'
7311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7316 # Source file extension for C test sources.
7319 # Object file extension for compiled C test sources.
7323 # Code to be used in simple compile tests
7324 lt_simple_compile_test_code="int some_variable = 0;"
7326 # Code to be used in simple link tests
7327 lt_simple_link_test_code='int main(){return(0);}'
7330 # If no C compiler was specified, use CC.
7333 # If no C compiler flags were specified, use CFLAGS.
7334 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7336 # Allow CC to be a program name with arguments.
7340 # save warnings/boilerplate of simple test code
7341 ac_outfile=conftest.$ac_objext
7342 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7343 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7344 _lt_compiler_boilerplate=`cat conftest.err
`
7347 ac_outfile=conftest.$ac_objext
7348 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7349 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7350 _lt_linker_boilerplate=`cat conftest.err
`
7355 lt_prog_compiler_no_builtin_flag=
7357 if test "$GCC" = yes; then
7358 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7361 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7362 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7363 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7364 echo $ECHO_N "(cached) $ECHO_C" >&6
7366 lt_cv_prog_compiler_rtti_exceptions=no
7367 ac_outfile=conftest.$ac_objext
7368 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7369 lt_compiler_flag="-fno-rtti -fno-exceptions"
7370 # Insert the option either (1) after the last *FLAGS variable, or
7371 # (2) before a word containing "conftest.", or (3) at the end.
7372 # Note that $ac_compile itself does not contain backslashes and begins
7373 # with a dollar sign (not a hyphen), so the echo should work correctly.
7374 # The option is referenced via a variable to avoid confusing sed.
7375 lt_compile=`echo "$ac_compile" |
$SED \
7376 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7377 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7378 -e 's:$: $lt_compiler_flag:'`
7379 (eval echo "\"\$as_me:7379: $lt_compile\"" >&5)
7380 (eval "$lt_compile" 2>conftest.err)
7382 cat conftest.err >&5
7383 echo "$as_me:7383: \$? = $ac_status" >&5
7384 if (exit $ac_status) && test -s "$ac_outfile"; then
7385 # The compiler can only warn and ignore the option if not recognized
7386 # So say no if there are warnings other than the usual output.
7387 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7388 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7389 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7390 lt_cv_prog_compiler_rtti_exceptions=yes
7396 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7397 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7399 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7400 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7407 lt_prog_compiler_wl=
7408 lt_prog_compiler_pic=
7409 lt_prog_compiler_static=
7411 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7412 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7414 if test "$GCC" = yes; then
7415 lt_prog_compiler_wl='-Wl,'
7416 lt_prog_compiler_static='-static'
7420 # All AIX code is PIC.
7421 if test "$host_cpu" = ia64; then
7422 # AIX 5 now supports IA64 processor
7423 lt_prog_compiler_static='-Bstatic'
7428 # FIXME: we need at least 68020 code to build shared libraries, but
7429 # adding the `-m68020' flag to GCC prevents building anything better,
7431 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7434 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7435 # PIC is the default for these OSes.
7438 mingw
* | cygwin
* | pw32
* | os2
*)
7439 # This hack is so that the source file can tell whether it is being
7440 # built for inclusion in a dll (and should export symbols for example).
7441 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7442 # (--disable-auto-import) libraries
7443 lt_prog_compiler_pic
='-DDLL_EXPORT'
7446 darwin
* | rhapsody
*)
7447 # PIC is the default on this platform
7448 # Common symbols not allowed in MH_DYLIB files
7449 lt_prog_compiler_pic
='-fno-common'
7453 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7454 # Instead, we relocate shared libraries at runtime.
7458 # Just because we use GCC doesn't mean we suddenly get shared libraries
7459 # on systems that don't support them.
7460 lt_prog_compiler_can_build_shared
=no
7465 if test -d /usr
/nec
; then
7466 lt_prog_compiler_pic
=-Kconform_pic
7471 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7478 lt_prog_compiler_pic
='-fPIC'
7484 lt_prog_compiler_pic
='-fPIC'
7488 # PORTME Check for flag to pass linker flags through the system compiler.
7491 lt_prog_compiler_wl
='-Wl,'
7492 if test "$host_cpu" = ia64
; then
7493 # AIX 5 now supports IA64 processor
7494 lt_prog_compiler_static
='-Bstatic'
7496 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7500 # PIC is the default on this platform
7501 # Common symbols not allowed in MH_DYLIB files
7502 case $cc_basename in
7504 lt_prog_compiler_pic
='-qnocommon'
7505 lt_prog_compiler_wl
='-Wl,'
7510 mingw
* | cygwin
* | pw32
* | os2
*)
7511 # This hack is so that the source file can tell whether it is being
7512 # built for inclusion in a dll (and should export symbols for example).
7513 lt_prog_compiler_pic
='-DDLL_EXPORT'
7516 hpux9
* | hpux10
* | hpux11
*)
7517 lt_prog_compiler_wl
='-Wl,'
7518 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7525 lt_prog_compiler_pic
='+Z'
7528 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7529 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7532 irix5
* | irix6
* | nonstopux
*)
7533 lt_prog_compiler_wl
='-Wl,'
7534 # PIC (with -KPIC) is the default.
7535 lt_prog_compiler_static
='-non_shared'
7539 lt_prog_compiler_pic
='-KPIC'
7540 lt_prog_compiler_static
='-Bstatic'
7543 linux
* | k
*bsd
*-gnu)
7544 case $cc_basename in
7546 lt_prog_compiler_wl
='-Wl,'
7547 lt_prog_compiler_pic
='-KPIC'
7548 lt_prog_compiler_static
='-static'
7550 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7551 # Portland Group compilers (*not* the Pentium gcc compiler,
7552 # which looks to be a dead project)
7553 lt_prog_compiler_wl
='-Wl,'
7554 lt_prog_compiler_pic
='-fpic'
7555 lt_prog_compiler_static
='-Bstatic'
7558 lt_prog_compiler_wl
='-Wl,'
7559 # All Alpha code is PIC.
7560 lt_prog_compiler_static
='-non_shared'
7563 case `$CC -V 2>&1 | sed 5q` in
7566 lt_prog_compiler_pic
='-KPIC'
7567 lt_prog_compiler_static
='-Bstatic'
7568 lt_prog_compiler_wl
='-Wl,'
7571 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7572 lt_prog_compiler_pic
='-KPIC'
7573 lt_prog_compiler_static
='-Bstatic'
7574 lt_prog_compiler_wl
=''
7581 osf3
* | osf4
* | osf5
*)
7582 lt_prog_compiler_wl
='-Wl,'
7583 # All OSF/1 code is PIC.
7584 lt_prog_compiler_static
='-non_shared'
7588 lt_prog_compiler_static
='-non_shared'
7592 lt_prog_compiler_pic
='-KPIC'
7593 lt_prog_compiler_static
='-Bstatic'
7594 case $cc_basename in
7596 lt_prog_compiler_wl
='-Qoption ld ';;
7598 lt_prog_compiler_wl
='-Wl,';;
7603 lt_prog_compiler_wl
='-Qoption ld '
7604 lt_prog_compiler_pic
='-PIC'
7605 lt_prog_compiler_static
='-Bstatic'
7608 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7609 lt_prog_compiler_wl
='-Wl,'
7610 lt_prog_compiler_pic
='-KPIC'
7611 lt_prog_compiler_static
='-Bstatic'
7615 if test -d /usr
/nec
;then
7616 lt_prog_compiler_pic
='-Kconform_pic'
7617 lt_prog_compiler_static
='-Bstatic'
7621 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7622 lt_prog_compiler_wl
='-Wl,'
7623 lt_prog_compiler_pic
='-KPIC'
7624 lt_prog_compiler_static
='-Bstatic'
7628 lt_prog_compiler_wl
='-Wl,'
7629 lt_prog_compiler_can_build_shared
=no
7633 lt_prog_compiler_pic
='-pic'
7634 lt_prog_compiler_static
='-Bstatic'
7638 lt_prog_compiler_can_build_shared
=no
7643 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7644 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7647 # Check to make sure the PIC flag actually works.
7649 if test -n "$lt_prog_compiler_pic"; then
7651 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7652 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7653 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7654 echo $ECHO_N "(cached) $ECHO_C" >&6
7656 lt_cv_prog_compiler_pic_works
=no
7657 ac_outfile
=conftest.
$ac_objext
7658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7659 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7660 # Insert the option either (1) after the last *FLAGS variable, or
7661 # (2) before a word containing "conftest.", or (3) at the end.
7662 # Note that $ac_compile itself does not contain backslashes and begins
7663 # with a dollar sign (not a hyphen), so the echo should work correctly.
7664 # The option is referenced via a variable to avoid confusing sed.
7665 lt_compile
=`echo "$ac_compile" | $SED \
7666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7668 -e 's:$: $lt_compiler_flag:'`
7669 (eval echo "\"\$as_me:7669: $lt_compile\"" >&5)
7670 (eval "$lt_compile" 2>conftest.err
)
7672 cat conftest.err
>&5
7673 echo "$as_me:7673: \$? = $ac_status" >&5
7674 if (exit $ac_status) && test -s "$ac_outfile"; then
7675 # The compiler can only warn and ignore the option if not recognized
7676 # So say no if there are warnings other than the usual output.
7677 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7678 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7679 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7680 lt_cv_prog_compiler_pic_works
=yes
7686 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7687 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7689 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7690 case $lt_prog_compiler_pic in
7692 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7695 lt_prog_compiler_pic
=
7696 lt_prog_compiler_can_build_shared
=no
7701 # For platforms which do not support PIC, -DPIC is meaningless:
7703 lt_prog_compiler_pic
=
7706 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7711 # Check to make sure the static flag actually works.
7713 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7714 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7715 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7716 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 lt_cv_prog_compiler_static_works
=no
7720 save_LDFLAGS
="$LDFLAGS"
7721 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7722 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7723 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7724 # The linker can only warn and ignore the option if not recognized
7725 # So say no if there are warnings
7726 if test -s conftest.err
; then
7727 # Append any errors to the config.log.
7728 cat conftest.err
1>&5
7729 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7730 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7731 if diff conftest.exp conftest.er2
>/dev
/null
; then
7732 lt_cv_prog_compiler_static_works
=yes
7735 lt_cv_prog_compiler_static_works
=yes
7739 LDFLAGS
="$save_LDFLAGS"
7742 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7743 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7745 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7748 lt_prog_compiler_static
=
7752 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7753 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7754 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7757 lt_cv_prog_compiler_c_o
=no
7758 $rm -r conftest
2>/dev
/null
7762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7764 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7765 # Insert the option either (1) after the last *FLAGS variable, or
7766 # (2) before a word containing "conftest.", or (3) at the end.
7767 # Note that $ac_compile itself does not contain backslashes and begins
7768 # with a dollar sign (not a hyphen), so the echo should work correctly.
7769 lt_compile
=`echo "$ac_compile" | $SED \
7770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7772 -e 's:$: $lt_compiler_flag:'`
7773 (eval echo "\"\$as_me:7773: $lt_compile\"" >&5)
7774 (eval "$lt_compile" 2>out
/conftest.err
)
7776 cat out
/conftest.err
>&5
7777 echo "$as_me:7777: \$? = $ac_status" >&5
7778 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7780 # The compiler can only warn and ignore the option if not recognized
7781 # So say no if there are warnings
7782 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7783 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7784 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7785 lt_cv_prog_compiler_c_o
=yes
7790 # SGI C++ compiler will create directory out/ii_files/ for
7791 # template instantiation
7792 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7793 $rm out
/* && rmdir out
7799 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7800 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7803 hard_links
="nottested"
7804 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7805 # do not overwrite the value of need_locks provided by the user
7806 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7807 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7810 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7812 ln conftest.a conftest.b
2>&5 || hard_links
=no
7813 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7814 { echo "$as_me:$LINENO: result: $hard_links" >&5
7815 echo "${ECHO_T}$hard_links" >&6; }
7816 if test "$hard_links" = no
; then
7817 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7818 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7825 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7826 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7829 allow_undefined_flag
=
7830 enable_shared_with_static_runtimes
=no
7832 archive_expsym_cmds
=
7833 old_archive_From_new_cmds
=
7834 old_archive_from_expsyms_cmds
=
7835 export_dynamic_flag_spec
=
7836 whole_archive_flag_spec
=
7837 thread_safe_flag_spec
=
7838 hardcode_libdir_flag_spec
=
7839 hardcode_libdir_flag_spec_ld
=
7840 hardcode_libdir_separator
=
7843 hardcode_shlibpath_var
=unsupported
7844 link_all_deplibs
=unknown
7845 hardcode_automatic
=no
7848 always_export_symbols
=no
7849 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7850 # include_expsyms should be a list of space-separated symbols to be *always*
7851 # included in the symbol list
7853 # exclude_expsyms can be an extended regexp of symbols to exclude
7854 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7855 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7856 # as well as any symbol that contains `d'.
7857 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7858 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7859 # platforms (ab)use it in PIC code, but their linkers get confused if
7860 # the symbol is explicitly referenced. Since portable code cannot
7861 # rely on this symbol name, it's probably fine to never include it in
7862 # preloaded symbol tables.
7863 # Exclude shared library initialization/finalization symbols.
7864 extract_expsyms_cmds
=
7865 # Just being paranoid about ensuring that cc_basename is set.
7866 for cc_temp
in $compiler""; do
7868 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7869 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7874 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7877 cygwin
* | mingw
* | pw32
*)
7878 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7879 # When not using gcc, we currently assume that we are using
7880 # Microsoft Visual C++.
7881 if test "$GCC" != yes; then
7886 # we just hope/assume this is gcc and not c89 (= MSVC++)
7895 if test "$with_gnu_ld" = yes; then
7896 # If archive_cmds runs LD, not CC, wlarc should be empty
7899 # Set some defaults for GNU ld with shared library support. These
7900 # are reset later if shared libraries are not supported. Putting them
7901 # here allows them to be overridden if necessary.
7902 runpath_var
=LD_RUN_PATH
7903 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7904 export_dynamic_flag_spec
='${wl}--export-dynamic'
7905 # ancient GNU ld didn't support --whole-archive et. al.
7906 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7907 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7909 whole_archive_flag_spec
=
7911 supports_anon_versioning
=no
7912 case `$LD -v 2>/dev/null` in
7913 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7914 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7915 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7916 *\
2.11.
*) ;; # other 2.11 versions
7917 *) supports_anon_versioning
=yes ;;
7920 # See if GNU ld supports shared libraries.
7923 # On AIX/PPC, the GNU linker is very broken
7924 if test "$host_cpu" != ia64
; then
7928 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7929 *** to be unable to reliably create shared libraries on AIX.
7930 *** Therefore, libtool is disabling shared libraries support. If you
7931 *** really care for shared libraries, you may want to modify your PATH
7932 *** so that a non-GNU linker is found, and then restart.
7939 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)'
7940 hardcode_libdir_flag_spec
='-L$libdir'
7941 hardcode_minus_L
=yes
7943 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7944 # that the semantics of dynamic libraries on AmigaOS, at least up
7945 # to version 4, is to share data among multiple programs linked
7946 # with the same dynamic library. Since this doesn't match the
7947 # behavior of shared libraries on other platforms, we can't use
7953 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7954 allow_undefined_flag
=unsupported
7955 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7956 # support --undefined. This deserves some investigation. FIXME
7957 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7963 cygwin
* | mingw
* | pw32
*)
7964 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7965 # as there is no search path for DLLs.
7966 hardcode_libdir_flag_spec
='-L$libdir'
7967 allow_undefined_flag
=unsupported
7968 always_export_symbols
=no
7969 enable_shared_with_static_runtimes
=yes
7970 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7972 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7973 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7974 # If the export-symbols file already is a .def file (1st line
7975 # is EXPORTS), use it as is; otherwise, prepend...
7976 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7977 cp $export_symbols $output_objdir/$soname.def;
7979 echo EXPORTS > $output_objdir/$soname.def;
7980 cat $export_symbols >> $output_objdir/$soname.def;
7982 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7990 hardcode_shlibpath_var
=no
7991 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7992 export_dynamic_flag_spec
='${wl}-E'
7993 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7994 # Instead, shared libraries are loaded at an image base (0x10000000 by
7995 # default) and relocated if they conflict, which is a slow very memory
7996 # consuming and fragmenting process. To avoid this, we pick a random,
7997 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7998 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7999 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8000 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'
8003 gnu
* | linux
* | k
*bsd
*-gnu)
8004 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8006 case $cc_basename,$host_cpu in
8007 pgcc
*) # Portland Group C compiler
8008 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'
8009 tmp_addflag
=' $pic_flag'
8011 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8012 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'
8013 tmp_addflag
=' $pic_flag -Mnomain' ;;
8014 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8015 tmp_addflag
=' -i_dynamic' ;;
8016 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8017 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8018 ifc
* | ifort
*) # Intel Fortran compiler
8019 tmp_addflag
=' -nofor_main' ;;
8021 case `$CC -V 2>&1 | sed 5q` in
8022 *Sun\ C
*) # Sun C 5.9
8023 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'
8024 tmp_sharedflag
='-G' ;;
8025 *Sun\ F
*) # Sun Fortran 8.3
8026 tmp_sharedflag
='-G' ;;
8028 tmp_sharedflag
='-shared' ;;
8030 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8032 if test $supports_anon_versioning = yes; then
8033 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8034 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8035 $echo "local: *; };" >> $output_objdir/$libname.ver~
8036 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8044 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8045 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8048 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8049 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8054 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8058 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8059 *** create shared libraries on Solaris systems. Therefore, libtool
8060 *** is disabling shared libraries support. We urge you to upgrade GNU
8061 *** binutils to release 2.9.1 or newer. Another option is to modify
8062 *** your PATH or compiler configuration so that the native linker is
8063 *** used, and then restart.
8066 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8067 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8068 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8074 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8075 case `$LD -v 2>&1` in
8076 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8080 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8081 *** reliably create shared libraries on SCO systems. Therefore, libtool
8082 *** is disabling shared libraries support. We urge you to upgrade GNU
8083 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8084 *** your PATH or compiler configuration so that the native linker is
8085 *** used, and then restart.
8090 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8091 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8092 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8093 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8102 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8105 hardcode_shlibpath_var
=no
8109 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8110 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8111 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8118 if test "$ld_shlibs" = no
; then
8120 hardcode_libdir_flag_spec
=
8121 export_dynamic_flag_spec
=
8122 whole_archive_flag_spec
=
8125 # PORTME fill in a description of your system's linker (not GNU ld)
8128 allow_undefined_flag
=unsupported
8129 always_export_symbols
=yes
8130 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'
8131 # Note: this linker hardcodes the directories in LIBPATH if there
8132 # are no directories specified by -L.
8133 hardcode_minus_L
=yes
8134 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8135 # Neither direct hardcoding nor static linking is supported with a
8137 hardcode_direct
=unsupported
8142 if test "$host_cpu" = ia64
; then
8143 # On IA64, the linker does run time linking by default, so we don't
8144 # have to do anything special.
8145 aix_use_runtimelinking
=no
8146 exp_sym_flag
='-Bexport'
8149 # If we're using GNU nm, then we don't want the "-C" option.
8150 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8151 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8152 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'
8154 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'
8156 aix_use_runtimelinking
=no
8158 # Test if we are trying to use run time linking or normal
8159 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8160 # need to do runtime linking.
8161 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8162 for ld_flag
in $LDFLAGS; do
8163 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8164 aix_use_runtimelinking
=yes
8171 exp_sym_flag
='-bexport'
8172 no_entry_flag
='-bnoentry'
8175 # When large executables or shared objects are built, AIX ld can
8176 # have problems creating the table of contents. If linking a library
8177 # or program results in "error TOC overflow" add -mminimal-toc to
8178 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8179 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8183 hardcode_libdir_separator
=':'
8184 link_all_deplibs
=yes
8186 if test "$GCC" = yes; then
8187 case $host_os in aix4.
[012]|aix4.
[012].
*)
8188 # We only want to do this on AIX 4.2 and lower, the check
8189 # below for broken collect2 doesn't work under 4.3+
8190 collect2name
=`${CC} -print-prog-name=collect2`
8191 if test -f "$collect2name" && \
8192 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8194 # We have reworked collect2
8197 # We have old collect2
8198 hardcode_direct
=unsupported
8199 # It fails to find uninstalled libraries when the uninstalled
8200 # path is not listed in the libpath. Setting hardcode_minus_L
8201 # to unsupported forces relinking
8202 hardcode_minus_L
=yes
8203 hardcode_libdir_flag_spec
='-L$libdir'
8204 hardcode_libdir_separator
=
8208 shared_flag
='-shared'
8209 if test "$aix_use_runtimelinking" = yes; then
8210 shared_flag
="$shared_flag "'${wl}-G'
8214 if test "$host_cpu" = ia64
; then
8215 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8216 # chokes on -Wl,-G. The following line is correct:
8219 if test "$aix_use_runtimelinking" = yes; then
8220 shared_flag
='${wl}-G'
8222 shared_flag
='${wl}-bM:SRE'
8227 # It seems that -bexpall does not export symbols beginning with
8228 # underscore (_), so it is better to generate a list of symbols to export.
8229 always_export_symbols
=yes
8230 if test "$aix_use_runtimelinking" = yes; then
8231 # Warning - without using the other runtime loading flags (-brtl),
8232 # -berok will link without error, but may produce a broken library.
8233 allow_undefined_flag
='-berok'
8234 # Determine the default libpath from the value encoded in an empty executable.
8235 cat >conftest.
$ac_ext <<_ACEOF
8238 cat confdefs.h
>>conftest.
$ac_ext
8239 cat >>conftest.
$ac_ext <<_ACEOF
8240 /* end confdefs.h. */
8250 rm -f conftest.
$ac_objext conftest
$ac_exeext
8251 if { (ac_try
="$ac_link"
8253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8254 *) ac_try_echo=$ac_try;;
8256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8257 (eval "$ac_link") 2>conftest.er1
8259 grep -v '^ *+' conftest.er1 >conftest.err
8261 cat conftest.err >&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); } && {
8264 test -z "$ac_c_werror_flag" ||
8265 test ! -s conftest.err
8266 } && test -s conftest$ac_exeext &&
8267 $as_test_x conftest$ac_exeext; then
8269 lt_aix_libpath_sed='
8270 /Import File Strings/,/^$/ {
8276 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8277 # Check for a 64-bit object if we didn't find anything.
8278 if test -z "$aix_libpath"; then
8279 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8282 echo "$as_me: failed program was:" >&5
8283 sed 's/^/| /' conftest.$ac_ext >&5
8288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8289 conftest$ac_exeext conftest.$ac_ext
8290 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8292 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8293 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"
8295 if test "$host_cpu" = ia64; then
8296 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8297 allow_undefined_flag="-z nodefs"
8298 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"
8300 # Determine the default libpath from the value encoded in an empty executable.
8301 cat >conftest.$ac_ext <<_ACEOF
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8316 rm -f conftest.$ac_objext conftest$ac_exeext
8317 if { (ac_try="$ac_link"
8319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8320 *) ac_try_echo
=$ac_try;;
8322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8323 (eval "$ac_link") 2>conftest.er1
8325 grep -v '^ *+' conftest.er1
>conftest.err
8327 cat conftest.err
>&5
8328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 (exit $ac_status); } && {
8330 test -z "$ac_c_werror_flag" ||
8331 test ! -s conftest.err
8332 } && test -s conftest
$ac_exeext &&
8333 $as_test_x conftest
$ac_exeext; then
8335 lt_aix_libpath_sed
='
8336 /Import File Strings/,/^$/ {
8342 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8343 # Check for a 64-bit object if we didn't find anything.
8344 if test -z "$aix_libpath"; then
8345 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.
$ac_ext >&5
8354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8355 conftest
$ac_exeext conftest.
$ac_ext
8356 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8358 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8359 # Warning - without using the other run time loading flags,
8360 # -berok will link without error, but may produce a broken library.
8361 no_undefined_flag
=' ${wl}-bernotok'
8362 allow_undefined_flag
=' ${wl}-berok'
8363 # Exported symbols can be pulled into shared objects from archives
8364 whole_archive_flag_spec
='$convenience'
8365 archive_cmds_need_lc
=yes
8366 # This is similar to how AIX traditionally builds its shared libraries.
8367 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'
8373 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)'
8374 hardcode_libdir_flag_spec
='-L$libdir'
8375 hardcode_minus_L
=yes
8376 # see comment about different semantics on the GNU ld section
8381 export_dynamic_flag_spec
=-rdynamic
8384 cygwin
* | mingw
* | pw32
*)
8385 # When not using gcc, we currently assume that we are using
8386 # Microsoft Visual C++.
8387 # hardcode_libdir_flag_spec is actually meaningless, as there is
8388 # no search path for DLLs.
8389 hardcode_libdir_flag_spec
=' '
8390 allow_undefined_flag
=unsupported
8391 # Tell ltmain to make .lib files, not .a files.
8393 # Tell ltmain to make .dll files, not .so files.
8395 # FIXME: Setting linknames here is a bad hack.
8396 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8397 # The linker will automatically build a .lib file if we build a DLL.
8398 old_archive_From_new_cmds
='true'
8399 # FIXME: Should let the user specify the lib program.
8400 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8401 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8402 enable_shared_with_static_runtimes
=yes
8405 darwin
* | rhapsody
*)
8407 rhapsody
* | darwin1.
[012])
8408 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8411 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8412 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8414 case ${MACOSX_DEPLOYMENT_TARGET} in
8416 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8419 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8425 archive_cmds_need_lc
=no
8427 hardcode_automatic
=yes
8428 hardcode_shlibpath_var
=unsupported
8429 whole_archive_flag_spec
=''
8430 link_all_deplibs
=yes
8431 if test "$GCC" = yes ; then
8432 output_verbose_link_cmd
='echo'
8433 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8434 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8435 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8436 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8438 case $cc_basename in
8440 output_verbose_link_cmd
='echo'
8441 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8442 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8443 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8444 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}'
8445 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}'
8455 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8456 hardcode_libdir_flag_spec
='-L$libdir'
8457 hardcode_shlibpath_var
=no
8464 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8465 # support. Future versions do this automatically, but an explicit c++rt0.o
8466 # does not break anything, and helps significantly (at the cost of a little
8469 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8470 hardcode_libdir_flag_spec
='-R$libdir'
8472 hardcode_shlibpath_var
=no
8475 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8477 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8479 hardcode_minus_L
=yes
8480 hardcode_shlibpath_var
=no
8483 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8484 freebsd
* | dragonfly
*)
8485 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8486 hardcode_libdir_flag_spec
='-R$libdir'
8488 hardcode_shlibpath_var
=no
8492 if test "$GCC" = yes; then
8493 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'
8495 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'
8497 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8498 hardcode_libdir_separator
=:
8501 # hardcode_minus_L: Not really in the search PATH,
8502 # but as the default location of the library.
8503 hardcode_minus_L
=yes
8504 export_dynamic_flag_spec
='${wl}-E'
8508 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8509 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8511 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8513 if test "$with_gnu_ld" = no
; then
8514 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8515 hardcode_libdir_separator
=:
8518 export_dynamic_flag_spec
='${wl}-E'
8520 # hardcode_minus_L: Not really in the search PATH,
8521 # but as the default location of the library.
8522 hardcode_minus_L
=yes
8527 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8530 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8533 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8536 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8542 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8545 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8548 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8552 if test "$with_gnu_ld" = no
; then
8553 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8554 hardcode_libdir_separator
=:
8558 hardcode_libdir_flag_spec_ld
='+b $libdir'
8560 hardcode_shlibpath_var
=no
8564 export_dynamic_flag_spec
='${wl}-E'
8566 # hardcode_minus_L: Not really in the search PATH,
8567 # but as the default location of the library.
8568 hardcode_minus_L
=yes
8574 irix5
* | irix6
* | nonstopux
*)
8575 if test "$GCC" = yes; then
8576 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'
8578 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'
8579 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8581 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8582 hardcode_libdir_separator
=:
8583 link_all_deplibs
=yes
8587 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8588 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8590 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8592 hardcode_libdir_flag_spec
='-R$libdir'
8594 hardcode_shlibpath_var
=no
8598 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8600 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8601 hardcode_libdir_separator
=:
8602 hardcode_shlibpath_var
=no
8606 if test -f /usr
/libexec
/ld.so
; then
8608 hardcode_shlibpath_var
=no
8609 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8610 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8611 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8612 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8613 export_dynamic_flag_spec
='${wl}-E'
8616 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8617 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8618 hardcode_libdir_flag_spec
='-R$libdir'
8621 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8622 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8632 hardcode_libdir_flag_spec
='-L$libdir'
8633 hardcode_minus_L
=yes
8634 allow_undefined_flag
=unsupported
8635 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'
8636 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8640 if test "$GCC" = yes; then
8641 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8642 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'
8644 allow_undefined_flag
=' -expect_unresolved \*'
8645 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'
8647 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8648 hardcode_libdir_separator
=:
8651 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8652 if test "$GCC" = yes; then
8653 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8654 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'
8655 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8657 allow_undefined_flag
=' -expect_unresolved \*'
8658 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'
8659 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8660 $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'
8662 # Both c and cxx compiler support -rpath directly
8663 hardcode_libdir_flag_spec
='-rpath $libdir'
8665 hardcode_libdir_separator
=:
8669 no_undefined_flag
=' -z text'
8670 if test "$GCC" = yes; then
8672 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8673 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8674 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8677 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8678 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8679 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8681 hardcode_libdir_flag_spec
='-R$libdir'
8682 hardcode_shlibpath_var
=no
8684 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8686 # The compiler driver will combine and reorder linker options,
8687 # but understands `-z linker_flag'. GCC discards it without `$wl',
8688 # but is careful enough not to reorder.
8689 # Supported since Solaris 2.6 (maybe 2.5.1?)
8690 if test "$GCC" = yes; then
8691 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8693 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8697 link_all_deplibs
=yes
8701 if test "x$host_vendor" = xsequent
; then
8702 # Use $CC to link under sequent, because it throws in some extra .o
8703 # files that make .init and .fini sections work.
8704 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8706 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8708 hardcode_libdir_flag_spec
='-L$libdir'
8710 hardcode_minus_L
=yes
8711 hardcode_shlibpath_var
=no
8715 case $host_vendor in
8717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8718 hardcode_direct
=yes # is this really true???
8721 ## LD is ld it makes a PLAMLIB
8722 ## CC just makes a GrossModule.
8723 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8724 reload_cmds
='$CC -r -o $output$reload_objs'
8728 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8729 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8732 runpath_var
='LD_RUN_PATH'
8733 hardcode_shlibpath_var
=no
8737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8738 hardcode_shlibpath_var
=no
8739 export_dynamic_flag_spec
='-Bexport'
8743 if test -d /usr
/nec
; then
8744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8745 hardcode_shlibpath_var
=no
8746 runpath_var
=LD_RUN_PATH
8747 hardcode_runpath_var
=yes
8752 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8753 no_undefined_flag
='${wl}-z,text'
8754 archive_cmds_need_lc
=no
8755 hardcode_shlibpath_var
=no
8756 runpath_var
='LD_RUN_PATH'
8758 if test "$GCC" = yes; then
8759 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8760 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8762 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8763 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 sysv5
* | sco3.2v5
* | sco5v6
*)
8768 # Note: We can NOT use -z defs as we might desire, because we do not
8769 # link with -lc, and that would cause any symbols used from libc to
8770 # always be unresolved, which means just about no library would
8771 # ever link correctly. If we're not using GNU ld we use -z text
8772 # though, which does catch some bad symbols but isn't as heavy-handed
8774 no_undefined_flag
='${wl}-z,text'
8775 allow_undefined_flag
='${wl}-z,nodefs'
8776 archive_cmds_need_lc
=no
8777 hardcode_shlibpath_var
=no
8778 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8779 hardcode_libdir_separator
=':'
8780 link_all_deplibs
=yes
8781 export_dynamic_flag_spec
='${wl}-Bexport'
8782 runpath_var
='LD_RUN_PATH'
8784 if test "$GCC" = yes; then
8785 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8786 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8788 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8789 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8794 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8795 hardcode_libdir_flag_spec
='-L$libdir'
8796 hardcode_shlibpath_var
=no
8805 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8806 echo "${ECHO_T}$ld_shlibs" >&6; }
8807 test "$ld_shlibs" = no
&& can_build_shared
=no
8810 # Do we need to explicitly link libc?
8812 case "x$archive_cmds_need_lc" in
8814 # Assume -lc should be added
8815 archive_cmds_need_lc
=yes
8817 if test "$enable_shared" = yes && test "$GCC" = yes; then
8818 case $archive_cmds in
8820 # FIXME: we may have to deal with multi-command sequences.
8823 # Test whether the compiler implicitly links with -lc since on some
8824 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8825 # to ld, don't add -lc before -lgcc.
8826 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8827 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8832 (eval $ac_compile) 2>&5
8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835 (exit $ac_status); } 2>conftest.err
; then
8838 libobjs
=conftest.
$ac_objext
8840 wl
=$lt_prog_compiler_wl
8841 pic_flag
=$lt_prog_compiler_pic
8847 lt_save_allow_undefined_flag
=$allow_undefined_flag
8848 allow_undefined_flag
=
8849 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8850 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }
8855 archive_cmds_need_lc
=no
8857 archive_cmds_need_lc
=yes
8859 allow_undefined_flag
=$lt_save_allow_undefined_flag
8861 cat conftest.err
1>&5
8864 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8865 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8872 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8873 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8875 libname_spec
='lib$name'
8883 shlibpath_overrides_runpath
=unknown
8885 dynamic_linker
="$host_os ld.so"
8886 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8888 if test "$GCC" = yes; then
8890 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8891 *) lt_awk_arg
="/^libraries:/" ;;
8893 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8894 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8895 # if the path contains ";" then we assume it to be the separator
8896 # otherwise default to the standard path separator (i.e. ":") - it is
8897 # assumed that no part of a normal pathname contains ";" but that should
8898 # okay in the real world where ";" in dirpaths is itself problematic.
8899 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8901 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8903 # Ok, now we have the path, separated by spaces, we can step through it
8904 # and add multilib dir if necessary.
8905 lt_tmp_lt_search_path_spec
=
8906 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8907 for lt_sys_path
in $lt_search_path_spec; do
8908 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8909 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8911 test -d "$lt_sys_path" && \
8912 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8915 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8916 BEGIN {RS=" "; FS="/|\n";} {
8919 for (lt_i = NF; lt_i > 0; lt_i--) {
8920 if ($lt_i != "" && $lt_i != ".") {
8921 if ($lt_i == "..") {
8924 if (lt_count == 0) {
8925 lt_foo="/" $lt_i lt_foo;
8932 if (lt_foo != "") { lt_freq[lt_foo]++; }
8933 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8935 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8937 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8939 need_lib_prefix
=unknown
8940 hardcode_into_libs
=no
8942 # when you set need_version to no, make sure it does not cause -set_version
8943 # flags to be left without arguments
8944 need_version
=unknown
8949 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8950 shlibpath_var
=LIBPATH
8952 # AIX 3 has no versioning support, so we append a major version to the name.
8953 soname_spec
='${libname}${release}${shared_ext}$major'
8960 hardcode_into_libs
=yes
8961 if test "$host_cpu" = ia64
; then
8962 # AIX 5 supports IA64
8963 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8964 shlibpath_var
=LD_LIBRARY_PATH
8966 # With GCC up to 2.95.x, collect2 would create an import file
8967 # for dependence libraries. The import file would start with
8968 # the line `#! .'. This would cause the generated library to
8969 # depend on `.', always an invalid library. This was fixed in
8970 # development snapshots of GCC prior to 3.0.
8972 aix4 | aix4.
[01] | aix4.
[01].
*)
8973 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8975 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8982 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8983 # soname into executable. Probably we can add versioning support to
8984 # collect2, so additional links can be useful in future.
8985 if test "$aix_use_runtimelinking" = yes; then
8986 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8987 # instead of lib<name>.a to let people know that these are not
8988 # typical AIX shared libraries.
8989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8991 # We preserve .a as extension for shared libraries through AIX4.2
8992 # and later when we are not doing run time linking.
8993 library_names_spec
='${libname}${release}.a $libname.a'
8994 soname_spec
='${libname}${release}${shared_ext}$major'
8996 shlibpath_var
=LIBPATH
9001 library_names_spec
='$libname.ixlibrary $libname.a'
9002 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9003 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'
9007 library_names_spec
='${libname}${shared_ext}'
9008 dynamic_linker
="$host_os ld.so"
9009 shlibpath_var
=LIBRARY_PATH
9015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9016 soname_spec
='${libname}${release}${shared_ext}$major'
9017 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9018 shlibpath_var
=LD_LIBRARY_PATH
9019 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9020 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9021 # the default ld.so.conf also contains /usr/contrib/lib and
9022 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9023 # libtool to hard-code these into programs
9026 cygwin
* | mingw
* | pw32
*)
9027 version_type
=windows
9032 case $GCC,$host_os in
9033 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9034 library_names_spec
='$libname.dll.a'
9035 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9036 postinstall_cmds
='base_file=`basename \${file}`~
9037 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9038 dldir=$destdir/`dirname \$dlpath`~
9039 test -d \$dldir || mkdir -p \$dldir~
9040 $install_prog $dir/$dlname \$dldir/$dlname~
9041 chmod a+x \$dldir/$dlname'
9042 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9043 dlpath=$dir/\$dldll~
9045 shlibpath_overrides_runpath
=yes
9049 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9050 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9051 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9054 # MinGW DLLs use traditional 'lib' prefix
9055 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9056 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9057 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9058 # It is most probably a Windows format PATH printed by
9059 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9060 # path with ; separators, and with drive letters. We can handle the
9061 # drive letters (cygwin fileutils understands them), so leave them,
9062 # especially as we might pass files found there to a mingw objdump,
9063 # which wouldn't understand a cygwinified path. Ahh.
9064 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9066 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9070 # pw32 DLLs use 'pw' prefix rather than 'lib'
9071 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9077 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9080 dynamic_linker
='Win32 ld.exe'
9081 # FIXME: first we should search . and the directory the executable is in
9085 darwin
* | rhapsody
*)
9086 dynamic_linker
="$host_os dyld"
9090 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9091 soname_spec
='${libname}${release}${major}$shared_ext'
9092 shlibpath_overrides_runpath
=yes
9093 shlibpath_var
=DYLD_LIBRARY_PATH
9094 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9096 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9097 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9104 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9105 soname_spec
='${libname}${release}${shared_ext}$major'
9106 shlibpath_var
=LD_LIBRARY_PATH
9113 freebsd
* | dragonfly
*)
9114 # DragonFly does not have aout. When/if they implement a new
9115 # versioning mechanism, adjust this.
9116 if test -x /usr
/bin
/objformat
; then
9117 objformat
=`/usr/bin/objformat`
9120 freebsd
[123]*) objformat
=aout
;;
9124 version_type
=freebsd-
$objformat
9125 case $version_type in
9127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9132 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9136 shlibpath_var
=LD_LIBRARY_PATH
9139 shlibpath_overrides_runpath
=yes
9141 freebsd3.
[01]* | freebsdelf3.
[01]*)
9142 shlibpath_overrides_runpath
=yes
9143 hardcode_into_libs
=yes
9145 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9146 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9147 shlibpath_overrides_runpath
=no
9148 hardcode_into_libs
=yes
9150 *) # from 4.6 on, and DragonFly
9151 shlibpath_overrides_runpath
=yes
9152 hardcode_into_libs
=yes
9161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9162 soname_spec
='${libname}${release}${shared_ext}$major'
9163 shlibpath_var
=LD_LIBRARY_PATH
9164 hardcode_into_libs
=yes
9167 hpux9
* | hpux10
* | hpux11
*)
9168 # Give a soname corresponding to the major version so that dld.sl refuses to
9169 # link against other versions.
9176 hardcode_into_libs
=yes
9177 dynamic_linker
="$host_os dld.so"
9178 shlibpath_var
=LD_LIBRARY_PATH
9179 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec
='${libname}${release}${shared_ext}$major'
9182 if test "X$HPUX_IA64_MODE" = X32
; then
9183 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9185 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9187 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9191 hardcode_into_libs
=yes
9192 dynamic_linker
="$host_os dld.sl"
9193 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9194 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196 soname_spec
='${libname}${release}${shared_ext}$major'
9197 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9198 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9202 dynamic_linker
="$host_os dld.sl"
9203 shlibpath_var
=SHLIB_PATH
9204 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206 soname_spec
='${libname}${release}${shared_ext}$major'
9209 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9210 postinstall_cmds
='chmod 555 $lib'
9217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9218 soname_spec
='${libname}${release}${shared_ext}$major'
9219 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9220 shlibpath_var
=LD_LIBRARY_PATH
9221 shlibpath_overrides_runpath
=no
9222 hardcode_into_libs
=yes
9225 irix5
* | irix6
* | nonstopux
*)
9227 nonstopux
*) version_type
=nonstopux
;;
9229 if test "$lt_cv_prog_gnu_ld" = yes; then
9237 soname_spec
='${libname}${release}${shared_ext}$major'
9238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9240 irix5
* | nonstopux
*)
9244 case $LD in # libtool.m4 will add one of these switches to LD
9245 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9246 libsuff
= shlibsuff
= libmagic
=32-bit;;
9247 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9248 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9249 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9250 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9251 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9255 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9256 shlibpath_overrides_runpath
=no
9257 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9258 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9259 hardcode_into_libs
=yes
9262 # No shared lib support for Linux oldld, aout, or coff.
9263 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9267 # This must be Linux ELF.
9268 linux
* | k
*bsd
*-gnu)
9272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9273 soname_spec
='${libname}${release}${shared_ext}$major'
9274 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9275 shlibpath_var
=LD_LIBRARY_PATH
9276 shlibpath_overrides_runpath
=no
9277 # This implies no fast_install, which is unacceptable.
9278 # Some rework will be needed to allow for fast_install
9279 # before this can be enabled.
9280 hardcode_into_libs
=yes
9282 # Append ld.so.conf contents to the search path
9283 if test -f /etc
/ld.so.conf
; then
9284 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' ' '`
9285 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9288 # We used to test for /lib/ld.so.1 and disable shared libraries on
9289 # powerpc, because MkLinux only supported shared libraries with the
9290 # GNU dynamic linker. Since this was broken with cross compilers,
9291 # most powerpc-linux boxes support dynamic linking these days and
9292 # people can always --disable-shared, the test was removed, and we
9293 # assume the GNU/Linux dynamic linker is in use.
9294 dynamic_linker
='GNU/Linux ld.so'
9301 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9303 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9304 dynamic_linker
='NetBSD (a.out) ld.so'
9306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9307 soname_spec
='${libname}${release}${shared_ext}$major'
9308 dynamic_linker
='NetBSD ld.elf_so'
9310 shlibpath_var
=LD_LIBRARY_PATH
9311 shlibpath_overrides_runpath
=yes
9312 hardcode_into_libs
=yes
9317 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9318 shlibpath_var
=LD_LIBRARY_PATH
9319 shlibpath_overrides_runpath
=yes
9326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9327 soname_spec
='${libname}${release}${shared_ext}$major'
9328 shlibpath_var
=LD_LIBRARY_PATH
9329 shlibpath_overrides_runpath
=yes
9334 sys_lib_dlsearch_path_spec
="/usr/lib"
9336 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9338 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9339 *) need_version
=no
;;
9341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9342 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9343 shlibpath_var
=LD_LIBRARY_PATH
9344 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9346 openbsd2.
[89] | openbsd2.
[89].
*)
9347 shlibpath_overrides_runpath
=no
9350 shlibpath_overrides_runpath
=yes
9354 shlibpath_overrides_runpath
=yes
9359 libname_spec
='$name'
9362 library_names_spec
='$libname${shared_ext} $libname.a'
9363 dynamic_linker
='OS/2 ld.exe'
9364 shlibpath_var
=LIBPATH
9367 osf3
* | osf4
* | osf5
*)
9371 soname_spec
='${libname}${release}${shared_ext}$major'
9372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9373 shlibpath_var
=LD_LIBRARY_PATH
9374 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9375 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9387 soname_spec
='${libname}${release}${shared_ext}$major'
9388 shlibpath_var
=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath
=yes
9390 hardcode_into_libs
=yes
9391 # ldd complains unless libraries are executable
9392 postinstall_cmds
='chmod +x $lib'
9397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9398 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9399 shlibpath_var
=LD_LIBRARY_PATH
9400 shlibpath_overrides_runpath
=yes
9401 if test "$with_gnu_ld" = yes; then
9409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9410 soname_spec
='${libname}${release}${shared_ext}$major'
9411 shlibpath_var
=LD_LIBRARY_PATH
9412 case $host_vendor in
9414 shlibpath_overrides_runpath
=no
9416 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9417 runpath_var
=LD_RUN_PATH
9425 shlibpath_overrides_runpath
=no
9426 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9432 if test -d /usr
/nec
;then
9434 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9435 soname_spec
='$libname${shared_ext}.$major'
9436 shlibpath_var
=LD_LIBRARY_PATH
9440 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9441 version_type
=freebsd-elf
9444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9445 soname_spec
='${libname}${release}${shared_ext}$major'
9446 shlibpath_var
=LD_LIBRARY_PATH
9447 hardcode_into_libs
=yes
9448 if test "$with_gnu_ld" = yes; then
9449 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9450 shlibpath_overrides_runpath
=no
9452 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9453 shlibpath_overrides_runpath
=yes
9456 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9460 sys_lib_dlsearch_path_spec
='/usr/lib'
9465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9466 soname_spec
='${libname}${release}${shared_ext}$major'
9467 shlibpath_var
=LD_LIBRARY_PATH
9474 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9475 echo "${ECHO_T}$dynamic_linker" >&6; }
9476 test "$dynamic_linker" = no
&& can_build_shared
=no
9478 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9479 echo $ECHO_N "(cached) $ECHO_C" >&6
9481 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9484 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9485 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9491 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9493 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9494 if test "$GCC" = yes; then
9495 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9498 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9499 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9501 if test -n "$hardcode_libdir_flag_spec" || \
9502 test -n "$runpath_var" || \
9503 test "X$hardcode_automatic" = "Xyes" ; then
9505 # We can hardcode non-existant directories.
9506 if test "$hardcode_direct" != no
&&
9507 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9508 # have to relink, otherwise we might link with an installed library
9509 # when we should be linking with a yet-to-be-installed one
9510 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9511 test "$hardcode_minus_L" != no
; then
9512 # Linking always hardcodes the temporary library directory.
9513 hardcode_action
=relink
9515 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9516 hardcode_action
=immediate
9519 # We cannot hardcode anything, or else we can only hardcode existing
9521 hardcode_action
=unsupported
9523 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9524 echo "${ECHO_T}$hardcode_action" >&6; }
9526 if test "$hardcode_action" = relink
; then
9527 # Fast installation is not supported
9528 enable_fast_install
=no
9529 elif test "$shlibpath_overrides_runpath" = yes ||
9530 test "$enable_shared" = no
; then
9531 # Fast installation is not necessary
9532 enable_fast_install
=needless
9537 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9538 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9539 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9540 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9541 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9542 { echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6; }
9545 # FIXME - insert some real tests, host_os isn't really good enough
9548 if test -n "$STRIP" ; then
9549 striplib
="$STRIP -x"
9550 old_striplib
="$STRIP -S"
9551 { echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6; }
9554 { echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6; }
9559 { echo "$as_me:$LINENO: result: no" >&5
9560 echo "${ECHO_T}no" >&6; }
9565 if test "x$enable_dlopen" != xyes
; then
9566 enable_dlopen
=unknown
9567 enable_dlopen_self
=unknown
9568 enable_dlopen_self_static
=unknown
9575 lt_cv_dlopen
="load_add_on"
9577 lt_cv_dlopen_self
=yes
9581 lt_cv_dlopen
="LoadLibrary"
9586 lt_cv_dlopen
="dlopen"
9591 # if libdl is installed we need to link against it
9592 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9593 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9594 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 ac_check_lib_save_LIBS
=$LIBS
9599 cat >conftest.
$ac_ext <<_ACEOF
9602 cat confdefs.h
>>conftest.
$ac_ext
9603 cat >>conftest.
$ac_ext <<_ACEOF
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9621 rm -f conftest.
$ac_objext conftest
$ac_exeext
9622 if { (ac_try
="$ac_link"
9624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9625 *) ac_try_echo=$ac_try;;
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9628 (eval "$ac_link") 2>conftest.er1
9630 grep -v '^ *+' conftest.er1 >conftest.err
9632 cat conftest.err >&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } && {
9635 test -z "$ac_c_werror_flag" ||
9636 test ! -s conftest.err
9637 } && test -s conftest$ac_exeext &&
9638 $as_test_x conftest$ac_exeext; then
9639 ac_cv_lib_dl_dlopen=yes
9641 echo "$as_me: failed program was:" >&5
9642 sed 's/^/| /' conftest.$ac_ext >&5
9644 ac_cv_lib_dl_dlopen=no
9647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9648 conftest$ac_exeext conftest.$ac_ext
9649 LIBS=$ac_check_lib_save_LIBS
9651 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9652 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9653 if test $ac_cv_lib_dl_dlopen = yes; then
9654 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9659 lt_cv_dlopen_self=yes
9666 { echo "$as_me:$LINENO: checking for shl_load" >&5
9667 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9668 if test "${ac_cv_func_shl_load+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 cat >conftest.$ac_ext <<_ACEOF
9674 cat confdefs.h >>conftest.$ac_ext
9675 cat >>conftest.$ac_ext <<_ACEOF
9676 /* end confdefs.h. */
9677 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9679 #define shl_load innocuous_shl_load
9681 /* System header to define __stub macros and hopefully few prototypes,
9682 which can conflict with char shl_load (); below.
9683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9684 <limits.h> exists even on freestanding compilers. */
9687 # include <limits.h>
9689 # include <assert.h>
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9701 /* The GNU C library defines this for functions which it implements
9702 to always fail with ENOSYS. Some functions are actually named
9703 something starting with __ and the normal name is an alias. */
9704 #if defined __stub_shl_load || defined __stub___shl_load
9716 rm -f conftest.$ac_objext conftest$ac_exeext
9717 if { (ac_try="$ac_link"
9719 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9720 *) ac_try_echo
=$ac_try;;
9722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9723 (eval "$ac_link") 2>conftest.er1
9725 grep -v '^ *+' conftest.er1
>conftest.err
9727 cat conftest.err
>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } && {
9730 test -z "$ac_c_werror_flag" ||
9731 test ! -s conftest.err
9732 } && test -s conftest
$ac_exeext &&
9733 $as_test_x conftest
$ac_exeext; then
9734 ac_cv_func_shl_load
=yes
9736 echo "$as_me: failed program was:" >&5
9737 sed 's/^/| /' conftest.
$ac_ext >&5
9739 ac_cv_func_shl_load
=no
9742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9743 conftest
$ac_exeext conftest.
$ac_ext
9745 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9746 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9747 if test $ac_cv_func_shl_load = yes; then
9748 lt_cv_dlopen
="shl_load"
9750 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9751 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9752 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 ac_check_lib_save_LIBS
=$LIBS
9757 cat >conftest.
$ac_ext <<_ACEOF
9760 cat confdefs.h
>>conftest.
$ac_ext
9761 cat >>conftest.
$ac_ext <<_ACEOF
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9779 rm -f conftest.
$ac_objext conftest
$ac_exeext
9780 if { (ac_try
="$ac_link"
9782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9783 *) ac_try_echo=$ac_try;;
9785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9786 (eval "$ac_link") 2>conftest.er1
9788 grep -v '^ *+' conftest.er1 >conftest.err
9790 cat conftest.err >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); } && {
9793 test -z "$ac_c_werror_flag" ||
9794 test ! -s conftest.err
9795 } && test -s conftest$ac_exeext &&
9796 $as_test_x conftest$ac_exeext; then
9797 ac_cv_lib_dld_shl_load=yes
9799 echo "$as_me: failed program was:" >&5
9800 sed 's/^/| /' conftest.$ac_ext >&5
9802 ac_cv_lib_dld_shl_load=no
9805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9810 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9811 if test $ac_cv_lib_dld_shl_load = yes; then
9812 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9814 { echo "$as_me:$LINENO: checking for dlopen" >&5
9815 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9816 if test "${ac_cv_func_dlopen+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 cat >conftest.$ac_ext <<_ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9825 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9827 #define dlopen innocuous_dlopen
9829 /* System header to define __stub macros and hopefully few prototypes,
9830 which can conflict with char dlopen (); below.
9831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9832 <limits.h> exists even on freestanding compilers. */
9835 # include <limits.h>
9837 # include <assert.h>
9842 /* Override any GCC internal prototype to avoid an error.
9843 Use char because int might match the return type of a GCC
9844 builtin and then its argument prototype would still apply. */
9849 /* The GNU C library defines this for functions which it implements
9850 to always fail with ENOSYS. Some functions are actually named
9851 something starting with __ and the normal name is an alias. */
9852 #if defined __stub_dlopen || defined __stub___dlopen
9864 rm -f conftest.$ac_objext conftest$ac_exeext
9865 if { (ac_try="$ac_link"
9867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9868 *) ac_try_echo
=$ac_try;;
9870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9871 (eval "$ac_link") 2>conftest.er1
9873 grep -v '^ *+' conftest.er1
>conftest.err
9875 cat conftest.err
>&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); } && {
9878 test -z "$ac_c_werror_flag" ||
9879 test ! -s conftest.err
9880 } && test -s conftest
$ac_exeext &&
9881 $as_test_x conftest
$ac_exeext; then
9882 ac_cv_func_dlopen
=yes
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9887 ac_cv_func_dlopen
=no
9890 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9891 conftest
$ac_exeext conftest.
$ac_ext
9893 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9894 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9895 if test $ac_cv_func_dlopen = yes; then
9896 lt_cv_dlopen
="dlopen"
9898 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9899 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9900 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9903 ac_check_lib_save_LIBS
=$LIBS
9905 cat >conftest.
$ac_ext <<_ACEOF
9908 cat confdefs.h
>>conftest.
$ac_ext
9909 cat >>conftest.
$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9927 rm -f conftest.
$ac_objext conftest
$ac_exeext
9928 if { (ac_try
="$ac_link"
9930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_link") 2>conftest.er1
9936 grep -v '^ *+' conftest.er1 >conftest.err
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest$ac_exeext &&
9944 $as_test_x conftest$ac_exeext; then
9945 ac_cv_lib_dl_dlopen=yes
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.$ac_ext >&5
9950 ac_cv_lib_dl_dlopen=no
9953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9954 conftest$ac_exeext conftest.$ac_ext
9955 LIBS=$ac_check_lib_save_LIBS
9957 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9958 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9959 if test $ac_cv_lib_dl_dlopen = yes; then
9960 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9962 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9963 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9964 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9965 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 ac_check_lib_save_LIBS=$LIBS
9969 cat >conftest.$ac_ext <<_ACEOF
9972 cat confdefs.h >>conftest.$ac_ext
9973 cat >>conftest.$ac_ext <<_ACEOF
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9991 rm -f conftest.$ac_objext conftest$ac_exeext
9992 if { (ac_try="$ac_link"
9994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9995 *) ac_try_echo
=$ac_try;;
9997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9998 (eval "$ac_link") 2>conftest.er1
10000 grep -v '^ *+' conftest.er1
>conftest.err
10002 cat conftest.err
>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); } && {
10005 test -z "$ac_c_werror_flag" ||
10006 test ! -s conftest.err
10007 } && test -s conftest
$ac_exeext &&
10008 $as_test_x conftest
$ac_exeext; then
10009 ac_cv_lib_svld_dlopen
=yes
10011 echo "$as_me: failed program was:" >&5
10012 sed 's/^/| /' conftest.
$ac_ext >&5
10014 ac_cv_lib_svld_dlopen
=no
10017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10018 conftest
$ac_exeext conftest.
$ac_ext
10019 LIBS
=$ac_check_lib_save_LIBS
10021 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10022 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10023 if test $ac_cv_lib_svld_dlopen = yes; then
10024 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10026 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10027 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10028 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10029 echo $ECHO_N "(cached) $ECHO_C" >&6
10031 ac_check_lib_save_LIBS
=$LIBS
10033 cat >conftest.
$ac_ext <<_ACEOF
10036 cat confdefs.h
>>conftest.
$ac_ext
10037 cat >>conftest.
$ac_ext <<_ACEOF
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10050 return dld_link ();
10055 rm -f conftest.
$ac_objext conftest
$ac_exeext
10056 if { (ac_try
="$ac_link"
10057 case "(($ac_try" in
10058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10059 *) ac_try_echo=$ac_try;;
10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10062 (eval "$ac_link") 2>conftest.er1
10064 grep -v '^ *+' conftest.er1 >conftest.err
10066 cat conftest.err >&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); } && {
10069 test -z "$ac_c_werror_flag" ||
10070 test ! -s conftest.err
10071 } && test -s conftest$ac_exeext &&
10072 $as_test_x conftest$ac_exeext; then
10073 ac_cv_lib_dld_dld_link=yes
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10078 ac_cv_lib_dld_dld_link=no
10081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10086 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10087 if test $ac_cv_lib_dld_dld_link = yes; then
10088 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10109 if test "x$lt_cv_dlopen" != xno; then
10115 case $lt_cv_dlopen in
10117 save_CPPFLAGS="$CPPFLAGS"
10118 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10120 save_LDFLAGS="$LDFLAGS"
10121 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10124 LIBS="$lt_cv_dlopen_libs $LIBS"
10126 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10127 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10128 if test "${lt_cv_dlopen_self+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 if test "$cross_compiling" = yes; then :
10132 lt_cv_dlopen_self=cross
10134 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10135 lt_status=$lt_dlunknown
10136 cat > conftest.$ac_ext <<EOF
10137 #line 10137 "configure"
10138 #include "confdefs.h"
10147 # define LT_DLGLOBAL RTLD_GLOBAL
10150 # define LT_DLGLOBAL DL_GLOBAL
10152 # define LT_DLGLOBAL 0
10156 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10157 find out it does not work in some platform. */
10158 #ifndef LT_DLLAZY_OR_NOW
10160 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10163 # define LT_DLLAZY_OR_NOW DL_LAZY
10166 # define LT_DLLAZY_OR_NOW RTLD_NOW
10169 # define LT_DLLAZY_OR_NOW DL_NOW
10171 # define LT_DLLAZY_OR_NOW 0
10179 extern "C" void exit (int);
10182 void fnord() { int i=42;}
10185 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10186 int status = $lt_dlunknown;
10190 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10191 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10192 /* dlclose (self); */
10200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10205 (./conftest; exit; ) >&5 2>/dev/null
10207 case x$lt_status in
10208 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10209 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10210 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10213 # compilation failed
10214 lt_cv_dlopen_self=no
10221 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10222 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10224 if test "x$lt_cv_dlopen_self" = xyes; then
10225 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10226 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10227 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10228 if test "${lt_cv_dlopen_self_static+set}" = set; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 if test "$cross_compiling" = yes; then :
10232 lt_cv_dlopen_self_static=cross
10234 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10235 lt_status=$lt_dlunknown
10236 cat > conftest.$ac_ext <<EOF
10237 #line 10237 "configure"
10238 #include "confdefs.h"
10247 # define LT_DLGLOBAL RTLD_GLOBAL
10250 # define LT_DLGLOBAL DL_GLOBAL
10252 # define LT_DLGLOBAL 0
10256 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10257 find out it does not work in some platform. */
10258 #ifndef LT_DLLAZY_OR_NOW
10260 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10263 # define LT_DLLAZY_OR_NOW DL_LAZY
10266 # define LT_DLLAZY_OR_NOW RTLD_NOW
10269 # define LT_DLLAZY_OR_NOW DL_NOW
10271 # define LT_DLLAZY_OR_NOW 0
10279 extern "C" void exit (int);
10282 void fnord() { int i=42;}
10285 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10286 int status = $lt_dlunknown;
10290 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10291 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10292 /* dlclose (self); */
10300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10301 (eval $ac_link) 2>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10305 (./conftest; exit; ) >&5 2>/dev/null
10307 case x$lt_status in
10308 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10309 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10310 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10313 # compilation failed
10314 lt_cv_dlopen_self_static=no
10321 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10322 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10325 CPPFLAGS="$save_CPPFLAGS"
10326 LDFLAGS="$save_LDFLAGS"
10331 case $lt_cv_dlopen_self in
10332 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10333 *) enable_dlopen_self=unknown ;;
10336 case $lt_cv_dlopen_self_static in
10337 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10338 *) enable_dlopen_self_static=unknown ;;
10343 # Report which library types will actually be built
10344 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10345 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10346 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10347 echo "${ECHO_T}$can_build_shared" >&6; }
10349 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10350 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10351 test "$can_build_shared" = "no" && enable_shared=no
10353 # On AIX, shared libraries and static libraries use the same namespace, and
10354 # are all built from PIC.
10357 test "$enable_shared" = yes && enable_static=no
10358 if test -n "$RANLIB"; then
10359 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10360 postinstall_cmds='$RANLIB $lib'
10365 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10366 test "$enable_shared" = yes && enable_static=no
10370 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10371 echo "${ECHO_T}$enable_shared" >&6; }
10373 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10374 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10375 # Make sure either enable_shared or enable_static is yes.
10376 test "$enable_shared" = yes || enable_static=yes
10377 { echo "$as_me:$LINENO: result: $enable_static" >&5
10378 echo "${ECHO_T}$enable_static" >&6; }
10380 # The else clause should only fire when bootstrapping the
10381 # libtool distribution, otherwise you forgot to ship ltmain.sh
10382 # with your package, and you will get complaints that there are
10383 # no rules to generate ltmain.sh.
10384 if test -f "$ltmain"; then
10385 # See if we are running on zsh, and set the options which allow our commands through
10386 # without removal of \ escapes.
10387 if test -n "${ZSH_VERSION+set}" ; then
10388 setopt NO_GLOB_SUBST
10390 # Now quote all the things that may contain metacharacters while being
10391 # careful not to overquote the AC_SUBSTed values. We take copies of the
10392 # variables and quote the copies for generation of the libtool script.
10393 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10395 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10396 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10397 deplibs_check_method reload_flag reload_cmds need_locks \
10398 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10399 lt_cv_sys_global_symbol_to_c_name_address \
10400 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10401 old_postinstall_cmds old_postuninstall_cmds \
10405 lt_prog_compiler_wl \
10406 lt_prog_compiler_pic \
10407 lt_prog_compiler_static \
10408 lt_prog_compiler_no_builtin_flag \
10409 export_dynamic_flag_spec \
10410 thread_safe_flag_spec \
10411 whole_archive_flag_spec \
10412 enable_shared_with_static_runtimes \
10414 old_archive_from_new_cmds \
10419 compiler_lib_search_path \
10420 compiler_lib_search_dirs \
10422 archive_expsym_cmds \
10424 postuninstall_cmds \
10425 old_archive_from_expsyms_cmds \
10426 allow_undefined_flag \
10427 no_undefined_flag \
10428 export_symbols_cmds \
10429 hardcode_libdir_flag_spec \
10430 hardcode_libdir_flag_spec_ld \
10431 hardcode_libdir_separator \
10432 hardcode_automatic \
10434 module_expsym_cmds \
10435 lt_cv_prog_compiler_c_o \
10438 include_expsyms; do
10441 old_archive_cmds | \
10442 old_archive_from_new_cmds | \
10444 archive_expsym_cmds | \
10446 module_expsym_cmds | \
10447 old_archive_from_expsyms_cmds | \
10448 export_symbols_cmds | \
10449 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10450 postinstall_cmds | postuninstall_cmds | \
10451 old_postinstall_cmds | old_postuninstall_cmds | \
10452 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10453 # Double-quote double-evaled strings.
10454 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10457 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10463 *'\$0 --fallback-echo"')
10464 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10468 cfgfile="${ofile}T"
10469 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10471 { echo "$as_me:$LINENO: creating $ofile" >&5
10472 echo "$as_me: creating $ofile" >&6;}
10474 cat <<__EOF__ >> "$cfgfile"
10477 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10478 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10479 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10481 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10482 # Free Software Foundation, Inc.
10484 # This file is part of GNU Libtool:
10485 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10487 # This program is free software; you can redistribute it and/or modify
10488 # it under the terms of the GNU General Public License as published by
10489 # the Free Software Foundation; either version 2 of the License, or
10490 # (at your option) any later version.
10492 # This program is distributed in the hope that it will be useful, but
10493 # WITHOUT ANY WARRANTY; without even the implied warranty of
10494 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10495 # General Public License for more details.
10497 # You should have received a copy of the GNU General Public License
10498 # along with this program; if not, write to the Free Software
10499 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10501 # As a special exception to the GNU General Public License, if you
10502 # distribute this file as part of a program that contains a
10503 # configuration script generated by Autoconf, you may include it under
10504 # the same distribution terms that you use for the rest of that program.
10506 # A sed program that does not truncate output.
10509 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10510 Xsed="$SED -e 1s/^X//"
10512 # The HP-UX ksh and POSIX shell print the target directory to stdout
10513 # if CDPATH is set.
10514 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10516 # The names of the tagged configurations supported by this script.
10519 # ### BEGIN LIBTOOL CONFIG
10521 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10523 # Shell to use when invoking shell scripts.
10526 # Whether or not to build shared libraries.
10527 build_libtool_libs=$enable_shared
10529 # Whether or not to build static libraries.
10530 build_old_libs=$enable_static
10532 # Whether or not to add -lc for building shared libraries.
10533 build_libtool_need_lc=$archive_cmds_need_lc
10535 # Whether or not to disallow shared libs when runtime libs are static
10536 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10538 # Whether or not to optimize for fast installation.
10539 fast_install=$enable_fast_install
10542 host_alias=$host_alias
10546 # The build system.
10547 build_alias=$build_alias
10551 # An echo program that does not interpret backslashes.
10556 AR_FLAGS=$lt_AR_FLAGS
10561 # LTCC compiler flags.
10562 LTCFLAGS=$lt_LTCFLAGS
10564 # A language-specific compiler.
10567 # Is the compiler the GNU C compiler?
10573 # The linker used to build libraries.
10576 # Whether we need hard or soft links.
10579 # A BSD-compatible nm program.
10582 # A symbol stripping program
10585 # Used to examine libraries when file_magic_cmd begins "file"
10586 MAGIC_CMD=$MAGIC_CMD
10588 # Used on cygwin: DLL creation program.
10591 # Used on cygwin: object dumper.
10594 # Used on cygwin: assembler.
10597 # The name of the directory that contains temporary libtool files.
10600 # How to create reloadable object files.
10601 reload_flag=$lt_reload_flag
10602 reload_cmds=$lt_reload_cmds
10604 # How to pass a linker flag through the compiler.
10605 wl=$lt_lt_prog_compiler_wl
10607 # Object file suffix (normally "o").
10608 objext="$ac_objext"
10610 # Old archive suffix (normally "a").
10613 # Shared library suffix (normally ".so").
10614 shrext_cmds='$shrext_cmds'
10616 # Executable file suffix (normally "").
10619 # Additional compiler flags for building library objects.
10620 pic_flag=$lt_lt_prog_compiler_pic
10623 # What is the maximum length of a command?
10624 max_cmd_len=$lt_cv_sys_max_cmd_len
10626 # Does compiler simultaneously support -c and -o options?
10627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10629 # Must we lock files when doing compilation?
10630 need_locks=$lt_need_locks
10632 # Do we need the lib prefix for modules?
10633 need_lib_prefix=$need_lib_prefix
10635 # Do we need a version for libraries?
10636 need_version=$need_version
10638 # Whether dlopen is supported.
10639 dlopen_support=$enable_dlopen
10641 # Whether dlopen of programs is supported.
10642 dlopen_self=$enable_dlopen_self
10644 # Whether dlopen of statically linked programs is supported.
10645 dlopen_self_static=$enable_dlopen_self_static
10647 # Compiler flag to prevent dynamic linking.
10648 link_static_flag=$lt_lt_prog_compiler_static
10650 # Compiler flag to turn off builtin functions.
10651 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10653 # Compiler flag to allow reflexive dlopens.
10654 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10656 # Compiler flag to generate shared objects directly from archives.
10657 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10659 # Compiler flag to generate thread-safe objects.
10660 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10662 # Library versioning type.
10663 version_type=$version_type
10665 # Format of library name prefix.
10666 libname_spec=$lt_libname_spec
10668 # List of archive names. First name is the real one, the rest are links.
10669 # The last name is the one that the linker finds with -lNAME.
10670 library_names_spec=$lt_library_names_spec
10672 # The coded name of the library, if different from the real name.
10673 soname_spec=$lt_soname_spec
10675 # Commands used to build and install an old-style archive.
10677 old_archive_cmds=$lt_old_archive_cmds
10678 old_postinstall_cmds=$lt_old_postinstall_cmds
10679 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10681 # Create an old-style archive from a shared archive.
10682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10684 # Create a temporary old-style archive to link instead of a shared archive.
10685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10687 # Commands used to build and install a shared archive.
10688 archive_cmds=$lt_archive_cmds
10689 archive_expsym_cmds=$lt_archive_expsym_cmds
10690 postinstall_cmds=$lt_postinstall_cmds
10691 postuninstall_cmds=$lt_postuninstall_cmds
10693 # Commands used to build a loadable module (assumed same as above if empty)
10694 module_cmds=$lt_module_cmds
10695 module_expsym_cmds=$lt_module_expsym_cmds
10697 # Commands to strip libraries.
10698 old_striplib=$lt_old_striplib
10699 striplib=$lt_striplib
10701 # Dependencies to place before the objects being linked to create a
10703 predep_objects=$lt_predep_objects
10705 # Dependencies to place after the objects being linked to create a
10707 postdep_objects=$lt_postdep_objects
10709 # Dependencies to place before the objects being linked to create a
10711 predeps=$lt_predeps
10713 # Dependencies to place after the objects being linked to create a
10715 postdeps=$lt_postdeps
10717 # The directories searched by this compiler when creating a shared
10719 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10721 # The library search path used internally by the compiler when linking
10722 # a shared library.
10723 compiler_lib_search_path=$lt_compiler_lib_search_path
10725 # Method to check whether dependent libraries are shared objects.
10726 deplibs_check_method=$lt_deplibs_check_method
10728 # Command to use when deplibs_check_method == file_magic.
10729 file_magic_cmd=$lt_file_magic_cmd
10731 # Flag that allows shared libraries with undefined symbols to be built.
10732 allow_undefined_flag=$lt_allow_undefined_flag
10734 # Flag that forces no undefined symbols.
10735 no_undefined_flag=$lt_no_undefined_flag
10737 # Commands used to finish a libtool library installation in a directory.
10738 finish_cmds=$lt_finish_cmds
10740 # Same as above, but a single script fragment to be evaled but not shown.
10741 finish_eval=$lt_finish_eval
10743 # Take the output of nm and produce a listing of raw symbols and C names.
10744 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10746 # Transform the output of nm in a proper C declaration
10747 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10749 # Transform the output of nm in a C name address pair
10750 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10752 # This is the shared library runtime path variable.
10753 runpath_var=$runpath_var
10755 # This is the shared library path variable.
10756 shlibpath_var=$shlibpath_var
10758 # Is shlibpath searched before the hard-coded library search path?
10759 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10761 # How to hardcode a shared library path into an executable.
10762 hardcode_action=$hardcode_action
10764 # Whether we should hardcode library paths into libraries.
10765 hardcode_into_libs=$hardcode_into_libs
10767 # Flag to hardcode \$libdir into a binary during linking.
10768 # This must work even if \$libdir does not exist.
10769 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10771 # If ld is used when linking, flag to hardcode \$libdir into
10772 # a binary during linking. This must work even if \$libdir does
10774 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10776 # Whether we need a single -rpath flag with a separated argument.
10777 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10779 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10780 # resulting binary.
10781 hardcode_direct=$hardcode_direct
10783 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10784 # resulting binary.
10785 hardcode_minus_L=$hardcode_minus_L
10787 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10788 # the resulting binary.
10789 hardcode_shlibpath_var=$hardcode_shlibpath_var
10791 # Set to yes if building a shared library automatically hardcodes DIR into the library
10792 # and all subsequent libraries and executables linked against it.
10793 hardcode_automatic=$hardcode_automatic
10795 # Variables whose values should be saved in libtool wrapper scripts and
10796 # restored at relink time.
10797 variables_saved_for_relink="$variables_saved_for_relink"
10799 # Whether libtool must link a program against all its dependency libraries.
10800 link_all_deplibs=$link_all_deplibs
10802 # Compile-time system search path for libraries
10803 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10805 # Run-time system search path for libraries
10806 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10808 # Fix the shell variable \$srcfile for the compiler.
10809 fix_srcfile_path=$lt_fix_srcfile_path
10811 # Set to yes if exported symbols are required.
10812 always_export_symbols=$always_export_symbols
10814 # The commands to list exported symbols.
10815 export_symbols_cmds=$lt_export_symbols_cmds
10817 # The commands to extract the exported symbol list from a shared archive.
10818 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10820 # Symbols that should not be listed in the preloaded symbols.
10821 exclude_expsyms=$lt_exclude_expsyms
10823 # Symbols that must always be exported.
10824 include_expsyms=$lt_include_expsyms
10826 # ### END LIBTOOL CONFIG
10833 cat <<\EOF >> "$cfgfile"
10835 # AIX sometimes has problems with the GCC collect2 program. For some
10836 # reason, if we set the COLLECT_NAMES environment variable, the problems
10837 # vanish in a puff of smoke.
10838 if test "X${COLLECT_NAMES+set}" != Xset; then
10840 export COLLECT_NAMES
10846 # We use sed instead of cat because bash on DJGPP gets confused if
10847 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10848 # text mode, it properly converts lines to CR/LF. This bash problem
10849 # is reportedly fixed, but why not run on old versions too?
10850 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10852 mv -f "$cfgfile" "$ofile" || \
10853 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10857 # If there is no Makefile yet, we rely on a make rule to execute
10858 # `config.status
--recheck' to rerun these tests and create the
10859 # libtool script then.
10860 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10861 if test -f "$ltmain_in"; then
10862 test -f Makefile && make "$ltmain"
10868 ac_cpp='$CPP $CPPFLAGS'
10869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10870 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10876 # Check whether --with-tags was given.
10877 if test "${with_tags+set}" = set; then
10878 withval=$with_tags; tagnames="$withval"
10882 if test -f "$ltmain" && test -n "$tagnames"; then
10883 if test ! -f "${ofile}"; then
10884 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10885 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10888 if test -z "$LTCC"; then
10889 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10890 if test -z "$LTCC"; then
10891 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10892 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10894 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10895 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10898 if test -z "$LTCFLAGS"; then
10899 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10902 # Extract list of available tagged configurations in $ofile.
10903 # Note that this assumes the entire list is on one line.
10904 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10906 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10907 for tagname in $tagnames; do
10909 # Check whether tagname contains only valid characters
10910 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10912 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10913 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10914 { (exit 1); exit 1; }; }
10918 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10920 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10921 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10922 { (exit 1); exit 1; }; }
10925 # Update the list of available tags.
10926 if test -n "$tagname"; then
10927 echo appending configuration tag \"$tagname\" to $ofile
10931 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10932 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10933 (test "X$CXX" != "Xg++"))) ; then
10935 ac_cpp='$CXXCPP $CPPFLAGS'
10936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10943 archive_cmds_need_lc_CXX=no
10944 allow_undefined_flag_CXX=
10945 always_export_symbols_CXX=no
10946 archive_expsym_cmds_CXX=
10947 export_dynamic_flag_spec_CXX=
10948 hardcode_direct_CXX=no
10949 hardcode_libdir_flag_spec_CXX=
10950 hardcode_libdir_flag_spec_ld_CXX=
10951 hardcode_libdir_separator_CXX=
10952 hardcode_minus_L_CXX=no
10953 hardcode_shlibpath_var_CXX=unsupported
10954 hardcode_automatic_CXX=no
10956 module_expsym_cmds_CXX=
10957 link_all_deplibs_CXX=unknown
10958 old_archive_cmds_CXX=$old_archive_cmds
10959 no_undefined_flag_CXX=
10960 whole_archive_flag_spec_CXX=
10961 enable_shared_with_static_runtimes_CXX=no
10963 # Dependencies to place before and after the object being linked:
10964 predep_objects_CXX=
10965 postdep_objects_CXX=
10968 compiler_lib_search_path_CXX=
10969 compiler_lib_search_dirs_CXX=
10971 # Source file extension for C++ test sources.
10974 # Object file extension for compiled C++ test sources.
10978 # Code to be used in simple compile tests
10979 lt_simple_compile_test_code="int some_variable = 0;"
10981 # Code to be used in simple link tests
10982 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10984 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10986 # If no C compiler was specified, use CC.
10989 # If no C compiler flags were specified, use CFLAGS.
10990 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10992 # Allow CC to be a program name with arguments.
10996 # save warnings/boilerplate of simple test code
10997 ac_outfile=conftest.$ac_objext
10998 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10999 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11000 _lt_compiler_boilerplate=`cat conftest.err
`
11003 ac_outfile=conftest.$ac_objext
11004 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11005 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11006 _lt_linker_boilerplate=`cat conftest.err
`
11010 # Allow CC to be a program name with arguments.
11015 lt_save_with_gnu_ld=$with_gnu_ld
11016 lt_save_path_LD=$lt_cv_path_LD
11017 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11018 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11020 $as_unset lt_cv_prog_gnu_ld
11022 if test -n "${lt_cv_path_LDCXX+set}"; then
11023 lt_cv_path_LD=$lt_cv_path_LDCXX
11025 $as_unset lt_cv_path_LD
11027 test -z "${LDCXX+set}" || LD=$LDCXX
11031 for cc_temp in $compiler""; do
11033 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11034 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11039 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11042 # We don't want -fno-exception wen compiling C++ code, so set the
11043 # no_builtin_flag separately
11044 if test "$GXX" = yes; then
11045 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11047 lt_prog_compiler_no_builtin_flag_CXX=
11050 if test "$GXX" = yes; then
11051 # Set up default GNU C++ configuration
11054 # Check whether --with-gnu-ld was given.
11055 if test "${with_gnu_ld+set}" = set; then
11056 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11062 if test "$GCC" = yes; then
11063 # Check if gcc -print-prog-name=ld gives a path.
11064 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11065 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11068 # gcc leaves a trailing carriage return which upsets mingw
11069 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11071 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11074 # Accept absolute paths.
11076 re_direlt='/[^/][^/]*/\.\./'
11077 # Canonicalize the pathname of ld
11078 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11079 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11080 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11082 test -z "$LD" && LD="$ac_prog"
11085 # If it fails, then pretend we aren't using GCC.
11089 # If it is relative, then search for the first ld in PATH.
11090 with_gnu_ld=unknown
11093 elif test "$with_gnu_ld" = yes; then
11094 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11095 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11097 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11098 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11100 if test "${lt_cv_path_LD+set}" = set; then
11101 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 if test -z "$LD"; then
11104 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11105 for ac_dir in $PATH; do
11107 test -z "$ac_dir" && ac_dir=.
11108 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11109 lt_cv_path_LD="$ac_dir/$ac_prog"
11110 # Check to see if the program is GNU ld. I'd rather use --version,
11111 # but apparently some variants of GNU ld only accept -v.
11112 # Break only if it was the GNU/non-GNU ld that we prefer.
11113 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11114 *GNU* | *'with BFD'*)
11115 test "$with_gnu_ld" != no && break
11118 test "$with_gnu_ld" != yes && break
11125 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11129 LD="$lt_cv_path_LD"
11130 if test -n "$LD"; then
11131 { echo "$as_me:$LINENO: result: $LD" >&5
11132 echo "${ECHO_T}$LD" >&6; }
11134 { echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6; }
11137 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11138 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11139 { (exit 1); exit 1; }; }
11140 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11141 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11142 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11146 case `$LD -v 2>&1 </dev
/null
` in
11147 *GNU* | *'with BFD'*)
11148 lt_cv_prog_gnu_ld=yes
11151 lt_cv_prog_gnu_ld=no
11155 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11156 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11157 with_gnu_ld=$lt_cv_prog_gnu_ld
11161 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11162 # archiving commands below assume that GNU ld is being used.
11163 if test "$with_gnu_ld" = yes; then
11164 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11165 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'
11167 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11168 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11170 # If archive_cmds runs LD, not CC, wlarc should be empty
11171 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11172 # investigate it a little bit more. (MM)
11175 # ancient GNU ld didn't support --whole-archive et. al.
11176 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11177 grep 'no-whole-archive' > /dev/null; then
11178 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11180 whole_archive_flag_spec_CXX=
11186 # A generic and very simple default shared library creation
11187 # command for GNU C++ for the case where it uses the native
11188 # linker, instead of GNU ld. If possible, this setting should
11189 # overridden to take advantage of the native linker features on
11190 # the platform it is being used on.
11191 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11194 # Commands to make compiler produce verbose output that lists
11195 # what "hidden" libraries, object files and flags are used when
11196 # linking a shared library.
11197 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11205 # PORTME: fill in a description of your system's C++ link characteristics
11206 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11207 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11211 # FIXME: insert proper C++ library support
11215 if test "$host_cpu" = ia64; then
11216 # On IA64, the linker does run time linking by default, so we don't
11217 # have to do anything special.
11218 aix_use_runtimelinking=no
11219 exp_sym_flag='-Bexport'
11222 aix_use_runtimelinking=no
11224 # Test if we are trying to use run time linking or normal
11225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11226 # need to do runtime linking.
11227 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11228 for ld_flag in $LDFLAGS; do
11231 aix_use_runtimelinking=yes
11239 exp_sym_flag='-bexport'
11240 no_entry_flag='-bnoentry'
11243 # When large executables or shared objects are built, AIX ld can
11244 # have problems creating the table of contents. If linking a library
11245 # or program results in "error TOC overflow" add -mminimal-toc to
11246 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11247 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11249 archive_cmds_CXX=''
11250 hardcode_direct_CXX=yes
11251 hardcode_libdir_separator_CXX=':'
11252 link_all_deplibs_CXX=yes
11254 if test "$GXX" = yes; then
11255 case $host_os in aix4.[012]|aix4.[012].*)
11256 # We only want to do this on AIX 4.2 and lower, the check
11257 # below for broken collect2 doesn't work under 4.3+
11258 collect2name=`${CC} -print-prog-name=collect2
`
11259 if test -f "$collect2name" && \
11260 strings "$collect2name" | grep resolve_lib_name >/dev/null
11262 # We have reworked collect2
11265 # We have old collect2
11266 hardcode_direct_CXX=unsupported
11267 # It fails to find uninstalled libraries when the uninstalled
11268 # path is not listed in the libpath. Setting hardcode_minus_L
11269 # to unsupported forces relinking
11270 hardcode_minus_L_CXX=yes
11271 hardcode_libdir_flag_spec_CXX='-L$libdir'
11272 hardcode_libdir_separator_CXX=
11276 shared_flag='-shared'
11277 if test "$aix_use_runtimelinking" = yes; then
11278 shared_flag="$shared_flag "'${wl}-G'
11282 if test "$host_cpu" = ia64; then
11283 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11284 # chokes on -Wl,-G. The following line is correct:
11287 if test "$aix_use_runtimelinking" = yes; then
11288 shared_flag='${wl}-G'
11290 shared_flag='${wl}-bM:SRE'
11295 # It seems that -bexpall does not export symbols beginning with
11296 # underscore (_), so it is better to generate a list of symbols to export.
11297 always_export_symbols_CXX=yes
11298 if test "$aix_use_runtimelinking" = yes; then
11299 # Warning - without using the other runtime loading flags (-brtl),
11300 # -berok will link without error, but may produce a broken library.
11301 allow_undefined_flag_CXX='-berok'
11302 # Determine the default libpath from the value encoded in an empty executable.
11303 cat >conftest.$ac_ext <<_ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11318 rm -f conftest.$ac_objext conftest$ac_exeext
11319 if { (ac_try="$ac_link"
11320 case "(($ac_try" in
11321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11322 *) ac_try_echo
=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_link") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1
>conftest.err
11329 cat conftest.err
>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } && {
11332 test -z "$ac_cxx_werror_flag" ||
11333 test ! -s conftest.err
11334 } && test -s conftest
$ac_exeext &&
11335 $as_test_x conftest
$ac_exeext; then
11337 lt_aix_libpath_sed
='
11338 /Import File Strings/,/^$/ {
11344 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11345 # Check for a 64-bit object if we didn't find anything.
11346 if test -z "$aix_libpath"; then
11347 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.
$ac_ext >&5
11356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11357 conftest
$ac_exeext conftest.
$ac_ext
11358 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11360 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11362 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"
11364 if test "$host_cpu" = ia64
; then
11365 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11366 allow_undefined_flag_CXX
="-z nodefs"
11367 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"
11369 # Determine the default libpath from the value encoded in an empty executable.
11370 cat >conftest.
$ac_ext <<_ACEOF
11373 cat confdefs.h
>>conftest.
$ac_ext
11374 cat >>conftest.
$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11385 rm -f conftest.
$ac_objext conftest
$ac_exeext
11386 if { (ac_try
="$ac_link"
11387 case "(($ac_try" in
11388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11389 *) ac_try_echo=$ac_try;;
11391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11392 (eval "$ac_link") 2>conftest.er1
11394 grep -v '^ *+' conftest.er1 >conftest.err
11396 cat conftest.err >&5
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } && {
11399 test -z "$ac_cxx_werror_flag" ||
11400 test ! -s conftest.err
11401 } && test -s conftest$ac_exeext &&
11402 $as_test_x conftest$ac_exeext; then
11404 lt_aix_libpath_sed='
11405 /Import File Strings/,/^$/ {
11411 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11412 # Check for a 64-bit object if we didn't find anything.
11413 if test -z "$aix_libpath"; then
11414 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11417 echo "$as_me: failed program was:" >&5
11418 sed 's/^/| /' conftest.$ac_ext >&5
11423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11424 conftest$ac_exeext conftest.$ac_ext
11425 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11427 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11428 # Warning - without using the other run time loading flags,
11429 # -berok will link without error, but may produce a broken library.
11430 no_undefined_flag_CXX=' ${wl}-bernotok'
11431 allow_undefined_flag_CXX=' ${wl}-berok'
11432 # Exported symbols can be pulled into shared objects from archives
11433 whole_archive_flag_spec_CXX='$convenience'
11434 archive_cmds_need_lc_CXX=yes
11435 # This is similar to how AIX traditionally builds its shared libraries.
11436 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'
11442 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11443 allow_undefined_flag_CXX=unsupported
11444 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11445 # support --undefined. This deserves some investigation. FIXME
11446 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11453 case $cc_basename in
11455 # FIXME: insert proper C++ library support
11461 cygwin* | mingw* | pw32*)
11462 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11463 # as there is no search path for DLLs.
11464 hardcode_libdir_flag_spec_CXX='-L$libdir'
11465 allow_undefined_flag_CXX=unsupported
11466 always_export_symbols_CXX=no
11467 enable_shared_with_static_runtimes_CXX=yes
11469 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11470 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'
11471 # If the export-symbols file already is a .def file (1st line
11472 # is EXPORTS), use it as is; otherwise, prepend...
11473 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11474 cp $export_symbols $output_objdir/$soname.def;
11476 echo EXPORTS > $output_objdir/$soname.def;
11477 cat $export_symbols >> $output_objdir/$soname.def;
11479 $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'
11484 darwin* | rhapsody*)
11485 archive_cmds_need_lc_CXX=no
11486 hardcode_direct_CXX=no
11487 hardcode_automatic_CXX=yes
11488 hardcode_shlibpath_var_CXX=unsupported
11489 whole_archive_flag_spec_CXX=''
11490 link_all_deplibs_CXX=yes
11491 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11492 if test "$GXX" = yes ; then
11493 output_verbose_link_cmd='echo'
11494 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11495 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11496 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11497 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11498 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11499 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11500 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11503 case $cc_basename in
11505 output_verbose_link_cmd='echo'
11506 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'
11507 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11508 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11509 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}'
11510 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}'
11520 case $cc_basename in
11522 # FIXME: insert proper C++ library support
11526 # Green Hills C++ Compiler
11527 # FIXME: insert proper C++ library support
11531 # FIXME: insert proper C++ library support
11537 # C++ shared libraries reported to be fairly broken before switch to ELF
11541 archive_cmds_need_lc_CXX=no
11543 freebsd* | dragonfly*)
11544 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11551 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11552 hardcode_libdir_separator_CXX=:
11553 export_dynamic_flag_spec_CXX='${wl}-E'
11554 hardcode_direct_CXX=yes
11555 hardcode_minus_L_CXX=yes # Not in the search PATH,
11556 # but as the default
11557 # location of the library.
11559 case $cc_basename in
11561 # FIXME: insert proper C++ library support
11565 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'
11566 # Commands to make compiler produce verbose output that lists
11567 # what "hidden" libraries, object files and flags are used when
11568 # linking a shared library.
11570 # There doesn't appear to be a way to prevent this compiler from
11571 # explicitly linking system object files so we need to strip them
11572 # from the output so that they don't get included in the library
11574 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'
11577 if test "$GXX" = yes; then
11578 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'
11580 # FIXME: insert proper C++ library support
11587 if test $with_gnu_ld = no; then
11588 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11589 hardcode_libdir_separator_CXX=:
11594 export_dynamic_flag_spec_CXX='${wl}-E'
11600 hardcode_direct_CXX=no
11601 hardcode_shlibpath_var_CXX=no
11604 hardcode_direct_CXX=yes
11605 hardcode_minus_L_CXX=yes # Not in the search PATH,
11606 # but as the default
11607 # location of the library.
11611 case $cc_basename in
11613 # FIXME: insert proper C++ library support
11619 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11622 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11628 # Commands to make compiler produce verbose output that lists
11629 # what "hidden" libraries, object files and flags are used when
11630 # linking a shared library.
11632 # There doesn't appear to be a way to prevent this compiler from
11633 # explicitly linking system object files so we need to strip them
11634 # from the output so that they don't get included in the library
11636 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'
11639 if test "$GXX" = yes; then
11640 if test $with_gnu_ld = no; then
11643 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11646 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11649 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'
11654 # FIXME: insert proper C++ library support
11661 hardcode_direct_CXX=no
11662 hardcode_shlibpath_var_CXX=no
11663 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11664 export_dynamic_flag_spec_CXX='${wl}-E'
11665 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11666 # Instead, shared libraries are loaded at an image base (0x10000000 by
11667 # default) and relocated if they conflict, which is a slow very memory
11668 # consuming and fragmenting process. To avoid this, we pick a random,
11669 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11670 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11671 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'
11672 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'
11675 case $cc_basename in
11678 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'
11680 # Archives containing C++ object files must be created using
11681 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11682 # necessary to make sure instantiated templates are included
11684 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11687 if test "$GXX" = yes; then
11688 if test "$with_gnu_ld" = no; then
11689 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'
11691 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'
11694 link_all_deplibs_CXX=yes
11697 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11698 hardcode_libdir_separator_CXX=:
11700 linux* | k*bsd*-gnu)
11701 case $cc_basename in
11703 # Kuck and Associates, Inc. (KAI) C++ Compiler
11705 # KCC will only create a shared library if the output file
11706 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11707 # to its proper name (with version) after linking.
11708 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'
11709 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'
11710 # Commands to make compiler produce verbose output that lists
11711 # what "hidden" libraries, object files and flags are used when
11712 # linking a shared library.
11714 # There doesn't appear to be a way to prevent this compiler from
11715 # explicitly linking system object files so we need to strip them
11716 # from the output so that they don't get included in the library
11718 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'
11720 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11721 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11723 # Archives containing C++ object files must be created using
11724 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11725 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11730 # version 8.0 and above of icpc choke on multiply defined symbols
11731 # if we add $predep_objects and $postdep_objects, however 7.1 and
11732 # earlier do not add the objects themselves.
11733 case `$CC -V 2>&1` in
11735 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11736 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'
11738 *) # Version 8.0 or newer
11741 ia64
*) tmp_idyn
=' -i_dynamic';;
11743 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11744 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'
11747 archive_cmds_need_lc_CXX
=no
11748 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11749 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11750 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11753 # Portland Group C++ compiler
11754 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11755 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'
11757 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11758 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11759 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'
11763 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11764 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'
11766 runpath_var
=LD_RUN_PATH
11767 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11768 hardcode_libdir_separator_CXX
=:
11770 # Commands to make compiler produce verbose output that lists
11771 # what "hidden" libraries, object files and flags are used when
11772 # linking a shared library.
11774 # There doesn't appear to be a way to prevent this compiler from
11775 # explicitly linking system object files so we need to strip them
11776 # from the output so that they don't get included in the library
11778 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'
11781 case `$CC -V 2>&1 | sed 5q` in
11784 no_undefined_flag_CXX
=' -zdefs'
11785 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11786 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'
11787 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11788 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'
11790 # Not sure whether something based on
11791 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11793 output_verbose_link_cmd
='echo'
11795 # Archives containing C++ object files must be created using
11796 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11797 # necessary to make sure instantiated templates are included
11799 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11806 # FIXME: insert proper C++ library support
11810 # FIXME: insert proper C++ library support
11814 case $cc_basename in
11816 # FIXME: insert proper C++ library support
11820 # FIXME: insert proper C++ library support
11826 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11827 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11829 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11830 hardcode_direct_CXX
=yes
11831 hardcode_shlibpath_var_CXX
=no
11833 # Workaround some broken pre-1.5 toolchains
11834 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11837 # C++ shared libraries are fairly broken
11841 if test -f /usr
/libexec
/ld.so
; then
11842 hardcode_direct_CXX
=yes
11843 hardcode_shlibpath_var_CXX
=no
11844 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11845 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11846 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11847 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11848 export_dynamic_flag_spec_CXX
='${wl}-E'
11849 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11851 output_verbose_link_cmd
='echo'
11857 case $cc_basename in
11859 # Kuck and Associates, Inc. (KAI) C++ Compiler
11861 # KCC will only create a shared library if the output file
11862 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11863 # to its proper name (with version) after linking.
11864 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'
11866 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11867 hardcode_libdir_separator_CXX
=:
11869 # Archives containing C++ object files must be created using
11870 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11871 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11875 # Rational C++ 2.4.1
11876 # FIXME: insert proper C++ library support
11880 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11881 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'
11883 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11884 hardcode_libdir_separator_CXX
=:
11886 # Commands to make compiler produce verbose output that lists
11887 # what "hidden" libraries, object files and flags are used when
11888 # linking a shared library.
11890 # There doesn't appear to be a way to prevent this compiler from
11891 # explicitly linking system object files so we need to strip them
11892 # from the output so that they don't get included in the library
11894 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'
11897 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11898 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11899 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'
11901 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX
=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11910 # FIXME: insert proper C++ library support
11917 case $cc_basename in
11919 # Kuck and Associates, Inc. (KAI) C++ Compiler
11921 # KCC will only create a shared library if the output file
11922 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11923 # to its proper name (with version) after linking.
11924 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'
11926 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11927 hardcode_libdir_separator_CXX
=:
11929 # Archives containing C++ object files must be created using
11930 # the KAI C++ compiler.
11931 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11934 # Rational C++ 2.4.1
11935 # FIXME: insert proper C++ library support
11939 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11940 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'
11941 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11942 echo "-hidden">> $lib.exp~
11943 $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~
11946 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11947 hardcode_libdir_separator_CXX
=:
11949 # Commands to make compiler produce verbose output that lists
11950 # what "hidden" libraries, object files and flags are used when
11951 # linking a shared library.
11953 # There doesn't appear to be a way to prevent this compiler from
11954 # explicitly linking system object files so we need to strip them
11955 # from the output so that they don't get included in the library
11957 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'
11960 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11961 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11962 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'
11964 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11965 hardcode_libdir_separator_CXX
=:
11967 # Commands to make compiler produce verbose output that lists
11968 # what "hidden" libraries, object files and flags are used when
11969 # linking a shared library.
11970 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11973 # FIXME: insert proper C++ library support
11980 # FIXME: insert proper C++ library support
11984 case $cc_basename in
11987 # FIXME: insert proper C++ library support
11992 # FIXME: insert proper C++ library support
11996 # FIXME: insert proper C++ library support
12002 case $cc_basename in
12004 # Sun C++ 4.2, 5.x and Centerline C++
12005 archive_cmds_need_lc_CXX
=yes
12006 no_undefined_flag_CXX
=' -zdefs'
12007 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12008 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12009 $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'
12011 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12012 hardcode_shlibpath_var_CXX
=no
12014 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12016 # The compiler driver will combine and reorder linker options,
12017 # but understands `-z linker_flag'.
12018 # Supported since Solaris 2.6 (maybe 2.5.1?)
12019 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12022 link_all_deplibs_CXX
=yes
12024 output_verbose_link_cmd
='echo'
12026 # Archives containing C++ object files must be created using
12027 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12028 # necessary to make sure instantiated templates are included
12030 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12033 # Green Hills C++ Compiler
12034 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12036 # The C++ compiler must be used to create the archive.
12037 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12040 # GNU C++ compiler with Solaris linker
12041 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12042 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12043 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12044 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12045 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12046 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12048 # Commands to make compiler produce verbose output that lists
12049 # what "hidden" libraries, object files and flags are used when
12050 # linking a shared library.
12051 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12053 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12055 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12056 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12057 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12059 # Commands to make compiler produce verbose output that lists
12060 # what "hidden" libraries, object files and flags are used when
12061 # linking a shared library.
12062 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12065 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12067 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12069 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12076 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12077 no_undefined_flag_CXX
='${wl}-z,text'
12078 archive_cmds_need_lc_CXX
=no
12079 hardcode_shlibpath_var_CXX
=no
12080 runpath_var
='LD_RUN_PATH'
12082 case $cc_basename in
12084 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12088 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12089 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12093 sysv5
* | sco3.2v5
* | sco5v6
*)
12094 # Note: We can NOT use -z defs as we might desire, because we do not
12095 # link with -lc, and that would cause any symbols used from libc to
12096 # always be unresolved, which means just about no library would
12097 # ever link correctly. If we're not using GNU ld we use -z text
12098 # though, which does catch some bad symbols but isn't as heavy-handed
12100 # For security reasons, it is highly recommended that you always
12101 # use absolute paths for naming shared libraries, and exclude the
12102 # DT_RUNPATH tag from executables and libraries. But doing so
12103 # requires that you compile everything twice, which is a pain.
12104 # So that behaviour is only enabled if SCOABSPATH is set to a
12105 # non-empty value in the environment. Most likely only useful for
12106 # creating official distributions of packages.
12107 # This is a hack until libtool officially supports absolute path
12108 # names for shared libraries.
12109 no_undefined_flag_CXX
='${wl}-z,text'
12110 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12111 archive_cmds_need_lc_CXX
=no
12112 hardcode_shlibpath_var_CXX
=no
12113 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12114 hardcode_libdir_separator_CXX
=':'
12115 link_all_deplibs_CXX
=yes
12116 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12117 runpath_var
='LD_RUN_PATH'
12119 case $cc_basename in
12121 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12122 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12125 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12126 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12131 case $cc_basename in
12133 # NonStop-UX NCC 3.20
12134 # FIXME: insert proper C++ library support
12138 # FIXME: insert proper C++ library support
12144 # FIXME: insert proper C++ library support
12148 # FIXME: insert proper C++ library support
12152 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12153 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12154 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12159 cat > conftest.
$ac_ext <<EOF
12163 Foo (void) { a = 0; }
12169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12170 (eval $ac_compile) 2>&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); }; then
12174 # Parse the compiler output and extract the necessary
12175 # objects, libraries and library flags.
12177 # Sentinel used to keep track of whether or not we are before
12178 # the conftest object file.
12179 pre_test_object_deps_done
=no
12181 # The `*' in the case matches for architectures that use `case' in
12182 # $output_verbose_cmd can trigger glob expansion during the loop
12183 # eval without this substitution.
12184 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12186 for p
in `eval $output_verbose_link_cmd`; do
12190 # Some compilers place space between "-{L,R}" and the path.
12191 # Remove the space.
12192 if test $p = "-L" \
12193 ||
test $p = "-R"; then
12200 if test "$pre_test_object_deps_done" = no
; then
12203 # Internal compiler library paths should come after those
12204 # provided the user. The postdeps already come after the
12205 # user supplied libs so there is no need to process them.
12206 if test -z "$compiler_lib_search_path_CXX"; then
12207 compiler_lib_search_path_CXX
="${prev}${p}"
12209 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12212 # The "-l" case would never come before the object being
12213 # linked, so don't bother handling this case.
12216 if test -z "$postdeps_CXX"; then
12217 postdeps_CXX
="${prev}${p}"
12219 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12225 # This assumes that the test object file only shows up
12226 # once in the compiler output.
12227 if test "$p" = "conftest.$objext"; then
12228 pre_test_object_deps_done
=yes
12232 if test "$pre_test_object_deps_done" = no
; then
12233 if test -z "$predep_objects_CXX"; then
12234 predep_objects_CXX
="$p"
12236 predep_objects_CXX
="$predep_objects_CXX $p"
12239 if test -z "$postdep_objects_CXX"; then
12240 postdep_objects_CXX
="$p"
12242 postdep_objects_CXX
="$postdep_objects_CXX $p"
12247 *) ;; # Ignore the rest.
12255 echo "libtool.m4: error: problem compiling CXX test program"
12258 $rm -f confest.
$objext
12260 compiler_lib_search_dirs_CXX
=
12261 if test -n "$compiler_lib_search_path_CXX"; then
12262 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12265 # PORTME: override above test on systems where it is broken
12268 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12269 # hack all around it, let's just trust "g++" to DTRT.
12270 predep_objects_CXX
=
12271 postdep_objects_CXX
=
12276 case `$CC -V 2>&1 | sed 5q` in
12280 # The more standards-conforming stlport4 library is
12281 # incompatible with the Cstd library. Avoid specifying
12282 # it if it's in CXXFLAGS. Ignore libCrun as
12283 # -library=stlport4 depends on it.
12284 case " $CXX $CXXFLAGS " in
12285 *" -library=stlport4 "*)
12286 solaris_use_stlport4
=yes
12289 if test "$solaris_use_stlport4" != yes; then
12290 postdeps_CXX
='-library=Cstd -library=Crun'
12297 case $cc_basename in
12299 # The more standards-conforming stlport4 library is
12300 # incompatible with the Cstd library. Avoid specifying
12301 # it if it's in CXXFLAGS. Ignore libCrun as
12302 # -library=stlport4 depends on it.
12303 case " $CXX $CXXFLAGS " in
12304 *" -library=stlport4 "*)
12305 solaris_use_stlport4
=yes
12309 # Adding this requires a known-good setup of shared libraries for
12310 # Sun compiler versions before 5.6, else PIC objects from an old
12311 # archive will be linked into the output, leading to subtle bugs.
12312 if test "$solaris_use_stlport4" != yes; then
12313 postdeps_CXX
='-library=Cstd -library=Crun'
12320 case " $postdeps_CXX " in
12321 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12324 lt_prog_compiler_wl_CXX
=
12325 lt_prog_compiler_pic_CXX
=
12326 lt_prog_compiler_static_CXX
=
12328 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12329 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12331 # C++ specific cases for pic, static, wl, etc.
12332 if test "$GXX" = yes; then
12333 lt_prog_compiler_wl_CXX
='-Wl,'
12334 lt_prog_compiler_static_CXX
='-static'
12338 # All AIX code is PIC.
12339 if test "$host_cpu" = ia64
; then
12340 # AIX 5 now supports IA64 processor
12341 lt_prog_compiler_static_CXX
='-Bstatic'
12345 # FIXME: we need at least 68020 code to build shared libraries, but
12346 # adding the `-m68020' flag to GCC prevents building anything better,
12348 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12350 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12351 # PIC is the default for these OSes.
12353 mingw
* | cygwin
* | os2
* | pw32
*)
12354 # This hack is so that the source file can tell whether it is being
12355 # built for inclusion in a dll (and should export symbols for example).
12356 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12357 # (--disable-auto-import) libraries
12358 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12360 darwin
* | rhapsody
*)
12361 # PIC is the default on this platform
12362 # Common symbols not allowed in MH_DYLIB files
12363 lt_prog_compiler_pic_CXX
='-fno-common'
12366 # DJGPP does not support shared libraries at all
12367 lt_prog_compiler_pic_CXX
=
12370 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12371 # Instead, we relocate shared libraries at runtime.
12374 if test -d /usr
/nec
; then
12375 lt_prog_compiler_pic_CXX
=-Kconform_pic
12379 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12380 # not for PA HP-UX.
12385 lt_prog_compiler_pic_CXX
='-fPIC'
12390 lt_prog_compiler_pic_CXX
='-fPIC'
12396 # All AIX code is PIC.
12397 if test "$host_cpu" = ia64
; then
12398 # AIX 5 now supports IA64 processor
12399 lt_prog_compiler_static_CXX
='-Bstatic'
12401 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12405 case $cc_basename in
12407 # Green Hills C++ Compiler
12408 # _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"
12413 # PIC is the default on this platform
12414 # Common symbols not allowed in MH_DYLIB files
12415 case $cc_basename in
12417 lt_prog_compiler_pic_CXX
='-qnocommon'
12418 lt_prog_compiler_wl_CXX
='-Wl,'
12423 case $cc_basename in
12425 lt_prog_compiler_pic_CXX
='-KPIC'
12428 # Green Hills C++ Compiler
12429 lt_prog_compiler_pic_CXX
='-pic'
12435 freebsd
* | dragonfly
*)
12436 # FreeBSD uses GNU C++
12438 hpux9
* | hpux10
* | hpux11
*)
12439 case $cc_basename in
12441 lt_prog_compiler_wl_CXX
='-Wl,'
12442 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12443 if test "$host_cpu" != ia64
; then
12444 lt_prog_compiler_pic_CXX
='+Z'
12448 lt_prog_compiler_wl_CXX
='-Wl,'
12449 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12455 lt_prog_compiler_pic_CXX
='+Z'
12464 # This is c89, which is MS Visual C++ (no shared libs)
12465 # Anyone wants to do a port?
12467 irix5
* | irix6
* | nonstopux
*)
12468 case $cc_basename in
12470 lt_prog_compiler_wl_CXX
='-Wl,'
12471 lt_prog_compiler_static_CXX
='-non_shared'
12472 # CC pic flag -KPIC is the default.
12478 linux
* | k
*bsd
*-gnu)
12479 case $cc_basename in
12482 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12483 lt_prog_compiler_pic_CXX
='-fPIC'
12487 lt_prog_compiler_wl_CXX
='-Wl,'
12488 lt_prog_compiler_pic_CXX
='-KPIC'
12489 lt_prog_compiler_static_CXX
='-static'
12492 # Portland Group C++ compiler.
12493 lt_prog_compiler_wl_CXX
='-Wl,'
12494 lt_prog_compiler_pic_CXX
='-fpic'
12495 lt_prog_compiler_static_CXX
='-Bstatic'
12499 # Make sure the PIC flag is empty. It appears that all Alpha
12500 # Linux and Compaq Tru64 Unix objects are PIC.
12501 lt_prog_compiler_pic_CXX
=
12502 lt_prog_compiler_static_CXX
='-non_shared'
12505 case `$CC -V 2>&1 | sed 5q` in
12508 lt_prog_compiler_pic_CXX
='-KPIC'
12509 lt_prog_compiler_static_CXX
='-Bstatic'
12510 lt_prog_compiler_wl_CXX
='-Qoption ld '
12521 case $cc_basename in
12523 lt_prog_compiler_pic_CXX
='-W c,exportall'
12531 osf3
* | osf4
* | osf5
*)
12532 case $cc_basename in
12534 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12537 # Rational C++ 2.4.1
12538 lt_prog_compiler_pic_CXX
='-pic'
12541 # Digital/Compaq C++
12542 lt_prog_compiler_wl_CXX
='-Wl,'
12543 # Make sure the PIC flag is empty. It appears that all Alpha
12544 # Linux and Compaq Tru64 Unix objects are PIC.
12545 lt_prog_compiler_pic_CXX
=
12546 lt_prog_compiler_static_CXX
='-non_shared'
12555 case $cc_basename in
12557 # Sun C++ 4.2, 5.x and Centerline C++
12558 lt_prog_compiler_pic_CXX
='-KPIC'
12559 lt_prog_compiler_static_CXX
='-Bstatic'
12560 lt_prog_compiler_wl_CXX
='-Qoption ld '
12563 # Green Hills C++ Compiler
12564 lt_prog_compiler_pic_CXX
='-PIC'
12571 case $cc_basename in
12574 lt_prog_compiler_pic_CXX
='-pic'
12575 lt_prog_compiler_static_CXX
='-Bstatic'
12579 lt_prog_compiler_pic_CXX
='-pic'
12586 case $cc_basename in
12588 # NonStop-UX NCC 3.20
12589 lt_prog_compiler_pic_CXX
='-KPIC'
12595 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12596 case $cc_basename in
12598 lt_prog_compiler_wl_CXX
='-Wl,'
12599 lt_prog_compiler_pic_CXX
='-KPIC'
12600 lt_prog_compiler_static_CXX
='-Bstatic'
12607 lt_prog_compiler_can_build_shared_CXX
=no
12612 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12613 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12616 # Check to make sure the PIC flag actually works.
12618 if test -n "$lt_prog_compiler_pic_CXX"; then
12620 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12621 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12622 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 lt_cv_prog_compiler_pic_works_CXX
=no
12626 ac_outfile
=conftest.
$ac_objext
12627 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12628 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12629 # Insert the option either (1) after the last *FLAGS variable, or
12630 # (2) before a word containing "conftest.", or (3) at the end.
12631 # Note that $ac_compile itself does not contain backslashes and begins
12632 # with a dollar sign (not a hyphen), so the echo should work correctly.
12633 # The option is referenced via a variable to avoid confusing sed.
12634 lt_compile
=`echo "$ac_compile" | $SED \
12635 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12636 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12637 -e 's:$: $lt_compiler_flag:'`
12638 (eval echo "\"\$as_me:12638: $lt_compile\"" >&5)
12639 (eval "$lt_compile" 2>conftest.err
)
12641 cat conftest.err
>&5
12642 echo "$as_me:12642: \$? = $ac_status" >&5
12643 if (exit $ac_status) && test -s "$ac_outfile"; then
12644 # The compiler can only warn and ignore the option if not recognized
12645 # So say no if there are warnings other than the usual output.
12646 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12647 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12648 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12649 lt_cv_prog_compiler_pic_works_CXX
=yes
12655 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12656 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12658 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12659 case $lt_prog_compiler_pic_CXX in
12661 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12664 lt_prog_compiler_pic_CXX
=
12665 lt_prog_compiler_can_build_shared_CXX
=no
12670 # For platforms which do not support PIC, -DPIC is meaningless:
12672 lt_prog_compiler_pic_CXX
=
12675 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12680 # Check to make sure the static flag actually works.
12682 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12683 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12684 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12685 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12686 echo $ECHO_N "(cached) $ECHO_C" >&6
12688 lt_cv_prog_compiler_static_works_CXX
=no
12689 save_LDFLAGS
="$LDFLAGS"
12690 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12691 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12692 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12693 # The linker can only warn and ignore the option if not recognized
12694 # So say no if there are warnings
12695 if test -s conftest.err
; then
12696 # Append any errors to the config.log.
12697 cat conftest.err
1>&5
12698 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12699 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12700 if diff conftest.exp conftest.er2
>/dev
/null
; then
12701 lt_cv_prog_compiler_static_works_CXX
=yes
12704 lt_cv_prog_compiler_static_works_CXX
=yes
12708 LDFLAGS
="$save_LDFLAGS"
12711 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12712 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12714 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12717 lt_prog_compiler_static_CXX
=
12721 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12722 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12723 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 lt_cv_prog_compiler_c_o_CXX
=no
12727 $rm -r conftest
2>/dev
/null
12731 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12733 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12734 # Insert the option either (1) after the last *FLAGS variable, or
12735 # (2) before a word containing "conftest.", or (3) at the end.
12736 # Note that $ac_compile itself does not contain backslashes and begins
12737 # with a dollar sign (not a hyphen), so the echo should work correctly.
12738 lt_compile
=`echo "$ac_compile" | $SED \
12739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12741 -e 's:$: $lt_compiler_flag:'`
12742 (eval echo "\"\$as_me:12742: $lt_compile\"" >&5)
12743 (eval "$lt_compile" 2>out
/conftest.err
)
12745 cat out
/conftest.err
>&5
12746 echo "$as_me:12746: \$? = $ac_status" >&5
12747 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12749 # The compiler can only warn and ignore the option if not recognized
12750 # So say no if there are warnings
12751 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12752 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12753 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12754 lt_cv_prog_compiler_c_o_CXX
=yes
12759 # SGI C++ compiler will create directory out/ii_files/ for
12760 # template instantiation
12761 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12762 $rm out
/* && rmdir out
12768 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12769 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12772 hard_links
="nottested"
12773 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12774 # do not overwrite the value of need_locks provided by the user
12775 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12776 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12779 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12781 ln conftest.a conftest.b
2>&5 || hard_links
=no
12782 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12783 { echo "$as_me:$LINENO: result: $hard_links" >&5
12784 echo "${ECHO_T}$hard_links" >&6; }
12785 if test "$hard_links" = no
; then
12786 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12787 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12794 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12795 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12797 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12800 # If we're using GNU nm, then we don't want the "-C" option.
12801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12802 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12803 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'
12805 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'
12809 export_symbols_cmds_CXX
="$ltdll_cmds"
12812 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'
12815 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12818 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12820 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12821 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12822 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12825 # Do we need to explicitly link libc?
12827 case "x$archive_cmds_need_lc_CXX" in
12829 # Assume -lc should be added
12830 archive_cmds_need_lc_CXX
=yes
12832 if test "$enable_shared" = yes && test "$GCC" = yes; then
12833 case $archive_cmds_CXX in
12835 # FIXME: we may have to deal with multi-command sequences.
12838 # Test whether the compiler implicitly links with -lc since on some
12839 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12840 # to ld, don't add -lc before -lgcc.
12841 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12842 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12844 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12847 (eval $ac_compile) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); } 2>conftest.err
; then
12853 libobjs
=conftest.
$ac_objext
12855 wl
=$lt_prog_compiler_wl_CXX
12856 pic_flag
=$lt_prog_compiler_pic_CXX
12862 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12863 allow_undefined_flag_CXX
=
12864 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12865 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }
12870 archive_cmds_need_lc_CXX
=no
12872 archive_cmds_need_lc_CXX
=yes
12874 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12876 cat conftest.err
1>&5
12879 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12880 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12887 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12888 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12889 library_names_spec
=
12890 libname_spec
='lib$name'
12894 postuninstall_cmds
=
12898 shlibpath_overrides_runpath
=unknown
12900 dynamic_linker
="$host_os ld.so"
12901 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12903 need_lib_prefix
=unknown
12904 hardcode_into_libs
=no
12906 # when you set need_version to no, make sure it does not cause -set_version
12907 # flags to be left without arguments
12908 need_version
=unknown
12913 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12914 shlibpath_var
=LIBPATH
12916 # AIX 3 has no versioning support, so we append a major version to the name.
12917 soname_spec
='${libname}${release}${shared_ext}$major'
12924 hardcode_into_libs
=yes
12925 if test "$host_cpu" = ia64
; then
12926 # AIX 5 supports IA64
12927 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12928 shlibpath_var
=LD_LIBRARY_PATH
12930 # With GCC up to 2.95.x, collect2 would create an import file
12931 # for dependence libraries. The import file would start with
12932 # the line `#! .'. This would cause the generated library to
12933 # depend on `.', always an invalid library. This was fixed in
12934 # development snapshots of GCC prior to 3.0.
12936 aix4 | aix4.
[01] | aix4.
[01].
*)
12937 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12939 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12942 can_build_shared
=no
12946 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12947 # soname into executable. Probably we can add versioning support to
12948 # collect2, so additional links can be useful in future.
12949 if test "$aix_use_runtimelinking" = yes; then
12950 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12951 # instead of lib<name>.a to let people know that these are not
12952 # typical AIX shared libraries.
12953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12955 # We preserve .a as extension for shared libraries through AIX4.2
12956 # and later when we are not doing run time linking.
12957 library_names_spec
='${libname}${release}.a $libname.a'
12958 soname_spec
='${libname}${release}${shared_ext}$major'
12960 shlibpath_var
=LIBPATH
12965 library_names_spec
='$libname.ixlibrary $libname.a'
12966 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12967 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'
12971 library_names_spec
='${libname}${shared_ext}'
12972 dynamic_linker
="$host_os ld.so"
12973 shlibpath_var
=LIBRARY_PATH
12979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12980 soname_spec
='${libname}${release}${shared_ext}$major'
12981 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12982 shlibpath_var
=LD_LIBRARY_PATH
12983 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12984 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12985 # the default ld.so.conf also contains /usr/contrib/lib and
12986 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12987 # libtool to hard-code these into programs
12990 cygwin
* | mingw
* | pw32
*)
12991 version_type
=windows
12996 case $GCC,$host_os in
12997 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12998 library_names_spec
='$libname.dll.a'
12999 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13000 postinstall_cmds
='base_file=`basename \${file}`~
13001 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13002 dldir=$destdir/`dirname \$dlpath`~
13003 test -d \$dldir || mkdir -p \$dldir~
13004 $install_prog $dir/$dlname \$dldir/$dlname~
13005 chmod a+x \$dldir/$dlname'
13006 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13007 dlpath=$dir/\$dldll~
13009 shlibpath_overrides_runpath
=yes
13013 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13014 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13015 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13018 # MinGW DLLs use traditional 'lib' prefix
13019 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13020 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13021 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13022 # It is most probably a Windows format PATH printed by
13023 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13024 # path with ; separators, and with drive letters. We can handle the
13025 # drive letters (cygwin fileutils understands them), so leave them,
13026 # especially as we might pass files found there to a mingw objdump,
13027 # which wouldn't understand a cygwinified path. Ahh.
13028 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13030 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13034 # pw32 DLLs use 'pw' prefix rather than 'lib'
13035 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13041 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13044 dynamic_linker
='Win32 ld.exe'
13045 # FIXME: first we should search . and the directory the executable is in
13049 darwin
* | rhapsody
*)
13050 dynamic_linker
="$host_os dyld"
13051 version_type
=darwin
13054 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13055 soname_spec
='${libname}${release}${major}$shared_ext'
13056 shlibpath_overrides_runpath
=yes
13057 shlibpath_var
=DYLD_LIBRARY_PATH
13058 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13060 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13068 soname_spec
='${libname}${release}${shared_ext}$major'
13069 shlibpath_var
=LD_LIBRARY_PATH
13076 freebsd
* | dragonfly
*)
13077 # DragonFly does not have aout. When/if they implement a new
13078 # versioning mechanism, adjust this.
13079 if test -x /usr
/bin
/objformat
; then
13080 objformat
=`/usr/bin/objformat`
13083 freebsd
[123]*) objformat
=aout
;;
13084 *) objformat
=elf
;;
13087 version_type
=freebsd-
$objformat
13088 case $version_type in
13090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13095 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13099 shlibpath_var
=LD_LIBRARY_PATH
13102 shlibpath_overrides_runpath
=yes
13104 freebsd3.
[01]* | freebsdelf3.
[01]*)
13105 shlibpath_overrides_runpath
=yes
13106 hardcode_into_libs
=yes
13108 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13109 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13110 shlibpath_overrides_runpath
=no
13111 hardcode_into_libs
=yes
13113 *) # from 4.6 on, and DragonFly
13114 shlibpath_overrides_runpath
=yes
13115 hardcode_into_libs
=yes
13124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13125 soname_spec
='${libname}${release}${shared_ext}$major'
13126 shlibpath_var
=LD_LIBRARY_PATH
13127 hardcode_into_libs
=yes
13130 hpux9
* | hpux10
* | hpux11
*)
13131 # Give a soname corresponding to the major version so that dld.sl refuses to
13132 # link against other versions.
13139 hardcode_into_libs
=yes
13140 dynamic_linker
="$host_os dld.so"
13141 shlibpath_var
=LD_LIBRARY_PATH
13142 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
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 if test "X$HPUX_IA64_MODE" = X32
; then
13146 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13148 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13150 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13154 hardcode_into_libs
=yes
13155 dynamic_linker
="$host_os dld.sl"
13156 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13157 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13159 soname_spec
='${libname}${release}${shared_ext}$major'
13160 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13161 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13165 dynamic_linker
="$host_os dld.sl"
13166 shlibpath_var
=SHLIB_PATH
13167 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13169 soname_spec
='${libname}${release}${shared_ext}$major'
13172 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13173 postinstall_cmds
='chmod 555 $lib'
13180 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13181 soname_spec
='${libname}${release}${shared_ext}$major'
13182 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13183 shlibpath_var
=LD_LIBRARY_PATH
13184 shlibpath_overrides_runpath
=no
13185 hardcode_into_libs
=yes
13188 irix5
* | irix6
* | nonstopux
*)
13190 nonstopux
*) version_type
=nonstopux
;;
13192 if test "$lt_cv_prog_gnu_ld" = yes; then
13200 soname_spec
='${libname}${release}${shared_ext}$major'
13201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13203 irix5
* | nonstopux
*)
13204 libsuff
= shlibsuff
=
13207 case $LD in # libtool.m4 will add one of these switches to LD
13208 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13209 libsuff
= shlibsuff
= libmagic
=32-bit;;
13210 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13211 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13212 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13213 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13214 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13218 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13219 shlibpath_overrides_runpath
=no
13220 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13221 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13222 hardcode_into_libs
=yes
13225 # No shared lib support for Linux oldld, aout, or coff.
13226 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13230 # This must be Linux ELF.
13231 linux
* | k
*bsd
*-gnu)
13235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 soname_spec
='${libname}${release}${shared_ext}$major'
13237 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13238 shlibpath_var
=LD_LIBRARY_PATH
13239 shlibpath_overrides_runpath
=no
13240 # This implies no fast_install, which is unacceptable.
13241 # Some rework will be needed to allow for fast_install
13242 # before this can be enabled.
13243 hardcode_into_libs
=yes
13245 # Append ld.so.conf contents to the search path
13246 if test -f /etc
/ld.so.conf
; then
13247 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' ' '`
13248 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13251 # We used to test for /lib/ld.so.1 and disable shared libraries on
13252 # powerpc, because MkLinux only supported shared libraries with the
13253 # GNU dynamic linker. Since this was broken with cross compilers,
13254 # most powerpc-linux boxes support dynamic linking these days and
13255 # people can always --disable-shared, the test was removed, and we
13256 # assume the GNU/Linux dynamic linker is in use.
13257 dynamic_linker
='GNU/Linux ld.so'
13264 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13266 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13267 dynamic_linker
='NetBSD (a.out) ld.so'
13269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13270 soname_spec
='${libname}${release}${shared_ext}$major'
13271 dynamic_linker
='NetBSD ld.elf_so'
13273 shlibpath_var
=LD_LIBRARY_PATH
13274 shlibpath_overrides_runpath
=yes
13275 hardcode_into_libs
=yes
13280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13281 shlibpath_var
=LD_LIBRARY_PATH
13282 shlibpath_overrides_runpath
=yes
13289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13290 soname_spec
='${libname}${release}${shared_ext}$major'
13291 shlibpath_var
=LD_LIBRARY_PATH
13292 shlibpath_overrides_runpath
=yes
13297 sys_lib_dlsearch_path_spec
="/usr/lib"
13299 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13301 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13302 *) need_version
=no
;;
13304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13305 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13306 shlibpath_var
=LD_LIBRARY_PATH
13307 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13309 openbsd2.
[89] | openbsd2.
[89].
*)
13310 shlibpath_overrides_runpath
=no
13313 shlibpath_overrides_runpath
=yes
13317 shlibpath_overrides_runpath
=yes
13322 libname_spec
='$name'
13325 library_names_spec
='$libname${shared_ext} $libname.a'
13326 dynamic_linker
='OS/2 ld.exe'
13327 shlibpath_var
=LIBPATH
13330 osf3
* | osf4
* | osf5
*)
13334 soname_spec
='${libname}${release}${shared_ext}$major'
13335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13336 shlibpath_var
=LD_LIBRARY_PATH
13337 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13338 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13350 soname_spec
='${libname}${release}${shared_ext}$major'
13351 shlibpath_var
=LD_LIBRARY_PATH
13352 shlibpath_overrides_runpath
=yes
13353 hardcode_into_libs
=yes
13354 # ldd complains unless libraries are executable
13355 postinstall_cmds
='chmod +x $lib'
13360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13361 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13362 shlibpath_var
=LD_LIBRARY_PATH
13363 shlibpath_overrides_runpath
=yes
13364 if test "$with_gnu_ld" = yes; then
13372 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13373 soname_spec
='${libname}${release}${shared_ext}$major'
13374 shlibpath_var
=LD_LIBRARY_PATH
13375 case $host_vendor in
13377 shlibpath_overrides_runpath
=no
13379 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13380 runpath_var
=LD_RUN_PATH
13388 shlibpath_overrides_runpath
=no
13389 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13395 if test -d /usr
/nec
;then
13397 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13398 soname_spec
='$libname${shared_ext}.$major'
13399 shlibpath_var
=LD_LIBRARY_PATH
13403 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13404 version_type
=freebsd-elf
13407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13408 soname_spec
='${libname}${release}${shared_ext}$major'
13409 shlibpath_var
=LD_LIBRARY_PATH
13410 hardcode_into_libs
=yes
13411 if test "$with_gnu_ld" = yes; then
13412 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13413 shlibpath_overrides_runpath
=no
13415 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13416 shlibpath_overrides_runpath
=yes
13419 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13423 sys_lib_dlsearch_path_spec
='/usr/lib'
13428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13429 soname_spec
='${libname}${release}${shared_ext}$major'
13430 shlibpath_var
=LD_LIBRARY_PATH
13437 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13438 echo "${ECHO_T}$dynamic_linker" >&6; }
13439 test "$dynamic_linker" = no
&& can_build_shared
=no
13441 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13442 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13447 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13448 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13454 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13456 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13457 if test "$GCC" = yes; then
13458 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13461 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13462 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13463 hardcode_action_CXX
=
13464 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13465 test -n "$runpath_var_CXX" || \
13466 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13468 # We can hardcode non-existant directories.
13469 if test "$hardcode_direct_CXX" != no
&&
13470 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13471 # have to relink, otherwise we might link with an installed library
13472 # when we should be linking with a yet-to-be-installed one
13473 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13474 test "$hardcode_minus_L_CXX" != no
; then
13475 # Linking always hardcodes the temporary library directory.
13476 hardcode_action_CXX
=relink
13478 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13479 hardcode_action_CXX
=immediate
13482 # We cannot hardcode anything, or else we can only hardcode existing
13484 hardcode_action_CXX
=unsupported
13486 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13487 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13489 if test "$hardcode_action_CXX" = relink
; then
13490 # Fast installation is not supported
13491 enable_fast_install
=no
13492 elif test "$shlibpath_overrides_runpath" = yes ||
13493 test "$enable_shared" = no
; then
13494 # Fast installation is not necessary
13495 enable_fast_install
=needless
13499 # The else clause should only fire when bootstrapping the
13500 # libtool distribution, otherwise you forgot to ship ltmain.sh
13501 # with your package, and you will get complaints that there are
13502 # no rules to generate ltmain.sh.
13503 if test -f "$ltmain"; then
13504 # See if we are running on zsh, and set the options which allow our commands through
13505 # without removal of \ escapes.
13506 if test -n "${ZSH_VERSION+set}" ; then
13507 setopt NO_GLOB_SUBST
13509 # Now quote all the things that may contain metacharacters while being
13510 # careful not to overquote the AC_SUBSTed values. We take copies of the
13511 # variables and quote the copies for generation of the libtool script.
13512 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13514 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13515 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13516 deplibs_check_method reload_flag reload_cmds need_locks \
13517 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13518 lt_cv_sys_global_symbol_to_c_name_address \
13519 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13520 old_postinstall_cmds old_postuninstall_cmds \
13524 lt_prog_compiler_wl_CXX \
13525 lt_prog_compiler_pic_CXX \
13526 lt_prog_compiler_static_CXX \
13527 lt_prog_compiler_no_builtin_flag_CXX \
13528 export_dynamic_flag_spec_CXX \
13529 thread_safe_flag_spec_CXX \
13530 whole_archive_flag_spec_CXX \
13531 enable_shared_with_static_runtimes_CXX \
13532 old_archive_cmds_CXX \
13533 old_archive_from_new_cmds_CXX \
13534 predep_objects_CXX \
13535 postdep_objects_CXX \
13538 compiler_lib_search_path_CXX \
13539 compiler_lib_search_dirs_CXX \
13541 archive_expsym_cmds_CXX \
13542 postinstall_cmds_CXX \
13543 postuninstall_cmds_CXX \
13544 old_archive_from_expsyms_cmds_CXX \
13545 allow_undefined_flag_CXX \
13546 no_undefined_flag_CXX \
13547 export_symbols_cmds_CXX \
13548 hardcode_libdir_flag_spec_CXX \
13549 hardcode_libdir_flag_spec_ld_CXX \
13550 hardcode_libdir_separator_CXX \
13551 hardcode_automatic_CXX \
13553 module_expsym_cmds_CXX \
13554 lt_cv_prog_compiler_c_o_CXX \
13555 fix_srcfile_path_CXX \
13556 exclude_expsyms_CXX \
13557 include_expsyms_CXX
; do
13560 old_archive_cmds_CXX | \
13561 old_archive_from_new_cmds_CXX | \
13562 archive_cmds_CXX | \
13563 archive_expsym_cmds_CXX | \
13564 module_cmds_CXX | \
13565 module_expsym_cmds_CXX | \
13566 old_archive_from_expsyms_cmds_CXX | \
13567 export_symbols_cmds_CXX | \
13568 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13569 postinstall_cmds | postuninstall_cmds | \
13570 old_postinstall_cmds | old_postuninstall_cmds | \
13571 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13572 # Double-quote double-evaled strings.
13573 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13576 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13582 *'\$0 --fallback-echo"')
13583 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13589 cat <<__EOF__ >> "$cfgfile"
13590 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13592 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13594 # Shell to use when invoking shell scripts.
13597 # Whether or not to build shared libraries.
13598 build_libtool_libs=$enable_shared
13600 # Whether or not to build static libraries.
13601 build_old_libs=$enable_static
13603 # Whether or not to add -lc for building shared libraries.
13604 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13606 # Whether or not to disallow shared libs when runtime libs are static
13607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13609 # Whether or not to optimize for fast installation.
13610 fast_install=$enable_fast_install
13613 host_alias=$host_alias
13617 # The build system.
13618 build_alias=$build_alias
13622 # An echo program that does not interpret backslashes.
13627 AR_FLAGS=$lt_AR_FLAGS
13632 # LTCC compiler flags.
13633 LTCFLAGS=$lt_LTCFLAGS
13635 # A language-specific compiler.
13636 CC=$lt_compiler_CXX
13638 # Is the compiler the GNU C compiler?
13644 # The linker used to build libraries.
13647 # Whether we need hard or soft links.
13650 # A BSD-compatible nm program.
13653 # A symbol stripping program
13656 # Used to examine libraries when file_magic_cmd begins "file"
13657 MAGIC_CMD=$MAGIC_CMD
13659 # Used on cygwin: DLL creation program.
13662 # Used on cygwin: object dumper.
13665 # Used on cygwin: assembler.
13668 # The name of the directory that contains temporary libtool files.
13671 # How to create reloadable object files.
13672 reload_flag=$lt_reload_flag
13673 reload_cmds=$lt_reload_cmds
13675 # How to pass a linker flag through the compiler.
13676 wl=$lt_lt_prog_compiler_wl_CXX
13678 # Object file suffix (normally "o").
13679 objext="$ac_objext"
13681 # Old archive suffix (normally "a").
13684 # Shared library suffix (normally ".so").
13685 shrext_cmds='$shrext_cmds'
13687 # Executable file suffix (normally "").
13690 # Additional compiler flags for building library objects.
13691 pic_flag=$lt_lt_prog_compiler_pic_CXX
13694 # What is the maximum length of a command?
13695 max_cmd_len=$lt_cv_sys_max_cmd_len
13697 # Does compiler simultaneously support -c and -o options?
13698 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13700 # Must we lock files when doing compilation?
13701 need_locks=$lt_need_locks
13703 # Do we need the lib prefix for modules?
13704 need_lib_prefix=$need_lib_prefix
13706 # Do we need a version for libraries?
13707 need_version=$need_version
13709 # Whether dlopen is supported.
13710 dlopen_support=$enable_dlopen
13712 # Whether dlopen of programs is supported.
13713 dlopen_self=$enable_dlopen_self
13715 # Whether dlopen of statically linked programs is supported.
13716 dlopen_self_static=$enable_dlopen_self_static
13718 # Compiler flag to prevent dynamic linking.
13719 link_static_flag=$lt_lt_prog_compiler_static_CXX
13721 # Compiler flag to turn off builtin functions.
13722 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13724 # Compiler flag to allow reflexive dlopens.
13725 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13727 # Compiler flag to generate shared objects directly from archives.
13728 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13730 # Compiler flag to generate thread-safe objects.
13731 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13733 # Library versioning type.
13734 version_type=$version_type
13736 # Format of library name prefix.
13737 libname_spec=$lt_libname_spec
13739 # List of archive names. First name is the real one, the rest are links.
13740 # The last name is the one that the linker finds with -lNAME.
13741 library_names_spec=$lt_library_names_spec
13743 # The coded name of the library, if different from the real name.
13744 soname_spec=$lt_soname_spec
13746 # Commands used to build and install an old-style archive.
13748 old_archive_cmds=$lt_old_archive_cmds_CXX
13749 old_postinstall_cmds=$lt_old_postinstall_cmds
13750 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13752 # Create an old-style archive from a shared archive.
13753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13755 # Create a temporary old-style archive to link instead of a shared archive.
13756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13758 # Commands used to build and install a shared archive.
13759 archive_cmds=$lt_archive_cmds_CXX
13760 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13761 postinstall_cmds=$lt_postinstall_cmds
13762 postuninstall_cmds=$lt_postuninstall_cmds
13764 # Commands used to build a loadable module (assumed same as above if empty)
13765 module_cmds=$lt_module_cmds_CXX
13766 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13768 # Commands to strip libraries.
13769 old_striplib=$lt_old_striplib
13770 striplib=$lt_striplib
13772 # Dependencies to place before the objects being linked to create a
13774 predep_objects=$lt_predep_objects_CXX
13776 # Dependencies to place after the objects being linked to create a
13778 postdep_objects=$lt_postdep_objects_CXX
13780 # Dependencies to place before the objects being linked to create a
13782 predeps=$lt_predeps_CXX
13784 # Dependencies to place after the objects being linked to create a
13786 postdeps=$lt_postdeps_CXX
13788 # The directories searched by this compiler when creating a shared
13790 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13792 # The library search path used internally by the compiler when linking
13793 # a shared library.
13794 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13796 # Method to check whether dependent libraries are shared objects.
13797 deplibs_check_method=$lt_deplibs_check_method
13799 # Command to use when deplibs_check_method == file_magic.
13800 file_magic_cmd=$lt_file_magic_cmd
13802 # Flag that allows shared libraries with undefined symbols to be built.
13803 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13805 # Flag that forces no undefined symbols.
13806 no_undefined_flag=$lt_no_undefined_flag_CXX
13808 # Commands used to finish a libtool library installation in a directory.
13809 finish_cmds=$lt_finish_cmds
13811 # Same as above, but a single script fragment to be evaled but not shown.
13812 finish_eval=$lt_finish_eval
13814 # Take the output of nm and produce a listing of raw symbols and C names.
13815 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13817 # Transform the output of nm in a proper C declaration
13818 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13820 # Transform the output of nm in a C name address pair
13821 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13823 # This is the shared library runtime path variable.
13824 runpath_var=$runpath_var
13826 # This is the shared library path variable.
13827 shlibpath_var=$shlibpath_var
13829 # Is shlibpath searched before the hard-coded library search path?
13830 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13832 # How to hardcode a shared library path into an executable.
13833 hardcode_action=$hardcode_action_CXX
13835 # Whether we should hardcode library paths into libraries.
13836 hardcode_into_libs=$hardcode_into_libs
13838 # Flag to hardcode \$libdir into a binary during linking.
13839 # This must work even if \$libdir does not exist.
13840 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13842 # If ld is used when linking, flag to hardcode \$libdir into
13843 # a binary during linking. This must work even if \$libdir does
13845 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13847 # Whether we need a single -rpath flag with a separated argument.
13848 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13850 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13851 # resulting binary.
13852 hardcode_direct=$hardcode_direct_CXX
13854 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13855 # resulting binary.
13856 hardcode_minus_L=$hardcode_minus_L_CXX
13858 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13859 # the resulting binary.
13860 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13862 # Set to yes if building a shared library automatically hardcodes DIR into the library
13863 # and all subsequent libraries and executables linked against it.
13864 hardcode_automatic=$hardcode_automatic_CXX
13866 # Variables whose values should be saved in libtool wrapper scripts and
13867 # restored at relink time.
13868 variables_saved_for_relink="$variables_saved_for_relink"
13870 # Whether libtool must link a program against all its dependency libraries.
13871 link_all_deplibs=$link_all_deplibs_CXX
13873 # Compile-time system search path for libraries
13874 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13876 # Run-time system search path for libraries
13877 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13879 # Fix the shell variable \$srcfile for the compiler.
13880 fix_srcfile_path=$lt_fix_srcfile_path
13882 # Set to yes if exported symbols are required.
13883 always_export_symbols=$always_export_symbols_CXX
13885 # The commands to list exported symbols.
13886 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13888 # The commands to extract the exported symbol list from a shared archive.
13889 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13891 # Symbols that should not be listed in the preloaded symbols.
13892 exclude_expsyms=$lt_exclude_expsyms_CXX
13894 # Symbols that must always be exported.
13895 include_expsyms=$lt_include_expsyms_CXX
13897 # ### END LIBTOOL TAG CONFIG: $tagname
13903 # If there is no Makefile yet, we rely on a make rule to execute
13904 # `config.status --recheck' to rerun these tests and create the
13905 # libtool script then.
13906 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13907 if test -f "$ltmain_in"; then
13908 test -f Makefile
&& make "$ltmain"
13914 ac_cpp
='$CPP $CPPFLAGS'
13915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13923 with_gnu_ldcxx
=$with_gnu_ld
13924 with_gnu_ld
=$lt_save_with_gnu_ld
13925 lt_cv_path_LDCXX
=$lt_cv_path_LD
13926 lt_cv_path_LD
=$lt_save_path_LD
13927 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13928 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13936 if test -n "$F77" && test "X$F77" != "Xno"; then
13939 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13940 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13944 archive_cmds_need_lc_F77
=no
13945 allow_undefined_flag_F77
=
13946 always_export_symbols_F77
=no
13947 archive_expsym_cmds_F77
=
13948 export_dynamic_flag_spec_F77
=
13949 hardcode_direct_F77
=no
13950 hardcode_libdir_flag_spec_F77
=
13951 hardcode_libdir_flag_spec_ld_F77
=
13952 hardcode_libdir_separator_F77
=
13953 hardcode_minus_L_F77
=no
13954 hardcode_automatic_F77
=no
13956 module_expsym_cmds_F77
=
13957 link_all_deplibs_F77
=unknown
13958 old_archive_cmds_F77
=$old_archive_cmds
13959 no_undefined_flag_F77
=
13960 whole_archive_flag_spec_F77
=
13961 enable_shared_with_static_runtimes_F77
=no
13963 # Source file extension for f77 test sources.
13966 # Object file extension for compiled f77 test sources.
13970 # Code to be used in simple compile tests
13971 lt_simple_compile_test_code
="\
13977 # Code to be used in simple link tests
13978 lt_simple_link_test_code
="\
13983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13985 # If no C compiler was specified, use CC.
13988 # If no C compiler flags were specified, use CFLAGS.
13989 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13991 # Allow CC to be a program name with arguments.
13995 # save warnings/boilerplate of simple test code
13996 ac_outfile
=conftest.
$ac_objext
13997 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13998 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13999 _lt_compiler_boilerplate
=`cat conftest.err`
14002 ac_outfile
=conftest.
$ac_objext
14003 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14004 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14005 _lt_linker_boilerplate
=`cat conftest.err`
14009 # Allow CC to be a program name with arguments.
14014 for cc_temp
in $compiler""; do
14016 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14017 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14022 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14025 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14026 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14027 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14028 echo "${ECHO_T}$can_build_shared" >&6; }
14030 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14031 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14032 test "$can_build_shared" = "no" && enable_shared
=no
14034 # On AIX, shared libraries and static libraries use the same namespace, and
14035 # are all built from PIC.
14038 test "$enable_shared" = yes && enable_static
=no
14039 if test -n "$RANLIB"; then
14040 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14041 postinstall_cmds
='$RANLIB $lib'
14045 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14046 test "$enable_shared" = yes && enable_static
=no
14050 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14051 echo "${ECHO_T}$enable_shared" >&6; }
14053 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14054 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14055 # Make sure either enable_shared or enable_static is yes.
14056 test "$enable_shared" = yes || enable_static
=yes
14057 { echo "$as_me:$LINENO: result: $enable_static" >&5
14058 echo "${ECHO_T}$enable_static" >&6; }
14063 lt_prog_compiler_wl_F77
=
14064 lt_prog_compiler_pic_F77
=
14065 lt_prog_compiler_static_F77
=
14067 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14068 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14070 if test "$GCC" = yes; then
14071 lt_prog_compiler_wl_F77
='-Wl,'
14072 lt_prog_compiler_static_F77
='-static'
14076 # All AIX code is PIC.
14077 if test "$host_cpu" = ia64
; then
14078 # AIX 5 now supports IA64 processor
14079 lt_prog_compiler_static_F77
='-Bstatic'
14084 # FIXME: we need at least 68020 code to build shared libraries, but
14085 # adding the `-m68020' flag to GCC prevents building anything better,
14087 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14090 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14091 # PIC is the default for these OSes.
14094 mingw
* | cygwin
* | pw32
* | os2
*)
14095 # This hack is so that the source file can tell whether it is being
14096 # built for inclusion in a dll (and should export symbols for example).
14097 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14098 # (--disable-auto-import) libraries
14099 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14102 darwin
* | rhapsody
*)
14103 # PIC is the default on this platform
14104 # Common symbols not allowed in MH_DYLIB files
14105 lt_prog_compiler_pic_F77
='-fno-common'
14109 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14110 # Instead, we relocate shared libraries at runtime.
14114 # Just because we use GCC doesn't mean we suddenly get shared libraries
14115 # on systems that don't support them.
14116 lt_prog_compiler_can_build_shared_F77
=no
14121 if test -d /usr
/nec
; then
14122 lt_prog_compiler_pic_F77
=-Kconform_pic
14127 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14128 # not for PA HP-UX.
14134 lt_prog_compiler_pic_F77
='-fPIC'
14140 lt_prog_compiler_pic_F77
='-fPIC'
14144 # PORTME Check for flag to pass linker flags through the system compiler.
14147 lt_prog_compiler_wl_F77
='-Wl,'
14148 if test "$host_cpu" = ia64
; then
14149 # AIX 5 now supports IA64 processor
14150 lt_prog_compiler_static_F77
='-Bstatic'
14152 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14156 # PIC is the default on this platform
14157 # Common symbols not allowed in MH_DYLIB files
14158 case $cc_basename in
14160 lt_prog_compiler_pic_F77
='-qnocommon'
14161 lt_prog_compiler_wl_F77
='-Wl,'
14166 mingw
* | cygwin
* | pw32
* | os2
*)
14167 # This hack is so that the source file can tell whether it is being
14168 # built for inclusion in a dll (and should export symbols for example).
14169 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14172 hpux9
* | hpux10
* | hpux11
*)
14173 lt_prog_compiler_wl_F77
='-Wl,'
14174 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14175 # not for PA HP-UX.
14181 lt_prog_compiler_pic_F77
='+Z'
14184 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14185 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14188 irix5
* | irix6
* | nonstopux
*)
14189 lt_prog_compiler_wl_F77
='-Wl,'
14190 # PIC (with -KPIC) is the default.
14191 lt_prog_compiler_static_F77
='-non_shared'
14195 lt_prog_compiler_pic_F77
='-KPIC'
14196 lt_prog_compiler_static_F77
='-Bstatic'
14199 linux
* | k
*bsd
*-gnu)
14200 case $cc_basename in
14202 lt_prog_compiler_wl_F77
='-Wl,'
14203 lt_prog_compiler_pic_F77
='-KPIC'
14204 lt_prog_compiler_static_F77
='-static'
14206 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14207 # Portland Group compilers (*not* the Pentium gcc compiler,
14208 # which looks to be a dead project)
14209 lt_prog_compiler_wl_F77
='-Wl,'
14210 lt_prog_compiler_pic_F77
='-fpic'
14211 lt_prog_compiler_static_F77
='-Bstatic'
14214 lt_prog_compiler_wl_F77
='-Wl,'
14215 # All Alpha code is PIC.
14216 lt_prog_compiler_static_F77
='-non_shared'
14219 case `$CC -V 2>&1 | sed 5q` in
14222 lt_prog_compiler_pic_F77
='-KPIC'
14223 lt_prog_compiler_static_F77
='-Bstatic'
14224 lt_prog_compiler_wl_F77
='-Wl,'
14227 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14228 lt_prog_compiler_pic_F77
='-KPIC'
14229 lt_prog_compiler_static_F77
='-Bstatic'
14230 lt_prog_compiler_wl_F77
=''
14237 osf3
* | osf4
* | osf5
*)
14238 lt_prog_compiler_wl_F77
='-Wl,'
14239 # All OSF/1 code is PIC.
14240 lt_prog_compiler_static_F77
='-non_shared'
14244 lt_prog_compiler_static_F77
='-non_shared'
14248 lt_prog_compiler_pic_F77
='-KPIC'
14249 lt_prog_compiler_static_F77
='-Bstatic'
14250 case $cc_basename in
14251 f77
* | f90
* | f95
*)
14252 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14254 lt_prog_compiler_wl_F77
='-Wl,';;
14259 lt_prog_compiler_wl_F77
='-Qoption ld '
14260 lt_prog_compiler_pic_F77
='-PIC'
14261 lt_prog_compiler_static_F77
='-Bstatic'
14264 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14265 lt_prog_compiler_wl_F77
='-Wl,'
14266 lt_prog_compiler_pic_F77
='-KPIC'
14267 lt_prog_compiler_static_F77
='-Bstatic'
14271 if test -d /usr
/nec
;then
14272 lt_prog_compiler_pic_F77
='-Kconform_pic'
14273 lt_prog_compiler_static_F77
='-Bstatic'
14277 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14278 lt_prog_compiler_wl_F77
='-Wl,'
14279 lt_prog_compiler_pic_F77
='-KPIC'
14280 lt_prog_compiler_static_F77
='-Bstatic'
14284 lt_prog_compiler_wl_F77
='-Wl,'
14285 lt_prog_compiler_can_build_shared_F77
=no
14289 lt_prog_compiler_pic_F77
='-pic'
14290 lt_prog_compiler_static_F77
='-Bstatic'
14294 lt_prog_compiler_can_build_shared_F77
=no
14299 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14300 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14303 # Check to make sure the PIC flag actually works.
14305 if test -n "$lt_prog_compiler_pic_F77"; then
14307 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14308 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14309 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 lt_cv_prog_compiler_pic_works_F77
=no
14313 ac_outfile
=conftest.
$ac_objext
14314 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14315 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14316 # Insert the option either (1) after the last *FLAGS variable, or
14317 # (2) before a word containing "conftest.", or (3) at the end.
14318 # Note that $ac_compile itself does not contain backslashes and begins
14319 # with a dollar sign (not a hyphen), so the echo should work correctly.
14320 # The option is referenced via a variable to avoid confusing sed.
14321 lt_compile
=`echo "$ac_compile" | $SED \
14322 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14323 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14324 -e 's:$: $lt_compiler_flag:'`
14325 (eval echo "\"\$as_me:14325: $lt_compile\"" >&5)
14326 (eval "$lt_compile" 2>conftest.err
)
14328 cat conftest.err
>&5
14329 echo "$as_me:14329: \$? = $ac_status" >&5
14330 if (exit $ac_status) && test -s "$ac_outfile"; then
14331 # The compiler can only warn and ignore the option if not recognized
14332 # So say no if there are warnings other than the usual output.
14333 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14334 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14335 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14336 lt_cv_prog_compiler_pic_works_F77
=yes
14342 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14343 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14345 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14346 case $lt_prog_compiler_pic_F77 in
14348 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14351 lt_prog_compiler_pic_F77
=
14352 lt_prog_compiler_can_build_shared_F77
=no
14357 # For platforms which do not support PIC, -DPIC is meaningless:
14359 lt_prog_compiler_pic_F77
=
14362 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14367 # Check to make sure the static flag actually works.
14369 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14370 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14371 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14372 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 lt_cv_prog_compiler_static_works_F77
=no
14376 save_LDFLAGS
="$LDFLAGS"
14377 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14378 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14379 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14380 # The linker can only warn and ignore the option if not recognized
14381 # So say no if there are warnings
14382 if test -s conftest.err
; then
14383 # Append any errors to the config.log.
14384 cat conftest.err
1>&5
14385 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14386 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14387 if diff conftest.exp conftest.er2
>/dev
/null
; then
14388 lt_cv_prog_compiler_static_works_F77
=yes
14391 lt_cv_prog_compiler_static_works_F77
=yes
14395 LDFLAGS
="$save_LDFLAGS"
14398 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14399 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14401 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14404 lt_prog_compiler_static_F77
=
14408 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14409 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14410 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14413 lt_cv_prog_compiler_c_o_F77
=no
14414 $rm -r conftest
2>/dev
/null
14418 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14420 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14421 # Insert the option either (1) after the last *FLAGS variable, or
14422 # (2) before a word containing "conftest.", or (3) at the end.
14423 # Note that $ac_compile itself does not contain backslashes and begins
14424 # with a dollar sign (not a hyphen), so the echo should work correctly.
14425 lt_compile
=`echo "$ac_compile" | $SED \
14426 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14427 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14428 -e 's:$: $lt_compiler_flag:'`
14429 (eval echo "\"\$as_me:14429: $lt_compile\"" >&5)
14430 (eval "$lt_compile" 2>out
/conftest.err
)
14432 cat out
/conftest.err
>&5
14433 echo "$as_me:14433: \$? = $ac_status" >&5
14434 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14436 # The compiler can only warn and ignore the option if not recognized
14437 # So say no if there are warnings
14438 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14439 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14440 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14441 lt_cv_prog_compiler_c_o_F77
=yes
14446 # SGI C++ compiler will create directory out/ii_files/ for
14447 # template instantiation
14448 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14449 $rm out
/* && rmdir out
14455 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14456 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14459 hard_links
="nottested"
14460 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14461 # do not overwrite the value of need_locks provided by the user
14462 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14463 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14466 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14468 ln conftest.a conftest.b
2>&5 || hard_links
=no
14469 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14470 { echo "$as_me:$LINENO: result: $hard_links" >&5
14471 echo "${ECHO_T}$hard_links" >&6; }
14472 if test "$hard_links" = no
; then
14473 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14474 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14481 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14482 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14485 allow_undefined_flag_F77
=
14486 enable_shared_with_static_runtimes_F77
=no
14488 archive_expsym_cmds_F77
=
14489 old_archive_From_new_cmds_F77
=
14490 old_archive_from_expsyms_cmds_F77
=
14491 export_dynamic_flag_spec_F77
=
14492 whole_archive_flag_spec_F77
=
14493 thread_safe_flag_spec_F77
=
14494 hardcode_libdir_flag_spec_F77
=
14495 hardcode_libdir_flag_spec_ld_F77
=
14496 hardcode_libdir_separator_F77
=
14497 hardcode_direct_F77
=no
14498 hardcode_minus_L_F77
=no
14499 hardcode_shlibpath_var_F77
=unsupported
14500 link_all_deplibs_F77
=unknown
14501 hardcode_automatic_F77
=no
14503 module_expsym_cmds_F77
=
14504 always_export_symbols_F77
=no
14505 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14506 # include_expsyms should be a list of space-separated symbols to be *always*
14507 # included in the symbol list
14508 include_expsyms_F77
=
14509 # exclude_expsyms can be an extended regexp of symbols to exclude
14510 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14511 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14512 # as well as any symbol that contains `d'.
14513 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14514 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14515 # platforms (ab)use it in PIC code, but their linkers get confused if
14516 # the symbol is explicitly referenced. Since portable code cannot
14517 # rely on this symbol name, it's probably fine to never include it in
14518 # preloaded symbol tables.
14519 # Exclude shared library initialization/finalization symbols.
14520 extract_expsyms_cmds
=
14521 # Just being paranoid about ensuring that cc_basename is set.
14522 for cc_temp
in $compiler""; do
14524 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14525 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14530 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14533 cygwin
* | mingw
* | pw32
*)
14534 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14535 # When not using gcc, we currently assume that we are using
14536 # Microsoft Visual C++.
14537 if test "$GCC" != yes; then
14542 # we just hope/assume this is gcc and not c89 (= MSVC++)
14551 if test "$with_gnu_ld" = yes; then
14552 # If archive_cmds runs LD, not CC, wlarc should be empty
14555 # Set some defaults for GNU ld with shared library support. These
14556 # are reset later if shared libraries are not supported. Putting them
14557 # here allows them to be overridden if necessary.
14558 runpath_var
=LD_RUN_PATH
14559 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14560 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14561 # ancient GNU ld didn't support --whole-archive et. al.
14562 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14563 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14565 whole_archive_flag_spec_F77
=
14567 supports_anon_versioning
=no
14568 case `$LD -v 2>/dev/null` in
14569 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14570 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14571 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14572 *\
2.11.
*) ;; # other 2.11 versions
14573 *) supports_anon_versioning
=yes ;;
14576 # See if GNU ld supports shared libraries.
14579 # On AIX/PPC, the GNU linker is very broken
14580 if test "$host_cpu" != ia64
; then
14584 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14585 *** to be unable to reliably create shared libraries on AIX.
14586 *** Therefore, libtool is disabling shared libraries support. If you
14587 *** really care for shared libraries, you may want to modify your PATH
14588 *** so that a non-GNU linker is found, and then restart.
14595 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)'
14596 hardcode_libdir_flag_spec_F77
='-L$libdir'
14597 hardcode_minus_L_F77
=yes
14599 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14600 # that the semantics of dynamic libraries on AmigaOS, at least up
14601 # to version 4, is to share data among multiple programs linked
14602 # with the same dynamic library. Since this doesn't match the
14603 # behavior of shared libraries on other platforms, we can't use
14609 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14610 allow_undefined_flag_F77
=unsupported
14611 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14612 # support --undefined. This deserves some investigation. FIXME
14613 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14619 cygwin
* | mingw
* | pw32
*)
14620 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14621 # as there is no search path for DLLs.
14622 hardcode_libdir_flag_spec_F77
='-L$libdir'
14623 allow_undefined_flag_F77
=unsupported
14624 always_export_symbols_F77
=no
14625 enable_shared_with_static_runtimes_F77
=yes
14626 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14628 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14629 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14630 # If the export-symbols file already is a .def file (1st line
14631 # is EXPORTS), use it as is; otherwise, prepend...
14632 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14633 cp $export_symbols $output_objdir/$soname.def;
14635 echo EXPORTS > $output_objdir/$soname.def;
14636 cat $export_symbols >> $output_objdir/$soname.def;
14638 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14645 hardcode_direct_F77
=no
14646 hardcode_shlibpath_var_F77
=no
14647 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14648 export_dynamic_flag_spec_F77
='${wl}-E'
14649 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14650 # Instead, shared libraries are loaded at an image base (0x10000000 by
14651 # default) and relocated if they conflict, which is a slow very memory
14652 # consuming and fragmenting process. To avoid this, we pick a random,
14653 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14654 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14655 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'
14656 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'
14659 gnu
* | linux
* | k
*bsd
*-gnu)
14660 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14662 case $cc_basename,$host_cpu in
14663 pgcc
*) # Portland Group C compiler
14664 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'
14665 tmp_addflag
=' $pic_flag'
14667 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14668 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'
14669 tmp_addflag
=' $pic_flag -Mnomain' ;;
14670 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14671 tmp_addflag
=' -i_dynamic' ;;
14672 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14673 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14674 ifc
* | ifort
*) # Intel Fortran compiler
14675 tmp_addflag
=' -nofor_main' ;;
14677 case `$CC -V 2>&1 | sed 5q` in
14678 *Sun\ C
*) # Sun C 5.9
14679 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'
14680 tmp_sharedflag
='-G' ;;
14681 *Sun\ F
*) # Sun Fortran 8.3
14682 tmp_sharedflag
='-G' ;;
14684 tmp_sharedflag
='-shared' ;;
14686 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14688 if test $supports_anon_versioning = yes; then
14689 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14691 $echo "local: *; };" >> $output_objdir/$libname.ver~
14692 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14700 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14701 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14704 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14705 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14710 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14714 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14715 *** create shared libraries on Solaris systems. Therefore, libtool
14716 *** is disabling shared libraries support. We urge you to upgrade GNU
14717 *** binutils to release 2.9.1 or newer. Another option is to modify
14718 *** your PATH or compiler configuration so that the native linker is
14719 *** used, and then restart.
14722 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14723 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14724 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14730 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14731 case `$LD -v 2>&1` in
14732 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14736 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14737 *** reliably create shared libraries on SCO systems. Therefore, libtool
14738 *** is disabling shared libraries support. We urge you to upgrade GNU
14739 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14740 *** your PATH or compiler configuration so that the native linker is
14741 *** used, and then restart.
14746 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14747 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14748 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14749 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14758 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14760 hardcode_direct_F77
=yes
14761 hardcode_shlibpath_var_F77
=no
14765 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14766 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14767 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14774 if test "$ld_shlibs_F77" = no
; then
14776 hardcode_libdir_flag_spec_F77
=
14777 export_dynamic_flag_spec_F77
=
14778 whole_archive_flag_spec_F77
=
14781 # PORTME fill in a description of your system's linker (not GNU ld)
14784 allow_undefined_flag_F77
=unsupported
14785 always_export_symbols_F77
=yes
14786 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'
14787 # Note: this linker hardcodes the directories in LIBPATH if there
14788 # are no directories specified by -L.
14789 hardcode_minus_L_F77
=yes
14790 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14791 # Neither direct hardcoding nor static linking is supported with a
14793 hardcode_direct_F77
=unsupported
14798 if test "$host_cpu" = ia64
; then
14799 # On IA64, the linker does run time linking by default, so we don't
14800 # have to do anything special.
14801 aix_use_runtimelinking
=no
14802 exp_sym_flag
='-Bexport'
14805 # If we're using GNU nm, then we don't want the "-C" option.
14806 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14807 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14808 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'
14810 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'
14812 aix_use_runtimelinking
=no
14814 # Test if we are trying to use run time linking or normal
14815 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14816 # need to do runtime linking.
14817 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14818 for ld_flag
in $LDFLAGS; do
14819 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14820 aix_use_runtimelinking
=yes
14827 exp_sym_flag
='-bexport'
14828 no_entry_flag
='-bnoentry'
14831 # When large executables or shared objects are built, AIX ld can
14832 # have problems creating the table of contents. If linking a library
14833 # or program results in "error TOC overflow" add -mminimal-toc to
14834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14837 archive_cmds_F77
=''
14838 hardcode_direct_F77
=yes
14839 hardcode_libdir_separator_F77
=':'
14840 link_all_deplibs_F77
=yes
14842 if test "$GCC" = yes; then
14843 case $host_os in aix4.
[012]|aix4.
[012].
*)
14844 # We only want to do this on AIX 4.2 and lower, the check
14845 # below for broken collect2 doesn't work under 4.3+
14846 collect2name
=`${CC} -print-prog-name=collect2`
14847 if test -f "$collect2name" && \
14848 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14850 # We have reworked collect2
14853 # We have old collect2
14854 hardcode_direct_F77
=unsupported
14855 # It fails to find uninstalled libraries when the uninstalled
14856 # path is not listed in the libpath. Setting hardcode_minus_L
14857 # to unsupported forces relinking
14858 hardcode_minus_L_F77
=yes
14859 hardcode_libdir_flag_spec_F77
='-L$libdir'
14860 hardcode_libdir_separator_F77
=
14864 shared_flag
='-shared'
14865 if test "$aix_use_runtimelinking" = yes; then
14866 shared_flag
="$shared_flag "'${wl}-G'
14870 if test "$host_cpu" = ia64
; then
14871 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14872 # chokes on -Wl,-G. The following line is correct:
14875 if test "$aix_use_runtimelinking" = yes; then
14876 shared_flag
='${wl}-G'
14878 shared_flag
='${wl}-bM:SRE'
14883 # It seems that -bexpall does not export symbols beginning with
14884 # underscore (_), so it is better to generate a list of symbols to export.
14885 always_export_symbols_F77
=yes
14886 if test "$aix_use_runtimelinking" = yes; then
14887 # Warning - without using the other runtime loading flags (-brtl),
14888 # -berok will link without error, but may produce a broken library.
14889 allow_undefined_flag_F77
='-berok'
14890 # Determine the default libpath from the value encoded in an empty executable.
14891 cat >conftest.
$ac_ext <<_ACEOF
14896 rm -f conftest.
$ac_objext conftest
$ac_exeext
14897 if { (ac_try
="$ac_link"
14898 case "(($ac_try" in
14899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14900 *) ac_try_echo=$ac_try;;
14902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14903 (eval "$ac_link") 2>conftest.er1
14905 grep -v '^ *+' conftest.er1 >conftest.err
14907 cat conftest.err >&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); } && {
14910 test -z "$ac_f77_werror_flag" ||
14911 test ! -s conftest.err
14912 } && test -s conftest$ac_exeext &&
14913 $as_test_x conftest$ac_exeext; then
14915 lt_aix_libpath_sed='
14916 /Import File Strings/,/^$/ {
14922 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14923 # Check for a 64-bit object if we didn't find anything.
14924 if test -z "$aix_libpath"; then
14925 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14928 echo "$as_me: failed program was:" >&5
14929 sed 's/^/| /' conftest.$ac_ext >&5
14934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14935 conftest$ac_exeext conftest.$ac_ext
14936 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14938 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14939 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"
14941 if test "$host_cpu" = ia64; then
14942 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14943 allow_undefined_flag_F77="-z nodefs"
14944 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"
14946 # Determine the default libpath from the value encoded in an empty executable.
14947 cat >conftest.$ac_ext <<_ACEOF
14952 rm -f conftest.$ac_objext conftest$ac_exeext
14953 if { (ac_try="$ac_link"
14954 case "(($ac_try" in
14955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14956 *) ac_try_echo
=$ac_try;;
14958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14959 (eval "$ac_link") 2>conftest.er1
14961 grep -v '^ *+' conftest.er1
>conftest.err
14963 cat conftest.err
>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } && {
14966 test -z "$ac_f77_werror_flag" ||
14967 test ! -s conftest.err
14968 } && test -s conftest
$ac_exeext &&
14969 $as_test_x conftest
$ac_exeext; then
14971 lt_aix_libpath_sed
='
14972 /Import File Strings/,/^$/ {
14978 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14979 # Check for a 64-bit object if we didn't find anything.
14980 if test -z "$aix_libpath"; then
14981 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.
$ac_ext >&5
14990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14991 conftest
$ac_exeext conftest.
$ac_ext
14992 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14994 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14995 # Warning - without using the other run time loading flags,
14996 # -berok will link without error, but may produce a broken library.
14997 no_undefined_flag_F77
=' ${wl}-bernotok'
14998 allow_undefined_flag_F77
=' ${wl}-berok'
14999 # Exported symbols can be pulled into shared objects from archives
15000 whole_archive_flag_spec_F77
='$convenience'
15001 archive_cmds_need_lc_F77
=yes
15002 # This is similar to how AIX traditionally builds its shared libraries.
15003 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'
15009 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)'
15010 hardcode_libdir_flag_spec_F77
='-L$libdir'
15011 hardcode_minus_L_F77
=yes
15012 # see comment about different semantics on the GNU ld section
15017 export_dynamic_flag_spec_F77
=-rdynamic
15020 cygwin
* | mingw
* | pw32
*)
15021 # When not using gcc, we currently assume that we are using
15022 # Microsoft Visual C++.
15023 # hardcode_libdir_flag_spec is actually meaningless, as there is
15024 # no search path for DLLs.
15025 hardcode_libdir_flag_spec_F77
=' '
15026 allow_undefined_flag_F77
=unsupported
15027 # Tell ltmain to make .lib files, not .a files.
15029 # Tell ltmain to make .dll files, not .so files.
15031 # FIXME: Setting linknames here is a bad hack.
15032 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15033 # The linker will automatically build a .lib file if we build a DLL.
15034 old_archive_From_new_cmds_F77
='true'
15035 # FIXME: Should let the user specify the lib program.
15036 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15037 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15038 enable_shared_with_static_runtimes_F77
=yes
15041 darwin
* | rhapsody
*)
15043 rhapsody
* | darwin1.
[012])
15044 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15047 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15048 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15050 case ${MACOSX_DEPLOYMENT_TARGET} in
15052 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15055 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15061 archive_cmds_need_lc_F77
=no
15062 hardcode_direct_F77
=no
15063 hardcode_automatic_F77
=yes
15064 hardcode_shlibpath_var_F77
=unsupported
15065 whole_archive_flag_spec_F77
=''
15066 link_all_deplibs_F77
=yes
15067 if test "$GCC" = yes ; then
15068 output_verbose_link_cmd
='echo'
15069 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15070 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15071 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15072 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15074 case $cc_basename in
15076 output_verbose_link_cmd
='echo'
15077 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15078 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15079 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15080 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}'
15081 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}'
15091 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15092 hardcode_libdir_flag_spec_F77
='-L$libdir'
15093 hardcode_shlibpath_var_F77
=no
15100 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15101 # support. Future versions do this automatically, but an explicit c++rt0.o
15102 # does not break anything, and helps significantly (at the cost of a little
15105 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15106 hardcode_libdir_flag_spec_F77
='-R$libdir'
15107 hardcode_direct_F77
=yes
15108 hardcode_shlibpath_var_F77
=no
15111 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15113 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15114 hardcode_direct_F77
=yes
15115 hardcode_minus_L_F77
=yes
15116 hardcode_shlibpath_var_F77
=no
15119 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15120 freebsd
* | dragonfly
*)
15121 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15122 hardcode_libdir_flag_spec_F77
='-R$libdir'
15123 hardcode_direct_F77
=yes
15124 hardcode_shlibpath_var_F77
=no
15128 if test "$GCC" = yes; then
15129 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'
15131 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'
15133 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15134 hardcode_libdir_separator_F77
=:
15135 hardcode_direct_F77
=yes
15137 # hardcode_minus_L: Not really in the search PATH,
15138 # but as the default location of the library.
15139 hardcode_minus_L_F77
=yes
15140 export_dynamic_flag_spec_F77
='${wl}-E'
15144 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15145 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15147 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15149 if test "$with_gnu_ld" = no
; then
15150 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15151 hardcode_libdir_separator_F77
=:
15153 hardcode_direct_F77
=yes
15154 export_dynamic_flag_spec_F77
='${wl}-E'
15156 # hardcode_minus_L: Not really in the search PATH,
15157 # but as the default location of the library.
15158 hardcode_minus_L_F77
=yes
15163 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15166 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15169 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15172 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15178 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15181 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15184 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15188 if test "$with_gnu_ld" = no
; then
15189 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15190 hardcode_libdir_separator_F77
=:
15194 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15195 hardcode_direct_F77
=no
15196 hardcode_shlibpath_var_F77
=no
15199 hardcode_direct_F77
=yes
15200 export_dynamic_flag_spec_F77
='${wl}-E'
15202 # hardcode_minus_L: Not really in the search PATH,
15203 # but as the default location of the library.
15204 hardcode_minus_L_F77
=yes
15210 irix5
* | irix6
* | nonstopux
*)
15211 if test "$GCC" = yes; then
15212 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'
15214 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'
15215 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15217 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15218 hardcode_libdir_separator_F77
=:
15219 link_all_deplibs_F77
=yes
15223 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15224 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15226 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15228 hardcode_libdir_flag_spec_F77
='-R$libdir'
15229 hardcode_direct_F77
=yes
15230 hardcode_shlibpath_var_F77
=no
15234 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15235 hardcode_direct_F77
=yes
15236 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15237 hardcode_libdir_separator_F77
=:
15238 hardcode_shlibpath_var_F77
=no
15242 if test -f /usr
/libexec
/ld.so
; then
15243 hardcode_direct_F77
=yes
15244 hardcode_shlibpath_var_F77
=no
15245 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15246 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15247 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15248 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15249 export_dynamic_flag_spec_F77
='${wl}-E'
15252 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15253 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15254 hardcode_libdir_flag_spec_F77
='-R$libdir'
15257 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15258 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15268 hardcode_libdir_flag_spec_F77
='-L$libdir'
15269 hardcode_minus_L_F77
=yes
15270 allow_undefined_flag_F77
=unsupported
15271 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'
15272 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15276 if test "$GCC" = yes; then
15277 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15278 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'
15280 allow_undefined_flag_F77
=' -expect_unresolved \*'
15281 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'
15283 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15284 hardcode_libdir_separator_F77
=:
15287 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15288 if test "$GCC" = yes; then
15289 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15290 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'
15291 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15293 allow_undefined_flag_F77
=' -expect_unresolved \*'
15294 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'
15295 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~
15296 $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'
15298 # Both c and cxx compiler support -rpath directly
15299 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15301 hardcode_libdir_separator_F77
=:
15305 no_undefined_flag_F77
=' -z text'
15306 if test "$GCC" = yes; then
15308 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15309 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15310 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15313 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15314 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15315 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15317 hardcode_libdir_flag_spec_F77
='-R$libdir'
15318 hardcode_shlibpath_var_F77
=no
15320 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15322 # The compiler driver will combine and reorder linker options,
15323 # but understands `-z linker_flag'. GCC discards it without `$wl',
15324 # but is careful enough not to reorder.
15325 # Supported since Solaris 2.6 (maybe 2.5.1?)
15326 if test "$GCC" = yes; then
15327 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15329 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15333 link_all_deplibs_F77
=yes
15337 if test "x$host_vendor" = xsequent
; then
15338 # Use $CC to link under sequent, because it throws in some extra .o
15339 # files that make .init and .fini sections work.
15340 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15342 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15344 hardcode_libdir_flag_spec_F77
='-L$libdir'
15345 hardcode_direct_F77
=yes
15346 hardcode_minus_L_F77
=yes
15347 hardcode_shlibpath_var_F77
=no
15351 case $host_vendor in
15353 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15354 hardcode_direct_F77
=yes # is this really true???
15357 ## LD is ld it makes a PLAMLIB
15358 ## CC just makes a GrossModule.
15359 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15360 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15361 hardcode_direct_F77
=no
15364 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15365 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15368 runpath_var
='LD_RUN_PATH'
15369 hardcode_shlibpath_var_F77
=no
15373 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15374 hardcode_shlibpath_var_F77
=no
15375 export_dynamic_flag_spec_F77
='-Bexport'
15379 if test -d /usr
/nec
; then
15380 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15381 hardcode_shlibpath_var_F77
=no
15382 runpath_var
=LD_RUN_PATH
15383 hardcode_runpath_var
=yes
15388 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15389 no_undefined_flag_F77
='${wl}-z,text'
15390 archive_cmds_need_lc_F77
=no
15391 hardcode_shlibpath_var_F77
=no
15392 runpath_var
='LD_RUN_PATH'
15394 if test "$GCC" = yes; then
15395 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15396 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15398 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15399 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15403 sysv5
* | sco3.2v5
* | sco5v6
*)
15404 # Note: We can NOT use -z defs as we might desire, because we do not
15405 # link with -lc, and that would cause any symbols used from libc to
15406 # always be unresolved, which means just about no library would
15407 # ever link correctly. If we're not using GNU ld we use -z text
15408 # though, which does catch some bad symbols but isn't as heavy-handed
15410 no_undefined_flag_F77
='${wl}-z,text'
15411 allow_undefined_flag_F77
='${wl}-z,nodefs'
15412 archive_cmds_need_lc_F77
=no
15413 hardcode_shlibpath_var_F77
=no
15414 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15415 hardcode_libdir_separator_F77
=':'
15416 link_all_deplibs_F77
=yes
15417 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15418 runpath_var
='LD_RUN_PATH'
15420 if test "$GCC" = yes; then
15421 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15422 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15424 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15425 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15430 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15431 hardcode_libdir_flag_spec_F77
='-L$libdir'
15432 hardcode_shlibpath_var_F77
=no
15441 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15442 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15443 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15446 # Do we need to explicitly link libc?
15448 case "x$archive_cmds_need_lc_F77" in
15450 # Assume -lc should be added
15451 archive_cmds_need_lc_F77
=yes
15453 if test "$enable_shared" = yes && test "$GCC" = yes; then
15454 case $archive_cmds_F77 in
15456 # FIXME: we may have to deal with multi-command sequences.
15459 # Test whether the compiler implicitly links with -lc since on some
15460 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15461 # to ld, don't add -lc before -lgcc.
15462 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15463 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15465 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } 2>conftest.err
; then
15474 libobjs
=conftest.
$ac_objext
15476 wl
=$lt_prog_compiler_wl_F77
15477 pic_flag
=$lt_prog_compiler_pic_F77
15483 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15484 allow_undefined_flag_F77
=
15485 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15486 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }
15491 archive_cmds_need_lc_F77
=no
15493 archive_cmds_need_lc_F77
=yes
15495 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15497 cat conftest.err
1>&5
15500 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15501 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15508 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15509 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15510 library_names_spec
=
15511 libname_spec
='lib$name'
15515 postuninstall_cmds
=
15519 shlibpath_overrides_runpath
=unknown
15521 dynamic_linker
="$host_os ld.so"
15522 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15524 need_lib_prefix
=unknown
15525 hardcode_into_libs
=no
15527 # when you set need_version to no, make sure it does not cause -set_version
15528 # flags to be left without arguments
15529 need_version
=unknown
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15535 shlibpath_var
=LIBPATH
15537 # AIX 3 has no versioning support, so we append a major version to the name.
15538 soname_spec
='${libname}${release}${shared_ext}$major'
15545 hardcode_into_libs
=yes
15546 if test "$host_cpu" = ia64
; then
15547 # AIX 5 supports IA64
15548 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15549 shlibpath_var
=LD_LIBRARY_PATH
15551 # With GCC up to 2.95.x, collect2 would create an import file
15552 # for dependence libraries. The import file would start with
15553 # the line `#! .'. This would cause the generated library to
15554 # depend on `.', always an invalid library. This was fixed in
15555 # development snapshots of GCC prior to 3.0.
15557 aix4 | aix4.
[01] | aix4.
[01].
*)
15558 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15560 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15563 can_build_shared
=no
15567 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15568 # soname into executable. Probably we can add versioning support to
15569 # collect2, so additional links can be useful in future.
15570 if test "$aix_use_runtimelinking" = yes; then
15571 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15572 # instead of lib<name>.a to let people know that these are not
15573 # typical AIX shared libraries.
15574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15576 # We preserve .a as extension for shared libraries through AIX4.2
15577 # and later when we are not doing run time linking.
15578 library_names_spec
='${libname}${release}.a $libname.a'
15579 soname_spec
='${libname}${release}${shared_ext}$major'
15581 shlibpath_var
=LIBPATH
15586 library_names_spec
='$libname.ixlibrary $libname.a'
15587 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15588 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'
15592 library_names_spec
='${libname}${shared_ext}'
15593 dynamic_linker
="$host_os ld.so"
15594 shlibpath_var
=LIBRARY_PATH
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15601 soname_spec
='${libname}${release}${shared_ext}$major'
15602 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15603 shlibpath_var
=LD_LIBRARY_PATH
15604 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15605 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15606 # the default ld.so.conf also contains /usr/contrib/lib and
15607 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15608 # libtool to hard-code these into programs
15611 cygwin
* | mingw
* | pw32
*)
15612 version_type
=windows
15617 case $GCC,$host_os in
15618 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15619 library_names_spec
='$libname.dll.a'
15620 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15621 postinstall_cmds
='base_file=`basename \${file}`~
15622 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15623 dldir=$destdir/`dirname \$dlpath`~
15624 test -d \$dldir || mkdir -p \$dldir~
15625 $install_prog $dir/$dlname \$dldir/$dlname~
15626 chmod a+x \$dldir/$dlname'
15627 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15628 dlpath=$dir/\$dldll~
15630 shlibpath_overrides_runpath
=yes
15634 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15635 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15636 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15639 # MinGW DLLs use traditional 'lib' prefix
15640 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15641 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15642 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15643 # It is most probably a Windows format PATH printed by
15644 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15645 # path with ; separators, and with drive letters. We can handle the
15646 # drive letters (cygwin fileutils understands them), so leave them,
15647 # especially as we might pass files found there to a mingw objdump,
15648 # which wouldn't understand a cygwinified path. Ahh.
15649 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15651 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15655 # pw32 DLLs use 'pw' prefix rather than 'lib'
15656 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15662 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15665 dynamic_linker
='Win32 ld.exe'
15666 # FIXME: first we should search . and the directory the executable is in
15670 darwin
* | rhapsody
*)
15671 dynamic_linker
="$host_os dyld"
15672 version_type
=darwin
15675 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15676 soname_spec
='${libname}${release}${major}$shared_ext'
15677 shlibpath_overrides_runpath
=yes
15678 shlibpath_var
=DYLD_LIBRARY_PATH
15679 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15681 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15688 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15689 soname_spec
='${libname}${release}${shared_ext}$major'
15690 shlibpath_var
=LD_LIBRARY_PATH
15697 freebsd
* | dragonfly
*)
15698 # DragonFly does not have aout. When/if they implement a new
15699 # versioning mechanism, adjust this.
15700 if test -x /usr
/bin
/objformat
; then
15701 objformat
=`/usr/bin/objformat`
15704 freebsd
[123]*) objformat
=aout
;;
15705 *) objformat
=elf
;;
15708 version_type
=freebsd-
$objformat
15709 case $version_type in
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15716 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15720 shlibpath_var
=LD_LIBRARY_PATH
15723 shlibpath_overrides_runpath
=yes
15725 freebsd3.
[01]* | freebsdelf3.
[01]*)
15726 shlibpath_overrides_runpath
=yes
15727 hardcode_into_libs
=yes
15729 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15730 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15731 shlibpath_overrides_runpath
=no
15732 hardcode_into_libs
=yes
15734 *) # from 4.6 on, and DragonFly
15735 shlibpath_overrides_runpath
=yes
15736 hardcode_into_libs
=yes
15745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15746 soname_spec
='${libname}${release}${shared_ext}$major'
15747 shlibpath_var
=LD_LIBRARY_PATH
15748 hardcode_into_libs
=yes
15751 hpux9
* | hpux10
* | hpux11
*)
15752 # Give a soname corresponding to the major version so that dld.sl refuses to
15753 # link against other versions.
15760 hardcode_into_libs
=yes
15761 dynamic_linker
="$host_os dld.so"
15762 shlibpath_var
=LD_LIBRARY_PATH
15763 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15765 soname_spec
='${libname}${release}${shared_ext}$major'
15766 if test "X$HPUX_IA64_MODE" = X32
; then
15767 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15769 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15771 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15775 hardcode_into_libs
=yes
15776 dynamic_linker
="$host_os dld.sl"
15777 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15778 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15780 soname_spec
='${libname}${release}${shared_ext}$major'
15781 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15782 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15786 dynamic_linker
="$host_os dld.sl"
15787 shlibpath_var
=SHLIB_PATH
15788 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15790 soname_spec
='${libname}${release}${shared_ext}$major'
15793 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15794 postinstall_cmds
='chmod 555 $lib'
15801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15802 soname_spec
='${libname}${release}${shared_ext}$major'
15803 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15804 shlibpath_var
=LD_LIBRARY_PATH
15805 shlibpath_overrides_runpath
=no
15806 hardcode_into_libs
=yes
15809 irix5
* | irix6
* | nonstopux
*)
15811 nonstopux
*) version_type
=nonstopux
;;
15813 if test "$lt_cv_prog_gnu_ld" = yes; then
15821 soname_spec
='${libname}${release}${shared_ext}$major'
15822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15824 irix5
* | nonstopux
*)
15825 libsuff
= shlibsuff
=
15828 case $LD in # libtool.m4 will add one of these switches to LD
15829 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15830 libsuff
= shlibsuff
= libmagic
=32-bit;;
15831 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15832 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15833 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15834 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15835 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15839 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15840 shlibpath_overrides_runpath
=no
15841 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15842 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15843 hardcode_into_libs
=yes
15846 # No shared lib support for Linux oldld, aout, or coff.
15847 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15851 # This must be Linux ELF.
15852 linux
* | k
*bsd
*-gnu)
15856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15857 soname_spec
='${libname}${release}${shared_ext}$major'
15858 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15859 shlibpath_var
=LD_LIBRARY_PATH
15860 shlibpath_overrides_runpath
=no
15861 # This implies no fast_install, which is unacceptable.
15862 # Some rework will be needed to allow for fast_install
15863 # before this can be enabled.
15864 hardcode_into_libs
=yes
15866 # Append ld.so.conf contents to the search path
15867 if test -f /etc
/ld.so.conf
; then
15868 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' ' '`
15869 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15872 # We used to test for /lib/ld.so.1 and disable shared libraries on
15873 # powerpc, because MkLinux only supported shared libraries with the
15874 # GNU dynamic linker. Since this was broken with cross compilers,
15875 # most powerpc-linux boxes support dynamic linking these days and
15876 # people can always --disable-shared, the test was removed, and we
15877 # assume the GNU/Linux dynamic linker is in use.
15878 dynamic_linker
='GNU/Linux ld.so'
15885 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15888 dynamic_linker
='NetBSD (a.out) ld.so'
15890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15891 soname_spec
='${libname}${release}${shared_ext}$major'
15892 dynamic_linker
='NetBSD ld.elf_so'
15894 shlibpath_var
=LD_LIBRARY_PATH
15895 shlibpath_overrides_runpath
=yes
15896 hardcode_into_libs
=yes
15901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15902 shlibpath_var
=LD_LIBRARY_PATH
15903 shlibpath_overrides_runpath
=yes
15910 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15911 soname_spec
='${libname}${release}${shared_ext}$major'
15912 shlibpath_var
=LD_LIBRARY_PATH
15913 shlibpath_overrides_runpath
=yes
15918 sys_lib_dlsearch_path_spec
="/usr/lib"
15920 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15922 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15923 *) need_version
=no
;;
15925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15926 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15927 shlibpath_var
=LD_LIBRARY_PATH
15928 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15930 openbsd2.
[89] | openbsd2.
[89].
*)
15931 shlibpath_overrides_runpath
=no
15934 shlibpath_overrides_runpath
=yes
15938 shlibpath_overrides_runpath
=yes
15943 libname_spec
='$name'
15946 library_names_spec
='$libname${shared_ext} $libname.a'
15947 dynamic_linker
='OS/2 ld.exe'
15948 shlibpath_var
=LIBPATH
15951 osf3
* | osf4
* | osf5
*)
15955 soname_spec
='${libname}${release}${shared_ext}$major'
15956 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15957 shlibpath_var
=LD_LIBRARY_PATH
15958 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15959 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15971 soname_spec
='${libname}${release}${shared_ext}$major'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 shlibpath_overrides_runpath
=yes
15974 hardcode_into_libs
=yes
15975 # ldd complains unless libraries are executable
15976 postinstall_cmds
='chmod +x $lib'
15981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15982 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15983 shlibpath_var
=LD_LIBRARY_PATH
15984 shlibpath_overrides_runpath
=yes
15985 if test "$with_gnu_ld" = yes; then
15993 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15994 soname_spec
='${libname}${release}${shared_ext}$major'
15995 shlibpath_var
=LD_LIBRARY_PATH
15996 case $host_vendor in
15998 shlibpath_overrides_runpath
=no
16000 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16001 runpath_var
=LD_RUN_PATH
16009 shlibpath_overrides_runpath
=no
16010 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16016 if test -d /usr
/nec
;then
16018 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16019 soname_spec
='$libname${shared_ext}.$major'
16020 shlibpath_var
=LD_LIBRARY_PATH
16024 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16025 version_type
=freebsd-elf
16028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16029 soname_spec
='${libname}${release}${shared_ext}$major'
16030 shlibpath_var
=LD_LIBRARY_PATH
16031 hardcode_into_libs
=yes
16032 if test "$with_gnu_ld" = yes; then
16033 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16034 shlibpath_overrides_runpath
=no
16036 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16037 shlibpath_overrides_runpath
=yes
16040 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16044 sys_lib_dlsearch_path_spec
='/usr/lib'
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16050 soname_spec
='${libname}${release}${shared_ext}$major'
16051 shlibpath_var
=LD_LIBRARY_PATH
16058 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16059 echo "${ECHO_T}$dynamic_linker" >&6; }
16060 test "$dynamic_linker" = no
&& can_build_shared
=no
16062 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16068 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16069 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16075 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16077 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16078 if test "$GCC" = yes; then
16079 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16082 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16083 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16084 hardcode_action_F77
=
16085 if test -n "$hardcode_libdir_flag_spec_F77" || \
16086 test -n "$runpath_var_F77" || \
16087 test "X$hardcode_automatic_F77" = "Xyes" ; then
16089 # We can hardcode non-existant directories.
16090 if test "$hardcode_direct_F77" != no
&&
16091 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16092 # have to relink, otherwise we might link with an installed library
16093 # when we should be linking with a yet-to-be-installed one
16094 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16095 test "$hardcode_minus_L_F77" != no
; then
16096 # Linking always hardcodes the temporary library directory.
16097 hardcode_action_F77
=relink
16099 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16100 hardcode_action_F77
=immediate
16103 # We cannot hardcode anything, or else we can only hardcode existing
16105 hardcode_action_F77
=unsupported
16107 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16108 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16110 if test "$hardcode_action_F77" = relink
; then
16111 # Fast installation is not supported
16112 enable_fast_install
=no
16113 elif test "$shlibpath_overrides_runpath" = yes ||
16114 test "$enable_shared" = no
; then
16115 # Fast installation is not necessary
16116 enable_fast_install
=needless
16120 # The else clause should only fire when bootstrapping the
16121 # libtool distribution, otherwise you forgot to ship ltmain.sh
16122 # with your package, and you will get complaints that there are
16123 # no rules to generate ltmain.sh.
16124 if test -f "$ltmain"; then
16125 # See if we are running on zsh, and set the options which allow our commands through
16126 # without removal of \ escapes.
16127 if test -n "${ZSH_VERSION+set}" ; then
16128 setopt NO_GLOB_SUBST
16130 # Now quote all the things that may contain metacharacters while being
16131 # careful not to overquote the AC_SUBSTed values. We take copies of the
16132 # variables and quote the copies for generation of the libtool script.
16133 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16135 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16136 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16137 deplibs_check_method reload_flag reload_cmds need_locks \
16138 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16139 lt_cv_sys_global_symbol_to_c_name_address \
16140 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16141 old_postinstall_cmds old_postuninstall_cmds \
16145 lt_prog_compiler_wl_F77 \
16146 lt_prog_compiler_pic_F77 \
16147 lt_prog_compiler_static_F77 \
16148 lt_prog_compiler_no_builtin_flag_F77 \
16149 export_dynamic_flag_spec_F77 \
16150 thread_safe_flag_spec_F77 \
16151 whole_archive_flag_spec_F77 \
16152 enable_shared_with_static_runtimes_F77 \
16153 old_archive_cmds_F77 \
16154 old_archive_from_new_cmds_F77 \
16155 predep_objects_F77 \
16156 postdep_objects_F77 \
16159 compiler_lib_search_path_F77 \
16160 compiler_lib_search_dirs_F77 \
16162 archive_expsym_cmds_F77 \
16163 postinstall_cmds_F77 \
16164 postuninstall_cmds_F77 \
16165 old_archive_from_expsyms_cmds_F77 \
16166 allow_undefined_flag_F77 \
16167 no_undefined_flag_F77 \
16168 export_symbols_cmds_F77 \
16169 hardcode_libdir_flag_spec_F77 \
16170 hardcode_libdir_flag_spec_ld_F77 \
16171 hardcode_libdir_separator_F77 \
16172 hardcode_automatic_F77 \
16174 module_expsym_cmds_F77 \
16175 lt_cv_prog_compiler_c_o_F77 \
16176 fix_srcfile_path_F77 \
16177 exclude_expsyms_F77 \
16178 include_expsyms_F77
; do
16181 old_archive_cmds_F77 | \
16182 old_archive_from_new_cmds_F77 | \
16183 archive_cmds_F77 | \
16184 archive_expsym_cmds_F77 | \
16185 module_cmds_F77 | \
16186 module_expsym_cmds_F77 | \
16187 old_archive_from_expsyms_cmds_F77 | \
16188 export_symbols_cmds_F77 | \
16189 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16190 postinstall_cmds | postuninstall_cmds | \
16191 old_postinstall_cmds | old_postuninstall_cmds | \
16192 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16193 # Double-quote double-evaled strings.
16194 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16197 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16203 *'\$0 --fallback-echo"')
16204 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16210 cat <<__EOF__ >> "$cfgfile"
16211 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16213 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16215 # Shell to use when invoking shell scripts.
16218 # Whether or not to build shared libraries.
16219 build_libtool_libs=$enable_shared
16221 # Whether or not to build static libraries.
16222 build_old_libs=$enable_static
16224 # Whether or not to add -lc for building shared libraries.
16225 build_libtool_need_lc=$archive_cmds_need_lc_F77
16227 # Whether or not to disallow shared libs when runtime libs are static
16228 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16230 # Whether or not to optimize for fast installation.
16231 fast_install=$enable_fast_install
16234 host_alias=$host_alias
16238 # The build system.
16239 build_alias=$build_alias
16243 # An echo program that does not interpret backslashes.
16248 AR_FLAGS=$lt_AR_FLAGS
16253 # LTCC compiler flags.
16254 LTCFLAGS=$lt_LTCFLAGS
16256 # A language-specific compiler.
16257 CC=$lt_compiler_F77
16259 # Is the compiler the GNU C compiler?
16265 # The linker used to build libraries.
16268 # Whether we need hard or soft links.
16271 # A BSD-compatible nm program.
16274 # A symbol stripping program
16277 # Used to examine libraries when file_magic_cmd begins "file"
16278 MAGIC_CMD=$MAGIC_CMD
16280 # Used on cygwin: DLL creation program.
16283 # Used on cygwin: object dumper.
16286 # Used on cygwin: assembler.
16289 # The name of the directory that contains temporary libtool files.
16292 # How to create reloadable object files.
16293 reload_flag=$lt_reload_flag
16294 reload_cmds=$lt_reload_cmds
16296 # How to pass a linker flag through the compiler.
16297 wl=$lt_lt_prog_compiler_wl_F77
16299 # Object file suffix (normally "o").
16300 objext="$ac_objext"
16302 # Old archive suffix (normally "a").
16305 # Shared library suffix (normally ".so").
16306 shrext_cmds='$shrext_cmds'
16308 # Executable file suffix (normally "").
16311 # Additional compiler flags for building library objects.
16312 pic_flag=$lt_lt_prog_compiler_pic_F77
16315 # What is the maximum length of a command?
16316 max_cmd_len=$lt_cv_sys_max_cmd_len
16318 # Does compiler simultaneously support -c and -o options?
16319 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16321 # Must we lock files when doing compilation?
16322 need_locks=$lt_need_locks
16324 # Do we need the lib prefix for modules?
16325 need_lib_prefix=$need_lib_prefix
16327 # Do we need a version for libraries?
16328 need_version=$need_version
16330 # Whether dlopen is supported.
16331 dlopen_support=$enable_dlopen
16333 # Whether dlopen of programs is supported.
16334 dlopen_self=$enable_dlopen_self
16336 # Whether dlopen of statically linked programs is supported.
16337 dlopen_self_static=$enable_dlopen_self_static
16339 # Compiler flag to prevent dynamic linking.
16340 link_static_flag=$lt_lt_prog_compiler_static_F77
16342 # Compiler flag to turn off builtin functions.
16343 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16345 # Compiler flag to allow reflexive dlopens.
16346 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16348 # Compiler flag to generate shared objects directly from archives.
16349 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16351 # Compiler flag to generate thread-safe objects.
16352 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16354 # Library versioning type.
16355 version_type=$version_type
16357 # Format of library name prefix.
16358 libname_spec=$lt_libname_spec
16360 # List of archive names. First name is the real one, the rest are links.
16361 # The last name is the one that the linker finds with -lNAME.
16362 library_names_spec=$lt_library_names_spec
16364 # The coded name of the library, if different from the real name.
16365 soname_spec=$lt_soname_spec
16367 # Commands used to build and install an old-style archive.
16369 old_archive_cmds=$lt_old_archive_cmds_F77
16370 old_postinstall_cmds=$lt_old_postinstall_cmds
16371 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16373 # Create an old-style archive from a shared archive.
16374 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16376 # Create a temporary old-style archive to link instead of a shared archive.
16377 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16379 # Commands used to build and install a shared archive.
16380 archive_cmds=$lt_archive_cmds_F77
16381 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16382 postinstall_cmds=$lt_postinstall_cmds
16383 postuninstall_cmds=$lt_postuninstall_cmds
16385 # Commands used to build a loadable module (assumed same as above if empty)
16386 module_cmds=$lt_module_cmds_F77
16387 module_expsym_cmds=$lt_module_expsym_cmds_F77
16389 # Commands to strip libraries.
16390 old_striplib=$lt_old_striplib
16391 striplib=$lt_striplib
16393 # Dependencies to place before the objects being linked to create a
16395 predep_objects=$lt_predep_objects_F77
16397 # Dependencies to place after the objects being linked to create a
16399 postdep_objects=$lt_postdep_objects_F77
16401 # Dependencies to place before the objects being linked to create a
16403 predeps=$lt_predeps_F77
16405 # Dependencies to place after the objects being linked to create a
16407 postdeps=$lt_postdeps_F77
16409 # The directories searched by this compiler when creating a shared
16411 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16413 # The library search path used internally by the compiler when linking
16414 # a shared library.
16415 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16417 # Method to check whether dependent libraries are shared objects.
16418 deplibs_check_method=$lt_deplibs_check_method
16420 # Command to use when deplibs_check_method == file_magic.
16421 file_magic_cmd=$lt_file_magic_cmd
16423 # Flag that allows shared libraries with undefined symbols to be built.
16424 allow_undefined_flag=$lt_allow_undefined_flag_F77
16426 # Flag that forces no undefined symbols.
16427 no_undefined_flag=$lt_no_undefined_flag_F77
16429 # Commands used to finish a libtool library installation in a directory.
16430 finish_cmds=$lt_finish_cmds
16432 # Same as above, but a single script fragment to be evaled but not shown.
16433 finish_eval=$lt_finish_eval
16435 # Take the output of nm and produce a listing of raw symbols and C names.
16436 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16438 # Transform the output of nm in a proper C declaration
16439 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16441 # Transform the output of nm in a C name address pair
16442 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16444 # This is the shared library runtime path variable.
16445 runpath_var=$runpath_var
16447 # This is the shared library path variable.
16448 shlibpath_var=$shlibpath_var
16450 # Is shlibpath searched before the hard-coded library search path?
16451 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16453 # How to hardcode a shared library path into an executable.
16454 hardcode_action=$hardcode_action_F77
16456 # Whether we should hardcode library paths into libraries.
16457 hardcode_into_libs=$hardcode_into_libs
16459 # Flag to hardcode \$libdir into a binary during linking.
16460 # This must work even if \$libdir does not exist.
16461 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16463 # If ld is used when linking, flag to hardcode \$libdir into
16464 # a binary during linking. This must work even if \$libdir does
16466 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16468 # Whether we need a single -rpath flag with a separated argument.
16469 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16471 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16472 # resulting binary.
16473 hardcode_direct=$hardcode_direct_F77
16475 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16476 # resulting binary.
16477 hardcode_minus_L=$hardcode_minus_L_F77
16479 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16480 # the resulting binary.
16481 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16483 # Set to yes if building a shared library automatically hardcodes DIR into the library
16484 # and all subsequent libraries and executables linked against it.
16485 hardcode_automatic=$hardcode_automatic_F77
16487 # Variables whose values should be saved in libtool wrapper scripts and
16488 # restored at relink time.
16489 variables_saved_for_relink="$variables_saved_for_relink"
16491 # Whether libtool must link a program against all its dependency libraries.
16492 link_all_deplibs=$link_all_deplibs_F77
16494 # Compile-time system search path for libraries
16495 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16497 # Run-time system search path for libraries
16498 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16500 # Fix the shell variable \$srcfile for the compiler.
16501 fix_srcfile_path=$lt_fix_srcfile_path
16503 # Set to yes if exported symbols are required.
16504 always_export_symbols=$always_export_symbols_F77
16506 # The commands to list exported symbols.
16507 export_symbols_cmds=$lt_export_symbols_cmds_F77
16509 # The commands to extract the exported symbol list from a shared archive.
16510 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16512 # Symbols that should not be listed in the preloaded symbols.
16513 exclude_expsyms=$lt_exclude_expsyms_F77
16515 # Symbols that must always be exported.
16516 include_expsyms=$lt_include_expsyms_F77
16518 # ### END LIBTOOL TAG CONFIG: $tagname
16524 # If there is no Makefile yet, we rely on a make rule to execute
16525 # `config.status --recheck' to rerun these tests and create the
16526 # libtool script then.
16527 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16528 if test -f "$ltmain_in"; then
16529 test -f Makefile
&& make "$ltmain"
16535 ac_cpp
='$CPP $CPPFLAGS'
16536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16548 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16551 # Source file extension for Java test sources.
16554 # Object file extension for compiled Java test sources.
16558 # Code to be used in simple compile tests
16559 lt_simple_compile_test_code
="class foo {}"
16561 # Code to be used in simple link tests
16562 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16564 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16566 # If no C compiler was specified, use CC.
16569 # If no C compiler flags were specified, use CFLAGS.
16570 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16572 # Allow CC to be a program name with arguments.
16576 # save warnings/boilerplate of simple test code
16577 ac_outfile
=conftest.
$ac_objext
16578 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16579 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16580 _lt_compiler_boilerplate
=`cat conftest.err`
16583 ac_outfile
=conftest.
$ac_objext
16584 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16585 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16586 _lt_linker_boilerplate
=`cat conftest.err`
16590 # Allow CC to be a program name with arguments.
16595 for cc_temp
in $compiler""; do
16597 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16598 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16603 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16606 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16607 archive_cmds_need_lc_GCJ
=no
16609 old_archive_cmds_GCJ
=$old_archive_cmds
16612 lt_prog_compiler_no_builtin_flag_GCJ
=
16614 if test "$GCC" = yes; then
16615 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16618 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16619 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16620 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16623 lt_cv_prog_compiler_rtti_exceptions
=no
16624 ac_outfile
=conftest.
$ac_objext
16625 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16626 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16627 # Insert the option either (1) after the last *FLAGS variable, or
16628 # (2) before a word containing "conftest.", or (3) at the end.
16629 # Note that $ac_compile itself does not contain backslashes and begins
16630 # with a dollar sign (not a hyphen), so the echo should work correctly.
16631 # The option is referenced via a variable to avoid confusing sed.
16632 lt_compile
=`echo "$ac_compile" | $SED \
16633 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16634 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16635 -e 's:$: $lt_compiler_flag:'`
16636 (eval echo "\"\$as_me:16636: $lt_compile\"" >&5)
16637 (eval "$lt_compile" 2>conftest.err
)
16639 cat conftest.err
>&5
16640 echo "$as_me:16640: \$? = $ac_status" >&5
16641 if (exit $ac_status) && test -s "$ac_outfile"; then
16642 # The compiler can only warn and ignore the option if not recognized
16643 # So say no if there are warnings other than the usual output.
16644 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16646 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16647 lt_cv_prog_compiler_rtti_exceptions
=yes
16653 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16654 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16656 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16657 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16664 lt_prog_compiler_wl_GCJ
=
16665 lt_prog_compiler_pic_GCJ
=
16666 lt_prog_compiler_static_GCJ
=
16668 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16669 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16671 if test "$GCC" = yes; then
16672 lt_prog_compiler_wl_GCJ
='-Wl,'
16673 lt_prog_compiler_static_GCJ
='-static'
16677 # All AIX code is PIC.
16678 if test "$host_cpu" = ia64
; then
16679 # AIX 5 now supports IA64 processor
16680 lt_prog_compiler_static_GCJ
='-Bstatic'
16685 # FIXME: we need at least 68020 code to build shared libraries, but
16686 # adding the `-m68020' flag to GCC prevents building anything better,
16688 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16691 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16692 # PIC is the default for these OSes.
16695 mingw
* | cygwin
* | pw32
* | os2
*)
16696 # This hack is so that the source file can tell whether it is being
16697 # built for inclusion in a dll (and should export symbols for example).
16698 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16699 # (--disable-auto-import) libraries
16703 darwin
* | rhapsody
*)
16704 # PIC is the default on this platform
16705 # Common symbols not allowed in MH_DYLIB files
16706 lt_prog_compiler_pic_GCJ
='-fno-common'
16710 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16711 # Instead, we relocate shared libraries at runtime.
16715 # Just because we use GCC doesn't mean we suddenly get shared libraries
16716 # on systems that don't support them.
16717 lt_prog_compiler_can_build_shared_GCJ
=no
16722 if test -d /usr
/nec
; then
16723 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16728 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16729 # not for PA HP-UX.
16735 lt_prog_compiler_pic_GCJ
='-fPIC'
16741 lt_prog_compiler_pic_GCJ
='-fPIC'
16745 # PORTME Check for flag to pass linker flags through the system compiler.
16748 lt_prog_compiler_wl_GCJ
='-Wl,'
16749 if test "$host_cpu" = ia64
; then
16750 # AIX 5 now supports IA64 processor
16751 lt_prog_compiler_static_GCJ
='-Bstatic'
16753 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16757 # PIC is the default on this platform
16758 # Common symbols not allowed in MH_DYLIB files
16759 case $cc_basename in
16761 lt_prog_compiler_pic_GCJ
='-qnocommon'
16762 lt_prog_compiler_wl_GCJ
='-Wl,'
16767 mingw
* | cygwin
* | pw32
* | os2
*)
16768 # This hack is so that the source file can tell whether it is being
16769 # built for inclusion in a dll (and should export symbols for example).
16773 hpux9
* | hpux10
* | hpux11
*)
16774 lt_prog_compiler_wl_GCJ
='-Wl,'
16775 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16776 # not for PA HP-UX.
16782 lt_prog_compiler_pic_GCJ
='+Z'
16785 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16786 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16789 irix5
* | irix6
* | nonstopux
*)
16790 lt_prog_compiler_wl_GCJ
='-Wl,'
16791 # PIC (with -KPIC) is the default.
16792 lt_prog_compiler_static_GCJ
='-non_shared'
16796 lt_prog_compiler_pic_GCJ
='-KPIC'
16797 lt_prog_compiler_static_GCJ
='-Bstatic'
16800 linux
* | k
*bsd
*-gnu)
16801 case $cc_basename in
16803 lt_prog_compiler_wl_GCJ
='-Wl,'
16804 lt_prog_compiler_pic_GCJ
='-KPIC'
16805 lt_prog_compiler_static_GCJ
='-static'
16807 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16808 # Portland Group compilers (*not* the Pentium gcc compiler,
16809 # which looks to be a dead project)
16810 lt_prog_compiler_wl_GCJ
='-Wl,'
16811 lt_prog_compiler_pic_GCJ
='-fpic'
16812 lt_prog_compiler_static_GCJ
='-Bstatic'
16815 lt_prog_compiler_wl_GCJ
='-Wl,'
16816 # All Alpha code is PIC.
16817 lt_prog_compiler_static_GCJ
='-non_shared'
16820 case `$CC -V 2>&1 | sed 5q` in
16823 lt_prog_compiler_pic_GCJ
='-KPIC'
16824 lt_prog_compiler_static_GCJ
='-Bstatic'
16825 lt_prog_compiler_wl_GCJ
='-Wl,'
16828 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16829 lt_prog_compiler_pic_GCJ
='-KPIC'
16830 lt_prog_compiler_static_GCJ
='-Bstatic'
16831 lt_prog_compiler_wl_GCJ
=''
16838 osf3
* | osf4
* | osf5
*)
16839 lt_prog_compiler_wl_GCJ
='-Wl,'
16840 # All OSF/1 code is PIC.
16841 lt_prog_compiler_static_GCJ
='-non_shared'
16845 lt_prog_compiler_static_GCJ
='-non_shared'
16849 lt_prog_compiler_pic_GCJ
='-KPIC'
16850 lt_prog_compiler_static_GCJ
='-Bstatic'
16851 case $cc_basename in
16852 f77
* | f90
* | f95
*)
16853 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16855 lt_prog_compiler_wl_GCJ
='-Wl,';;
16860 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16861 lt_prog_compiler_pic_GCJ
='-PIC'
16862 lt_prog_compiler_static_GCJ
='-Bstatic'
16865 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16866 lt_prog_compiler_wl_GCJ
='-Wl,'
16867 lt_prog_compiler_pic_GCJ
='-KPIC'
16868 lt_prog_compiler_static_GCJ
='-Bstatic'
16872 if test -d /usr
/nec
;then
16873 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16874 lt_prog_compiler_static_GCJ
='-Bstatic'
16878 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16879 lt_prog_compiler_wl_GCJ
='-Wl,'
16880 lt_prog_compiler_pic_GCJ
='-KPIC'
16881 lt_prog_compiler_static_GCJ
='-Bstatic'
16885 lt_prog_compiler_wl_GCJ
='-Wl,'
16886 lt_prog_compiler_can_build_shared_GCJ
=no
16890 lt_prog_compiler_pic_GCJ
='-pic'
16891 lt_prog_compiler_static_GCJ
='-Bstatic'
16895 lt_prog_compiler_can_build_shared_GCJ
=no
16900 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16901 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16904 # Check to make sure the PIC flag actually works.
16906 if test -n "$lt_prog_compiler_pic_GCJ"; then
16908 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16909 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16910 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 lt_cv_prog_compiler_pic_works_GCJ
=no
16914 ac_outfile
=conftest.
$ac_objext
16915 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16916 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16917 # Insert the option either (1) after the last *FLAGS variable, or
16918 # (2) before a word containing "conftest.", or (3) at the end.
16919 # Note that $ac_compile itself does not contain backslashes and begins
16920 # with a dollar sign (not a hyphen), so the echo should work correctly.
16921 # The option is referenced via a variable to avoid confusing sed.
16922 lt_compile
=`echo "$ac_compile" | $SED \
16923 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16924 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16925 -e 's:$: $lt_compiler_flag:'`
16926 (eval echo "\"\$as_me:16926: $lt_compile\"" >&5)
16927 (eval "$lt_compile" 2>conftest.err
)
16929 cat conftest.err
>&5
16930 echo "$as_me:16930: \$? = $ac_status" >&5
16931 if (exit $ac_status) && test -s "$ac_outfile"; then
16932 # The compiler can only warn and ignore the option if not recognized
16933 # So say no if there are warnings other than the usual output.
16934 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16935 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16936 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16937 lt_cv_prog_compiler_pic_works_GCJ
=yes
16943 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
16944 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16946 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
16947 case $lt_prog_compiler_pic_GCJ in
16949 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16952 lt_prog_compiler_pic_GCJ
=
16953 lt_prog_compiler_can_build_shared_GCJ
=no
16958 # For platforms which do not support PIC, -DPIC is meaningless:
16960 lt_prog_compiler_pic_GCJ
=
16963 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16968 # Check to make sure the static flag actually works.
16970 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16971 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16972 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16973 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16974 echo $ECHO_N "(cached) $ECHO_C" >&6
16976 lt_cv_prog_compiler_static_works_GCJ
=no
16977 save_LDFLAGS
="$LDFLAGS"
16978 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16979 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16980 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16981 # The linker can only warn and ignore the option if not recognized
16982 # So say no if there are warnings
16983 if test -s conftest.err
; then
16984 # Append any errors to the config.log.
16985 cat conftest.err
1>&5
16986 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16987 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16988 if diff conftest.exp conftest.er2
>/dev
/null
; then
16989 lt_cv_prog_compiler_static_works_GCJ
=yes
16992 lt_cv_prog_compiler_static_works_GCJ
=yes
16996 LDFLAGS
="$save_LDFLAGS"
16999 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17000 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17002 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17005 lt_prog_compiler_static_GCJ
=
17009 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17010 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17011 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 lt_cv_prog_compiler_c_o_GCJ
=no
17015 $rm -r conftest
2>/dev
/null
17019 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17021 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17022 # Insert the option either (1) after the last *FLAGS variable, or
17023 # (2) before a word containing "conftest.", or (3) at the end.
17024 # Note that $ac_compile itself does not contain backslashes and begins
17025 # with a dollar sign (not a hyphen), so the echo should work correctly.
17026 lt_compile
=`echo "$ac_compile" | $SED \
17027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17029 -e 's:$: $lt_compiler_flag:'`
17030 (eval echo "\"\$as_me:17030: $lt_compile\"" >&5)
17031 (eval "$lt_compile" 2>out
/conftest.err
)
17033 cat out
/conftest.err
>&5
17034 echo "$as_me:17034: \$? = $ac_status" >&5
17035 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17037 # The compiler can only warn and ignore the option if not recognized
17038 # So say no if there are warnings
17039 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17040 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17041 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17042 lt_cv_prog_compiler_c_o_GCJ
=yes
17047 # SGI C++ compiler will create directory out/ii_files/ for
17048 # template instantiation
17049 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17050 $rm out
/* && rmdir out
17056 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17057 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17060 hard_links
="nottested"
17061 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17062 # do not overwrite the value of need_locks provided by the user
17063 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17064 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17067 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17069 ln conftest.a conftest.b
2>&5 || hard_links
=no
17070 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17071 { echo "$as_me:$LINENO: result: $hard_links" >&5
17072 echo "${ECHO_T}$hard_links" >&6; }
17073 if test "$hard_links" = no
; then
17074 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17075 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17082 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17083 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17086 allow_undefined_flag_GCJ
=
17087 enable_shared_with_static_runtimes_GCJ
=no
17089 archive_expsym_cmds_GCJ
=
17090 old_archive_From_new_cmds_GCJ
=
17091 old_archive_from_expsyms_cmds_GCJ
=
17092 export_dynamic_flag_spec_GCJ
=
17093 whole_archive_flag_spec_GCJ
=
17094 thread_safe_flag_spec_GCJ
=
17095 hardcode_libdir_flag_spec_GCJ
=
17096 hardcode_libdir_flag_spec_ld_GCJ
=
17097 hardcode_libdir_separator_GCJ
=
17098 hardcode_direct_GCJ
=no
17099 hardcode_minus_L_GCJ
=no
17100 hardcode_shlibpath_var_GCJ
=unsupported
17101 link_all_deplibs_GCJ
=unknown
17102 hardcode_automatic_GCJ
=no
17104 module_expsym_cmds_GCJ
=
17105 always_export_symbols_GCJ
=no
17106 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17107 # include_expsyms should be a list of space-separated symbols to be *always*
17108 # included in the symbol list
17109 include_expsyms_GCJ
=
17110 # exclude_expsyms can be an extended regexp of symbols to exclude
17111 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17112 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17113 # as well as any symbol that contains `d'.
17114 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17115 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17116 # platforms (ab)use it in PIC code, but their linkers get confused if
17117 # the symbol is explicitly referenced. Since portable code cannot
17118 # rely on this symbol name, it's probably fine to never include it in
17119 # preloaded symbol tables.
17120 # Exclude shared library initialization/finalization symbols.
17121 extract_expsyms_cmds
=
17122 # Just being paranoid about ensuring that cc_basename is set.
17123 for cc_temp
in $compiler""; do
17125 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17126 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17131 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17134 cygwin
* | mingw
* | pw32
*)
17135 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17136 # When not using gcc, we currently assume that we are using
17137 # Microsoft Visual C++.
17138 if test "$GCC" != yes; then
17143 # we just hope/assume this is gcc and not c89 (= MSVC++)
17152 if test "$with_gnu_ld" = yes; then
17153 # If archive_cmds runs LD, not CC, wlarc should be empty
17156 # Set some defaults for GNU ld with shared library support. These
17157 # are reset later if shared libraries are not supported. Putting them
17158 # here allows them to be overridden if necessary.
17159 runpath_var
=LD_RUN_PATH
17160 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17161 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17162 # ancient GNU ld didn't support --whole-archive et. al.
17163 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17164 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17166 whole_archive_flag_spec_GCJ
=
17168 supports_anon_versioning
=no
17169 case `$LD -v 2>/dev/null` in
17170 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17171 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17172 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17173 *\
2.11.
*) ;; # other 2.11 versions
17174 *) supports_anon_versioning
=yes ;;
17177 # See if GNU ld supports shared libraries.
17180 # On AIX/PPC, the GNU linker is very broken
17181 if test "$host_cpu" != ia64
; then
17185 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17186 *** to be unable to reliably create shared libraries on AIX.
17187 *** Therefore, libtool is disabling shared libraries support. If you
17188 *** really care for shared libraries, you may want to modify your PATH
17189 *** so that a non-GNU linker is found, and then restart.
17196 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)'
17197 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17198 hardcode_minus_L_GCJ
=yes
17200 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17201 # that the semantics of dynamic libraries on AmigaOS, at least up
17202 # to version 4, is to share data among multiple programs linked
17203 # with the same dynamic library. Since this doesn't match the
17204 # behavior of shared libraries on other platforms, we can't use
17210 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17211 allow_undefined_flag_GCJ
=unsupported
17212 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17213 # support --undefined. This deserves some investigation. FIXME
17214 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17220 cygwin
* | mingw
* | pw32
*)
17221 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17222 # as there is no search path for DLLs.
17223 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17224 allow_undefined_flag_GCJ
=unsupported
17225 always_export_symbols_GCJ
=no
17226 enable_shared_with_static_runtimes_GCJ
=yes
17227 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17229 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17230 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17231 # If the export-symbols file already is a .def file (1st line
17232 # is EXPORTS), use it as is; otherwise, prepend...
17233 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17234 cp $export_symbols $output_objdir/$soname.def;
17236 echo EXPORTS > $output_objdir/$soname.def;
17237 cat $export_symbols >> $output_objdir/$soname.def;
17239 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17246 hardcode_direct_GCJ
=no
17247 hardcode_shlibpath_var_GCJ
=no
17248 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17249 export_dynamic_flag_spec_GCJ
='${wl}-E'
17250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17251 # Instead, shared libraries are loaded at an image base (0x10000000 by
17252 # default) and relocated if they conflict, which is a slow very memory
17253 # consuming and fragmenting process. To avoid this, we pick a random,
17254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17256 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'
17257 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'
17260 gnu
* | linux
* | k
*bsd
*-gnu)
17261 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17263 case $cc_basename,$host_cpu in
17264 pgcc
*) # Portland Group C compiler
17265 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'
17266 tmp_addflag
=' $pic_flag'
17268 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17269 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'
17270 tmp_addflag
=' $pic_flag -Mnomain' ;;
17271 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17272 tmp_addflag
=' -i_dynamic' ;;
17273 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17274 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17275 ifc
* | ifort
*) # Intel Fortran compiler
17276 tmp_addflag
=' -nofor_main' ;;
17278 case `$CC -V 2>&1 | sed 5q` in
17279 *Sun\ C
*) # Sun C 5.9
17280 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'
17281 tmp_sharedflag
='-G' ;;
17282 *Sun\ F
*) # Sun Fortran 8.3
17283 tmp_sharedflag
='-G' ;;
17285 tmp_sharedflag
='-shared' ;;
17287 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17289 if test $supports_anon_versioning = yes; then
17290 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17292 $echo "local: *; };" >> $output_objdir/$libname.ver~
17293 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17301 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17302 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17305 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17306 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17311 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17315 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17316 *** create shared libraries on Solaris systems. Therefore, libtool
17317 *** is disabling shared libraries support. We urge you to upgrade GNU
17318 *** binutils to release 2.9.1 or newer. Another option is to modify
17319 *** your PATH or compiler configuration so that the native linker is
17320 *** used, and then restart.
17323 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17324 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17325 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17331 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17332 case `$LD -v 2>&1` in
17333 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17337 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17338 *** reliably create shared libraries on SCO systems. Therefore, libtool
17339 *** is disabling shared libraries support. We urge you to upgrade GNU
17340 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17341 *** your PATH or compiler configuration so that the native linker is
17342 *** used, and then restart.
17347 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17348 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17349 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17350 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17359 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17361 hardcode_direct_GCJ
=yes
17362 hardcode_shlibpath_var_GCJ
=no
17366 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17367 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17368 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17375 if test "$ld_shlibs_GCJ" = no
; then
17377 hardcode_libdir_flag_spec_GCJ
=
17378 export_dynamic_flag_spec_GCJ
=
17379 whole_archive_flag_spec_GCJ
=
17382 # PORTME fill in a description of your system's linker (not GNU ld)
17385 allow_undefined_flag_GCJ
=unsupported
17386 always_export_symbols_GCJ
=yes
17387 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'
17388 # Note: this linker hardcodes the directories in LIBPATH if there
17389 # are no directories specified by -L.
17390 hardcode_minus_L_GCJ
=yes
17391 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17392 # Neither direct hardcoding nor static linking is supported with a
17394 hardcode_direct_GCJ
=unsupported
17399 if test "$host_cpu" = ia64
; then
17400 # On IA64, the linker does run time linking by default, so we don't
17401 # have to do anything special.
17402 aix_use_runtimelinking
=no
17403 exp_sym_flag
='-Bexport'
17406 # If we're using GNU nm, then we don't want the "-C" option.
17407 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17408 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17409 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'
17411 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'
17413 aix_use_runtimelinking
=no
17415 # Test if we are trying to use run time linking or normal
17416 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17417 # need to do runtime linking.
17418 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17419 for ld_flag
in $LDFLAGS; do
17420 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17421 aix_use_runtimelinking
=yes
17428 exp_sym_flag
='-bexport'
17429 no_entry_flag
='-bnoentry'
17432 # When large executables or shared objects are built, AIX ld can
17433 # have problems creating the table of contents. If linking a library
17434 # or program results in "error TOC overflow" add -mminimal-toc to
17435 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17436 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17438 archive_cmds_GCJ
=''
17439 hardcode_direct_GCJ
=yes
17440 hardcode_libdir_separator_GCJ
=':'
17441 link_all_deplibs_GCJ
=yes
17443 if test "$GCC" = yes; then
17444 case $host_os in aix4.
[012]|aix4.
[012].
*)
17445 # We only want to do this on AIX 4.2 and lower, the check
17446 # below for broken collect2 doesn't work under 4.3+
17447 collect2name
=`${CC} -print-prog-name=collect2`
17448 if test -f "$collect2name" && \
17449 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17451 # We have reworked collect2
17454 # We have old collect2
17455 hardcode_direct_GCJ
=unsupported
17456 # It fails to find uninstalled libraries when the uninstalled
17457 # path is not listed in the libpath. Setting hardcode_minus_L
17458 # to unsupported forces relinking
17459 hardcode_minus_L_GCJ
=yes
17460 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17461 hardcode_libdir_separator_GCJ
=
17465 shared_flag
='-shared'
17466 if test "$aix_use_runtimelinking" = yes; then
17467 shared_flag
="$shared_flag "'${wl}-G'
17471 if test "$host_cpu" = ia64
; then
17472 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17473 # chokes on -Wl,-G. The following line is correct:
17476 if test "$aix_use_runtimelinking" = yes; then
17477 shared_flag
='${wl}-G'
17479 shared_flag
='${wl}-bM:SRE'
17484 # It seems that -bexpall does not export symbols beginning with
17485 # underscore (_), so it is better to generate a list of symbols to export.
17486 always_export_symbols_GCJ
=yes
17487 if test "$aix_use_runtimelinking" = yes; then
17488 # Warning - without using the other runtime loading flags (-brtl),
17489 # -berok will link without error, but may produce a broken library.
17490 allow_undefined_flag_GCJ
='-berok'
17491 # Determine the default libpath from the value encoded in an empty executable.
17492 cat >conftest.
$ac_ext <<_ACEOF
17495 cat confdefs.h
>>conftest.
$ac_ext
17496 cat >>conftest.
$ac_ext <<_ACEOF
17497 /* end confdefs.h. */
17507 rm -f conftest.
$ac_objext conftest
$ac_exeext
17508 if { (ac_try
="$ac_link"
17509 case "(($ac_try" in
17510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17511 *) ac_try_echo=$ac_try;;
17513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17514 (eval "$ac_link") 2>conftest.er1
17516 grep -v '^ *+' conftest.er1 >conftest.err
17518 cat conftest.err >&5
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); } && {
17521 test -z "$ac_c_werror_flag" ||
17522 test ! -s conftest.err
17523 } && test -s conftest$ac_exeext &&
17524 $as_test_x conftest$ac_exeext; then
17526 lt_aix_libpath_sed='
17527 /Import File Strings/,/^$/ {
17533 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17534 # Check for a 64-bit object if we didn't find anything.
17535 if test -z "$aix_libpath"; then
17536 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17546 conftest$ac_exeext conftest.$ac_ext
17547 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17549 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17550 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"
17552 if test "$host_cpu" = ia64; then
17553 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17554 allow_undefined_flag_GCJ="-z nodefs"
17555 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"
17557 # Determine the default libpath from the value encoded in an empty executable.
17558 cat >conftest.$ac_ext <<_ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17573 rm -f conftest.$ac_objext conftest$ac_exeext
17574 if { (ac_try="$ac_link"
17575 case "(($ac_try" in
17576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17577 *) ac_try_echo
=$ac_try;;
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_link") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1
>conftest.err
17584 cat conftest.err
>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest
$ac_exeext &&
17590 $as_test_x conftest
$ac_exeext; then
17592 lt_aix_libpath_sed
='
17593 /Import File Strings/,/^$/ {
17599 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17600 # Check for a 64-bit object if we didn't find anything.
17601 if test -z "$aix_libpath"; then
17602 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.
$ac_ext >&5
17611 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17612 conftest
$ac_exeext conftest.
$ac_ext
17613 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17615 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17616 # Warning - without using the other run time loading flags,
17617 # -berok will link without error, but may produce a broken library.
17618 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17619 allow_undefined_flag_GCJ
=' ${wl}-berok'
17620 # Exported symbols can be pulled into shared objects from archives
17621 whole_archive_flag_spec_GCJ
='$convenience'
17622 archive_cmds_need_lc_GCJ
=yes
17623 # This is similar to how AIX traditionally builds its shared libraries.
17624 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'
17630 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)'
17631 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17632 hardcode_minus_L_GCJ
=yes
17633 # see comment about different semantics on the GNU ld section
17638 export_dynamic_flag_spec_GCJ
=-rdynamic
17641 cygwin
* | mingw
* | pw32
*)
17642 # When not using gcc, we currently assume that we are using
17643 # Microsoft Visual C++.
17644 # hardcode_libdir_flag_spec is actually meaningless, as there is
17645 # no search path for DLLs.
17646 hardcode_libdir_flag_spec_GCJ
=' '
17647 allow_undefined_flag_GCJ
=unsupported
17648 # Tell ltmain to make .lib files, not .a files.
17650 # Tell ltmain to make .dll files, not .so files.
17652 # FIXME: Setting linknames here is a bad hack.
17653 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17654 # The linker will automatically build a .lib file if we build a DLL.
17655 old_archive_From_new_cmds_GCJ
='true'
17656 # FIXME: Should let the user specify the lib program.
17657 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17658 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17659 enable_shared_with_static_runtimes_GCJ
=yes
17662 darwin
* | rhapsody
*)
17664 rhapsody
* | darwin1.
[012])
17665 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17668 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17669 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17671 case ${MACOSX_DEPLOYMENT_TARGET} in
17673 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17676 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17682 archive_cmds_need_lc_GCJ
=no
17683 hardcode_direct_GCJ
=no
17684 hardcode_automatic_GCJ
=yes
17685 hardcode_shlibpath_var_GCJ
=unsupported
17686 whole_archive_flag_spec_GCJ
=''
17687 link_all_deplibs_GCJ
=yes
17688 if test "$GCC" = yes ; then
17689 output_verbose_link_cmd
='echo'
17690 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17691 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17692 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17693 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17695 case $cc_basename in
17697 output_verbose_link_cmd
='echo'
17698 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17699 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17700 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17701 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}'
17702 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}'
17712 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17713 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17714 hardcode_shlibpath_var_GCJ
=no
17721 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17722 # support. Future versions do this automatically, but an explicit c++rt0.o
17723 # does not break anything, and helps significantly (at the cost of a little
17726 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17727 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17728 hardcode_direct_GCJ
=yes
17729 hardcode_shlibpath_var_GCJ
=no
17732 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17734 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17735 hardcode_direct_GCJ
=yes
17736 hardcode_minus_L_GCJ
=yes
17737 hardcode_shlibpath_var_GCJ
=no
17740 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17741 freebsd
* | dragonfly
*)
17742 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17743 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17744 hardcode_direct_GCJ
=yes
17745 hardcode_shlibpath_var_GCJ
=no
17749 if test "$GCC" = yes; then
17750 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'
17752 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'
17754 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17755 hardcode_libdir_separator_GCJ
=:
17756 hardcode_direct_GCJ
=yes
17758 # hardcode_minus_L: Not really in the search PATH,
17759 # but as the default location of the library.
17760 hardcode_minus_L_GCJ
=yes
17761 export_dynamic_flag_spec_GCJ
='${wl}-E'
17765 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17766 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17768 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17770 if test "$with_gnu_ld" = no
; then
17771 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17772 hardcode_libdir_separator_GCJ
=:
17774 hardcode_direct_GCJ
=yes
17775 export_dynamic_flag_spec_GCJ
='${wl}-E'
17777 # hardcode_minus_L: Not really in the search PATH,
17778 # but as the default location of the library.
17779 hardcode_minus_L_GCJ
=yes
17784 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17787 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17790 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17793 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17799 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17802 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17805 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17809 if test "$with_gnu_ld" = no
; then
17810 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17811 hardcode_libdir_separator_GCJ
=:
17815 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17816 hardcode_direct_GCJ
=no
17817 hardcode_shlibpath_var_GCJ
=no
17820 hardcode_direct_GCJ
=yes
17821 export_dynamic_flag_spec_GCJ
='${wl}-E'
17823 # hardcode_minus_L: Not really in the search PATH,
17824 # but as the default location of the library.
17825 hardcode_minus_L_GCJ
=yes
17831 irix5
* | irix6
* | nonstopux
*)
17832 if test "$GCC" = yes; then
17833 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'
17835 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'
17836 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17838 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17839 hardcode_libdir_separator_GCJ
=:
17840 link_all_deplibs_GCJ
=yes
17844 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17845 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17847 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17849 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17850 hardcode_direct_GCJ
=yes
17851 hardcode_shlibpath_var_GCJ
=no
17855 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17856 hardcode_direct_GCJ
=yes
17857 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17858 hardcode_libdir_separator_GCJ
=:
17859 hardcode_shlibpath_var_GCJ
=no
17863 if test -f /usr
/libexec
/ld.so
; then
17864 hardcode_direct_GCJ
=yes
17865 hardcode_shlibpath_var_GCJ
=no
17866 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17867 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17868 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17869 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17870 export_dynamic_flag_spec_GCJ
='${wl}-E'
17873 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17874 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17875 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17878 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17879 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17889 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17890 hardcode_minus_L_GCJ
=yes
17891 allow_undefined_flag_GCJ
=unsupported
17892 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'
17893 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17897 if test "$GCC" = yes; then
17898 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17899 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'
17901 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17902 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'
17904 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17905 hardcode_libdir_separator_GCJ
=:
17908 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17909 if test "$GCC" = yes; then
17910 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17911 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'
17912 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17914 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17915 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'
17916 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~
17917 $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'
17919 # Both c and cxx compiler support -rpath directly
17920 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17922 hardcode_libdir_separator_GCJ
=:
17926 no_undefined_flag_GCJ
=' -z text'
17927 if test "$GCC" = yes; then
17929 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17930 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17931 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17934 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17935 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17936 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17938 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17939 hardcode_shlibpath_var_GCJ
=no
17941 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17943 # The compiler driver will combine and reorder linker options,
17944 # but understands `-z linker_flag'. GCC discards it without `$wl',
17945 # but is careful enough not to reorder.
17946 # Supported since Solaris 2.6 (maybe 2.5.1?)
17947 if test "$GCC" = yes; then
17948 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17950 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17954 link_all_deplibs_GCJ
=yes
17958 if test "x$host_vendor" = xsequent
; then
17959 # Use $CC to link under sequent, because it throws in some extra .o
17960 # files that make .init and .fini sections work.
17961 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17963 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17965 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17966 hardcode_direct_GCJ
=yes
17967 hardcode_minus_L_GCJ
=yes
17968 hardcode_shlibpath_var_GCJ
=no
17972 case $host_vendor in
17974 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17975 hardcode_direct_GCJ
=yes # is this really true???
17978 ## LD is ld it makes a PLAMLIB
17979 ## CC just makes a GrossModule.
17980 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17981 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17982 hardcode_direct_GCJ
=no
17985 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17986 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17989 runpath_var
='LD_RUN_PATH'
17990 hardcode_shlibpath_var_GCJ
=no
17994 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17995 hardcode_shlibpath_var_GCJ
=no
17996 export_dynamic_flag_spec_GCJ
='-Bexport'
18000 if test -d /usr
/nec
; then
18001 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18002 hardcode_shlibpath_var_GCJ
=no
18003 runpath_var
=LD_RUN_PATH
18004 hardcode_runpath_var
=yes
18009 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18010 no_undefined_flag_GCJ
='${wl}-z,text'
18011 archive_cmds_need_lc_GCJ
=no
18012 hardcode_shlibpath_var_GCJ
=no
18013 runpath_var
='LD_RUN_PATH'
18015 if test "$GCC" = yes; then
18016 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18017 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18019 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18020 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18024 sysv5
* | sco3.2v5
* | sco5v6
*)
18025 # Note: We can NOT use -z defs as we might desire, because we do not
18026 # link with -lc, and that would cause any symbols used from libc to
18027 # always be unresolved, which means just about no library would
18028 # ever link correctly. If we're not using GNU ld we use -z text
18029 # though, which does catch some bad symbols but isn't as heavy-handed
18031 no_undefined_flag_GCJ
='${wl}-z,text'
18032 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18033 archive_cmds_need_lc_GCJ
=no
18034 hardcode_shlibpath_var_GCJ
=no
18035 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18036 hardcode_libdir_separator_GCJ
=':'
18037 link_all_deplibs_GCJ
=yes
18038 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18039 runpath_var
='LD_RUN_PATH'
18041 if test "$GCC" = yes; then
18042 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18043 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18045 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18046 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18051 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18052 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18053 hardcode_shlibpath_var_GCJ
=no
18062 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18063 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18064 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18067 # Do we need to explicitly link libc?
18069 case "x$archive_cmds_need_lc_GCJ" in
18071 # Assume -lc should be added
18072 archive_cmds_need_lc_GCJ
=yes
18074 if test "$enable_shared" = yes && test "$GCC" = yes; then
18075 case $archive_cmds_GCJ in
18077 # FIXME: we may have to deal with multi-command sequences.
18080 # Test whether the compiler implicitly links with -lc since on some
18081 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18082 # to ld, don't add -lc before -lgcc.
18083 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18084 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18086 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } 2>conftest.err
; then
18095 libobjs
=conftest.
$ac_objext
18097 wl
=$lt_prog_compiler_wl_GCJ
18098 pic_flag
=$lt_prog_compiler_pic_GCJ
18104 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18105 allow_undefined_flag_GCJ
=
18106 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18107 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }
18112 archive_cmds_need_lc_GCJ
=no
18114 archive_cmds_need_lc_GCJ
=yes
18116 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18118 cat conftest.err
1>&5
18121 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18122 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18129 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18130 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18131 library_names_spec
=
18132 libname_spec
='lib$name'
18136 postuninstall_cmds
=
18140 shlibpath_overrides_runpath
=unknown
18142 dynamic_linker
="$host_os ld.so"
18143 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18145 need_lib_prefix
=unknown
18146 hardcode_into_libs
=no
18148 # when you set need_version to no, make sure it does not cause -set_version
18149 # flags to be left without arguments
18150 need_version
=unknown
18155 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18156 shlibpath_var
=LIBPATH
18158 # AIX 3 has no versioning support, so we append a major version to the name.
18159 soname_spec
='${libname}${release}${shared_ext}$major'
18166 hardcode_into_libs
=yes
18167 if test "$host_cpu" = ia64
; then
18168 # AIX 5 supports IA64
18169 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18170 shlibpath_var
=LD_LIBRARY_PATH
18172 # With GCC up to 2.95.x, collect2 would create an import file
18173 # for dependence libraries. The import file would start with
18174 # the line `#! .'. This would cause the generated library to
18175 # depend on `.', always an invalid library. This was fixed in
18176 # development snapshots of GCC prior to 3.0.
18178 aix4 | aix4.
[01] | aix4.
[01].
*)
18179 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18181 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18184 can_build_shared
=no
18188 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18189 # soname into executable. Probably we can add versioning support to
18190 # collect2, so additional links can be useful in future.
18191 if test "$aix_use_runtimelinking" = yes; then
18192 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18193 # instead of lib<name>.a to let people know that these are not
18194 # typical AIX shared libraries.
18195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18197 # We preserve .a as extension for shared libraries through AIX4.2
18198 # and later when we are not doing run time linking.
18199 library_names_spec
='${libname}${release}.a $libname.a'
18200 soname_spec
='${libname}${release}${shared_ext}$major'
18202 shlibpath_var
=LIBPATH
18207 library_names_spec
='$libname.ixlibrary $libname.a'
18208 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18209 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'
18213 library_names_spec
='${libname}${shared_ext}'
18214 dynamic_linker
="$host_os ld.so"
18215 shlibpath_var
=LIBRARY_PATH
18221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18222 soname_spec
='${libname}${release}${shared_ext}$major'
18223 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18224 shlibpath_var
=LD_LIBRARY_PATH
18225 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18226 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18227 # the default ld.so.conf also contains /usr/contrib/lib and
18228 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18229 # libtool to hard-code these into programs
18232 cygwin
* | mingw
* | pw32
*)
18233 version_type
=windows
18238 case $GCC,$host_os in
18239 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18240 library_names_spec
='$libname.dll.a'
18241 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18242 postinstall_cmds
='base_file=`basename \${file}`~
18243 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18244 dldir=$destdir/`dirname \$dlpath`~
18245 test -d \$dldir || mkdir -p \$dldir~
18246 $install_prog $dir/$dlname \$dldir/$dlname~
18247 chmod a+x \$dldir/$dlname'
18248 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18249 dlpath=$dir/\$dldll~
18251 shlibpath_overrides_runpath
=yes
18255 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18256 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18257 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18260 # MinGW DLLs use traditional 'lib' prefix
18261 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18262 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18263 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18264 # It is most probably a Windows format PATH printed by
18265 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18266 # path with ; separators, and with drive letters. We can handle the
18267 # drive letters (cygwin fileutils understands them), so leave them,
18268 # especially as we might pass files found there to a mingw objdump,
18269 # which wouldn't understand a cygwinified path. Ahh.
18270 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18272 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18276 # pw32 DLLs use 'pw' prefix rather than 'lib'
18277 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18283 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18286 dynamic_linker
='Win32 ld.exe'
18287 # FIXME: first we should search . and the directory the executable is in
18291 darwin
* | rhapsody
*)
18292 dynamic_linker
="$host_os dyld"
18293 version_type
=darwin
18296 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18297 soname_spec
='${libname}${release}${major}$shared_ext'
18298 shlibpath_overrides_runpath
=yes
18299 shlibpath_var
=DYLD_LIBRARY_PATH
18300 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18302 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18310 soname_spec
='${libname}${release}${shared_ext}$major'
18311 shlibpath_var
=LD_LIBRARY_PATH
18318 freebsd
* | dragonfly
*)
18319 # DragonFly does not have aout. When/if they implement a new
18320 # versioning mechanism, adjust this.
18321 if test -x /usr
/bin
/objformat
; then
18322 objformat
=`/usr/bin/objformat`
18325 freebsd
[123]*) objformat
=aout
;;
18326 *) objformat
=elf
;;
18329 version_type
=freebsd-
$objformat
18330 case $version_type in
18332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18337 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18341 shlibpath_var
=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath
=yes
18346 freebsd3.
[01]* | freebsdelf3.
[01]*)
18347 shlibpath_overrides_runpath
=yes
18348 hardcode_into_libs
=yes
18350 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18351 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18352 shlibpath_overrides_runpath
=no
18353 hardcode_into_libs
=yes
18355 *) # from 4.6 on, and DragonFly
18356 shlibpath_overrides_runpath
=yes
18357 hardcode_into_libs
=yes
18366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18367 soname_spec
='${libname}${release}${shared_ext}$major'
18368 shlibpath_var
=LD_LIBRARY_PATH
18369 hardcode_into_libs
=yes
18372 hpux9
* | hpux10
* | hpux11
*)
18373 # Give a soname corresponding to the major version so that dld.sl refuses to
18374 # link against other versions.
18381 hardcode_into_libs
=yes
18382 dynamic_linker
="$host_os dld.so"
18383 shlibpath_var
=LD_LIBRARY_PATH
18384 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18386 soname_spec
='${libname}${release}${shared_ext}$major'
18387 if test "X$HPUX_IA64_MODE" = X32
; then
18388 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18390 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18392 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18396 hardcode_into_libs
=yes
18397 dynamic_linker
="$host_os dld.sl"
18398 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18399 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18401 soname_spec
='${libname}${release}${shared_ext}$major'
18402 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18403 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18407 dynamic_linker
="$host_os dld.sl"
18408 shlibpath_var
=SHLIB_PATH
18409 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18411 soname_spec
='${libname}${release}${shared_ext}$major'
18414 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18415 postinstall_cmds
='chmod 555 $lib'
18422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18423 soname_spec
='${libname}${release}${shared_ext}$major'
18424 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18425 shlibpath_var
=LD_LIBRARY_PATH
18426 shlibpath_overrides_runpath
=no
18427 hardcode_into_libs
=yes
18430 irix5
* | irix6
* | nonstopux
*)
18432 nonstopux
*) version_type
=nonstopux
;;
18434 if test "$lt_cv_prog_gnu_ld" = yes; then
18442 soname_spec
='${libname}${release}${shared_ext}$major'
18443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18445 irix5
* | nonstopux
*)
18446 libsuff
= shlibsuff
=
18449 case $LD in # libtool.m4 will add one of these switches to LD
18450 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18451 libsuff
= shlibsuff
= libmagic
=32-bit;;
18452 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18453 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18454 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18455 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18456 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18460 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18461 shlibpath_overrides_runpath
=no
18462 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18463 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18464 hardcode_into_libs
=yes
18467 # No shared lib support for Linux oldld, aout, or coff.
18468 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18472 # This must be Linux ELF.
18473 linux
* | k
*bsd
*-gnu)
18477 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18478 soname_spec
='${libname}${release}${shared_ext}$major'
18479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18480 shlibpath_var
=LD_LIBRARY_PATH
18481 shlibpath_overrides_runpath
=no
18482 # This implies no fast_install, which is unacceptable.
18483 # Some rework will be needed to allow for fast_install
18484 # before this can be enabled.
18485 hardcode_into_libs
=yes
18487 # Append ld.so.conf contents to the search path
18488 if test -f /etc
/ld.so.conf
; then
18489 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' ' '`
18490 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18493 # We used to test for /lib/ld.so.1 and disable shared libraries on
18494 # powerpc, because MkLinux only supported shared libraries with the
18495 # GNU dynamic linker. Since this was broken with cross compilers,
18496 # most powerpc-linux boxes support dynamic linking these days and
18497 # people can always --disable-shared, the test was removed, and we
18498 # assume the GNU/Linux dynamic linker is in use.
18499 dynamic_linker
='GNU/Linux ld.so'
18506 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18508 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18509 dynamic_linker
='NetBSD (a.out) ld.so'
18511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18512 soname_spec
='${libname}${release}${shared_ext}$major'
18513 dynamic_linker
='NetBSD ld.elf_so'
18515 shlibpath_var
=LD_LIBRARY_PATH
18516 shlibpath_overrides_runpath
=yes
18517 hardcode_into_libs
=yes
18522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18523 shlibpath_var
=LD_LIBRARY_PATH
18524 shlibpath_overrides_runpath
=yes
18531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18532 soname_spec
='${libname}${release}${shared_ext}$major'
18533 shlibpath_var
=LD_LIBRARY_PATH
18534 shlibpath_overrides_runpath
=yes
18539 sys_lib_dlsearch_path_spec
="/usr/lib"
18541 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18543 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18544 *) need_version
=no
;;
18546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18547 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18548 shlibpath_var
=LD_LIBRARY_PATH
18549 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18551 openbsd2.
[89] | openbsd2.
[89].
*)
18552 shlibpath_overrides_runpath
=no
18555 shlibpath_overrides_runpath
=yes
18559 shlibpath_overrides_runpath
=yes
18564 libname_spec
='$name'
18567 library_names_spec
='$libname${shared_ext} $libname.a'
18568 dynamic_linker
='OS/2 ld.exe'
18569 shlibpath_var
=LIBPATH
18572 osf3
* | osf4
* | osf5
*)
18576 soname_spec
='${libname}${release}${shared_ext}$major'
18577 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18578 shlibpath_var
=LD_LIBRARY_PATH
18579 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18580 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18592 soname_spec
='${libname}${release}${shared_ext}$major'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=yes
18595 hardcode_into_libs
=yes
18596 # ldd complains unless libraries are executable
18597 postinstall_cmds
='chmod +x $lib'
18602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18603 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18604 shlibpath_var
=LD_LIBRARY_PATH
18605 shlibpath_overrides_runpath
=yes
18606 if test "$with_gnu_ld" = yes; then
18614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18615 soname_spec
='${libname}${release}${shared_ext}$major'
18616 shlibpath_var
=LD_LIBRARY_PATH
18617 case $host_vendor in
18619 shlibpath_overrides_runpath
=no
18621 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18622 runpath_var
=LD_RUN_PATH
18630 shlibpath_overrides_runpath
=no
18631 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18637 if test -d /usr
/nec
;then
18639 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18640 soname_spec
='$libname${shared_ext}.$major'
18641 shlibpath_var
=LD_LIBRARY_PATH
18645 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18646 version_type
=freebsd-elf
18649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18650 soname_spec
='${libname}${release}${shared_ext}$major'
18651 shlibpath_var
=LD_LIBRARY_PATH
18652 hardcode_into_libs
=yes
18653 if test "$with_gnu_ld" = yes; then
18654 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18655 shlibpath_overrides_runpath
=no
18657 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18658 shlibpath_overrides_runpath
=yes
18661 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18665 sys_lib_dlsearch_path_spec
='/usr/lib'
18670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18671 soname_spec
='${libname}${release}${shared_ext}$major'
18672 shlibpath_var
=LD_LIBRARY_PATH
18679 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18680 echo "${ECHO_T}$dynamic_linker" >&6; }
18681 test "$dynamic_linker" = no
&& can_build_shared
=no
18683 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18689 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18690 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18696 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18698 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18699 if test "$GCC" = yes; then
18700 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18703 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18704 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18705 hardcode_action_GCJ
=
18706 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18707 test -n "$runpath_var_GCJ" || \
18708 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18710 # We can hardcode non-existant directories.
18711 if test "$hardcode_direct_GCJ" != no
&&
18712 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18713 # have to relink, otherwise we might link with an installed library
18714 # when we should be linking with a yet-to-be-installed one
18715 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18716 test "$hardcode_minus_L_GCJ" != no
; then
18717 # Linking always hardcodes the temporary library directory.
18718 hardcode_action_GCJ
=relink
18720 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18721 hardcode_action_GCJ
=immediate
18724 # We cannot hardcode anything, or else we can only hardcode existing
18726 hardcode_action_GCJ
=unsupported
18728 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18729 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18731 if test "$hardcode_action_GCJ" = relink
; then
18732 # Fast installation is not supported
18733 enable_fast_install
=no
18734 elif test "$shlibpath_overrides_runpath" = yes ||
18735 test "$enable_shared" = no
; then
18736 # Fast installation is not necessary
18737 enable_fast_install
=needless
18741 # The else clause should only fire when bootstrapping the
18742 # libtool distribution, otherwise you forgot to ship ltmain.sh
18743 # with your package, and you will get complaints that there are
18744 # no rules to generate ltmain.sh.
18745 if test -f "$ltmain"; then
18746 # See if we are running on zsh, and set the options which allow our commands through
18747 # without removal of \ escapes.
18748 if test -n "${ZSH_VERSION+set}" ; then
18749 setopt NO_GLOB_SUBST
18751 # Now quote all the things that may contain metacharacters while being
18752 # careful not to overquote the AC_SUBSTed values. We take copies of the
18753 # variables and quote the copies for generation of the libtool script.
18754 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18756 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18757 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18758 deplibs_check_method reload_flag reload_cmds need_locks \
18759 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18760 lt_cv_sys_global_symbol_to_c_name_address \
18761 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18762 old_postinstall_cmds old_postuninstall_cmds \
18766 lt_prog_compiler_wl_GCJ \
18767 lt_prog_compiler_pic_GCJ \
18768 lt_prog_compiler_static_GCJ \
18769 lt_prog_compiler_no_builtin_flag_GCJ \
18770 export_dynamic_flag_spec_GCJ \
18771 thread_safe_flag_spec_GCJ \
18772 whole_archive_flag_spec_GCJ \
18773 enable_shared_with_static_runtimes_GCJ \
18774 old_archive_cmds_GCJ \
18775 old_archive_from_new_cmds_GCJ \
18776 predep_objects_GCJ \
18777 postdep_objects_GCJ \
18780 compiler_lib_search_path_GCJ \
18781 compiler_lib_search_dirs_GCJ \
18783 archive_expsym_cmds_GCJ \
18784 postinstall_cmds_GCJ \
18785 postuninstall_cmds_GCJ \
18786 old_archive_from_expsyms_cmds_GCJ \
18787 allow_undefined_flag_GCJ \
18788 no_undefined_flag_GCJ \
18789 export_symbols_cmds_GCJ \
18790 hardcode_libdir_flag_spec_GCJ \
18791 hardcode_libdir_flag_spec_ld_GCJ \
18792 hardcode_libdir_separator_GCJ \
18793 hardcode_automatic_GCJ \
18795 module_expsym_cmds_GCJ \
18796 lt_cv_prog_compiler_c_o_GCJ \
18797 fix_srcfile_path_GCJ \
18798 exclude_expsyms_GCJ \
18799 include_expsyms_GCJ
; do
18802 old_archive_cmds_GCJ | \
18803 old_archive_from_new_cmds_GCJ | \
18804 archive_cmds_GCJ | \
18805 archive_expsym_cmds_GCJ | \
18806 module_cmds_GCJ | \
18807 module_expsym_cmds_GCJ | \
18808 old_archive_from_expsyms_cmds_GCJ | \
18809 export_symbols_cmds_GCJ | \
18810 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18811 postinstall_cmds | postuninstall_cmds | \
18812 old_postinstall_cmds | old_postuninstall_cmds | \
18813 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18814 # Double-quote double-evaled strings.
18815 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18818 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18824 *'\$0 --fallback-echo"')
18825 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18831 cat <<__EOF__ >> "$cfgfile"
18832 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18834 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18836 # Shell to use when invoking shell scripts.
18839 # Whether or not to build shared libraries.
18840 build_libtool_libs=$enable_shared
18842 # Whether or not to build static libraries.
18843 build_old_libs=$enable_static
18845 # Whether or not to add -lc for building shared libraries.
18846 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18848 # Whether or not to disallow shared libs when runtime libs are static
18849 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18851 # Whether or not to optimize for fast installation.
18852 fast_install=$enable_fast_install
18855 host_alias=$host_alias
18859 # The build system.
18860 build_alias=$build_alias
18864 # An echo program that does not interpret backslashes.
18869 AR_FLAGS=$lt_AR_FLAGS
18874 # LTCC compiler flags.
18875 LTCFLAGS=$lt_LTCFLAGS
18877 # A language-specific compiler.
18878 CC=$lt_compiler_GCJ
18880 # Is the compiler the GNU C compiler?
18886 # The linker used to build libraries.
18889 # Whether we need hard or soft links.
18892 # A BSD-compatible nm program.
18895 # A symbol stripping program
18898 # Used to examine libraries when file_magic_cmd begins "file"
18899 MAGIC_CMD=$MAGIC_CMD
18901 # Used on cygwin: DLL creation program.
18904 # Used on cygwin: object dumper.
18907 # Used on cygwin: assembler.
18910 # The name of the directory that contains temporary libtool files.
18913 # How to create reloadable object files.
18914 reload_flag=$lt_reload_flag
18915 reload_cmds=$lt_reload_cmds
18917 # How to pass a linker flag through the compiler.
18918 wl=$lt_lt_prog_compiler_wl_GCJ
18920 # Object file suffix (normally "o").
18921 objext="$ac_objext"
18923 # Old archive suffix (normally "a").
18926 # Shared library suffix (normally ".so").
18927 shrext_cmds='$shrext_cmds'
18929 # Executable file suffix (normally "").
18932 # Additional compiler flags for building library objects.
18933 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18936 # What is the maximum length of a command?
18937 max_cmd_len=$lt_cv_sys_max_cmd_len
18939 # Does compiler simultaneously support -c and -o options?
18940 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18942 # Must we lock files when doing compilation?
18943 need_locks=$lt_need_locks
18945 # Do we need the lib prefix for modules?
18946 need_lib_prefix=$need_lib_prefix
18948 # Do we need a version for libraries?
18949 need_version=$need_version
18951 # Whether dlopen is supported.
18952 dlopen_support=$enable_dlopen
18954 # Whether dlopen of programs is supported.
18955 dlopen_self=$enable_dlopen_self
18957 # Whether dlopen of statically linked programs is supported.
18958 dlopen_self_static=$enable_dlopen_self_static
18960 # Compiler flag to prevent dynamic linking.
18961 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18963 # Compiler flag to turn off builtin functions.
18964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18966 # Compiler flag to allow reflexive dlopens.
18967 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18969 # Compiler flag to generate shared objects directly from archives.
18970 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18972 # Compiler flag to generate thread-safe objects.
18973 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18975 # Library versioning type.
18976 version_type=$version_type
18978 # Format of library name prefix.
18979 libname_spec=$lt_libname_spec
18981 # List of archive names. First name is the real one, the rest are links.
18982 # The last name is the one that the linker finds with -lNAME.
18983 library_names_spec=$lt_library_names_spec
18985 # The coded name of the library, if different from the real name.
18986 soname_spec=$lt_soname_spec
18988 # Commands used to build and install an old-style archive.
18990 old_archive_cmds=$lt_old_archive_cmds_GCJ
18991 old_postinstall_cmds=$lt_old_postinstall_cmds
18992 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18994 # Create an old-style archive from a shared archive.
18995 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18997 # Create a temporary old-style archive to link instead of a shared archive.
18998 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19000 # Commands used to build and install a shared archive.
19001 archive_cmds=$lt_archive_cmds_GCJ
19002 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19003 postinstall_cmds=$lt_postinstall_cmds
19004 postuninstall_cmds=$lt_postuninstall_cmds
19006 # Commands used to build a loadable module (assumed same as above if empty)
19007 module_cmds=$lt_module_cmds_GCJ
19008 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19010 # Commands to strip libraries.
19011 old_striplib=$lt_old_striplib
19012 striplib=$lt_striplib
19014 # Dependencies to place before the objects being linked to create a
19016 predep_objects=$lt_predep_objects_GCJ
19018 # Dependencies to place after the objects being linked to create a
19020 postdep_objects=$lt_postdep_objects_GCJ
19022 # Dependencies to place before the objects being linked to create a
19024 predeps=$lt_predeps_GCJ
19026 # Dependencies to place after the objects being linked to create a
19028 postdeps=$lt_postdeps_GCJ
19030 # The directories searched by this compiler when creating a shared
19032 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19034 # The library search path used internally by the compiler when linking
19035 # a shared library.
19036 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19038 # Method to check whether dependent libraries are shared objects.
19039 deplibs_check_method=$lt_deplibs_check_method
19041 # Command to use when deplibs_check_method == file_magic.
19042 file_magic_cmd=$lt_file_magic_cmd
19044 # Flag that allows shared libraries with undefined symbols to be built.
19045 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19047 # Flag that forces no undefined symbols.
19048 no_undefined_flag=$lt_no_undefined_flag_GCJ
19050 # Commands used to finish a libtool library installation in a directory.
19051 finish_cmds=$lt_finish_cmds
19053 # Same as above, but a single script fragment to be evaled but not shown.
19054 finish_eval=$lt_finish_eval
19056 # Take the output of nm and produce a listing of raw symbols and C names.
19057 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19059 # Transform the output of nm in a proper C declaration
19060 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19062 # Transform the output of nm in a C name address pair
19063 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19065 # This is the shared library runtime path variable.
19066 runpath_var=$runpath_var
19068 # This is the shared library path variable.
19069 shlibpath_var=$shlibpath_var
19071 # Is shlibpath searched before the hard-coded library search path?
19072 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19074 # How to hardcode a shared library path into an executable.
19075 hardcode_action=$hardcode_action_GCJ
19077 # Whether we should hardcode library paths into libraries.
19078 hardcode_into_libs=$hardcode_into_libs
19080 # Flag to hardcode \$libdir into a binary during linking.
19081 # This must work even if \$libdir does not exist.
19082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19084 # If ld is used when linking, flag to hardcode \$libdir into
19085 # a binary during linking. This must work even if \$libdir does
19087 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19089 # Whether we need a single -rpath flag with a separated argument.
19090 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19092 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19093 # resulting binary.
19094 hardcode_direct=$hardcode_direct_GCJ
19096 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19097 # resulting binary.
19098 hardcode_minus_L=$hardcode_minus_L_GCJ
19100 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19101 # the resulting binary.
19102 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19104 # Set to yes if building a shared library automatically hardcodes DIR into the library
19105 # and all subsequent libraries and executables linked against it.
19106 hardcode_automatic=$hardcode_automatic_GCJ
19108 # Variables whose values should be saved in libtool wrapper scripts and
19109 # restored at relink time.
19110 variables_saved_for_relink="$variables_saved_for_relink"
19112 # Whether libtool must link a program against all its dependency libraries.
19113 link_all_deplibs=$link_all_deplibs_GCJ
19115 # Compile-time system search path for libraries
19116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19118 # Run-time system search path for libraries
19119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19121 # Fix the shell variable \$srcfile for the compiler.
19122 fix_srcfile_path=$lt_fix_srcfile_path
19124 # Set to yes if exported symbols are required.
19125 always_export_symbols=$always_export_symbols_GCJ
19127 # The commands to list exported symbols.
19128 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19130 # The commands to extract the exported symbol list from a shared archive.
19131 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19133 # Symbols that should not be listed in the preloaded symbols.
19134 exclude_expsyms=$lt_exclude_expsyms_GCJ
19136 # Symbols that must always be exported.
19137 include_expsyms=$lt_include_expsyms_GCJ
19139 # ### END LIBTOOL TAG CONFIG: $tagname
19145 # If there is no Makefile yet, we rely on a make rule to execute
19146 # `config.status --recheck' to rerun these tests and create the
19147 # libtool script then.
19148 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19149 if test -f "$ltmain_in"; then
19150 test -f Makefile
&& make "$ltmain"
19156 ac_cpp
='$CPP $CPPFLAGS'
19157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19171 # Source file extension for RC test sources.
19174 # Object file extension for compiled RC test sources.
19178 # Code to be used in simple compile tests
19179 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19181 # Code to be used in simple link tests
19182 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19184 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19186 # If no C compiler was specified, use CC.
19189 # If no C compiler flags were specified, use CFLAGS.
19190 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19192 # Allow CC to be a program name with arguments.
19196 # save warnings/boilerplate of simple test code
19197 ac_outfile
=conftest.
$ac_objext
19198 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19199 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19200 _lt_compiler_boilerplate
=`cat conftest.err`
19203 ac_outfile
=conftest.
$ac_objext
19204 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19205 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19206 _lt_linker_boilerplate
=`cat conftest.err`
19210 # Allow CC to be a program name with arguments.
19215 for cc_temp
in $compiler""; do
19217 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19218 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19223 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19225 lt_cv_prog_compiler_c_o_RC
=yes
19227 # The else clause should only fire when bootstrapping the
19228 # libtool distribution, otherwise you forgot to ship ltmain.sh
19229 # with your package, and you will get complaints that there are
19230 # no rules to generate ltmain.sh.
19231 if test -f "$ltmain"; then
19232 # See if we are running on zsh, and set the options which allow our commands through
19233 # without removal of \ escapes.
19234 if test -n "${ZSH_VERSION+set}" ; then
19235 setopt NO_GLOB_SUBST
19237 # Now quote all the things that may contain metacharacters while being
19238 # careful not to overquote the AC_SUBSTed values. We take copies of the
19239 # variables and quote the copies for generation of the libtool script.
19240 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19242 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19243 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19244 deplibs_check_method reload_flag reload_cmds need_locks \
19245 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19246 lt_cv_sys_global_symbol_to_c_name_address \
19247 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19248 old_postinstall_cmds old_postuninstall_cmds \
19252 lt_prog_compiler_wl_RC \
19253 lt_prog_compiler_pic_RC \
19254 lt_prog_compiler_static_RC \
19255 lt_prog_compiler_no_builtin_flag_RC \
19256 export_dynamic_flag_spec_RC \
19257 thread_safe_flag_spec_RC \
19258 whole_archive_flag_spec_RC \
19259 enable_shared_with_static_runtimes_RC \
19260 old_archive_cmds_RC \
19261 old_archive_from_new_cmds_RC \
19262 predep_objects_RC \
19263 postdep_objects_RC \
19266 compiler_lib_search_path_RC \
19267 compiler_lib_search_dirs_RC \
19269 archive_expsym_cmds_RC \
19270 postinstall_cmds_RC \
19271 postuninstall_cmds_RC \
19272 old_archive_from_expsyms_cmds_RC \
19273 allow_undefined_flag_RC \
19274 no_undefined_flag_RC \
19275 export_symbols_cmds_RC \
19276 hardcode_libdir_flag_spec_RC \
19277 hardcode_libdir_flag_spec_ld_RC \
19278 hardcode_libdir_separator_RC \
19279 hardcode_automatic_RC \
19281 module_expsym_cmds_RC \
19282 lt_cv_prog_compiler_c_o_RC \
19283 fix_srcfile_path_RC \
19284 exclude_expsyms_RC \
19285 include_expsyms_RC
; do
19288 old_archive_cmds_RC | \
19289 old_archive_from_new_cmds_RC | \
19290 archive_cmds_RC | \
19291 archive_expsym_cmds_RC | \
19293 module_expsym_cmds_RC | \
19294 old_archive_from_expsyms_cmds_RC | \
19295 export_symbols_cmds_RC | \
19296 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19297 postinstall_cmds | postuninstall_cmds | \
19298 old_postinstall_cmds | old_postuninstall_cmds | \
19299 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19300 # Double-quote double-evaled strings.
19301 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19304 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19310 *'\$0 --fallback-echo"')
19311 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19317 cat <<__EOF__ >> "$cfgfile"
19318 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19320 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19322 # Shell to use when invoking shell scripts.
19325 # Whether or not to build shared libraries.
19326 build_libtool_libs=$enable_shared
19328 # Whether or not to build static libraries.
19329 build_old_libs=$enable_static
19331 # Whether or not to add -lc for building shared libraries.
19332 build_libtool_need_lc=$archive_cmds_need_lc_RC
19334 # Whether or not to disallow shared libs when runtime libs are static
19335 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19337 # Whether or not to optimize for fast installation.
19338 fast_install=$enable_fast_install
19341 host_alias=$host_alias
19345 # The build system.
19346 build_alias=$build_alias
19350 # An echo program that does not interpret backslashes.
19355 AR_FLAGS=$lt_AR_FLAGS
19360 # LTCC compiler flags.
19361 LTCFLAGS=$lt_LTCFLAGS
19363 # A language-specific compiler.
19366 # Is the compiler the GNU C compiler?
19372 # The linker used to build libraries.
19375 # Whether we need hard or soft links.
19378 # A BSD-compatible nm program.
19381 # A symbol stripping program
19384 # Used to examine libraries when file_magic_cmd begins "file"
19385 MAGIC_CMD=$MAGIC_CMD
19387 # Used on cygwin: DLL creation program.
19390 # Used on cygwin: object dumper.
19393 # Used on cygwin: assembler.
19396 # The name of the directory that contains temporary libtool files.
19399 # How to create reloadable object files.
19400 reload_flag=$lt_reload_flag
19401 reload_cmds=$lt_reload_cmds
19403 # How to pass a linker flag through the compiler.
19404 wl=$lt_lt_prog_compiler_wl_RC
19406 # Object file suffix (normally "o").
19407 objext="$ac_objext"
19409 # Old archive suffix (normally "a").
19412 # Shared library suffix (normally ".so").
19413 shrext_cmds='$shrext_cmds'
19415 # Executable file suffix (normally "").
19418 # Additional compiler flags for building library objects.
19419 pic_flag=$lt_lt_prog_compiler_pic_RC
19422 # What is the maximum length of a command?
19423 max_cmd_len=$lt_cv_sys_max_cmd_len
19425 # Does compiler simultaneously support -c and -o options?
19426 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19428 # Must we lock files when doing compilation?
19429 need_locks=$lt_need_locks
19431 # Do we need the lib prefix for modules?
19432 need_lib_prefix=$need_lib_prefix
19434 # Do we need a version for libraries?
19435 need_version=$need_version
19437 # Whether dlopen is supported.
19438 dlopen_support=$enable_dlopen
19440 # Whether dlopen of programs is supported.
19441 dlopen_self=$enable_dlopen_self
19443 # Whether dlopen of statically linked programs is supported.
19444 dlopen_self_static=$enable_dlopen_self_static
19446 # Compiler flag to prevent dynamic linking.
19447 link_static_flag=$lt_lt_prog_compiler_static_RC
19449 # Compiler flag to turn off builtin functions.
19450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19452 # Compiler flag to allow reflexive dlopens.
19453 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19455 # Compiler flag to generate shared objects directly from archives.
19456 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19458 # Compiler flag to generate thread-safe objects.
19459 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19461 # Library versioning type.
19462 version_type=$version_type
19464 # Format of library name prefix.
19465 libname_spec=$lt_libname_spec
19467 # List of archive names. First name is the real one, the rest are links.
19468 # The last name is the one that the linker finds with -lNAME.
19469 library_names_spec=$lt_library_names_spec
19471 # The coded name of the library, if different from the real name.
19472 soname_spec=$lt_soname_spec
19474 # Commands used to build and install an old-style archive.
19476 old_archive_cmds=$lt_old_archive_cmds_RC
19477 old_postinstall_cmds=$lt_old_postinstall_cmds
19478 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19480 # Create an old-style archive from a shared archive.
19481 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19483 # Create a temporary old-style archive to link instead of a shared archive.
19484 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19486 # Commands used to build and install a shared archive.
19487 archive_cmds=$lt_archive_cmds_RC
19488 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19489 postinstall_cmds=$lt_postinstall_cmds
19490 postuninstall_cmds=$lt_postuninstall_cmds
19492 # Commands used to build a loadable module (assumed same as above if empty)
19493 module_cmds=$lt_module_cmds_RC
19494 module_expsym_cmds=$lt_module_expsym_cmds_RC
19496 # Commands to strip libraries.
19497 old_striplib=$lt_old_striplib
19498 striplib=$lt_striplib
19500 # Dependencies to place before the objects being linked to create a
19502 predep_objects=$lt_predep_objects_RC
19504 # Dependencies to place after the objects being linked to create a
19506 postdep_objects=$lt_postdep_objects_RC
19508 # Dependencies to place before the objects being linked to create a
19510 predeps=$lt_predeps_RC
19512 # Dependencies to place after the objects being linked to create a
19514 postdeps=$lt_postdeps_RC
19516 # The directories searched by this compiler when creating a shared
19518 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19520 # The library search path used internally by the compiler when linking
19521 # a shared library.
19522 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19524 # Method to check whether dependent libraries are shared objects.
19525 deplibs_check_method=$lt_deplibs_check_method
19527 # Command to use when deplibs_check_method == file_magic.
19528 file_magic_cmd=$lt_file_magic_cmd
19530 # Flag that allows shared libraries with undefined symbols to be built.
19531 allow_undefined_flag=$lt_allow_undefined_flag_RC
19533 # Flag that forces no undefined symbols.
19534 no_undefined_flag=$lt_no_undefined_flag_RC
19536 # Commands used to finish a libtool library installation in a directory.
19537 finish_cmds=$lt_finish_cmds
19539 # Same as above, but a single script fragment to be evaled but not shown.
19540 finish_eval=$lt_finish_eval
19542 # Take the output of nm and produce a listing of raw symbols and C names.
19543 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19545 # Transform the output of nm in a proper C declaration
19546 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19548 # Transform the output of nm in a C name address pair
19549 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19551 # This is the shared library runtime path variable.
19552 runpath_var=$runpath_var
19554 # This is the shared library path variable.
19555 shlibpath_var=$shlibpath_var
19557 # Is shlibpath searched before the hard-coded library search path?
19558 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19560 # How to hardcode a shared library path into an executable.
19561 hardcode_action=$hardcode_action_RC
19563 # Whether we should hardcode library paths into libraries.
19564 hardcode_into_libs=$hardcode_into_libs
19566 # Flag to hardcode \$libdir into a binary during linking.
19567 # This must work even if \$libdir does not exist.
19568 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19570 # If ld is used when linking, flag to hardcode \$libdir into
19571 # a binary during linking. This must work even if \$libdir does
19573 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19575 # Whether we need a single -rpath flag with a separated argument.
19576 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19578 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19579 # resulting binary.
19580 hardcode_direct=$hardcode_direct_RC
19582 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19583 # resulting binary.
19584 hardcode_minus_L=$hardcode_minus_L_RC
19586 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19587 # the resulting binary.
19588 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19590 # Set to yes if building a shared library automatically hardcodes DIR into the library
19591 # and all subsequent libraries and executables linked against it.
19592 hardcode_automatic=$hardcode_automatic_RC
19594 # Variables whose values should be saved in libtool wrapper scripts and
19595 # restored at relink time.
19596 variables_saved_for_relink="$variables_saved_for_relink"
19598 # Whether libtool must link a program against all its dependency libraries.
19599 link_all_deplibs=$link_all_deplibs_RC
19601 # Compile-time system search path for libraries
19602 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19604 # Run-time system search path for libraries
19605 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19607 # Fix the shell variable \$srcfile for the compiler.
19608 fix_srcfile_path=$lt_fix_srcfile_path
19610 # Set to yes if exported symbols are required.
19611 always_export_symbols=$always_export_symbols_RC
19613 # The commands to list exported symbols.
19614 export_symbols_cmds=$lt_export_symbols_cmds_RC
19616 # The commands to extract the exported symbol list from a shared archive.
19617 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19619 # Symbols that should not be listed in the preloaded symbols.
19620 exclude_expsyms=$lt_exclude_expsyms_RC
19622 # Symbols that must always be exported.
19623 include_expsyms=$lt_include_expsyms_RC
19625 # ### END LIBTOOL TAG CONFIG: $tagname
19631 # If there is no Makefile yet, we rely on a make rule to execute
19632 # `config.status --recheck' to rerun these tests and create the
19633 # libtool script then.
19634 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19635 if test -f "$ltmain_in"; then
19636 test -f Makefile
&& make "$ltmain"
19642 ac_cpp
='$CPP $CPPFLAGS'
19643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19652 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19653 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19654 { (exit 1); exit 1; }; }
19658 # Append the new tag name to the list of available tags.
19659 if test -n "$tagname" ; then
19660 available_tags
="$available_tags $tagname"
19666 # Now substitute the updated list of available tags.
19667 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19668 mv "${ofile}T" "$ofile"
19672 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19673 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19674 { (exit 1); exit 1; }; }
19680 # This can be used to rebuild libtool when needed
19681 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19683 # Always use our own libtool.
19684 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19686 # Prevent multiple expansion
19708 # Checks for libraries.
19711 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19712 if test -n "$ac_tool_prefix"; then
19713 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19714 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
19715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19717 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 case $PKG_CONFIG in
19722 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
19725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19726 for as_dir
in $PATH
19729 test -z "$as_dir" && as_dir
=.
19730 for ac_exec_ext
in '' $ac_executable_extensions; do
19731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19732 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19743 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
19744 if test -n "$PKG_CONFIG"; then
19745 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19746 echo "${ECHO_T}$PKG_CONFIG" >&6; }
19748 { echo "$as_me:$LINENO: result: no" >&5
19749 echo "${ECHO_T}no" >&6; }
19754 if test -z "$ac_cv_path_PKG_CONFIG"; then
19755 ac_pt_PKG_CONFIG
=$PKG_CONFIG
19756 # Extract the first word of "pkg-config", so it can be a program name with args.
19757 set dummy pkg-config
; ac_word
=$2
19758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19760 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 case $ac_pt_PKG_CONFIG in
19765 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19769 for as_dir
in $PATH
19772 test -z "$as_dir" && as_dir
=.
19773 for ac_exec_ext
in '' $ac_executable_extensions; do
19774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19775 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
19776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19786 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
19787 if test -n "$ac_pt_PKG_CONFIG"; then
19788 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
19789 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
19791 { echo "$as_me:$LINENO: result: no" >&5
19792 echo "${ECHO_T}no" >&6; }
19795 if test "x$ac_pt_PKG_CONFIG" = x
; then
19798 case $cross_compiling:$ac_tool_warned in
19800 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19801 whose name does not start with the host triplet. If you think this
19802 configuration is useful to you, please write to autoconf@gnu.org." >&5
19803 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19804 whose name does not start with the host triplet. If you think this
19805 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19806 ac_tool_warned
=yes ;;
19808 PKG_CONFIG
=$ac_pt_PKG_CONFIG
19811 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
19815 if test -n "$PKG_CONFIG"; then
19816 _pkg_min_version
=0.9.0
19817 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
19818 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
19819 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19820 { echo "$as_me:$LINENO: result: yes" >&5
19821 echo "${ECHO_T}yes" >&6; }
19823 { echo "$as_me:$LINENO: result: no" >&5
19824 echo "${ECHO_T}no" >&6; }
19831 { echo "$as_me:$LINENO: checking for libconfigfile" >&5
19832 echo $ECHO_N "checking for libconfigfile... $ECHO_C" >&6; }
19834 if test -n "$libconfigfile_CFLAGS"; then
19835 pkg_cv_libconfigfile_CFLAGS
="$libconfigfile_CFLAGS"
19836 elif test -n "$PKG_CONFIG"; then
19837 if test -n "$PKG_CONFIG" && \
19838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfigfile >= 1.0\"") >&5
19839 ($PKG_CONFIG --exists --print-errors "libconfigfile >= 1.0") 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; then
19843 pkg_cv_libconfigfile_CFLAGS
=`$PKG_CONFIG --cflags "libconfigfile >= 1.0" 2>/dev/null`
19850 if test -n "$libconfigfile_LIBS"; then
19851 pkg_cv_libconfigfile_LIBS
="$libconfigfile_LIBS"
19852 elif test -n "$PKG_CONFIG"; then
19853 if test -n "$PKG_CONFIG" && \
19854 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libconfigfile >= 1.0\"") >&5
19855 ($PKG_CONFIG --exists --print-errors "libconfigfile >= 1.0") 2>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; then
19859 pkg_cv_libconfigfile_LIBS
=`$PKG_CONFIG --libs "libconfigfile >= 1.0" 2>/dev/null`
19869 if test $pkg_failed = yes; then
19871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19872 _pkg_short_errors_supported
=yes
19874 _pkg_short_errors_supported
=no
19876 if test $_pkg_short_errors_supported = yes; then
19877 libconfigfile_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors "libconfigfile >= 1.0" 2>&1`
19879 libconfigfile_PKG_ERRORS
=`$PKG_CONFIG --print-errors "libconfigfile >= 1.0" 2>&1`
19881 # Put the nasty error message in config.log where it belongs
19882 echo "$libconfigfile_PKG_ERRORS" >&5
19884 { { echo "$as_me:$LINENO: error: Package requirements (libconfigfile >= 1.0) were not met:
19886 $libconfigfile_PKG_ERRORS
19888 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19889 installed software in a non-standard prefix.
19891 Alternatively, you may set the environment variables libconfigfile_CFLAGS
19892 and libconfigfile_LIBS to avoid the need to call pkg-config.
19893 See the pkg-config man page for more details.
19895 echo "$as_me: error: Package requirements (libconfigfile >= 1.0) were not met:
19897 $libconfigfile_PKG_ERRORS
19899 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19900 installed software in a non-standard prefix.
19902 Alternatively, you may set the environment variables libconfigfile_CFLAGS
19903 and libconfigfile_LIBS to avoid the need to call pkg-config.
19904 See the pkg-config man page for more details.
19906 { (exit 1); exit 1; }; }
19907 elif test $pkg_failed = untried
; then
19908 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
19909 is in your PATH or set the PKG_CONFIG environment variable to the full
19910 path to pkg-config.
19912 Alternatively, you may set the environment variables libconfigfile_CFLAGS
19913 and libconfigfile_LIBS to avoid the need to call pkg-config.
19914 See the pkg-config man page for more details.
19916 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19917 See \`config.log' for more details." >&5
19918 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
19919 is in your PATH or set the PKG_CONFIG environment variable to the full
19920 path to pkg-config.
19922 Alternatively, you may set the environment variables libconfigfile_CFLAGS
19923 and libconfigfile_LIBS to avoid the need to call pkg-config.
19924 See the pkg-config man page for more details.
19926 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19927 See \`config.log' for more details." >&2;}
19928 { (exit 1); exit 1; }; }
19930 libconfigfile_CFLAGS
=$pkg_cv_libconfigfile_CFLAGS
19931 libconfigfile_LIBS
=$pkg_cv_libconfigfile_LIBS
19932 { echo "$as_me:$LINENO: result: yes" >&5
19933 echo "${ECHO_T}yes" >&6; }
19937 # Checks for header files.
19939 # Checks for typedefs, structures, and compiler characteristics.
19940 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
19941 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
19942 if test "${ac_cv_header_stdbool_h+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 cat >conftest.
$ac_ext <<_ACEOF
19948 cat confdefs.h
>>conftest.
$ac_ext
19949 cat >>conftest.
$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19952 #include <stdbool.h>
19954 "error: bool is not defined"
19957 "error: false is not defined"
19960 "error: false is not 0"
19963 "error: true is not defined"
19966 "error: true is not 1"
19968 #ifndef __bool_true_false_are_defined
19969 "error: __bool_true_false_are_defined is not defined"
19972 struct s { _Bool s: 1; _Bool t; } s;
19974 char a[true == 1 ? 1 : -1];
19975 char b[false == 0 ? 1 : -1];
19976 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19977 char d[(bool) 0.5 == true ? 1 : -1];
19979 char f[(_Bool) 0.0 == false ? 1 : -1];
19981 char h[sizeof (_Bool)];
19982 char i[sizeof s.t];
19983 enum { j = false, k = true, l = false * true, m = true * 256 };
19985 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19986 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19987 # if defined __xlc__ || defined __GNUC__
19988 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
19989 reported by James Lemley on 2005-10-05; see
19990 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
19991 This test is not quite right, since xlc is allowed to
19992 reject this program, as the initializer for xlcbug is
19993 not one of the forms that C requires support for.
19994 However, doing the test right would require a runtime
19995 test, and that would make cross-compilation harder.
19996 Let us hope that IBM fixes the xlc bug, and also adds
19997 support for this kind of constant expression. In the
19998 meantime, this test will reject xlc, which is OK, since
19999 our stdbool.h substitute should suffice. We also test
20000 this with GCC, where it should work, to detect more
20001 quickly whether someone messes up the test in the
20003 char digs[] = "0123456789";
20004 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
20006 /* Catch a bug in an HP-UX C compiler. See
20007 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20008 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
20019 /* Refer to every declared value, to avoid compiler optimizations. */
20020 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
20021 + !m + !n + !o + !p + !q + !pq);
20027 rm -f conftest.
$ac_objext
20028 if { (ac_try
="$ac_compile"
20029 case "(($ac_try" in
20030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20036 grep -v '^ *+' conftest.er1 >conftest.err
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20044 ac_cv_header_stdbool_h=yes
20046 echo "$as_me: failed program was:" >&5
20047 sed 's/^/| /' conftest.$ac_ext >&5
20049 ac_cv_header_stdbool_h=no
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
20055 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
20056 { echo "$as_me:$LINENO: checking for _Bool" >&5
20057 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
20058 if test "${ac_cv_type__Bool+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20061 cat >conftest.$ac_ext <<_ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 typedef _Bool ac__type_new_;
20072 if ((ac__type_new_ *) 0)
20074 if (sizeof (ac__type_new_))
20080 rm -f conftest.$ac_objext
20081 if { (ac_try="$ac_compile"
20082 case "(($ac_try" in
20083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20084 *) ac_try_echo
=$ac_try;;
20086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20087 (eval "$ac_compile") 2>conftest.er1
20089 grep -v '^ *+' conftest.er1
>conftest.err
20091 cat conftest.err
>&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && {
20094 test -z "$ac_c_werror_flag" ||
20095 test ! -s conftest.err
20096 } && test -s conftest.
$ac_objext; then
20097 ac_cv_type__Bool
=yes
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.
$ac_ext >&5
20102 ac_cv_type__Bool
=no
20105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20107 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
20108 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
20109 if test $ac_cv_type__Bool = yes; then
20111 cat >>confdefs.h
<<_ACEOF
20112 #define HAVE__BOOL 1
20118 if test $ac_cv_header_stdbool_h = yes; then
20120 cat >>confdefs.h
<<\_ACEOF
20121 #define HAVE_STDBOOL_H 1
20126 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20127 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20128 if test "${ac_cv_c_const+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 cat >conftest.
$ac_ext <<_ACEOF
20134 cat confdefs.h
>>conftest.
$ac_ext
20135 cat >>conftest.
$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20141 /* FIXME: Include the comments suggested by Paul. */
20142 #ifndef __cplusplus
20143 /* Ultrix mips cc rejects this. */
20144 typedef int charset[2];
20146 /* SunOS 4.1.1 cc rejects this. */
20147 char const *const *pcpcc;
20149 /* NEC SVR4.0.2 mips cc rejects this. */
20150 struct point {int x, y;};
20151 static struct point const zero = {0,0};
20152 /* AIX XL C 1.02.0.0 rejects this.
20153 It does not let you subtract one const X* pointer from another in
20154 an arm of an if-expression whose if-part is not a constant
20156 const char *g = "string";
20157 pcpcc = &g + (g ? g-g : 0);
20158 /* HPUX 7.0 cc rejects these. */
20160 ppc = (char**) pcpcc;
20161 pcpcc = (char const *const *) ppc;
20162 { /* SCO 3.2v4 cc rejects this. */
20164 char const *s = 0 ? (char *) 0 : (char const *) 0;
20169 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20170 int x[] = {25, 17};
20171 const int *foo = &x[0];
20174 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20175 typedef const int *iptr;
20179 { /* AIX XL C 1.02.0.0 rejects this saying
20180 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20181 struct s { int j; const int *ap[3]; };
20182 struct s *b; b->j = 5;
20184 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20185 const int foo = 10;
20186 if (!foo) return 0;
20188 return !cs[0] && !zero.x;
20195 rm -f conftest.
$ac_objext
20196 if { (ac_try
="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20204 grep -v '^ *+' conftest.er1 >conftest.err
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20223 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20224 if test $ac_cv_c_const = no; then
20226 cat >>confdefs.h <<\_ACEOF
20232 { echo "$as_me:$LINENO: checking for long *" >&5
20233 echo $ECHO_N "checking for long *... $ECHO_C" >&6; }
20234 if test "${ac_cv_type_long_p+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20237 cat >conftest.$ac_ext <<_ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 typedef long * ac__type_new_;
20248 if ((ac__type_new_ *) 0)
20250 if (sizeof (ac__type_new_))
20256 rm -f conftest.$ac_objext
20257 if { (ac_try="$ac_compile"
20258 case "(($ac_try" in
20259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20260 *) ac_try_echo
=$ac_try;;
20262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20265 grep -v '^ *+' conftest.er1
>conftest.err
20267 cat conftest.err
>&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } && {
20270 test -z "$ac_c_werror_flag" ||
20271 test ! -s conftest.err
20272 } && test -s conftest.
$ac_objext; then
20273 ac_cv_type_long_p
=yes
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.
$ac_ext >&5
20278 ac_cv_type_long_p
=no
20281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20283 { echo "$as_me:$LINENO: result: $ac_cv_type_long_p" >&5
20284 echo "${ECHO_T}$ac_cv_type_long_p" >&6; }
20286 # The cast to long int works around a bug in the HP C Compiler
20287 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20288 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20289 # This bug is HP SR number 8606223364.
20290 { echo "$as_me:$LINENO: checking size of long *" >&5
20291 echo $ECHO_N "checking size of long *... $ECHO_C" >&6; }
20292 if test "${ac_cv_sizeof_long_p+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 if test "$cross_compiling" = yes; then
20296 # Depending upon the size, compute the lo and hi bounds.
20297 cat >conftest.
$ac_ext <<_ACEOF
20300 cat confdefs.h
>>conftest.
$ac_ext
20301 cat >>conftest.
$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef long * ac__type_sizeof_;
20308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20315 rm -f conftest.
$ac_objext
20316 if { (ac_try
="$ac_compile"
20317 case "(($ac_try" in
20318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20319 *) ac_try_echo=$ac_try;;
20321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322 (eval "$ac_compile") 2>conftest.er1
20324 grep -v '^ *+' conftest.er1 >conftest.err
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && {
20329 test -z "$ac_c_werror_flag" ||
20330 test ! -s conftest.err
20331 } && test -s conftest.$ac_objext; then
20334 cat >conftest.$ac_ext <<_ACEOF
20337 cat confdefs.h >>conftest.$ac_ext
20338 cat >>conftest.$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340 $ac_includes_default
20341 typedef long * ac__type_sizeof_;
20345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20352 rm -f conftest.$ac_objext
20353 if { (ac_try="$ac_compile"
20354 case "(($ac_try" in
20355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20356 *) ac_try_echo
=$ac_try;;
20358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_compile") 2>conftest.er1
20361 grep -v '^ *+' conftest.er1
>conftest.err
20363 cat conftest.err
>&5
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); } && {
20366 test -z "$ac_c_werror_flag" ||
20367 test ! -s conftest.err
20368 } && test -s conftest.
$ac_objext; then
20369 ac_hi
=$ac_mid; break
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.
$ac_ext >&5
20374 ac_lo
=`expr $ac_mid + 1`
20375 if test $ac_lo -le $ac_mid; then
20379 ac_mid
=`expr 2 '*' $ac_mid + 1`
20382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20385 echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.
$ac_ext >&5
20388 cat >conftest.
$ac_ext <<_ACEOF
20391 cat confdefs.h
>>conftest.
$ac_ext
20392 cat >>conftest.
$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 $ac_includes_default
20395 typedef long * ac__type_sizeof_;
20399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20406 rm -f conftest.
$ac_objext
20407 if { (ac_try
="$ac_compile"
20408 case "(($ac_try" in
20409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20410 *) ac_try_echo=$ac_try;;
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_compile") 2>conftest.er1
20415 grep -v '^ *+' conftest.er1 >conftest.err
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } && {
20420 test -z "$ac_c_werror_flag" ||
20421 test ! -s conftest.err
20422 } && test -s conftest.$ac_objext; then
20425 cat >conftest.$ac_ext <<_ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 $ac_includes_default
20432 typedef long * ac__type_sizeof_;
20436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20443 rm -f conftest.$ac_objext
20444 if { (ac_try="$ac_compile"
20445 case "(($ac_try" in
20446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20447 *) ac_try_echo
=$ac_try;;
20449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20450 (eval "$ac_compile") 2>conftest.er1
20452 grep -v '^ *+' conftest.er1
>conftest.err
20454 cat conftest.err
>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } && {
20457 test -z "$ac_c_werror_flag" ||
20458 test ! -s conftest.err
20459 } && test -s conftest.
$ac_objext; then
20460 ac_lo
=$ac_mid; break
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20465 ac_hi
=`expr '(' $ac_mid ')' - 1`
20466 if test $ac_mid -le $ac_hi; then
20470 ac_mid
=`expr 2 '*' $ac_mid`
20473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.
$ac_ext >&5
20482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20486 # Binary search between lo and hi bounds.
20487 while test "x$ac_lo" != "x$ac_hi"; do
20488 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20489 cat >conftest.
$ac_ext <<_ACEOF
20492 cat confdefs.h
>>conftest.
$ac_ext
20493 cat >>conftest.
$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef long * ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20507 rm -f conftest.
$ac_objext
20508 if { (ac_try
="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1 >conftest.err
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20529 ac_lo=`expr '(' $ac_mid ')' + 1`
20532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20535 ?*) ac_cv_sizeof_long_p=$ac_lo;;
20536 '') if test "$ac_cv_type_long_p" = yes; then
20537 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *)
20538 See \`config.log
' for more details." >&5
20539 echo "$as_me: error: cannot compute sizeof (long *)
20540 See \`config.log' for more details.
" >&2;}
20541 { (exit 77); exit 77; }; }
20543 ac_cv_sizeof_long_p=0
20547 cat >conftest.$ac_ext <<_ACEOF
20550 cat confdefs.h >>conftest.$ac_ext
20551 cat >>conftest.$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 typedef long * ac__type_sizeof_;
20555 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20556 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20558 #include <stdlib.h>
20563 FILE *f = fopen ("conftest.val
", "w
");
20566 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20568 long int i = longval ();
20569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20571 fprintf (f, "%ld
\n", i);
20575 unsigned long int i = ulongval ();
20576 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20578 fprintf (f, "%lu
\n", i);
20580 return ferror (f) || fclose (f) != 0;
20586 rm -f conftest$ac_exeext
20587 if { (ac_try="$ac_link"
20588 case "(($ac_try" in
20589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20590 *) ac_try_echo=$ac_try;;
20592 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20593 (eval "$ac_link") 2>&5
20595 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20597 { (case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_try") 2>&5
20604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_cv_sizeof_long_p=`cat conftest.val`
20608 echo "$as_me: program exited with status
$ac_status" >&5
20609 echo "$as_me: failed program was
:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 ( exit $ac_status )
20613 if test "$ac_cv_type_long_p" = yes; then
20614 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
*)
20615 See \
`config.log' for more details." >&5
20616 echo "$as_me: error: cannot compute sizeof (long *)
20617 See \`config.log
' for more details." >&2;}
20618 { (exit 77); exit 77; }; }
20620 ac_cv_sizeof_long_p=0
20623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20627 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_p" >&5
20628 echo "${ECHO_T}$ac_cv_sizeof_long_p" >&6; }
20632 cat >>confdefs.h <<_ACEOF
20633 #define SIZEOF_LONG_P $ac_cv_sizeof_long_p
20638 # Checks for library functions.
20639 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
20640 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
20641 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20644 rm -f conftest.sym conftest.file
20645 echo >conftest.file
20646 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
20647 if test "$cross_compiling" = yes; then
20648 ac_cv_func_lstat_dereferences_slashed_symlink=no
20650 cat >conftest.$ac_ext <<_ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 $ac_includes_default
20661 /* Linux will dereference the symlink and fail.
20662 That is better in the sense that it means we will not
20663 have to compile and use the lstat wrapper. */
20664 return lstat ("conftest.sym/", &sbuf) == 0;
20669 rm -f conftest$ac_exeext
20670 if { (ac_try="$ac_link"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_link") 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20680 { (case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_try") 2>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; }; then
20689 ac_cv_func_lstat_dereferences_slashed_symlink=yes
20691 echo "$as_me: program exited with status $ac_status" >&5
20692 echo "$as_me: failed program was:" >&5
20693 sed 's
/^
/|
/' conftest.$ac_ext >&5
20695 ( exit $ac_status )
20696 ac_cv_func_lstat_dereferences_slashed_symlink=no
20698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20703 # If the `ln -s' command failed
, then we probably don
't even
20704 # have an lstat function.
20705 ac_cv_func_lstat_dereferences_slashed_symlink=no
20707 rm -f conftest.sym conftest.file
20710 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
20711 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
20713 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
20715 cat >>confdefs.h <<_ACEOF
20716 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
20720 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
20721 case " $LIBOBJS " in
20722 *" lstat.$ac_objext "* ) ;;
20723 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
20729 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
20730 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
20731 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 if test "$cross_compiling" = yes; then
20735 ac_cv_func_stat_empty_string_bug=yes
20737 cat >conftest.$ac_ext <<_ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 $ac_includes_default
20748 return stat ("", &sbuf) == 0;
20753 rm -f conftest$ac_exeext
20754 if { (ac_try="$ac_link"
20755 case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_link") 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20764 { (case "(($ac_try" in
20765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20766 *) ac_try_echo=$ac_try;;
20768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20769 (eval "$ac_try") 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20773 ac_cv_func_stat_empty_string_bug=no
20775 echo "$as_me: program exited with status $ac_status" >&5
20776 echo "$as_me: failed program was:" >&5
20777 sed 's
/^
/|
/' conftest.$ac_ext >&5
20779 ( exit $ac_status )
20780 ac_cv_func_stat_empty_string_bug=yes
20782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
20788 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
20789 if test $ac_cv_func_stat_empty_string_bug = yes; then
20790 case " $LIBOBJS " in
20791 *" stat.$ac_objext "* ) ;;
20792 *) LIBOBJS="$LIBOBJS stat.$ac_objext"
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_STAT_EMPTY_STRING_BUG 1
20804 ac_config_files="$ac_config_files Makefile src/Makefile src/fs/Makefile src/tests/Makefile"
20806 cat >confcache <<\_ACEOF
20807 # This file is a shell script that caches the results of configure
20808 # tests run on this system so they can be shared between configure
20809 # scripts and configure runs, see configure's option
--config-cache.
20810 # It is not useful on other systems. If it contains results you don't
20811 # want to keep, you may remove or edit it.
20813 # config.status only pays attention to the cache file if you give it
20814 # the --recheck option to rerun configure.
20816 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20817 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20818 # following values.
20822 # The following way of writing the cache mishandles newlines in values,
20823 # but we know of no workaround that is simple, portable, and efficient.
20824 # So, we kill variables containing newlines.
20825 # Ultrix sh set writes to stderr and can't be redirected directly,
20826 # and sets the high bit in the cache file unless we assign to the vars.
20828 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20829 eval ac_val
=\$
$ac_var
20833 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20834 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20837 _ | IFS | as_nl
) ;; #(
20838 *) $as_unset $ac_var ;;
20844 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20845 *${as_nl}ac_space
=\
*)
20846 # `set' does not quote correctly, so add quotes (double-quote
20847 # substitution turns \\\\ into \\, and sed turns \\ into \).
20850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20853 # `set' quotes correctly as required by POSIX, so do not add quotes.
20854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20865 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20867 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
20868 if test -w "$cache_file"; then
20869 test "x$cache_file" != "x/dev/null" &&
20870 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20871 echo "$as_me: updating cache $cache_file" >&6;}
20872 cat confcache
>$cache_file
20874 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20875 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20880 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20881 # Let make expand exec_prefix.
20882 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20884 DEFS
=-DHAVE_CONFIG_H
20888 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20889 # 1. Remove the extension, and $U if already installed.
20890 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
20891 ac_i
=`echo "$ac_i" | sed "$ac_script"`
20892 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20893 # will be set to the directory where LIBOBJS objects are built.
20894 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20895 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20897 LIBOBJS
=$ac_libobjs
20899 LTLIBOBJS
=$ac_ltlibobjs
20902 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20903 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20904 Usually this means the macro was only invoked conditionally." >&5
20905 echo "$as_me: error: conditional \"AMDEP\" was never defined.
20906 Usually this means the macro was only invoked conditionally." >&2;}
20907 { (exit 1); exit 1; }; }
20909 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20910 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20911 Usually this means the macro was only invoked conditionally." >&5
20912 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20913 Usually this means the macro was only invoked conditionally." >&2;}
20914 { (exit 1); exit 1; }; }
20916 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20917 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20918 Usually this means the macro was only invoked conditionally." >&5
20919 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20920 Usually this means the macro was only invoked conditionally." >&2;}
20921 { (exit 1); exit 1; }; }
20924 : ${CONFIG_STATUS=./config.status}
20925 ac_clean_files_save
=$ac_clean_files
20926 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20927 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20928 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20929 cat >$CONFIG_STATUS <<_ACEOF
20931 # Generated by $as_me.
20932 # Run this file to recreate the current configuration.
20933 # Compiler output produced by configure, useful for debugging
20934 # configure, is in config.log if it exists.
20937 ac_cs_recheck=false
20939 SHELL=\${CONFIG_SHELL-$SHELL}
20942 cat >>$CONFIG_STATUS <<\_ACEOF
20943 ## --------------------- ##
20944 ## M4sh Initialization. ##
20945 ## --------------------- ##
20947 # Be more Bourne compatible
20948 DUALCASE
=1; export DUALCASE
# for MKS sh
20949 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20952 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20953 # is contrary to our usage. Disable this feature.
20954 alias -g '${1+"$@"}'='"$@"'
20955 setopt NO_GLOB_SUBST
20957 case `(set -o) 2>/dev/null` in
20958 *posix
*) set -o posix
;;
20967 # Avoid depending upon Character Ranges.
20968 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20969 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20970 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20971 as_cr_digits
='0123456789'
20972 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20974 # The user is always right.
20975 if test "${PATH_SEPARATOR+set}" != set; then
20976 echo "#! /bin/sh" >conf$$.sh
20977 echo "exit 0" >>conf$$.sh
20979 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20987 # Support unset when possible.
20988 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20996 # We need space, tab and new line, in precisely that order. Quoting is
20997 # there to prevent editors from complaining about space-tab.
20998 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20999 # splitting by setting IFS to empty value.)
21004 # Find who we are. Look in the path if we contain no directory separator.
21006 *[\\/]* ) as_myself
=$0 ;;
21007 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
21008 for as_dir
in $PATH
21011 test -z "$as_dir" && as_dir
=.
21012 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
21018 # We did not find ourselves, most probably we were run as `sh COMMAND'
21019 # in which case we are not to be found in the path.
21020 if test "x$as_myself" = x
; then
21023 if test ! -f "$as_myself"; then
21024 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21025 { (exit 1); exit 1; }
21028 # Work around bugs in pre-3.0 UWIN ksh.
21029 for as_var
in ENV MAIL MAILPATH
21030 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21038 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21039 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21040 LC_TELEPHONE LC_TIME
21042 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21043 eval $as_var=C
; export $as_var
21045 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
21049 # Required to use basename.
21050 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21051 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21057 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21058 as_basename
=basename
21064 # Name of the executable.
21065 as_me
=`$as_basename -- "$0" ||
21066 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21067 X"$0" : 'X\(//\)$' \| \
21068 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21070 sed '/^.*\/\([^/][^/]*\)\/*$/{
21089 as_lineno_1
=$LINENO
21090 as_lineno_2
=$LINENO
21091 test "x$as_lineno_1" != "x$as_lineno_2" &&
21092 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
21094 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21095 # uniformly replaced by the line number. The first 'sed' inserts a
21096 # line-number line after each line using $LINENO; the second 'sed'
21097 # does the real work. The second script uses 'N' to pair each
21098 # line-number line with the line containing $LINENO, and appends
21099 # trailing '-' during substitution so that $LINENO is not a special
21100 # case at line end.
21101 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21102 # scripts with optimization help from Paolo Bonzini. Blame Lee
21103 # E. McMahon (1931-1989) for sed's syntax. :-)
21115 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21118 ' >$as_me.lineno
&&
21119 chmod +x
"$as_me.lineno" ||
21120 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21121 { (exit 1); exit 1; }; }
21123 # Don't try to exec as it changes $[0], causing all sort of problems
21124 # (the dirname of $[0] is not the place where we might find the
21125 # original and so on. Autoconf is especially sensitive to this).
21126 .
"./$as_me.lineno"
21127 # Exit status is that of the last command.
21132 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21138 ECHO_C
= ECHO_N
= ECHO_T
=
21139 case `echo -n x` in
21141 case `echo 'x\c'` in
21142 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21149 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21150 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21156 rm -f conf$$ conf$$.exe conf$$.
file
21157 if test -d conf$$.dir
; then
21158 rm -f conf$$.dir
/conf$$.
file
21164 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21166 # ... but there are two gotchas:
21167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21169 # In both cases, we have to default to `cp -p'.
21170 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21172 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21177 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21178 rmdir conf$$.dir
2>/dev
/null
21180 if mkdir
-p .
2>/dev
/null
; then
21183 test -d .
/-p && rmdir .
/-p
21187 if test -x / >/dev
/null
2>&1; then
21188 as_test_x
='test -x'
21190 if ls -dL / >/dev
/null
2>&1; then
21197 if test -d "$1"; then
21203 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21204 ???[sx]*):;;*)false;;esac;fi
21208 as_executable_p
=$as_test_x
21210 # Sed expression to map a string onto a valid CPP name.
21211 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21213 # Sed expression to map a string onto a valid variable name.
21214 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21219 # Save the log message, to keep $[0] and so on meaningful, and to
21220 # report actual input values of CONFIG_FILES etc. instead of their
21221 # values after options handling.
21223 This file was extended by vimicxx $as_me 0.1, which was
21224 generated by GNU Autoconf 2.61. Invocation command line was
21226 CONFIG_FILES = $CONFIG_FILES
21227 CONFIG_HEADERS = $CONFIG_HEADERS
21228 CONFIG_LINKS = $CONFIG_LINKS
21229 CONFIG_COMMANDS = $CONFIG_COMMANDS
21232 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21237 cat >>$CONFIG_STATUS <<_ACEOF
21238 # Files that config.status was made for.
21239 config_files="$ac_config_files"
21240 config_headers="$ac_config_headers"
21241 config_commands="$ac_config_commands"
21245 cat >>$CONFIG_STATUS <<\_ACEOF
21247 \`$as_me' instantiates files from templates according to the
21248 current configuration.
21250 Usage: $0 [OPTIONS] [FILE]...
21252 -h, --help print this help, then exit
21253 -V, --version print version number and configuration settings, then exit
21254 -q, --quiet do not print progress messages
21255 -d, --debug don't remove temporary files
21256 --recheck update $as_me by reconfiguring in the same conditions
21257 --file=FILE[:TEMPLATE]
21258 instantiate the configuration file FILE
21259 --header=FILE[:TEMPLATE]
21260 instantiate the configuration header FILE
21262 Configuration files:
21265 Configuration headers:
21268 Configuration commands:
21271 Report bugs to <bug-autoconf@gnu.org>."
21274 cat >>$CONFIG_STATUS <<_ACEOF
21276 vimicxx config.status 0.1
21277 configured by $0, generated by GNU Autoconf 2.61,
21278 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21280 Copyright (C) 2006 Free Software Foundation, Inc.
21281 This config.status script is free software; the Free Software Foundation
21282 gives unlimited permission to copy, distribute and modify it."
21290 cat >>$CONFIG_STATUS <<\_ACEOF
21291 # If no file are specified by the user, then we need to provide default
21292 # value. By we need to know if files were specified by the user.
21298 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21299 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21310 # Handling of the options.
21311 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21313 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21314 echo "$ac_cs_version"; exit ;;
21315 --debug |
--debu |
--deb |
--de |
--d |
-d )
21317 --file |
--fil |
--fi |
--f )
21319 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
21320 ac_need_defaults
=false
;;
21321 --header |
--heade |
--head |
--hea )
21323 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
21324 ac_need_defaults
=false
;;
21326 # Conflict between --help and --header
21327 { echo "$as_me: error: ambiguous option: $1
21328 Try \`$0 --help' for more information." >&2
21329 { (exit 1); exit 1; }; };;
21330 --help |
--hel |
-h )
21331 echo "$ac_cs_usage"; exit ;;
21332 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21333 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21336 # This is an error.
21337 -*) { echo "$as_me: error: unrecognized option: $1
21338 Try \`$0 --help' for more information." >&2
21339 { (exit 1); exit 1; }; } ;;
21341 *) ac_config_targets
="$ac_config_targets $1"
21342 ac_need_defaults
=false
;;
21348 ac_configure_extra_args
=
21350 if $ac_cs_silent; then
21352 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21356 cat >>$CONFIG_STATUS <<_ACEOF
21357 if \$ac_cs_recheck; then
21358 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21359 CONFIG_SHELL=$SHELL
21360 export CONFIG_SHELL
21361 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21365 cat >>$CONFIG_STATUS <<\_ACEOF
21369 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21370 ## Running $as_me. ##
21376 cat >>$CONFIG_STATUS <<_ACEOF
21380 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21384 cat >>$CONFIG_STATUS <<\_ACEOF
21386 # Handling of arguments.
21387 for ac_config_target
in $ac_config_targets
21389 case $ac_config_target in
21390 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
21391 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
21392 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
21393 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
21394 "src/fs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/fs/Makefile" ;;
21395 "src/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES src/tests/Makefile" ;;
21397 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21398 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21399 { (exit 1); exit 1; }; };;
21404 # If the user did not use the arguments to specify the items to instantiate,
21405 # then the envvar interface is used. Set only those that are not.
21406 # We use the long form for the default assignment because of an extremely
21407 # bizarre bug on SunOS 4.1.3.
21408 if $ac_need_defaults; then
21409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
21410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
21411 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
21414 # Have a temporary directory for convenience. Make it in the build tree
21415 # simply because there is no reason against having it here, and in addition,
21416 # creating and moving files from /tmp can sometimes cause problems.
21417 # Hook for its removal unless debugging.
21418 # Note that there is a small window in which the directory will not be cleaned:
21419 # after its creation but before its name has been assigned to `$tmp'.
21423 trap 'exit_status=$?
21424 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21426 trap '{ (exit 1); exit 1; }' 1 2 13 15
21428 # Create a (secure) tmp directory for tmp files.
21431 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21432 test -n "$tmp" && test -d "$tmp"
21435 tmp
=.
/conf$$
-$RANDOM
21436 (umask 077 && mkdir
"$tmp")
21439 echo "$me: cannot create a temporary directory in ." >&2
21440 { (exit 1); exit 1; }
21444 # Set up the sed scripts for CONFIG_FILES section.
21447 # No need to generate the scripts if there are no CONFIG_FILES.
21448 # This happens for instance when ./config.status config.h
21449 if test -n "$CONFIG_FILES"; then
21456 for ac_last_try
in false false false false false
:; do
21457 cat >conf$
$subs.
sed <<_ACEOF
21458 SHELL!$SHELL$ac_delim
21459 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21460 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21461 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21462 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21463 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21464 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21465 exec_prefix!$exec_prefix$ac_delim
21466 prefix!$prefix$ac_delim
21467 program_transform_name!$program_transform_name$ac_delim
21468 bindir!$bindir$ac_delim
21469 sbindir!$sbindir$ac_delim
21470 libexecdir!$libexecdir$ac_delim
21471 datarootdir!$datarootdir$ac_delim
21472 datadir!$datadir$ac_delim
21473 sysconfdir!$sysconfdir$ac_delim
21474 sharedstatedir!$sharedstatedir$ac_delim
21475 localstatedir!$localstatedir$ac_delim
21476 includedir!$includedir$ac_delim
21477 oldincludedir!$oldincludedir$ac_delim
21478 docdir!$docdir$ac_delim
21479 infodir!$infodir$ac_delim
21480 htmldir!$htmldir$ac_delim
21481 dvidir!$dvidir$ac_delim
21482 pdfdir!$pdfdir$ac_delim
21483 psdir!$psdir$ac_delim
21484 libdir!$libdir$ac_delim
21485 localedir!$localedir$ac_delim
21486 mandir!$mandir$ac_delim
21487 DEFS!$DEFS$ac_delim
21488 ECHO_C!$ECHO_C$ac_delim
21489 ECHO_N!$ECHO_N$ac_delim
21490 ECHO_T!$ECHO_T$ac_delim
21491 LIBS!$LIBS$ac_delim
21492 build_alias!$build_alias$ac_delim
21493 host_alias!$host_alias$ac_delim
21494 target_alias!$target_alias$ac_delim
21495 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21496 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21497 INSTALL_DATA!$INSTALL_DATA$ac_delim
21498 am__isrc!$am__isrc$ac_delim
21499 CYGPATH_W!$CYGPATH_W$ac_delim
21500 PACKAGE!$PACKAGE$ac_delim
21501 VERSION!$VERSION$ac_delim
21502 ACLOCAL!$ACLOCAL$ac_delim
21503 AUTOCONF!$AUTOCONF$ac_delim
21504 AUTOMAKE!$AUTOMAKE$ac_delim
21505 AUTOHEADER!$AUTOHEADER$ac_delim
21506 MAKEINFO!$MAKEINFO$ac_delim
21507 install_sh!$install_sh$ac_delim
21508 STRIP!$STRIP$ac_delim
21509 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21510 mkdir_p!$mkdir_p$ac_delim
21512 SET_MAKE!$SET_MAKE$ac_delim
21513 am__leading_dot!$am__leading_dot$ac_delim
21514 AMTAR!$AMTAR$ac_delim
21515 am__tar!$am__tar$ac_delim
21516 am__untar!$am__untar$ac_delim
21518 CXXFLAGS!$CXXFLAGS$ac_delim
21519 LDFLAGS!$LDFLAGS$ac_delim
21520 CPPFLAGS!$CPPFLAGS$ac_delim
21521 ac_ct_CXX!$ac_ct_CXX$ac_delim
21522 EXEEXT!$EXEEXT$ac_delim
21523 OBJEXT!$OBJEXT$ac_delim
21524 DEPDIR!$DEPDIR$ac_delim
21525 am__include!$am__include$ac_delim
21526 am__quote!$am__quote$ac_delim
21527 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21528 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21529 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21530 CXXDEPMODE!$CXXDEPMODE$ac_delim
21531 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21532 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21534 CFLAGS!$CFLAGS$ac_delim
21535 ac_ct_CC!$ac_ct_CC$ac_delim
21536 CCDEPMODE!$CCDEPMODE$ac_delim
21537 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21538 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21539 build!$build$ac_delim
21540 build_cpu!$build_cpu$ac_delim
21541 build_vendor!$build_vendor$ac_delim
21542 build_os!$build_os$ac_delim
21543 host!$host$ac_delim
21544 host_cpu!$host_cpu$ac_delim
21545 host_vendor!$host_vendor$ac_delim
21546 host_os!$host_os$ac_delim
21548 GREP!$GREP$ac_delim
21549 EGREP!$EGREP$ac_delim
21550 LN_S!$LN_S$ac_delim
21551 ECHO!$ECHO$ac_delim
21553 RANLIB!$RANLIB$ac_delim
21554 DSYMUTIL!$DSYMUTIL$ac_delim
21557 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21559 elif $ac_last_try; then
21560 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21561 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21562 { (exit 1); exit 1; }; }
21564 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21568 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21569 if test -n "$ac_eof"; then
21570 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21571 ac_eof
=`expr $ac_eof + 1`
21574 cat >>$CONFIG_STATUS <<_ACEOF
21575 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21576 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21579 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21580 s/^/s,@/; s/!/@,|#_!!_#|/
21583 s/'"$ac_delim"'$/,g/; t
21585 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21586 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21587 rm -f conf$
$subs.
sed
21588 cat >>$CONFIG_STATUS <<_ACEOF
21594 for ac_last_try
in false false false false false
:; do
21595 cat >conf$
$subs.
sed <<_ACEOF
21596 NMEDIT!$NMEDIT$ac_delim
21598 CXXCPP!$CXXCPP$ac_delim
21600 FFLAGS!$FFLAGS$ac_delim
21601 ac_ct_F77!$ac_ct_F77$ac_delim
21602 LIBTOOL!$LIBTOOL$ac_delim
21603 PKG_CONFIG!$PKG_CONFIG$ac_delim
21604 libconfigfile_CFLAGS!$libconfigfile_CFLAGS$ac_delim
21605 libconfigfile_LIBS!$libconfigfile_LIBS$ac_delim
21606 LIBOBJS!$LIBOBJS$ac_delim
21607 LTLIBOBJS!$LTLIBOBJS$ac_delim
21610 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
21612 elif $ac_last_try; then
21613 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21614 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21615 { (exit 1); exit 1; }; }
21617 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
21621 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21622 if test -n "$ac_eof"; then
21623 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
21624 ac_eof
=`expr $ac_eof + 1`
21627 cat >>$CONFIG_STATUS <<_ACEOF
21628 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21632 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21633 s/^/s,@/; s/!/@,|#_!!_#|/
21636 s/'"$ac_delim"'$/,g/; t
21638 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21639 ' >>$CONFIG_STATUS <conf$
$subs.
sed
21640 rm -f conf$
$subs.
sed
21641 cat >>$CONFIG_STATUS <<_ACEOF
21648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21650 # trailing colons and then remove the whole line if VPATH becomes empty
21651 # (actually we leave an empty line to preserve line numbers).
21652 if test "x$srcdir" = x.
; then
21653 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
21654 s/:*\$(srcdir):*/:/
21655 s/:*\${srcdir}:*/:/
21657 s/^\([^=]*=[ ]*\):*/\1/
21663 cat >>$CONFIG_STATUS <<\_ACEOF
21664 fi # test -n "$CONFIG_FILES"
21667 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
21670 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21672 case $ac_mode$ac_tag in
21674 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21675 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21676 { (exit 1); exit 1; }; };;
21677 :[FH
]-) ac_tag
=-:-;;
21678 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21695 -) ac_f
="$tmp/stdin";;
21696 *) # Look for the file first in the build tree, then in the source tree
21697 # (if the path is not absolute). The absolute path cannot be DOS-style,
21698 # because $ac_f cannot contain `:'.
21702 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21704 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21705 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21706 { (exit 1); exit 1; }; };;
21708 ac_file_inputs
="$ac_file_inputs $ac_f"
21711 # Let's still pretend it is `configure' which instantiates (i.e., don't
21712 # use $as_me), people would be surprised to read:
21713 # /* config.h. Generated by config.status. */
21714 configure_input
="Generated from "`IFS=:
21715 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21716 if test x
"$ac_file" != x-
; then
21717 configure_input
="$ac_file. $configure_input"
21718 { echo "$as_me:$LINENO: creating $ac_file" >&5
21719 echo "$as_me: creating $ac_file" >&6;}
21723 *:-:* |
*:-) cat >"$tmp/stdin";;
21728 ac_dir
=`$as_dirname -- "$ac_file" ||
21729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21730 X"$ac_file" : 'X\(//\)[^/]' \| \
21731 X"$ac_file" : 'X\(//\)$' \| \
21732 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21738 /^X\(\/\/\)[^/].*/{
21753 -*) as_dir
=.
/$as_dir;;
21755 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
21759 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21760 *) as_qdir
=$as_dir;;
21762 as_dirs
="'$as_qdir' $as_dirs"
21763 as_dir
=`$as_dirname -- "$as_dir" ||
21764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21765 X"$as_dir" : 'X\(//\)[^/]' \| \
21766 X"$as_dir" : 'X\(//\)$' \| \
21767 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21773 /^X\(\/\/\)[^/].*/{
21786 test -d "$as_dir" && break
21788 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21789 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21790 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21791 { (exit 1); exit 1; }; }; }
21795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21797 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21798 # A ".." for each directory in $ac_dir_suffix.
21799 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21800 case $ac_top_builddir_sub in
21801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21805 ac_abs_top_builddir
=$ac_pwd
21806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21807 # for backward compatibility:
21808 ac_top_builddir
=$ac_top_build_prefix
21811 .
) # We are building in place.
21813 ac_top_srcdir
=$ac_top_builddir_sub
21814 ac_abs_top_srcdir
=$ac_pwd ;;
21815 [\\/]* | ?
:[\\/]* ) # Absolute name.
21816 ac_srcdir
=$srcdir$ac_dir_suffix;
21817 ac_top_srcdir
=$srcdir
21818 ac_abs_top_srcdir
=$srcdir ;;
21819 *) # Relative name.
21820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21834 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21835 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21837 ac_MKDIR_P
=$MKDIR_P
21839 [\\/$
]* | ?
:[\\/]* ) ;;
21840 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21844 cat >>$CONFIG_STATUS <<\_ACEOF
21845 # If the template does not know about datarootdir, expand it.
21846 # FIXME: This hack should be removed a few years after 2.60.
21847 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21849 case `sed -n '/datarootdir/ {
21858 ' $ac_file_inputs` in
21859 *datarootdir
*) ac_datarootdir_seen
=yes;;
21860 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21861 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21862 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21864 cat >>$CONFIG_STATUS <<_ACEOF
21865 ac_datarootdir_hack='
21866 s&@datadir@&$datadir&g
21867 s&@docdir@&$docdir&g
21868 s&@infodir@&$infodir&g
21869 s&@localedir@&$localedir&g
21870 s&@mandir@&$mandir&g
21871 s&\\\${datarootdir}&$datarootdir&g' ;;
21875 # Neutralize VPATH when `$srcdir' = `.'.
21876 # Shell code in configure.ac might set extrasub.
21877 # FIXME: do we really want to maintain this feature?
21878 cat >>$CONFIG_STATUS <<_ACEOF
21882 cat >>$CONFIG_STATUS <<\_ACEOF
21884 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21885 s
&@configure_input@
&$configure_input&;t t
21886 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21887 s
&@srcdir@
&$ac_srcdir&;t t
21888 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21889 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21890 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21891 s
&@builddir@
&$ac_builddir&;t t
21892 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21893 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21894 s
&@INSTALL@
&$ac_INSTALL&;t t
21895 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21896 $ac_datarootdir_hack
21897 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
21899 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21900 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21901 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21902 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21903 which seems to be undefined. Please make sure it is defined." >&5
21904 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21905 which seems to be undefined. Please make sure it is defined." >&2;}
21909 -) cat "$tmp/out"; rm -f "$tmp/out";;
21910 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21919 # Transform confdefs.h into a sed script `conftest.defines', that
21920 # substitutes the proper values into config.h.in to produce config.h.
21921 rm -f conftest.defines conftest.
tail
21922 # First, append a space to every undef/define line, to ease matching.
21923 echo 's/$/ /' >conftest.defines
21924 # Then, protect against being on the right side of a sed subst, or in
21925 # an unquoted here document, in config.status. If some macros were
21926 # called several times there might be several #defines for the same
21927 # symbol, which is useless. But do not sort them, since the last
21928 # AC_DEFINE must be honored.
21929 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
21930 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21931 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21932 # PARAMS is the parameter list in the macro definition--in most cases, it's
21933 # just an empty string.
21934 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21935 ac_dB
='\\)[ (].*,\\1define\\2'
21943 s/^[ ]*#[ ]*define[ ][ ]*//
21948 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21949 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21950 ' >>conftest.defines
21952 # Remove the space that was appended to ease matching.
21953 # Then replace #undef with comments. This is necessary, for
21954 # example, in the case of _POSIX_SOURCE, which is predefined and required
21955 # on some systems where configure will not decide to define it.
21956 # (The regexp can be short, since the line contains either #define or #undef.)
21958 s,^[ #]*u.*,/* & */,' >>conftest.defines
21960 # Break up conftest.defines:
21961 ac_max_sed_lines
=50
21963 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21964 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21965 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21967 ac_in
='$ac_file_inputs'
21968 ac_out
='"$tmp/out1"'
21969 ac_nxt
='"$tmp/out2"'
21973 # Write a here document:
21974 cat >>$CONFIG_STATUS <<_ACEOF
21975 # First, check the format of the line:
21976 cat >"\$tmp/defines.sed" <<\\CEOF
21977 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21978 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21982 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
21984 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21985 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
21986 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
21987 grep . conftest.
tail >/dev
/null ||
break
21988 rm -f conftest.defines
21989 mv conftest.
tail conftest.defines
21991 rm -f conftest.defines conftest.
tail
21993 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21994 cat >>$CONFIG_STATUS <<\_ACEOF
21995 if test x
"$ac_file" != x-
; then
21996 echo "/* $configure_input */" >"$tmp/config.h"
21997 cat "$ac_result" >>"$tmp/config.h"
21998 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
21999 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22000 echo "$as_me: $ac_file is unchanged" >&6;}
22003 mv "$tmp/config.h" $ac_file
22006 echo "/* $configure_input */"
22010 # Compute $ac_file's index in $config_headers.
22013 for _am_header
in $config_headers :; do
22014 case $_am_header in
22015 $_am_arg |
$_am_arg:* )
22018 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22021 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22022 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22023 X"$_am_arg" : 'X\(//\)[^/]' \| \
22024 X"$_am_arg" : 'X\(//\)$' \| \
22025 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22031 /^X\(\/\/\)[^/].*/{
22043 s/.*/./; q'`/stamp-h
$_am_stamp_count
22046 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22047 echo "$as_me: executing $ac_file commands" >&6;}
22052 case $ac_file$ac_mode in
22053 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
22054 # Strip MF so we end up with the name of the file.
22055 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22056 # Check whether this is an Automake generated Makefile or not.
22057 # We used to match only the files named `Makefile.in', but
22058 # some people rename them; so instead we look at the file content.
22059 # Grep'ing the first line is not enough: some people post-process
22060 # each Makefile.in and add a new line on top of each file to say so.
22061 # Grep'ing the whole file is not good either: AIX grep has a line
22062 # limit of 2048, but all sed's we know have understand at least 4000.
22063 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22064 dirpart
=`$as_dirname -- "$mf" ||
22065 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22066 X"$mf" : 'X\(//\)[^/]' \| \
22067 X"$mf" : 'X\(//\)$' \| \
22068 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22074 /^X\(\/\/\)[^/].*/{
22090 # Extract the definition of DEPDIR, am__include, and am__quote
22091 # from the Makefile without running `make'.
22092 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22093 test -z "$DEPDIR" && continue
22094 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22095 test -z "am__include" && continue
22096 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22097 # When using ansi2knr, U may be empty or an underscore; expand it
22098 U
=`sed -n 's/^U = //p' < "$mf"`
22099 # Find all dependency output files, they are included files with
22100 # $(DEPDIR) in their names. We invoke sed twice because it is the
22101 # simplest approach to changing $(DEPDIR) to its actual value in the
22103 for file in `sed -n "
22104 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22105 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22106 # Make sure the directory exists.
22107 test -f "$dirpart/$file" && continue
22108 fdir
=`$as_dirname -- "$file" ||
22109 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22110 X"$file" : 'X\(//\)[^/]' \| \
22111 X"$file" : 'X\(//\)$' \| \
22112 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22118 /^X\(\/\/\)[^/].*/{
22131 { as_dir
=$dirpart/$fdir
22133 -*) as_dir
=.
/$as_dir;;
22135 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22139 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22140 *) as_qdir
=$as_dir;;
22142 as_dirs
="'$as_qdir' $as_dirs"
22143 as_dir
=`$as_dirname -- "$as_dir" ||
22144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22145 X"$as_dir" : 'X\(//\)[^/]' \| \
22146 X"$as_dir" : 'X\(//\)$' \| \
22147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22153 /^X\(\/\/\)[^/].*/{
22166 test -d "$as_dir" && break
22168 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22169 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22170 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22171 { (exit 1); exit 1; }; }; }
22172 # echo "creating $dirpart/$file"
22173 echo '# dummy' > "$dirpart/$file"
22182 { (exit 0); exit 0; }
22184 chmod +x
$CONFIG_STATUS
22185 ac_clean_files
=$ac_clean_files_save
22188 # configure is writing to config.log, and then calls config.status.
22189 # config.status does its own redirection, appending to config.log.
22190 # Unfortunately, on DOS this fails, as config.log is still kept open
22191 # by configure, so config.status won't be able to write to it; its
22192 # output is simply discarded. So we exec the FD to /dev/null,
22193 # effectively closing config.log, so it can be properly (re)opened and
22194 # appended to by config.status. When coming back to configure, we
22195 # need to make the FD available again.
22196 if test "$no_create" != yes; then
22198 ac_config_status_args
=
22199 test "$silent" = yes &&
22200 ac_config_status_args
="$ac_config_status_args --quiet"
22202 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22204 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22205 # would make configure fail if this is the last instruction.
22206 $ac_cs_success ||
{ (exit 1); exit 1; }