2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for simple-comm 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
='simple-comm'
730 PACKAGE_TARNAME
='simple-comm'
731 PACKAGE_VERSION
='0.1'
732 PACKAGE_STRING
='simple-comm 0.1'
733 PACKAGE_BUGREPORT
='ahmed.badran@gmail.com'
735 ac_unique_file
="src/conn.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
879 ac_precious_vars
='build_alias
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 # The variables have the same names as the options, with
900 # dashes changed to underlines.
908 program_transform_name
=s
,x
,x
,
916 # Installation directory options.
917 # These are left unexpanded so users can "make install exec_prefix=/foo"
918 # and all the variables that are supposed to be based on exec_prefix
919 # by default will actually change.
920 # Use braces instead of parens because sh, perl, etc. also accept them.
921 # (The list follows the same order as the GNU Coding Standards.)
922 bindir
='${exec_prefix}/bin'
923 sbindir
='${exec_prefix}/sbin'
924 libexecdir
='${exec_prefix}/libexec'
925 datarootdir
='${prefix}/share'
926 datadir
='${datarootdir}'
927 sysconfdir
='${prefix}/etc'
928 sharedstatedir
='${prefix}/com'
929 localstatedir
='${prefix}/var'
930 includedir
='${prefix}/include'
931 oldincludedir
='/usr/include'
932 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
933 infodir
='${datarootdir}/info'
938 libdir
='${exec_prefix}/lib'
939 localedir
='${datarootdir}/locale'
940 mandir
='${datarootdir}/man'
946 # If the previous option needs an argument, assign it.
947 if test -n "$ac_prev"; then
948 eval $ac_prev=\
$ac_option
954 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 # Accept the important Cygnus configure options, so we can diagnose typos.
960 case $ac_dashdash$ac_option in
964 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
966 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
969 -build |
--build |
--buil |
--bui |
--bu)
970 ac_prev
=build_alias
;;
971 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
972 build_alias
=$ac_optarg ;;
974 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
975 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
976 ac_prev
=cache_file
;;
977 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
978 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
979 cache_file
=$ac_optarg ;;
982 cache_file
=config.cache
;;
984 -datadir |
--datadir |
--datadi |
--datad)
986 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
987 datadir
=$ac_optarg ;;
989 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
990 |
--dataroo |
--dataro |
--datar)
991 ac_prev
=datarootdir
;;
992 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
993 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
994 datarootdir
=$ac_optarg ;;
996 -disable-* |
--disable-*)
997 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1003 eval enable_
$ac_feature=no
;;
1005 -docdir |
--docdir |
--docdi |
--doc |
--do)
1007 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1008 docdir
=$ac_optarg ;;
1010 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1012 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1013 dvidir
=$ac_optarg ;;
1015 -enable-* |
--enable-*)
1016 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1019 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1020 { (exit 1); exit 1; }; }
1021 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1022 eval enable_
$ac_feature=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 { echo "$as_me: error: invalid package name: $ac_package" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1219 eval with_
$ac_package=\
$ac_optarg ;;
1221 -without-* |
--without-*)
1222 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid package name: $ac_package" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1228 eval with_
$ac_package=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) { echo "$as_me: error: unrecognized option: $ac_option
1249 Try \`$0 --help' for more information." >&2
1250 { (exit 1); exit 1; }; }
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1258 { (exit 1); exit 1; }; }
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 { echo "$as_me: error: missing argument to $ac_option" >&2
1276 { (exit 1); exit 1; }; }
1279 # Be sure to have absolute directory names.
1280 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1281 datadir sysconfdir sharedstatedir localstatedir includedir \
1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1283 libdir localedir mandir
1285 eval ac_val
=\$
$ac_var
1287 [\\/$
]* | ?
:[\\/]* ) continue;;
1288 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1290 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1291 { (exit 1); exit 1; }; }
1294 # There might be people who depend on the old broken behavior: `$host'
1295 # used to hold the argument of --host etc.
1296 # FIXME: To remove some day.
1299 target
=$target_alias
1301 # FIXME: To remove some day.
1302 if test "x$host_alias" != x
; then
1303 if test "x$build_alias" = x
; then
1304 cross_compiling
=maybe
1305 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1306 If a cross compiler is detected then cross compile mode will be used." >&2
1307 elif test "x$build_alias" != "x$host_alias"; then
1313 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1315 test "$silent" = yes && exec 6>/dev
/null
1318 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1319 ac_ls_di
=`ls -di .` &&
1320 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1321 { echo "$as_me: error: Working directory cannot be determined" >&2
1322 { (exit 1); exit 1; }; }
1323 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1324 { echo "$as_me: error: pwd does not report name of working directory" >&2
1325 { (exit 1); exit 1; }; }
1328 # Find the source files, if location was not specified.
1329 if test -z "$srcdir"; then
1330 ac_srcdir_defaulted
=yes
1331 # Try the directory containing this script, then the parent directory.
1332 ac_confdir
=`$as_dirname -- "$0" ||
1333 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1334 X"$0" : 'X\(//\)[^/]' \| \
1335 X"$0" : 'X\(//\)$' \| \
1336 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 if test ! -r "$srcdir/$ac_unique_file"; then
1360 ac_srcdir_defaulted
=no
1362 if test ! -r "$srcdir/$ac_unique_file"; then
1363 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1364 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1365 { (exit 1); exit 1; }; }
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1370 { (exit 1); exit 1; }; }
1372 # When building in place, set srcdir=.
1373 if test "$ac_abs_confdir" = "$ac_pwd"; then
1376 # Remove unnecessary trailing slashes from srcdir.
1377 # Double slashes in file names in object file debugging info
1378 # mess up M-x gdb in Emacs.
1380 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures simple-comm 0.1 to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/simple-comm]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1464 if test -n "$ac_init_help"; then
1465 case $ac_init_help in
1466 short | recursive
) echo "Configuration of simple-comm 0.1:";;
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --disable-dependency-tracking speeds up one-time build
1474 --enable-dependency-tracking do not reject slow dependency extractors
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1482 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1483 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1484 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1485 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1487 --with-tags[=TAGS
] include additional configurations
[automatic
]
1489 Some influential environment variables
:
1490 CXX C
++ compiler
command
1491 CXXFLAGS C
++ compiler flags
1492 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1493 nonstandard directory
<lib dir
>
1494 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1495 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1496 you have headers
in a nonstandard directory
<include dir
>
1497 CC C compiler
command
1498 CFLAGS C compiler flags
1500 CXXCPP C
++ preprocessor
1501 F77 Fortran
77 compiler
command
1502 FFLAGS Fortran
77 compiler flags
1504 Use these variables to override the choices made by
`configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <ahmed.badran@gmail.com>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" || continue
1519 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1521 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1522 # A ".." for each directory in $ac_dir_suffix.
1523 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1524 case $ac_top_builddir_sub in
1525 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529 ac_abs_top_builddir=$ac_pwd
1530 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1531 # for backward compatibility:
1532 ac_top_builddir=$ac_top_build_prefix
1535 .) # We are building in place.
1537 ac_top_srcdir=$ac_top_builddir_sub
1538 ac_abs_top_srcdir=$ac_pwd ;;
1539 [\\/]* | ?:[\\/]* ) # Absolute name.
1540 ac_srcdir=$srcdir$ac_dir_suffix;
1541 ac_top_srcdir=$srcdir
1542 ac_abs_top_srcdir=$srcdir ;;
1544 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1545 ac_top_srcdir=$ac_top_build_prefix$srcdir
1546 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1548 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1550 cd "$ac_dir" || { ac_status=$?; continue; }
1551 # Check for guested configure.
1552 if test -f "$ac_srcdir/configure.gnu"; then
1554 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1555 elif test -f "$ac_srcdir/configure"; then
1557 $SHELL "$ac_srcdir/configure" --help=recursive
1559 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1561 cd "$ac_pwd" || { ac_status=$?; break; }
1565 test -n "$ac_init_help" && exit $ac_status
1566 if $ac_init_version; then
1568 simple-comm configure 0.1
1569 generated by GNU Autoconf 2.61
1571 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1572 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1573 This configure script is free software; the Free Software Foundation
1574 gives unlimited permission to copy, distribute and modify it.
1578 cat >config.log <<_ACEOF
1579 This file contains any messages produced by compilers while
1580 running configure, to aid debugging if configure makes a mistake.
1582 It was created by simple-comm $as_me 0.1, which was
1583 generated by GNU Autoconf 2.61. Invocation command line was
1595 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1596 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1597 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1598 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1599 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1601 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1602 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1604 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1605 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1606 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1607 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1608 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1609 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1610 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1618 test -z "$as_dir" && as_dir=.
1619 echo "PATH: $as_dir"
1635 # Keep a trace of the command line.
1636 # Strip out --no-create and --no-recursion so they do not pile up.
1637 # Strip out --silent because we don't want to record it for future runs.
1638 # Also quote any args containing shell meta-characters.
1639 # Make two passes to allow for proper duplicate-argument suppression.
1643 ac_must_keep_next=false
1649 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1651 | -silent | --silent | --silen | --sile | --sil)
1654 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1657 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1659 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1660 if test $ac_must_keep_next = true; then
1661 ac_must_keep_next=false # Got value, back to normal.
1664 *=* | --config-cache | -C | -disable-* | --disable-* \
1665 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1666 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1667 | -with-* | --with-* | -without-* | --without-* | --x)
1668 case "$ac_configure_args0 " in
1669 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1672 -* ) ac_must_keep_next=true ;;
1675 ac_configure_args="$ac_configure_args '$ac_arg'"
1680 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1681 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1683 # When interrupted or exit'd, cleanup temporary files, and complete
1684 # config.log. We remove comments because anyway the quotes in there
1685 # would cause problems or look ugly.
1686 # WARNING: Use '\'' to represent an apostrophe within the trap.
1687 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1688 trap 'exit_status=$?
1689 # Save into config.log some information that might help in debugging.
1694 ## ---------------- ##
1695 ## Cache variables. ##
1696 ## ---------------- ##
1699 # The following way of writing the cache mishandles newlines in values,
1701 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1702 eval ac_val=\$$ac_var
1706 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1707 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1710 _ | IFS | as_nl) ;; #(
1711 *) $as_unset $ac_var ;;
1716 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1717 *${as_nl}ac_space=\ *)
1719 "s/'\''/'\''\\\\'\'''\''/g;
1720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1731 ## ----------------- ##
1732 ## Output variables. ##
1733 ## ----------------- ##
1736 for ac_var in $ac_subst_vars
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1746 if test -n "$ac_subst_files"; then
1748 ## ------------------- ##
1749 ## File substitutions. ##
1750 ## ------------------- ##
1753 for ac_var in $ac_subst_files
1755 eval ac_val=\$$ac_var
1757 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1759 echo "$ac_var='\''$ac_val'\''"
1764 if test -s confdefs.h; then
1774 test "$ac_signal" != 0 &&
1775 echo "$as_me: caught signal $ac_signal"
1776 echo "$as_me: exit $exit_status"
1778 rm -f core *.core core.conftest.* &&
1779 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1782 for ac_signal in 1 2 13 15; do
1783 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1787 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1788 rm -f -r conftest* confdefs.h
1790 # Predefined preprocessor variables.
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_NAME "$PACKAGE_NAME"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1802 cat >>confdefs.h <<_ACEOF
1803 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1807 cat >>confdefs.h <<_ACEOF
1808 #define PACKAGE_STRING "$PACKAGE_STRING"
1812 cat >>confdefs.h <<_ACEOF
1813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1817 # Let the site file select an alternate cache file if it wants to.
1818 # Prefer explicitly selected file to automatically selected ones.
1819 if test -n "$CONFIG_SITE"; then
1820 set x "$CONFIG_SITE"
1821 elif test "x$prefix" != xNONE; then
1822 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1824 set x "$ac_default_prefix/share/config.site" \
1825 "$ac_default_prefix/etc/config.site"
1830 if test -r "$ac_site_file"; then
1831 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1832 echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1838 if test -r "$cache_file"; then
1839 # Some versions of bash will fail to source /dev/null (special
1840 # files actually), so we avoid doing that.
1841 if test -f "$cache_file"; then
1842 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1843 echo "$as_me: loading cache $cache_file" >&6;}
1845 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1846 *) . "./$cache_file";;
1850 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1851 echo "$as_me: creating cache $cache_file" >&6;}
1855 # Check that the precious variables saved in the cache have kept the same
1857 ac_cache_corrupted=false
1858 for ac_var in $ac_precious_vars; do
1859 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1860 eval ac_new_set=\$ac_env_${ac_var}_set
1861 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1862 eval ac_new_val=\$ac_env_${ac_var}_value
1863 case $ac_old_set,$ac_new_set in
1865 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1866 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1867 ac_cache_corrupted=: ;;
1869 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1870 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1874 if test "x$ac_old_val" != "x$ac_new_val"; then
1875 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1876 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1877 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1878 echo "$as_me: former value
: $ac_old_val" >&2;}
1879 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1880 echo "$as_me: current value
: $ac_new_val" >&2;}
1881 ac_cache_corrupted=:
1884 # Pass precious variables to config.status.
1885 if test "$ac_new_set" = set; then
1887 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1888 *) ac_arg=$ac_var=$ac_new_val ;;
1890 case " $ac_configure_args " in
1891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1892 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1896 if $ac_cache_corrupted; then
1897 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1898 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1899 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1900 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1901 { (exit 1); exit 1; }; }
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1935 am__api_version='1.10'
1938 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1939 if test -f "$ac_dir/install-sh"; then
1941 ac_install_sh="$ac_aux_dir/install-sh -c"
1943 elif test -f "$ac_dir/install.sh"; then
1945 ac_install_sh="$ac_aux_dir/install.sh -c"
1947 elif test -f "$ac_dir/shtool"; then
1949 ac_install_sh="$ac_aux_dir/shtool install -c"
1953 if test -z "$ac_aux_dir"; then
1954 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1955 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1956 { (exit 1); exit 1; }; }
1959 # These three variables are undocumented and unsupported,
1960 # and are intended to be withdrawn in a future Autoconf release.
1961 # They can cause serious problems if a builder's source tree is in a directory
1962 # whose full name contains unusual characters.
1963 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1964 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1965 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1968 # Find a good install program. We prefer a C program (faster),
1969 # so one script is as good as another. But avoid the broken or
1970 # incompatible versions:
1971 # SysV /etc/install, /usr/sbin/install
1972 # SunOS /usr/etc/install
1973 # IRIX /sbin/install
1975 # AmigaOS /C/install, which installs bootblocks on floppy discs
1976 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1977 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1978 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1979 # OS/2's system install, which has a completely different semantic
1980 # ./install, which can be erroneously created by make from ./install.sh.
1981 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1982 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1983 if test -z "$INSTALL"; then
1984 if test "${ac_cv_path_install+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1991 test -z "$as_dir" && as_dir=.
1992 # Account for people who put trailing slashes in PATH elements.
1994 ./ | .// | /cC/* | \
1995 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1996 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1999 # OSF1 and SCO ODT 3.0 have their own names for install.
2000 # Don't use installbsd from OSF since it installs stuff as root
2002 for ac_prog in ginstall scoinst install; do
2003 for ac_exec_ext in '' $ac_executable_extensions; do
2004 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2005 if test $ac_prog = install &&
2006 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2007 # AIX install. It has an incompatible calling convention.
2009 elif test $ac_prog = install &&
2010 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2011 # program-specific install script used by HP pwplus--don't use.
2014 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2027 if test "${ac_cv_path_install+set}" = set; then
2028 INSTALL=$ac_cv_path_install
2030 # As a last resort, use the slow shell script. Don't cache a
2031 # value for INSTALL within a source directory, because that will
2032 # break other packages using the cache if that directory is
2033 # removed, or if the value is a relative name.
2034 INSTALL=$ac_install_sh
2037 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2038 echo "${ECHO_T}$INSTALL" >&6; }
2040 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2041 # It thinks the first close brace ends the variable substitution.
2042 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2044 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2046 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2048 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2049 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2052 echo timestamp > conftest.file
2053 # Do `set' in a subshell so we don't clobber the current shell
's
2054 # arguments. Must try -L first in case configure is actually a
2055 # symlink; some systems play weird games with the mod time of symlinks
2056 # (eg FreeBSD returns the mod time of the symlink's containing
2059 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2060 if test "$*" = "X"; then
2062 set X
`ls -t $srcdir/configure conftest.file`
2065 if test "$*" != "X $srcdir/configure conftest.file" \
2066 && test "$*" != "X conftest.file $srcdir/configure"; then
2068 # If neither matched, then we have a broken ls. This can happen
2069 # if, for instance, CONFIG_SHELL is bash and it inherits a
2070 # broken ls alias from the environment. This has actually
2071 # happened. Such a system could not be considered "sane".
2072 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2073 alias in your environment" >&5
2074 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2075 alias in your environment" >&2;}
2076 { (exit 1); exit 1; }; }
2079 test "$2" = conftest.
file
2085 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2086 Check your system clock" >&5
2087 echo "$as_me: error: newly created file is older than distributed files!
2088 Check your system clock" >&2;}
2089 { (exit 1); exit 1; }; }
2091 { echo "$as_me:$LINENO: result: yes" >&5
2092 echo "${ECHO_T}yes" >&6; }
2093 test "$program_prefix" != NONE
&&
2094 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2095 # Use a double $ so make ignores it.
2096 test "$program_suffix" != NONE
&&
2097 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2098 # Double any \ or $. echo might interpret backslashes.
2099 # By default was `s,x,x', remove it if useless.
2100 cat <<\_ACEOF
>conftest.
sed
2101 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2103 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2106 # expand $ac_aux_dir to an absolute path
2107 am_aux_dir
=`cd $ac_aux_dir && pwd`
2109 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2110 # Use eval to expand $SHELL
2111 if eval "$MISSING --run true"; then
2112 am_missing_run
="$MISSING --run "
2115 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2116 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2119 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2120 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2121 if test -z "$MKDIR_P"; then
2122 if test "${ac_cv_path_mkdir+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2126 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2129 test -z "$as_dir" && as_dir
=.
2130 for ac_prog
in mkdir gmkdir
; do
2131 for ac_exec_ext
in '' $ac_executable_extensions; do
2132 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2133 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2134 'mkdir (GNU coreutils) '* | \
2135 'mkdir (coreutils) '* | \
2136 'mkdir (fileutils) '4.1*)
2137 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2147 if test "${ac_cv_path_mkdir+set}" = set; then
2148 MKDIR_P
="$ac_cv_path_mkdir -p"
2150 # As a last resort, use the slow shell script. Don't cache a
2151 # value for MKDIR_P within a source directory, because that will
2152 # break other packages using the cache if that directory is
2153 # removed, or if the value is a relative name.
2154 test -d .
/--version && rmdir .
/--version
2155 MKDIR_P
="$ac_install_sh -d"
2158 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2159 echo "${ECHO_T}$MKDIR_P" >&6; }
2163 [\\/$
]* | ?
:[\\/]*) ;;
2164 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2167 for ac_prog
in gawk mawk nawk
awk
2169 # Extract the first word of "$ac_prog", so it can be a program name with args.
2170 set dummy
$ac_prog; ac_word
=$2
2171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2173 if test "${ac_cv_prog_AWK+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$AWK"; then
2177 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir
=.
2184 for ac_exec_ext
in '' $ac_executable_extensions; do
2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186 ac_cv_prog_AWK
="$ac_prog"
2187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2197 if test -n "$AWK"; then
2198 { echo "$as_me:$LINENO: result: $AWK" >&5
2199 echo "${ECHO_T}$AWK" >&6; }
2201 { echo "$as_me:$LINENO: result: no" >&5
2202 echo "${ECHO_T}no" >&6; }
2206 test -n "$AWK" && break
2209 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2210 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2211 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2212 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 cat >conftest.
make <<\_ACEOF
2218 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2223 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2225 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2229 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2230 { echo "$as_me:$LINENO: result: yes" >&5
2231 echo "${ECHO_T}yes" >&6; }
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2236 SET_MAKE
="MAKE=${MAKE-make}"
2239 rm -rf .tst
2>/dev
/null
2240 mkdir .tst
2>/dev
/null
2241 if test -d .tst
; then
2246 rmdir .tst
2>/dev
/null
2248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2249 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2250 # is not polluted with repeated "-I."
2251 am__isrc
=' -I$(srcdir)'
2252 # test to see if srcdir already configured
2253 if test -f $srcdir/config.status
; then
2254 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2255 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2256 { (exit 1); exit 1; }; }
2260 # test whether we have cygpath
2261 if test -z "$CYGPATH_W"; then
2262 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2263 CYGPATH_W
='cygpath -w'
2270 # Define the identity of the package.
2275 # Some tools Automake needs.
2277 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2280 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2283 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2286 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2289 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2291 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2293 # Installed binaries are usually stripped using `strip' when the user
2294 # run `make install-strip'. However `strip' might not be the right
2295 # tool to use in cross-compilation environments, therefore Automake
2296 # will honor the `STRIP' environment variable to overrule this program.
2297 if test "$cross_compiling" != no
; then
2298 if test -n "$ac_tool_prefix"; then
2299 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2300 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2303 if test "${ac_cv_prog_STRIP+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$STRIP"; then
2307 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 STRIP
=$ac_cv_prog_STRIP
2327 if test -n "$STRIP"; then
2328 { echo "$as_me:$LINENO: result: $STRIP" >&5
2329 echo "${ECHO_T}$STRIP" >&6; }
2331 { echo "$as_me:$LINENO: result: no" >&5
2332 echo "${ECHO_T}no" >&6; }
2337 if test -z "$ac_cv_prog_STRIP"; then
2339 # Extract the first word of "strip", so it can be a program name with args.
2340 set dummy strip
; ac_word
=$2
2341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2343 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&6
2346 if test -n "$ac_ct_STRIP"; then
2347 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2353 test -z "$as_dir" && as_dir
=.
2354 for ac_exec_ext
in '' $ac_executable_extensions; do
2355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356 ac_cv_prog_ac_ct_STRIP
="strip"
2357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2366 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2367 if test -n "$ac_ct_STRIP"; then
2368 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2369 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2371 { echo "$as_me:$LINENO: result: no" >&5
2372 echo "${ECHO_T}no" >&6; }
2375 if test "x$ac_ct_STRIP" = x
; then
2378 case $cross_compiling:$ac_tool_warned in
2380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&5
2383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2386 ac_tool_warned
=yes ;;
2391 STRIP
="$ac_cv_prog_STRIP"
2395 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2397 # We need awk for the "check" target. The system "awk" is bad on
2399 # Always define AMTAR for backward compatibility.
2401 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2403 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2410 ac_config_headers
="$ac_config_headers src/config.h"
2413 # Checks for programs.
2415 ac_cpp
='$CXXCPP $CPPFLAGS'
2416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2419 if test -z "$CXX"; then
2420 if test -n "$CCC"; then
2423 if test -n "$ac_tool_prefix"; then
2424 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2427 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CXX+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CXX"; then
2434 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir
=.
2441 for ac_exec_ext
in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$CXX"; then
2455 { echo "$as_me:$LINENO: result: $CXX" >&5
2456 echo "${ECHO_T}$CXX" >&6; }
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2463 test -n "$CXX" && break
2466 if test -z "$CXX"; then
2468 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2470 # Extract the first word of "$ac_prog", so it can be a program name with args.
2471 set dummy
$ac_prog; ac_word
=$2
2472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2474 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$ac_ct_CXX"; then
2478 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2487 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2498 if test -n "$ac_ct_CXX"; then
2499 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2500 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2502 { echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6; }
2507 test -n "$ac_ct_CXX" && break
2510 if test "x$ac_ct_CXX" = x
; then
2513 case $cross_compiling:$ac_tool_warned in
2515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2516 whose name does not start with the host triplet. If you think this
2517 configuration is useful to you, please write to autoconf@gnu.org." >&5
2518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2519 whose name does not start with the host triplet. If you think this
2520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2521 ac_tool_warned
=yes ;;
2529 # Provide some information about the compiler.
2530 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2531 ac_compiler
=`set X $ac_compile; echo $2`
2532 { (ac_try
="$ac_compiler --version >&5"
2534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 (eval "$ac_compiler --version >&5") 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 { (ac_try="$ac_compiler -v >&5"
2544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2545 *) ac_try_echo
=$ac_try;;
2547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548 (eval "$ac_compiler -v >&5") 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }
2552 { (ac_try
="$ac_compiler -V >&5"
2554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2558 (eval "$ac_compiler -V >&5") 2>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }
2563 cat >conftest.$ac_ext <<_ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2578 ac_clean_files_save=$ac_clean_files
2579 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2580 # Try to create an executable without -o first, disregard a.out.
2581 # It will help us diagnose broken compilers, and finding out an intuition
2583 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2584 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2585 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2587 # List of possible output files, starting from the most likely.
2588 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2589 # only as a last resort. b.out is created by i960 compilers.
2590 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2592 # The IRIX 6 linker writes into existing files which may not be
2593 # executable, retaining their permissions. Remove them first so a
2594 # subsequent execution test works.
2596 for ac_file in $ac_files
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2600 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2605 if { (ac_try="$ac_link_default"
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2611 (eval "$ac_link_default") 2>&5
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); }; then
2615 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2616 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2617 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2618 # so that the user can short-circuit this test for compilers unknown to
2620 for ac_file
in $ac_files ''
2622 test -f "$ac_file" ||
continue
2624 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2627 # We found the default executable, but exeext='' is most
2631 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2633 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2635 # We set ac_cv_exeext here because the later test for it is not
2636 # safe: cross compilers may not add the suffix if given an `-o'
2637 # argument, so we may need to know it at that point already.
2638 # Even if this section looks crufty: it has the advantage of
2645 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2651 { echo "$as_me:$LINENO: result: $ac_file" >&5
2652 echo "${ECHO_T}$ac_file" >&6; }
2653 if test -z "$ac_file"; then
2654 echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.
$ac_ext >&5
2657 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2658 See \`config.log' for more details." >&5
2659 echo "$as_me: error: C++ compiler cannot create executables
2660 See \`config.log' for more details." >&2;}
2661 { (exit 77); exit 77; }; }
2664 ac_exeext
=$ac_cv_exeext
2666 # Check that the compiler produces executables we can run. If not, either
2667 # the compiler is broken, or we cross compile.
2668 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2669 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2670 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2671 # If not cross compiling, check that we can run a simple program.
2672 if test "$cross_compiling" != yes; then
2673 if { ac_try
='./$ac_file'
2674 { (case "(($ac_try" in
2675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_try") 2>&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2685 if test "$cross_compiling" = maybe; then
2688 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2689 If you meant to cross compile, use \`--host'.
2690 See \`config.log' for more details.
" >&5
2691 echo "$as_me: error
: cannot run C
++ compiled programs.
2692 If you meant to cross compile
, use \
`--host'.
2693 See \`config.log
' for more details." >&2;}
2694 { (exit 1); exit 1; }; }
2698 { echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6; }
2701 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2702 ac_clean_files=$ac_clean_files_save
2703 # Check that the compiler produces executables we can run. If not, either
2704 # the compiler is broken, or we cross compile.
2705 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2706 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2707 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2708 echo "${ECHO_T}$cross_compiling" >&6; }
2710 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2711 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2712 if { (ac_try="$ac_link"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_link") 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; then
2722 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2723 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2724 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2726 for ac_file
in conftest.exe conftest conftest.
*; do
2727 test -f "$ac_file" ||
continue
2729 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2730 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2736 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2737 See \`config.log' for more details." >&5
2738 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2739 See \`config.log' for more details." >&2;}
2740 { (exit 1); exit 1; }; }
2743 rm -f conftest
$ac_cv_exeext
2744 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2745 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2747 rm -f conftest.
$ac_ext
2748 EXEEXT
=$ac_cv_exeext
2750 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2751 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2752 if test "${ac_cv_objext+set}" = set; then
2753 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 cat >conftest.
$ac_ext <<_ACEOF
2758 cat confdefs.h
>>conftest.
$ac_ext
2759 cat >>conftest.
$ac_ext <<_ACEOF
2760 /* end confdefs.h. */
2770 rm -f conftest.o conftest.obj
2771 if { (ac_try
="$ac_compile"
2773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_compile") 2>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; then
2781 for ac_file in conftest.o conftest.obj conftest.*; do
2782 test -f "$ac_file" || continue;
2784 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2785 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.$ac_ext >&5
2793 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2794 See \`config.log
' for more details." >&5
2795 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2796 See \`config.log' for more details.
" >&2;}
2797 { (exit 1); exit 1; }; }
2800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2802 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2803 echo "${ECHO_T}$ac_cv_objext" >&6; }
2804 OBJEXT=$ac_cv_objext
2806 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2807 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2808 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2809 echo $ECHO_N "(cached
) $ECHO_C" >&6
2811 cat >conftest.$ac_ext <<_ACEOF
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2829 rm -f conftest.$ac_objext
2830 if { (ac_try="$ac_compile"
2832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833 *) ac_try_echo=$ac_try;;
2835 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2836 (eval "$ac_compile") 2>conftest.er1
2838 grep -v '^ *+' conftest.er1 >conftest.err
2840 cat conftest.err >&5
2841 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2842 (exit $ac_status); } && {
2843 test -z "$ac_cxx_werror_flag" ||
2844 test ! -s conftest.err
2845 } && test -s conftest.$ac_objext; then
2848 echo "$as_me: failed program was
:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2858 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2859 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2860 GXX=`test $ac_compiler_gnu = yes && echo yes`
2861 ac_test_CXXFLAGS=${CXXFLAGS+set}
2862 ac_save_CXXFLAGS=$CXXFLAGS
2863 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2864 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2865 if test "${ac_cv_prog_cxx_g+set}" = set; then
2866 echo $ECHO_N "(cached
) $ECHO_C" >&6
2868 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2869 ac_cxx_werror_flag=yes
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 rm -f conftest.$ac_objext
2888 if { (ac_try="$ac_compile"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2894 (eval "$ac_compile") 2>conftest.er1
2896 grep -v '^ *+' conftest.er1 >conftest.err
2898 cat conftest.err >&5
2899 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2900 (exit $ac_status); } && {
2901 test -z "$ac_cxx_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then
2904 ac_cv_prog_cxx_g=yes
2906 echo "$as_me: failed program was
:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (ac_try="$ac_compile"
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2931 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2932 (eval "$ac_compile") 2>conftest.er1
2934 grep -v '^ *+' conftest.er1 >conftest.err
2936 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2938 (exit $ac_status); } && {
2939 test -z "$ac_cxx_werror_flag" ||
2940 test ! -s conftest.err
2941 } && test -s conftest.$ac_objext; then
2944 echo "$as_me: failed program was
:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2949 cat >conftest.$ac_ext <<_ACEOF
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 rm -f conftest.$ac_objext
2965 if { (ac_try="$ac_compile"
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2971 (eval "$ac_compile") 2>conftest.er1
2973 grep -v '^ *+' conftest.er1 >conftest.err
2975 cat conftest.err >&5
2976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2977 (exit $ac_status); } && {
2978 test -z "$ac_cxx_werror_flag" ||
2979 test ! -s conftest.err
2980 } && test -s conftest.$ac_objext; then
2981 ac_cv_prog_cxx_g=yes
2983 echo "$as_me: failed program was
:" >&5
2984 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2996 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2998 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2999 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3000 if test "$ac_test_CXXFLAGS" = set; then
3001 CXXFLAGS=$ac_save_CXXFLAGS
3002 elif test $ac_cv_prog_cxx_g = yes; then
3003 if test "$GXX" = yes; then
3009 if test "$GXX" = yes; then
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 DEPDIR="${am__leading_dot}deps
"
3022 ac_config_commands="$ac_config_commands depfiles
"
3025 am_make=${MAKE-make}
3026 cat > confinc << 'END'
3031 # If we don't find an include directive, just comment out the code.
3032 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3033 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3037 # First try GNU make style include.
3038 echo "include confinc" > confmf
3039 # We grep out `Entering directory' and `Leaving directory'
3040 # messages which can occur if `w' ends up in MAKEFLAGS.
3041 # In particular we don't look at `^make:' because GNU make might
3042 # be invoked under some other name (usually "gmake"), in which
3043 # case it prints its new name instead of `make'.
3044 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3049 # Now try BSD make style include.
3050 if test "$am__include" = "#"; then
3051 echo '.include "confinc"' > confmf
3052 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3053 am__include
=.include
3060 { echo "$as_me:$LINENO: result: $_am_result" >&5
3061 echo "${ECHO_T}$_am_result" >&6; }
3062 rm -f confinc confmf
3064 # Check whether --enable-dependency-tracking was given.
3065 if test "${enable_dependency_tracking+set}" = set; then
3066 enableval
=$enable_dependency_tracking;
3069 if test "x$enable_dependency_tracking" != xno
; then
3070 am_depcomp
="$ac_aux_dir/depcomp"
3073 if test "x$enable_dependency_tracking" != xno; then
3083 depcc
="$CXX" am_compiler_list
=
3085 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3086 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3087 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3091 # We make a subdir and do the tests there. Otherwise we can end up
3092 # making bogus files that we don't know about and never remove. For
3093 # instance it was reported that on HP-UX the gcc test will end up
3094 # making a dummy file named `D' -- because `-MD' means `put the output
3097 # Copy depcomp to subdir because otherwise we won't find it if we're
3098 # using a relative directory.
3099 cp "$am_depcomp" conftest.dir
3101 # We will build objects and dependencies in a subdirectory because
3102 # it helps to detect inapplicable dependency modes. For instance
3103 # both Tru64's cc and ICC support -MD to output dependencies as a
3104 # side effect of compilation, but ICC will put the dependencies in
3105 # the current directory while Tru64 will put them in the object
3109 am_cv_CXX_dependencies_compiler_type
=none
3110 if test "$am_compiler_list" = ""; then
3111 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3113 for depmode
in $am_compiler_list; do
3114 # Setup a source with many dependencies, because some compilers
3115 # like to wrap large dependency lists on column 80 (with \), and
3116 # we should not choose a depcomp mode which is confused by this.
3118 # We need to recreate these files for each test, as the compiler may
3119 # overwrite some of them when testing with obscure command lines.
3120 # This happens at least with the AIX C compiler.
3122 for i
in 1 2 3 4 5 6; do
3123 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3124 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3125 # Solaris 8's {/usr,}/bin/sh.
3126 touch sub
/conftst
$i.h
3128 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3132 # after this tag, mechanisms are not by side-effect, so they'll
3133 # only be used when explicitly requested
3134 if test "x$enable_dependency_tracking" = xyes
; then
3142 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3143 # mode. It turns out that the SunPro C++ compiler does not properly
3144 # handle `-M -o', and we need to detect this.
3145 if depmode
=$depmode \
3146 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3147 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3148 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3149 >/dev
/null
2>conftest.err
&&
3150 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3151 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3152 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3153 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3154 # icc doesn't choke on unknown options, it will just issue warnings
3155 # or remarks (even with -Werror). So we grep stderr for any message
3156 # that says an option was ignored or not supported.
3157 # When given -MP, icc 7.0 and 7.1 complain thusly:
3158 # icc: Command line warning: ignoring option '-M'; no argument required
3159 # The diagnosis changed in icc 8.0:
3160 # icc: Command line remark: option '-MP' not supported
3161 if (grep 'ignoring option' conftest.err ||
3162 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3163 am_cv_CXX_dependencies_compiler_type
=$depmode
3172 am_cv_CXX_dependencies_compiler_type
=none
3176 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3177 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3178 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3181 test "x$enable_dependency_tracking" != xno \
3182 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3183 am__fastdepCXX_TRUE
=
3184 am__fastdepCXX_FALSE
='#'
3186 am__fastdepCXX_TRUE
='#'
3187 am__fastdepCXX_FALSE
=
3192 ac_cpp
='$CPP $CPPFLAGS'
3193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3196 if test -n "$ac_tool_prefix"; then
3197 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3198 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3201 if test "${ac_cv_prog_CC+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 if test -n "$CC"; then
3205 ac_cv_prog_CC
="$CC" # Let the user override the test.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3214 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 if test -n "$CC"; then
3226 { echo "$as_me:$LINENO: result: $CC" >&5
3227 echo "${ECHO_T}$CC" >&6; }
3229 { echo "$as_me:$LINENO: result: no" >&5
3230 echo "${ECHO_T}no" >&6; }
3235 if test -z "$ac_cv_prog_CC"; then
3237 # Extract the first word of "gcc", so it can be a program name with args.
3238 set dummy gcc
; ac_word
=$2
3239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3254 ac_cv_prog_ac_ct_CC
="gcc"
3255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3267 echo "${ECHO_T}$ac_ct_CC" >&6; }
3269 { echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6; }
3273 if test "x$ac_ct_CC" = x
; then
3276 case $cross_compiling:$ac_tool_warned in
3278 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3279 whose name does not start with the host triplet. If you think this
3280 configuration is useful to you, please write to autoconf@gnu.org." >&5
3281 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3282 whose name does not start with the host triplet. If you think this
3283 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3284 ac_tool_warned
=yes ;;
3292 if test -z "$CC"; then
3293 if test -n "$ac_tool_prefix"; then
3294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3295 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3298 if test "${ac_cv_prog_CC+set}" = set; then
3299 echo $ECHO_N "(cached) $ECHO_C" >&6
3301 if test -n "$CC"; then
3302 ac_cv_prog_CC
="$CC" # Let the user override the test.
3304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3308 test -z "$as_dir" && as_dir
=.
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 if test -n "$CC"; then
3323 { echo "$as_me:$LINENO: result: $CC" >&5
3324 echo "${ECHO_T}$CC" >&6; }
3326 { echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6; }
3333 if test -z "$CC"; then
3334 # Extract the first word of "cc", so it can be a program name with args.
3335 set dummy cc
; ac_word
=$2
3336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3338 if test "${ac_cv_prog_CC+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 if test -n "$CC"; then
3342 ac_cv_prog_CC
="$CC" # Let the user override the test.
3345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3349 test -z "$as_dir" && as_dir
=.
3350 for ac_exec_ext
in '' $ac_executable_extensions; do
3351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3353 ac_prog_rejected
=yes
3357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 if test $ac_prog_rejected = yes; then
3365 # We found a bogon in the path, so make sure we never use it.
3366 set dummy
$ac_cv_prog_CC
3368 if test $# != 0; then
3369 # We chose a different compiler from the bogus one.
3370 # However, it has the same basename, so the bogon will be chosen
3371 # first if we set CC to just the basename; use the full file name.
3373 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3379 if test -n "$CC"; then
3380 { echo "$as_me:$LINENO: result: $CC" >&5
3381 echo "${ECHO_T}$CC" >&6; }
3383 { echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6; }
3389 if test -z "$CC"; then
3390 if test -n "$ac_tool_prefix"; then
3391 for ac_prog
in cl.exe
3393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3397 if test "${ac_cv_prog_CC+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC
="$CC" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test -n "$CC"; then
3422 { echo "$as_me:$LINENO: result: $CC" >&5
3423 echo "${ECHO_T}$CC" >&6; }
3425 { echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6; }
3430 test -n "$CC" && break
3433 if test -z "$CC"; then
3435 for ac_prog
in cl.exe
3437 # Extract the first word of "$ac_prog", so it can be a program name with args.
3438 set dummy
$ac_prog; ac_word
=$2
3439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if test -n "$ac_ct_CC"; then
3445 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir
=.
3452 for ac_exec_ext
in '' $ac_executable_extensions; do
3453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3454 ac_cv_prog_ac_ct_CC
="$ac_prog"
3455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3464 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3465 if test -n "$ac_ct_CC"; then
3466 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3467 echo "${ECHO_T}$ac_ct_CC" >&6; }
3469 { echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6; }
3474 test -n "$ac_ct_CC" && break
3477 if test "x$ac_ct_CC" = x
; then
3480 case $cross_compiling:$ac_tool_warned in
3482 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3483 whose name does not start with the host triplet. If you think this
3484 configuration is useful to you, please write to autoconf@gnu.org." >&5
3485 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3486 whose name does not start with the host triplet. If you think this
3487 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3488 ac_tool_warned
=yes ;;
3497 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3498 See \`config.log' for more details." >&5
3499 echo "$as_me: error: no acceptable C compiler found in \$PATH
3500 See \`config.log' for more details." >&2;}
3501 { (exit 1); exit 1; }; }
3503 # Provide some information about the compiler.
3504 echo "$as_me:$LINENO: checking for C compiler version" >&5
3505 ac_compiler
=`set X $ac_compile; echo $2`
3506 { (ac_try
="$ac_compiler --version >&5"
3508 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compiler --version >&5") 2>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); }
3516 { (ac_try="$ac_compiler -v >&5"
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_compiler -v >&5") 2>&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }
3526 { (ac_try
="$ac_compiler -V >&5"
3528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_compiler -V >&5") 2>&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }
3537 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3538 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3539 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 cat >conftest.$ac_ext <<_ACEOF
3545 cat confdefs.h >>conftest.$ac_ext
3546 cat >>conftest.$ac_ext <<_ACEOF
3547 /* end confdefs.h. */
3560 rm -f conftest.$ac_objext
3561 if { (ac_try="$ac_compile"
3563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3564 *) ac_try_echo
=$ac_try;;
3566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3567 (eval "$ac_compile") 2>conftest.er1
3569 grep -v '^ *+' conftest.er1
>conftest.err
3571 cat conftest.err
>&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } && {
3574 test -z "$ac_c_werror_flag" ||
3575 test ! -s conftest.err
3576 } && test -s conftest.
$ac_objext; then
3579 echo "$as_me: failed program was:" >&5
3580 sed 's/^/| /' conftest.
$ac_ext >&5
3585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3586 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3589 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3590 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3591 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3592 ac_test_CFLAGS
=${CFLAGS+set}
3593 ac_save_CFLAGS
=$CFLAGS
3594 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3595 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3596 if test "${ac_cv_prog_cc_g+set}" = set; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6
3599 ac_save_c_werror_flag
=$ac_c_werror_flag
3600 ac_c_werror_flag
=yes
3603 cat >conftest.
$ac_ext <<_ACEOF
3606 cat confdefs.h
>>conftest.
$ac_ext
3607 cat >>conftest.
$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3618 rm -f conftest.
$ac_objext
3619 if { (ac_try
="$ac_compile"
3621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3625 (eval "$ac_compile") 2>conftest.er1
3627 grep -v '^ *+' conftest.er1 >conftest.err
3629 cat conftest.err >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } && {
3632 test -z "$ac_c_werror_flag" ||
3633 test ! -s conftest.err
3634 } && test -s conftest.$ac_objext; then
3637 echo "$as_me: failed program was:" >&5
3638 sed 's/^/| /' conftest.$ac_ext >&5
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3656 rm -f conftest.$ac_objext
3657 if { (ac_try="$ac_compile"
3659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3660 *) ac_try_echo
=$ac_try;;
3662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3663 (eval "$ac_compile") 2>conftest.er1
3665 grep -v '^ *+' conftest.er1
>conftest.err
3667 cat conftest.err
>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } && {
3670 test -z "$ac_c_werror_flag" ||
3671 test ! -s conftest.err
3672 } && test -s conftest.
$ac_objext; then
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.
$ac_ext >&5
3678 ac_c_werror_flag
=$ac_save_c_werror_flag
3680 cat >conftest.
$ac_ext <<_ACEOF
3683 cat confdefs.h
>>conftest.
$ac_ext
3684 cat >>conftest.
$ac_ext <<_ACEOF
3685 /* end confdefs.h. */
3695 rm -f conftest.
$ac_objext
3696 if { (ac_try
="$ac_compile"
3698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_compile") 2>conftest.er1
3704 grep -v '^ *+' conftest.er1 >conftest.err
3706 cat conftest.err >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } && {
3709 test -z "$ac_c_werror_flag" ||
3710 test ! -s conftest.err
3711 } && test -s conftest.$ac_objext; then
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 ac_c_werror_flag=$ac_save_c_werror_flag
3729 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3730 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3731 if test "$ac_test_CFLAGS" = set; then
3732 CFLAGS=$ac_save_CFLAGS
3733 elif test $ac_cv_prog_cc_g = yes; then
3734 if test "$GCC" = yes; then
3740 if test "$GCC" = yes; then
3746 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3747 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3748 if test "${ac_cv_prog_cc_c89+set}" = set; then
3749 echo $ECHO_N "(cached) $ECHO_C" >&6
3751 ac_cv_prog_cc_c89=no
3753 cat >conftest.$ac_ext <<_ACEOF
3756 cat confdefs.h >>conftest.$ac_ext
3757 cat >>conftest.$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3761 #include <sys/types.h>
3762 #include <sys/stat.h>
3763 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3764 struct buf { int x; };
3765 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3766 static char *e (p, i)
3772 static char *f (char * (*g) (char **, int), char **p, ...)
3777 s = g (p, va_arg (v,int));
3782 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3783 function prototypes and stuff, but not '\xHH' hex character constants.
3784 These don't provoke an error unfortunately, instead are silently treated
3785 as 'x'. The following induces an error, until -std is added to get
3786 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3787 array size at least. It's necessary to write '\x00'==0 to get something
3788 that's true only with -std. */
3789 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3791 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3792 inside strings and character constants. */
3794 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3796 int test (int i, double x);
3797 struct s1 {int (*f) (int a);};
3798 struct s2 {int (*f) (double a);};
3799 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3805 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3810 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3811 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3813 CC="$ac_save_CC $ac_arg"
3814 rm -f conftest.$ac_objext
3815 if { (ac_try="$ac_compile"
3817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3818 *) ac_try_echo
=$ac_try;;
3820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821 (eval "$ac_compile") 2>conftest.er1
3823 grep -v '^ *+' conftest.er1
>conftest.err
3825 cat conftest.err
>&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); } && {
3828 test -z "$ac_c_werror_flag" ||
3829 test ! -s conftest.err
3830 } && test -s conftest.
$ac_objext; then
3831 ac_cv_prog_cc_c89
=$ac_arg
3833 echo "$as_me: failed program was:" >&5
3834 sed 's/^/| /' conftest.
$ac_ext >&5
3839 rm -f core conftest.err conftest.
$ac_objext
3840 test "x$ac_cv_prog_cc_c89" != "xno" && break
3842 rm -f conftest.
$ac_ext
3847 case "x$ac_cv_prog_cc_c89" in
3849 { echo "$as_me:$LINENO: result: none needed" >&5
3850 echo "${ECHO_T}none needed" >&6; } ;;
3852 { echo "$as_me:$LINENO: result: unsupported" >&5
3853 echo "${ECHO_T}unsupported" >&6; } ;;
3855 CC
="$CC $ac_cv_prog_cc_c89"
3856 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3857 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3862 ac_cpp
='$CPP $CPPFLAGS'
3863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3867 depcc
="$CC" am_compiler_list
=
3869 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3870 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3871 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3875 # We make a subdir and do the tests there. Otherwise we can end up
3876 # making bogus files that we don't know about and never remove. For
3877 # instance it was reported that on HP-UX the gcc test will end up
3878 # making a dummy file named `D' -- because `-MD' means `put the output
3881 # Copy depcomp to subdir because otherwise we won't find it if we're
3882 # using a relative directory.
3883 cp "$am_depcomp" conftest.dir
3885 # We will build objects and dependencies in a subdirectory because
3886 # it helps to detect inapplicable dependency modes. For instance
3887 # both Tru64's cc and ICC support -MD to output dependencies as a
3888 # side effect of compilation, but ICC will put the dependencies in
3889 # the current directory while Tru64 will put them in the object
3893 am_cv_CC_dependencies_compiler_type
=none
3894 if test "$am_compiler_list" = ""; then
3895 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3897 for depmode
in $am_compiler_list; do
3898 # Setup a source with many dependencies, because some compilers
3899 # like to wrap large dependency lists on column 80 (with \), and
3900 # we should not choose a depcomp mode which is confused by this.
3902 # We need to recreate these files for each test, as the compiler may
3903 # overwrite some of them when testing with obscure command lines.
3904 # This happens at least with the AIX C compiler.
3906 for i
in 1 2 3 4 5 6; do
3907 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3908 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3909 # Solaris 8's {/usr,}/bin/sh.
3910 touch sub
/conftst
$i.h
3912 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3916 # after this tag, mechanisms are not by side-effect, so they'll
3917 # only be used when explicitly requested
3918 if test "x$enable_dependency_tracking" = xyes
; then
3926 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3927 # mode. It turns out that the SunPro C++ compiler does not properly
3928 # handle `-M -o', and we need to detect this.
3929 if depmode
=$depmode \
3930 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3931 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3932 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3933 >/dev
/null
2>conftest.err
&&
3934 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3935 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3936 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3937 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3938 # icc doesn't choke on unknown options, it will just issue warnings
3939 # or remarks (even with -Werror). So we grep stderr for any message
3940 # that says an option was ignored or not supported.
3941 # When given -MP, icc 7.0 and 7.1 complain thusly:
3942 # icc: Command line warning: ignoring option '-M'; no argument required
3943 # The diagnosis changed in icc 8.0:
3944 # icc: Command line remark: option '-MP' not supported
3945 if (grep 'ignoring option' conftest.err ||
3946 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3947 am_cv_CC_dependencies_compiler_type
=$depmode
3956 am_cv_CC_dependencies_compiler_type
=none
3960 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3961 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3962 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3965 test "x$enable_dependency_tracking" != xno \
3966 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3968 am__fastdepCC_FALSE
='#'
3970 am__fastdepCC_TRUE
='#'
3971 am__fastdepCC_FALSE
=
3975 # Check whether --enable-shared was given.
3976 if test "${enable_shared+set}" = set; then
3977 enableval
=$enable_shared; p
=${PACKAGE-default}
3979 yes) enable_shared
=yes ;;
3980 no
) enable_shared
=no
;;
3983 # Look at the argument we got. We use all the common list separators.
3984 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
3985 for pkg
in $enableval; do
3987 if test "X$pkg" = "X$p"; then
3999 # Check whether --enable-static was given.
4000 if test "${enable_static+set}" = set; then
4001 enableval
=$enable_static; p
=${PACKAGE-default}
4003 yes) enable_static
=yes ;;
4004 no
) enable_static
=no
;;
4007 # Look at the argument we got. We use all the common list separators.
4008 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4009 for pkg
in $enableval; do
4011 if test "X$pkg" = "X$p"; then
4023 # Check whether --enable-fast-install was given.
4024 if test "${enable_fast_install+set}" = set; then
4025 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4027 yes) enable_fast_install
=yes ;;
4028 no
) enable_fast_install
=no
;;
4030 enable_fast_install
=no
4031 # Look at the argument we got. We use all the common list separators.
4032 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4033 for pkg
in $enableval; do
4035 if test "X$pkg" = "X$p"; then
4036 enable_fast_install
=yes
4043 enable_fast_install
=yes
4047 # Make sure we can run config.sub.
4048 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4049 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4050 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4051 { (exit 1); exit 1; }; }
4053 { echo "$as_me:$LINENO: checking build system type" >&5
4054 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4055 if test "${ac_cv_build+set}" = set; then
4056 echo $ECHO_N "(cached) $ECHO_C" >&6
4058 ac_build_alias
=$build_alias
4059 test "x$ac_build_alias" = x
&&
4060 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4061 test "x$ac_build_alias" = x
&&
4062 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4063 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4064 { (exit 1); exit 1; }; }
4065 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4066 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4067 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4068 { (exit 1); exit 1; }; }
4071 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4072 echo "${ECHO_T}$ac_cv_build" >&6; }
4073 case $ac_cv_build in
4075 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4076 echo "$as_me: error: invalid value of canonical build" >&2;}
4077 { (exit 1); exit 1; }; };;
4080 ac_save_IFS
=$IFS; IFS
='-'
4086 # Remember, the first character of IFS is used to create $*,
4087 # except with old shells:
4090 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4093 { echo "$as_me:$LINENO: checking host system type" >&5
4094 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4095 if test "${ac_cv_host+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test "x$host_alias" = x
; then
4099 ac_cv_host
=$ac_cv_build
4101 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4102 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4103 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4104 { (exit 1); exit 1; }; }
4108 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4109 echo "${ECHO_T}$ac_cv_host" >&6; }
4112 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4113 echo "$as_me: error: invalid value of canonical host" >&2;}
4114 { (exit 1); exit 1; }; };;
4117 ac_save_IFS
=$IFS; IFS
='-'
4123 # Remember, the first character of IFS is used to create $*,
4124 # except with old shells:
4127 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4130 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4131 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4132 if test "${lt_cv_path_SED+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 # Loop through the user's path and test for sed and gsed.
4136 # Then use that list of sed's as ones to test for truncation.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for lt_ac_prog
in sed gsed
; do
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4145 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4153 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4154 # along with /bin/sed that truncates output.
4155 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4156 test ! -f $lt_ac_sed && continue
4157 cat /dev
/null
> conftest.
in
4159 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4160 # Check for GNU sed and select it if it is found.
4161 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4162 lt_cv_path_SED
=$lt_ac_sed
4166 cat conftest.
in conftest.
in >conftest.tmp
4167 mv conftest.tmp conftest.
in
4168 cp conftest.
in conftest.
nl
4170 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4171 cmp -s conftest.out conftest.
nl ||
break
4172 # 10000 chars as input seems more than enough
4173 test $lt_ac_count -gt 10 && break
4174 lt_ac_count
=`expr $lt_ac_count + 1`
4175 if test $lt_ac_count -gt $lt_ac_max; then
4176 lt_ac_max
=$lt_ac_count
4177 lt_cv_path_SED
=$lt_ac_sed
4186 { echo "$as_me:$LINENO: result: $SED" >&5
4187 echo "${ECHO_T}$SED" >&6; }
4189 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4190 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4191 if test "${ac_cv_path_GREP+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 # Extract the first word of "grep ggrep" to use in msg output
4195 if test -z "$GREP"; then
4196 set dummy
grep ggrep
; ac_prog_name
=$2
4197 if test "${ac_cv_path_GREP+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 ac_path_GREP_found
=false
4201 # Loop through the user's path and test for each of PROGNAME-LIST
4202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4206 test -z "$as_dir" && as_dir
=.
4207 for ac_prog
in grep ggrep
; do
4208 for ac_exec_ext
in '' $ac_executable_extensions; do
4209 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4210 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4211 # Check for GNU ac_path_GREP and select it if it is found.
4212 # Check for GNU $ac_path_GREP
4213 case `"$ac_path_GREP" --version 2>&1` in
4215 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4218 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4221 cat "conftest.in" "conftest.in" >"conftest.tmp"
4222 mv "conftest.tmp" "conftest.in"
4223 cp "conftest.in" "conftest.nl"
4224 echo 'GREP' >> "conftest.nl"
4225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4226 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4227 ac_count
=`expr $ac_count + 1`
4228 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4229 # Best one so far, save it but keep looking for a better one
4230 ac_cv_path_GREP
="$ac_path_GREP"
4231 ac_path_GREP_max
=$ac_count
4233 # 10*(2^10) chars as input seems more than enough
4234 test $ac_count -gt 10 && break
4236 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4240 $ac_path_GREP_found && break 3
4250 GREP
="$ac_cv_path_GREP"
4251 if test -z "$GREP"; then
4252 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4253 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4254 { (exit 1); exit 1; }; }
4258 ac_cv_path_GREP
=$GREP
4263 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4264 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4265 GREP
="$ac_cv_path_GREP"
4268 { echo "$as_me:$LINENO: checking for egrep" >&5
4269 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4270 if test "${ac_cv_path_EGREP+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4274 then ac_cv_path_EGREP
="$GREP -E"
4276 # Extract the first word of "egrep" to use in msg output
4277 if test -z "$EGREP"; then
4278 set dummy
egrep; ac_prog_name
=$2
4279 if test "${ac_cv_path_EGREP+set}" = set; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 ac_path_EGREP_found
=false
4283 # Loop through the user's path and test for each of PROGNAME-LIST
4284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4288 test -z "$as_dir" && as_dir
=.
4289 for ac_prog
in egrep; do
4290 for ac_exec_ext
in '' $ac_executable_extensions; do
4291 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4292 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4293 # Check for GNU ac_path_EGREP and select it if it is found.
4294 # Check for GNU $ac_path_EGREP
4295 case `"$ac_path_EGREP" --version 2>&1` in
4297 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4300 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4303 cat "conftest.in" "conftest.in" >"conftest.tmp"
4304 mv "conftest.tmp" "conftest.in"
4305 cp "conftest.in" "conftest.nl"
4306 echo 'EGREP' >> "conftest.nl"
4307 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4308 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4309 ac_count
=`expr $ac_count + 1`
4310 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4311 # Best one so far, save it but keep looking for a better one
4312 ac_cv_path_EGREP
="$ac_path_EGREP"
4313 ac_path_EGREP_max
=$ac_count
4315 # 10*(2^10) chars as input seems more than enough
4316 test $ac_count -gt 10 && break
4318 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4322 $ac_path_EGREP_found && break 3
4332 EGREP
="$ac_cv_path_EGREP"
4333 if test -z "$EGREP"; then
4334 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4335 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4336 { (exit 1); exit 1; }; }
4340 ac_cv_path_EGREP
=$EGREP
4346 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4347 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4348 EGREP
="$ac_cv_path_EGREP"
4352 # Check whether --with-gnu-ld was given.
4353 if test "${with_gnu_ld+set}" = set; then
4354 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4360 if test "$GCC" = yes; then
4361 # Check if gcc -print-prog-name=ld gives a path.
4362 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4363 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4366 # gcc leaves a trailing carriage return which upsets mingw
4367 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4369 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4372 # Accept absolute paths.
4374 re_direlt
='/[^/][^/]*/\.\./'
4375 # Canonicalize the pathname of ld
4376 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4377 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4378 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4380 test -z "$LD" && LD
="$ac_prog"
4383 # If it fails, then pretend we aren't using GCC.
4387 # If it is relative, then search for the first ld in PATH.
4391 elif test "$with_gnu_ld" = yes; then
4392 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4393 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4395 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4396 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4398 if test "${lt_cv_path_LD+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 if test -z "$LD"; then
4402 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4403 for ac_dir
in $PATH; do
4405 test -z "$ac_dir" && ac_dir
=.
4406 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4407 lt_cv_path_LD
="$ac_dir/$ac_prog"
4408 # Check to see if the program is GNU ld. I'd rather use --version,
4409 # but apparently some variants of GNU ld only accept -v.
4410 # Break only if it was the GNU/non-GNU ld that we prefer.
4411 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4412 *GNU
* |
*'with BFD'*)
4413 test "$with_gnu_ld" != no
&& break
4416 test "$with_gnu_ld" != yes && break
4423 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4428 if test -n "$LD"; then
4429 { echo "$as_me:$LINENO: result: $LD" >&5
4430 echo "${ECHO_T}$LD" >&6; }
4432 { echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6; }
4435 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4436 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4437 { (exit 1); exit 1; }; }
4438 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4439 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4440 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4444 case `$LD -v 2>&1 </dev/null` in
4445 *GNU
* |
*'with BFD'*)
4446 lt_cv_prog_gnu_ld
=yes
4449 lt_cv_prog_gnu_ld
=no
4453 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4454 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4455 with_gnu_ld
=$lt_cv_prog_gnu_ld
4458 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4459 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4460 if test "${lt_cv_ld_reload_flag+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 lt_cv_ld_reload_flag
='-r'
4465 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4466 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4467 reload_flag
=$lt_cv_ld_reload_flag
4468 case $reload_flag in
4470 *) reload_flag
=" $reload_flag" ;;
4472 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4475 if test "$GCC" = yes; then
4476 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4478 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4483 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4484 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4485 if test "${lt_cv_path_NM+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 if test -n "$NM"; then
4489 # Let the user override the test.
4492 lt_nm_to_check
="${ac_tool_prefix}nm"
4493 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4494 lt_nm_to_check
="$lt_nm_to_check nm"
4496 for lt_tmp_nm
in $lt_nm_to_check; do
4497 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4498 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4500 test -z "$ac_dir" && ac_dir
=.
4501 tmp_nm
="$ac_dir/$lt_tmp_nm"
4502 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4503 # Check to see if the nm accepts a BSD-compat flag.
4504 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4505 # nm: unknown option "B" ignored
4506 # Tru64's nm complains that /dev/null is an invalid object file
4507 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4508 */dev
/null
* |
*'Invalid file or object type'*)
4509 lt_cv_path_NM
="$tmp_nm -B"
4513 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4515 lt_cv_path_NM
="$tmp_nm -p"
4519 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4520 continue # so that we can try to find one that supports BSD flags
4529 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4532 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4533 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4536 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4537 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4539 if test "$LN_S" = "ln -s"; then
4540 { echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6; }
4543 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4544 echo "${ECHO_T}no, using $LN_S" >&6; }
4547 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4548 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4549 if test "${lt_cv_deplibs_check_method+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4553 lt_cv_file_magic_test_file
=
4554 lt_cv_deplibs_check_method
='unknown'
4555 # Need to set the preceding variable on all platforms that support
4556 # interlibrary dependencies.
4557 # 'none' -- dependencies not supported.
4558 # `unknown' -- same as none, but documents that we really don't know.
4559 # 'pass_all' -- all dependencies passed with no checks.
4560 # 'test_compile' -- check by making test program.
4561 # 'file_magic [[regex]]' -- check by looking for files in library path
4562 # which responds to the $file_magic_cmd with a given extended regex.
4563 # If you have `file' or equivalent on your system and you're not sure
4564 # whether `pass_all' will *always* work, you probably want this one.
4568 lt_cv_deplibs_check_method
=pass_all
4572 lt_cv_deplibs_check_method
=pass_all
4576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4577 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4578 lt_cv_file_magic_test_file
=/shlib
/libc.so
4582 # func_win32_libid is a shell function defined in ltmain.sh
4583 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4584 lt_cv_file_magic_cmd
='func_win32_libid'
4588 # Base MSYS/MinGW do not provide the 'file' command needed by
4589 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4590 # unless we find 'file', for example because we are cross-compiling.
4591 if ( file / ) >/dev
/null
2>&1; then
4592 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4593 lt_cv_file_magic_cmd
='func_win32_libid'
4595 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4596 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4600 darwin
* | rhapsody
*)
4601 lt_cv_deplibs_check_method
=pass_all
4604 freebsd
* | dragonfly
*)
4605 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4608 # Not sure whether the presence of OpenBSD here was a mistake.
4609 # Let's accept both of them until this is cleared up.
4610 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4611 lt_cv_file_magic_cmd
=/usr
/bin
/file
4612 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4616 lt_cv_deplibs_check_method
=pass_all
4621 lt_cv_deplibs_check_method
=pass_all
4624 hpux10.20
* | hpux11
*)
4625 lt_cv_file_magic_cmd
=/usr
/bin
/file
4628 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4629 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4632 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]'
4633 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4636 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4637 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4643 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4644 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4647 irix5
* | irix6
* | nonstopux
*)
4649 *-32|
*"-32 ") libmagic
=32-bit;;
4650 *-n32|
*"-n32 ") libmagic
=N32
;;
4651 *-64|
*"-64 ") libmagic
=64-bit;;
4652 *) libmagic
=never-match
;;
4654 lt_cv_deplibs_check_method
=pass_all
4657 # This must be Linux ELF.
4658 linux
* | k
*bsd
*-gnu)
4659 lt_cv_deplibs_check_method
=pass_all
4663 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4664 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4671 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4672 lt_cv_file_magic_cmd
=/usr
/bin
/file
4673 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4677 lt_cv_deplibs_check_method
=unknown
4681 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4684 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4688 osf3
* | osf4
* | osf5
*)
4689 lt_cv_deplibs_check_method
=pass_all
4693 lt_cv_deplibs_check_method
=pass_all
4697 lt_cv_deplibs_check_method
=pass_all
4701 case $host_vendor in
4703 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]'
4704 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4707 lt_cv_deplibs_check_method
=pass_all
4710 lt_cv_file_magic_cmd
='/bin/file'
4711 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4714 lt_cv_file_magic_cmd
='/bin/file'
4715 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4716 lt_cv_file_magic_test_file
=/lib
/libc.so
4719 lt_cv_deplibs_check_method
=pass_all
4722 lt_cv_deplibs_check_method
=pass_all
4727 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4728 lt_cv_deplibs_check_method
=pass_all
4733 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4734 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4735 file_magic_cmd
=$lt_cv_file_magic_cmd
4736 deplibs_check_method
=$lt_cv_deplibs_check_method
4737 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4742 # If no C compiler was specified, use CC.
4745 # If no C compiler flags were specified, use CFLAGS.
4746 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4748 # Allow CC to be a program name with arguments.
4752 # Check whether --enable-libtool-lock was given.
4753 if test "${enable_libtool_lock+set}" = set; then
4754 enableval
=$enable_libtool_lock;
4757 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4759 # Some flags need to be propagated to the compiler or linker for good
4763 # Find out which ABI we are using.
4764 echo 'int i;' > conftest.
$ac_ext
4765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4766 (eval $ac_compile) 2>&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; then
4770 case `/usr/bin/file conftest.$ac_objext` in
4782 # Find out which ABI we are using.
4783 echo '#line 4783 "configure"' > conftest.
$ac_ext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; then
4789 if test "$lt_cv_prog_gnu_ld" = yes; then
4790 case `/usr/bin/file conftest.$ac_objext` in
4792 LD
="${LD-ld} -melf32bsmip"
4795 LD
="${LD-ld} -melf32bmipn32"
4798 LD
="${LD-ld} -melf64bmip"
4802 case `/usr/bin/file conftest.$ac_objext` in
4818 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4819 s390
*-*linux
*|sparc
*-*linux
*)
4820 # Find out which ABI we are using.
4821 echo 'int i;' > conftest.
$ac_ext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4823 (eval $ac_compile) 2>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; then
4827 case `/usr/bin/file conftest.o` in
4830 x86_64-
*kfreebsd
*-gnu)
4831 LD
="${LD-ld} -m elf_i386_fbsd"
4834 LD
="${LD-ld} -m elf_i386"
4836 ppc64-
*linux
*|powerpc64-
*linux
*)
4837 LD
="${LD-ld} -m elf32ppclinux"
4840 LD
="${LD-ld} -m elf_s390"
4843 LD
="${LD-ld} -m elf32_sparc"
4849 x86_64-
*kfreebsd
*-gnu)
4850 LD
="${LD-ld} -m elf_x86_64_fbsd"
4853 LD
="${LD-ld} -m elf_x86_64"
4855 ppc
*-*linux
*|powerpc
*-*linux
*)
4856 LD
="${LD-ld} -m elf64ppc"
4859 LD
="${LD-ld} -m elf64_s390"
4862 LD
="${LD-ld} -m elf64_sparc"
4872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4873 SAVE_CFLAGS
="$CFLAGS"
4874 CFLAGS
="$CFLAGS -belf"
4875 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4876 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4877 if test "${lt_cv_cc_needs_belf+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 ac_cpp
='$CPP $CPPFLAGS'
4882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4901 rm -f conftest.
$ac_objext conftest
$ac_exeext
4902 if { (ac_try
="$ac_link"
4904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4908 (eval "$ac_link") 2>conftest.er1
4910 grep -v '^ *+' conftest.er1 >conftest.err
4912 cat conftest.err >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } && {
4915 test -z "$ac_c_werror_flag" ||
4916 test ! -s conftest.err
4917 } && test -s conftest$ac_exeext &&
4918 $as_test_x conftest$ac_exeext; then
4919 lt_cv_cc_needs_belf=yes
4921 echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.$ac_ext >&5
4924 lt_cv_cc_needs_belf=no
4927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4928 conftest$ac_exeext conftest.$ac_ext
4930 ac_cpp='$CPP $CPPFLAGS'
4931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4937 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4938 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4939 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4940 CFLAGS="$SAVE_CFLAGS"
4944 # Find out which ABI we are using.
4945 echo 'int i;' > conftest.$ac_ext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; then
4951 case `/usr
/bin
/file conftest.o
` in
4953 case $lt_cv_prog_gnu_ld in
4954 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4956 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4970 need_locks="$enable_libtool_lock"
4974 ac_cpp='$CPP $CPPFLAGS'
4975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4978 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4979 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4980 # On Suns, sometimes $CPP names a directory.
4981 if test -n "$CPP" && test -d "$CPP"; then
4984 if test -z "$CPP"; then
4985 if test "${ac_cv_prog_CPP+set}" = set; then
4986 echo $ECHO_N "(cached) $ECHO_C" >&6
4988 # Double quotes because CPP needs to be expanded
4989 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4992 for ac_c_preproc_warn_flag in '' yes
4994 # Use a header file that comes with gcc, so configuring glibc
4995 # with a fresh cross-compiler works.
4996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4997 # <limits.h> exists even on freestanding compilers.
4998 # On the NeXT, cc -E runs the code through the compiler's parser,
4999 # not just through cpp. "Syntax error" is here to catch this case.
5000 cat >conftest.$ac_ext <<_ACEOF
5003 cat confdefs.h >>conftest.$ac_ext
5004 cat >>conftest.$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5007 # include <limits.h>
5009 # include <assert.h>
5013 if { (ac_try="$ac_cpp conftest.$ac_ext"
5015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5016 *) ac_try_echo
=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5021 grep -v '^ *+' conftest.er1
>conftest.err
5023 cat conftest.err
>&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } >/dev
/null
&& {
5026 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5027 test ! -s conftest.err
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 # Broken: fails on valid input.
5038 rm -f conftest.err conftest.
$ac_ext
5040 # OK, works on sane cases. Now check whether nonexistent headers
5041 # can be detected and how.
5042 cat >conftest.
$ac_ext <<_ACEOF
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5048 #include <ac_nonexistent.h>
5050 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null && {
5063 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5064 test ! -s conftest.err
5066 # Broken: success on invalid input.
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5072 # Passes both tests.
5077 rm -f conftest.err conftest.$ac_ext
5080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5081 rm -f conftest.err conftest.
$ac_ext
5082 if $ac_preproc_ok; then
5094 { echo "$as_me:$LINENO: result: $CPP" >&5
5095 echo "${ECHO_T}$CPP" >&6; }
5097 for ac_c_preproc_warn_flag
in '' yes
5099 # Use a header file that comes with gcc, so configuring glibc
5100 # with a fresh cross-compiler works.
5101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5102 # <limits.h> exists even on freestanding compilers.
5103 # On the NeXT, cc -E runs the code through the compiler's parser,
5104 # not just through cpp. "Syntax error" is here to catch this case.
5105 cat >conftest.
$ac_ext <<_ACEOF
5108 cat confdefs.h
>>conftest.
$ac_ext
5109 cat >>conftest.
$ac_ext <<_ACEOF
5110 /* end confdefs.h. */
5112 # include <limits.h>
5114 # include <assert.h>
5118 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } >/dev/null && {
5131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.$ac_ext >&5
5139 # Broken: fails on valid input.
5143 rm -f conftest.err conftest.$ac_ext
5145 # OK, works on sane cases. Now check whether nonexistent headers
5146 # can be detected and how.
5147 cat >conftest.$ac_ext <<_ACEOF
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5153 #include <ac_nonexistent.h>
5155 if { (ac_try="$ac_cpp conftest.$ac_ext"
5157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5158 *) ac_try_echo
=$ac_try;;
5160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5163 grep -v '^ *+' conftest.er1
>conftest.err
5165 cat conftest.err
>&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev
/null
&& {
5168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5169 test ! -s conftest.err
5171 # Broken: success on invalid input.
5174 echo "$as_me: failed program was:" >&5
5175 sed 's/^/| /' conftest.
$ac_ext >&5
5177 # Passes both tests.
5182 rm -f conftest.err conftest.
$ac_ext
5185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5186 rm -f conftest.err conftest.
$ac_ext
5187 if $ac_preproc_ok; then
5190 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5191 See \`config.log' for more details." >&5
5192 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5193 See \`config.log' for more details." >&2;}
5194 { (exit 1); exit 1; }; }
5198 ac_cpp
='$CPP $CPPFLAGS'
5199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5204 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5205 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5206 if test "${ac_cv_header_stdc+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5228 rm -f conftest.
$ac_objext
5229 if { (ac_try
="$ac_compile"
5231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235 (eval "$ac_compile") 2>conftest.er1
5237 grep -v '^ *+' conftest.er1 >conftest.err
5239 cat conftest.err >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } && {
5242 test -z "$ac_c_werror_flag" ||
5243 test ! -s conftest.err
5244 } && test -s conftest.$ac_objext; then
5245 ac_cv_header_stdc=yes
5247 echo "$as_me: failed program was:" >&5
5248 sed 's/^/| /' conftest.$ac_ext >&5
5250 ac_cv_header_stdc=no
5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 if test $ac_cv_header_stdc = yes; then
5256 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5257 cat >conftest.$ac_ext <<_ACEOF
5260 cat confdefs.h >>conftest.$ac_ext
5261 cat >>conftest.$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5267 $EGREP "memchr" >/dev/null 2>&1; then
5270 ac_cv_header_stdc=no
5276 if test $ac_cv_header_stdc = yes; then
5277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5278 cat >conftest.$ac_ext <<_ACEOF
5281 cat confdefs.h >>conftest.$ac_ext
5282 cat >>conftest.$ac_ext <<_ACEOF
5283 /* end confdefs.h. */
5287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5288 $EGREP "free" >/dev/null 2>&1; then
5291 ac_cv_header_stdc=no
5297 if test $ac_cv_header_stdc = yes; then
5298 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5299 if test "$cross_compiling" = yes; then
5302 cat >conftest.$ac_ext <<_ACEOF
5305 cat confdefs.h >>conftest.$ac_ext
5306 cat >>conftest.$ac_ext <<_ACEOF
5307 /* end confdefs.h. */
5310 #if ((' ' & 0x0FF) == 0x020)
5311 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5312 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5314 # define ISLOWER(c) \
5315 (('a' <= (c) && (c) <= 'i') \
5316 || ('j' <= (c) && (c) <= 'r') \
5317 || ('s' <= (c) && (c) <= 'z'))
5318 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5321 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5326 for (i = 0; i < 256; i++)
5327 if (XOR (islower (i), ISLOWER (i))
5328 || toupper (i) != TOUPPER (i))
5333 rm -f conftest$ac_exeext
5334 if { (ac_try="$ac_link"
5336 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5337 *) ac_try_echo
=$ac_try;;
5339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5340 (eval "$ac_link") 2>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5344 { (case "(($ac_try" in
5345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5349 (eval "$ac_try") 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; }; then
5355 echo "$as_me: program exited with status $ac_status" >&5
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5360 ac_cv_header_stdc=no
5362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5368 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5369 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5370 if test $ac_cv_header_stdc = yes; then
5372 cat >>confdefs.h <<\_ACEOF
5373 #define STDC_HEADERS 1
5378 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5388 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5389 inttypes.h stdint.h unistd.h
5391 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5395 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 cat >conftest.$ac_ext <<_ACEOF
5400 cat confdefs.h >>conftest.$ac_ext
5401 cat >>conftest.$ac_ext <<_ACEOF
5402 /* end confdefs.h. */
5403 $ac_includes_default
5405 #include <$ac_header>
5407 rm -f conftest.$ac_objext
5408 if { (ac_try="$ac_compile"
5410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5411 *) ac_try_echo
=$ac_try;;
5413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5414 (eval "$ac_compile") 2>conftest.er1
5416 grep -v '^ *+' conftest.er1
>conftest.err
5418 cat conftest.err
>&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } && {
5421 test -z "$ac_c_werror_flag" ||
5422 test ! -s conftest.err
5423 } && test -s conftest.
$ac_objext; then
5424 eval "$as_ac_Header=yes"
5426 echo "$as_me: failed program was:" >&5
5427 sed 's/^/| /' conftest.
$ac_ext >&5
5429 eval "$as_ac_Header=no"
5432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5434 ac_res
=`eval echo '${'$as_ac_Header'}'`
5435 { echo "$as_me:$LINENO: result: $ac_res" >&5
5436 echo "${ECHO_T}$ac_res" >&6; }
5437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5438 cat >>confdefs.h
<<_ACEOF
5439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5448 for ac_header
in dlfcn.h
5450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 ac_res
=`eval echo '${'$as_ac_Header'}'`
5458 { echo "$as_me:$LINENO: result: $ac_res" >&5
5459 echo "${ECHO_T}$ac_res" >&6; }
5461 # Is the header compilable?
5462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5464 cat >conftest.
$ac_ext <<_ACEOF
5467 cat confdefs.h
>>conftest.
$ac_ext
5468 cat >>conftest.
$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5470 $ac_includes_default
5471 #include <$ac_header>
5473 rm -f conftest.
$ac_objext
5474 if { (ac_try
="$ac_compile"
5476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1 >conftest.err
5484 cat conftest.err >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_c_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.$ac_objext; then
5490 ac_header_compiler=yes
5492 echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5495 ac_header_compiler=no
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5500 echo "${ECHO_T}$ac_header_compiler" >&6; }
5502 # Is the header present?
5503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5505 cat >conftest.$ac_ext <<_ACEOF
5508 cat confdefs.h >>conftest.$ac_ext
5509 cat >>conftest.$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5511 #include <$ac_header>
5513 if { (ac_try="$ac_cpp conftest.$ac_ext"
5515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5516 *) ac_try_echo
=$ac_try;;
5518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5521 grep -v '^ *+' conftest.er1
>conftest.err
5523 cat conftest.err
>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); } >/dev
/null
&& {
5526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5527 test ! -s conftest.err
5529 ac_header_preproc
=yes
5531 echo "$as_me: failed program was:" >&5
5532 sed 's/^/| /' conftest.
$ac_ext >&5
5534 ac_header_preproc
=no
5537 rm -f conftest.err conftest.
$ac_ext
5538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5539 echo "${ECHO_T}$ac_header_preproc" >&6; }
5541 # So? What about this header?
5542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5548 ac_header_preproc
=yes
5551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5564 ## ------------------------------------- ##
5565 ## Report this to ahmed.badran@gmail.com ##
5566 ## ------------------------------------- ##
5568 ) |
sed "s/^/$as_me: WARNING: /" >&2
5571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5573 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 eval "$as_ac_Header=\$ac_header_preproc"
5578 ac_res
=`eval echo '${'$as_ac_Header'}'`
5579 { echo "$as_me:$LINENO: result: $ac_res" >&5
5580 echo "${ECHO_T}$ac_res" >&6; }
5583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5584 cat >>confdefs.h
<<_ACEOF
5585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5594 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5595 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5596 (test "X$CXX" != "Xg++"))) ; then
5598 ac_cpp
='$CXXCPP $CPPFLAGS'
5599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5602 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5603 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5604 if test -z "$CXXCPP"; then
5605 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 # Double quotes because CXXCPP needs to be expanded
5609 for CXXCPP
in "$CXX -E" "/lib/cpp"
5612 for ac_cxx_preproc_warn_flag
in '' yes
5614 # Use a header file that comes with gcc, so configuring glibc
5615 # with a fresh cross-compiler works.
5616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5617 # <limits.h> exists even on freestanding compilers.
5618 # On the NeXT, cc -E runs the code through the compiler's parser,
5619 # not just through cpp. "Syntax error" is here to catch this case.
5620 cat >conftest.
$ac_ext <<_ACEOF
5623 cat confdefs.h
>>conftest.
$ac_ext
5624 cat >>conftest.
$ac_ext <<_ACEOF
5625 /* end confdefs.h. */
5627 # include <limits.h>
5629 # include <assert.h>
5633 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5636 *) ac_try_echo=$ac_try;;
5638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5641 grep -v '^ *+' conftest.er1 >conftest.err
5643 cat conftest.err >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } >/dev/null && {
5646 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5647 test ! -s conftest.err
5651 echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5654 # Broken: fails on valid input.
5658 rm -f conftest.err conftest.$ac_ext
5660 # OK, works on sane cases. Now check whether nonexistent headers
5661 # can be detected and how.
5662 cat >conftest.$ac_ext <<_ACEOF
5665 cat confdefs.h >>conftest.$ac_ext
5666 cat >>conftest.$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 #include <ac_nonexistent.h>
5670 if { (ac_try="$ac_cpp conftest.$ac_ext"
5672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5673 *) ac_try_echo
=$ac_try;;
5675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5678 grep -v '^ *+' conftest.er1
>conftest.err
5680 cat conftest.err
>&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } >/dev
/null
&& {
5683 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5684 test ! -s conftest.err
5686 # Broken: success on invalid input.
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 # Passes both tests.
5697 rm -f conftest.err conftest.
$ac_ext
5700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5701 rm -f conftest.err conftest.
$ac_ext
5702 if $ac_preproc_ok; then
5707 ac_cv_prog_CXXCPP
=$CXXCPP
5710 CXXCPP
=$ac_cv_prog_CXXCPP
5712 ac_cv_prog_CXXCPP
=$CXXCPP
5714 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5715 echo "${ECHO_T}$CXXCPP" >&6; }
5717 for ac_cxx_preproc_warn_flag
in '' yes
5719 # Use a header file that comes with gcc, so configuring glibc
5720 # with a fresh cross-compiler works.
5721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5722 # <limits.h> exists even on freestanding compilers.
5723 # On the NeXT, cc -E runs the code through the compiler's parser,
5724 # not just through cpp. "Syntax error" is here to catch this case.
5725 cat >conftest.
$ac_ext <<_ACEOF
5728 cat confdefs.h
>>conftest.
$ac_ext
5729 cat >>conftest.
$ac_ext <<_ACEOF
5730 /* end confdefs.h. */
5732 # include <limits.h>
5734 # include <assert.h>
5738 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1 >conftest.err
5748 cat conftest.err >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } >/dev/null && {
5751 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5752 test ! -s conftest.err
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.$ac_ext >&5
5759 # Broken: fails on valid input.
5763 rm -f conftest.err conftest.$ac_ext
5765 # OK, works on sane cases. Now check whether nonexistent headers
5766 # can be detected and how.
5767 cat >conftest.$ac_ext <<_ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5773 #include <ac_nonexistent.h>
5775 if { (ac_try="$ac_cpp conftest.$ac_ext"
5777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5778 *) ac_try_echo
=$ac_try;;
5780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5783 grep -v '^ *+' conftest.er1
>conftest.err
5785 cat conftest.err
>&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } >/dev
/null
&& {
5788 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5789 test ! -s conftest.err
5791 # Broken: success on invalid input.
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 # Passes both tests.
5802 rm -f conftest.err conftest.
$ac_ext
5805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5806 rm -f conftest.err conftest.
$ac_ext
5807 if $ac_preproc_ok; then
5810 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5811 See \`config.log' for more details." >&5
5812 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5813 See \`config.log' for more details." >&2;}
5814 { (exit 1); exit 1; }; }
5818 ac_cpp
='$CXXCPP $CPPFLAGS'
5819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5827 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5828 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5829 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
5830 if test -n "$ac_tool_prefix"; then
5831 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
5833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5834 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_F77+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 if test -n "$F77"; then
5841 ac_cv_prog_F77
="$F77" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 if test -n "$F77"; then
5862 { echo "$as_me:$LINENO: result: $F77" >&5
5863 echo "${ECHO_T}$F77" >&6; }
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5870 test -n "$F77" && break
5873 if test -z "$F77"; then
5875 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
5877 # Extract the first word of "$ac_prog", so it can be a program name with args.
5878 set dummy
$ac_prog; ac_word
=$2
5879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5881 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 if test -n "$ac_ct_F77"; then
5885 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
5887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir
=.
5892 for ac_exec_ext
in '' $ac_executable_extensions; do
5893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5894 ac_cv_prog_ac_ct_F77
="$ac_prog"
5895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
5905 if test -n "$ac_ct_F77"; then
5906 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5907 echo "${ECHO_T}$ac_ct_F77" >&6; }
5909 { echo "$as_me:$LINENO: result: no" >&5
5910 echo "${ECHO_T}no" >&6; }
5914 test -n "$ac_ct_F77" && break
5917 if test "x$ac_ct_F77" = x
; then
5920 case $cross_compiling:$ac_tool_warned in
5922 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5923 whose name does not start with the host triplet. If you think this
5924 configuration is useful to you, please write to autoconf@gnu.org." >&5
5925 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5926 whose name does not start with the host triplet. If you think this
5927 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5928 ac_tool_warned
=yes ;;
5935 # Provide some information about the compiler.
5936 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5937 ac_compiler
=`set X $ac_compile; echo $2`
5938 { (ac_try
="$ac_compiler --version >&5"
5940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5941 *) ac_try_echo=$ac_try;;
5943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5944 (eval "$ac_compiler --version >&5") 2>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }
5948 { (ac_try="$ac_compiler -v >&5"
5950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5951 *) ac_try_echo
=$ac_try;;
5953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5954 (eval "$ac_compiler -v >&5") 2>&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }
5958 { (ac_try
="$ac_compiler -V >&5"
5960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5961 *) ac_try_echo=$ac_try;;
5963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5964 (eval "$ac_compiler -V >&5") 2>&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }
5970 # If we don't use `.F
' as extension, the preprocessor is not run on the
5971 # input file. (Note that this only needs to work for GNU compilers.)
5974 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5975 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5976 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 cat >conftest.$ac_ext <<_ACEOF
5987 rm -f conftest.$ac_objext
5988 if { (ac_try="$ac_compile"
5990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5991 *) ac_try_echo=$ac_try;;
5993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5994 (eval "$ac_compile") 2>conftest.er1
5996 grep -v '^
*+' conftest.er1 >conftest.err
5998 cat conftest.err >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } && {
6001 test -z "$ac_f77_werror_flag" ||
6002 test ! -s conftest.err
6003 } && test -s conftest.$ac_objext; then
6006 echo "$as_me: failed program was:" >&5
6007 sed 's
/^
/|
/' conftest.$ac_ext >&5
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6016 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6017 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6019 ac_test_FFLAGS=${FFLAGS+set}
6020 ac_save_FFLAGS=$FFLAGS
6022 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6023 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6024 if test "${ac_cv_prog_f77_g+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6028 cat >conftest.$ac_ext <<_ACEOF
6033 rm -f conftest.$ac_objext
6034 if { (ac_try="$ac_compile"
6036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6037 *) ac_try_echo=$ac_try;;
6039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6040 (eval "$ac_compile") 2>conftest.er1
6042 grep -v '^
*+' conftest.er1 >conftest.err
6044 cat conftest.err >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } && {
6047 test -z "$ac_f77_werror_flag" ||
6048 test ! -s conftest.err
6049 } && test -s conftest.$ac_objext; then
6050 ac_cv_prog_f77_g=yes
6052 echo "$as_me: failed program was:" >&5
6053 sed 's
/^
/|
/' conftest.$ac_ext >&5
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6061 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6062 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6063 if test "$ac_test_FFLAGS" = set; then
6064 FFLAGS=$ac_save_FFLAGS
6065 elif test $ac_cv_prog_f77_g = yes; then
6066 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6072 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6079 G77=`test $ac_compiler_gnu = yes && echo yes`
6081 ac_cpp='$CPP $CPPFLAGS'
6082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6083 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6088 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6089 # find the maximum length of command line arguments
6090 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6091 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6092 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6100 # On DJGPP, this test can blow up pretty badly due to problems in libc
6101 # (any single argument exceeding 2000 bytes causes a buffer overrun
6102 # during glob expansion). Even if it were fixed, the result of this
6103 # check would be larger than it should be.
6104 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6108 # Under GNU Hurd, this test is not required because there is
6109 # no limit to the length of command line arguments.
6110 # Libtool will interpret -1 as no limit whatsoever
6111 lt_cv_sys_max_cmd_len
=-1;
6115 # On Win9x/ME, this test blows up -- it succeeds, but takes
6116 # about 5 minutes as the teststring grows exponentially.
6117 # Worse, since 9x/ME are not pre-emptively multitasking,
6118 # you end up with a "frozen" computer, even though with patience
6119 # the test eventually succeeds (with a max line length of 256k).
6120 # Instead, let's just punt: use the minimum linelength reported by
6121 # all of the supported platforms: 8192 (on NT/2K/XP).
6122 lt_cv_sys_max_cmd_len
=8192;
6126 # On AmigaOS with pdksh, this test takes hours, literally.
6127 # So we just punt and use a minimum line length of 8192.
6128 lt_cv_sys_max_cmd_len
=8192;
6131 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6132 # This has been around since 386BSD, at least. Likely further.
6133 if test -x /sbin
/sysctl
; then
6134 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6135 elif test -x /usr
/sbin
/sysctl
; then
6136 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6138 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6140 # And add a safety zone
6141 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6142 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6146 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6147 lt_cv_sys_max_cmd_len
=196608
6151 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6152 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6153 # nice to cause kernel panics so lets avoid the loop below.
6154 # First set a reasonable default.
6155 lt_cv_sys_max_cmd_len
=16384
6157 if test -x /sbin
/sysconfig
; then
6158 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6159 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6164 lt_cv_sys_max_cmd_len
=102400
6166 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6167 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6168 if test -n "$kargmax"; then
6169 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6171 lt_cv_sys_max_cmd_len
=32768
6175 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6176 if test -n "$lt_cv_sys_max_cmd_len"; then
6177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6178 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6180 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6181 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6182 = "XX$teststring") >/dev
/null
2>&1 &&
6183 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6184 lt_cv_sys_max_cmd_len
=$new_result &&
6185 test $i != 17 # 1/2 MB should be enough
6188 teststring
=$teststring$teststring
6191 # Add a significant safety factor because C++ compilers can tack on massive
6192 # amounts of additional arguments before passing them to the linker.
6193 # It appears as though 1/2 is a usable value.
6194 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6201 if test -n $lt_cv_sys_max_cmd_len ; then
6202 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6203 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6205 { echo "$as_me:$LINENO: result: none" >&5
6206 echo "${ECHO_T}none" >&6; }
6213 # Check for command to grab the raw symbol name followed by C symbol from nm.
6214 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6215 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6216 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 # These are sane defaults that work on at least a few old systems.
6221 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6223 # Character class describing NM global symbol codes.
6224 symcode
='[BCDEGRST]'
6226 # Regexp to match symbols that can be accessed directly from C.
6227 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6229 # Transform an extracted symbol line into a proper C declaration
6230 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6232 # Transform an extracted symbol line into symbol name and symbol address
6233 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'"
6235 # Define system-specific variables.
6240 cygwin
* | mingw
* | pw32
*)
6241 symcode
='[ABCDGISTW]'
6243 hpux
*) # Its linker distinguishes data from code symbols
6244 if test "$host_cpu" = ia64
; then
6245 symcode
='[ABCDEGRST]'
6247 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6248 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'"
6250 linux
* | k
*bsd
*-gnu)
6251 if test "$host_cpu" = ia64
; then
6252 symcode
='[ABCDGIRSTW]'
6253 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6254 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'"
6258 symcode
='[BCDEGRST]'
6261 symcode
='[BCDEGQRST]'
6272 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6280 # Handle CRLF in mingw tool chain
6284 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6288 # If we're using GNU nm, then use its standard symbol codes.
6289 case `$NM -V 2>&1` in
6290 *GNU
* |
*'with BFD'*)
6291 symcode
='[ABCDGIRSTW]' ;;
6294 # Try without a prefix undercore, then with it.
6295 for ac_symprfx
in "" "_"; do
6297 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6298 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6300 # Write the raw and C identifiers.
6301 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6303 # Check to see that the pipe works correctly.
6307 cat > conftest.
$ac_ext <<EOF
6312 void nm_test_func(){}
6316 int main(){nm_test_var='a';nm_test_func();return(0);}
6319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320 (eval $ac_compile) 2>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); }; then
6324 # Now try to grab the symbols.
6326 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6327 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); } && test -s "$nlist"; then
6331 # Try sorting and uniquifying the output.
6332 if sort "$nlist" |
uniq > "$nlist"T
; then
6333 mv -f "$nlist"T
"$nlist"
6338 # Make sure that we snagged all the symbols we need.
6339 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6340 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6341 cat <<EOF > conftest.$ac_ext
6347 # Now generate the symbol file.
6348 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6350 cat <<EOF >> conftest.$ac_ext
6351 #if defined (__STDC__) && __STDC__
6352 # define lt_ptr_t void *
6354 # define lt_ptr_t char *
6358 /* The mapping between symbol names and symbols. */
6363 lt_preloaded_symbols[] =
6366 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6367 cat <<\EOF
>> conftest.
$ac_ext
6375 # Now try linking the two files.
6376 mv conftest.
$ac_objext conftstm.
$ac_objext
6377 lt_save_LIBS
="$LIBS"
6378 lt_save_CFLAGS
="$CFLAGS"
6379 LIBS
="conftstm.$ac_objext"
6380 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6382 (eval $ac_link) 2>&5
6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6388 LIBS
="$lt_save_LIBS"
6389 CFLAGS
="$lt_save_CFLAGS"
6391 echo "cannot find nm_test_func in $nlist" >&5
6394 echo "cannot find nm_test_var in $nlist" >&5
6397 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6400 echo "$progname: failed program was:" >&5
6401 cat conftest.
$ac_ext >&5
6403 rm -rf conftest
* conftst
*
6405 # Do not use the global_symbol_pipe unless it works.
6406 if test "$pipe_works" = yes; then
6409 lt_cv_sys_global_symbol_pipe
=
6415 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6416 lt_cv_sys_global_symbol_to_cdecl
=
6418 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6419 { echo "$as_me:$LINENO: result: failed" >&5
6420 echo "${ECHO_T}failed" >&6; }
6422 { echo "$as_me:$LINENO: result: ok" >&5
6423 echo "${ECHO_T}ok" >&6; }
6426 { echo "$as_me:$LINENO: checking for objdir" >&5
6427 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6428 if test "${lt_cv_objdir+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 rm -f .libs
2>/dev
/null
6432 mkdir .libs
2>/dev
/null
6433 if test -d .libs
; then
6436 # MS-DOS does not allow filenames that begin with a dot.
6439 rmdir .libs
2>/dev
/null
6441 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6442 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6443 objdir
=$lt_cv_objdir
6451 # AIX sometimes has problems with the GCC collect2 program. For some
6452 # reason, if we set the COLLECT_NAMES environment variable, the problems
6453 # vanish in a puff of smoke.
6454 if test "X${COLLECT_NAMES+set}" != Xset
; then
6456 export COLLECT_NAMES
6461 # Sed substitution that helps us do robust quoting. It backslashifies
6462 # metacharacters that are still active within double-quoted strings.
6463 Xsed
='sed -e 1s/^X//'
6464 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6466 # Same as above, but do not quote variable references.
6467 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6469 # Sed substitution to delay expansion of an escaped shell variable in a
6470 # double_quote_subst'ed string.
6471 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6473 # Sed substitution to avoid accidental globbing in evaled expressions
6474 no_glob_subst
='s/\*/\\\*/g'
6480 default_ofile
=libtool
6481 can_build_shared
=yes
6483 # All known linkers require a `.a' archive for static linking (except MSVC,
6484 # which needs '.lib').
6486 ltmain
="$ac_aux_dir/ltmain.sh"
6487 ofile
="$default_ofile"
6488 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6490 if test -n "$ac_tool_prefix"; then
6491 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6492 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6495 if test "${ac_cv_prog_AR+set}" = set; then
6496 echo $ECHO_N "(cached) $ECHO_C" >&6
6498 if test -n "$AR"; then
6499 ac_cv_prog_AR
="$AR" # Let the user override the test.
6501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6505 test -z "$as_dir" && as_dir
=.
6506 for ac_exec_ext
in '' $ac_executable_extensions; do
6507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 if test -n "$AR"; then
6520 { echo "$as_me:$LINENO: result: $AR" >&5
6521 echo "${ECHO_T}$AR" >&6; }
6523 { echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6; }
6529 if test -z "$ac_cv_prog_AR"; then
6531 # Extract the first word of "ar", so it can be a program name with args.
6532 set dummy
ar; ac_word
=$2
6533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6535 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6536 echo $ECHO_N "(cached) $ECHO_C" >&6
6538 if test -n "$ac_ct_AR"; then
6539 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6545 test -z "$as_dir" && as_dir
=.
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6548 ac_cv_prog_ac_ct_AR
="ar"
6549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6559 if test -n "$ac_ct_AR"; then
6560 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6561 echo "${ECHO_T}$ac_ct_AR" >&6; }
6563 { echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6; }
6567 if test "x$ac_ct_AR" = x
; then
6570 case $cross_compiling:$ac_tool_warned in
6572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6573 whose name does not start with the host triplet. If you think this
6574 configuration is useful to you, please write to autoconf@gnu.org." >&5
6575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6576 whose name does not start with the host triplet. If you think this
6577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6578 ac_tool_warned
=yes ;;
6586 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6588 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6591 if test "${ac_cv_prog_RANLIB+set}" = set; then
6592 echo $ECHO_N "(cached) $ECHO_C" >&6
6594 if test -n "$RANLIB"; then
6595 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir
=.
6602 for ac_exec_ext
in '' $ac_executable_extensions; do
6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6604 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6614 RANLIB
=$ac_cv_prog_RANLIB
6615 if test -n "$RANLIB"; then
6616 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6617 echo "${ECHO_T}$RANLIB" >&6; }
6619 { echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6; }
6625 if test -z "$ac_cv_prog_RANLIB"; then
6626 ac_ct_RANLIB
=$RANLIB
6627 # Extract the first word of "ranlib", so it can be a program name with args.
6628 set dummy ranlib
; ac_word
=$2
6629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6631 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 if test -n "$ac_ct_RANLIB"; then
6635 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6641 test -z "$as_dir" && as_dir
=.
6642 for ac_exec_ext
in '' $ac_executable_extensions; do
6643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6654 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6655 if test -n "$ac_ct_RANLIB"; then
6656 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6657 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6659 { echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6; }
6663 if test "x$ac_ct_RANLIB" = x
; then
6666 case $cross_compiling:$ac_tool_warned in
6668 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6669 whose name does not start with the host triplet. If you think this
6670 configuration is useful to you, please write to autoconf@gnu.org." >&5
6671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6672 whose name does not start with the host triplet. If you think this
6673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6674 ac_tool_warned
=yes ;;
6676 RANLIB
=$ac_ct_RANLIB
6679 RANLIB
="$ac_cv_prog_RANLIB"
6682 if test -n "$ac_tool_prefix"; then
6683 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6684 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6687 if test "${ac_cv_prog_STRIP+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 if test -n "$STRIP"; then
6691 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir
=.
6698 for ac_exec_ext
in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6710 STRIP
=$ac_cv_prog_STRIP
6711 if test -n "$STRIP"; then
6712 { echo "$as_me:$LINENO: result: $STRIP" >&5
6713 echo "${ECHO_T}$STRIP" >&6; }
6715 { echo "$as_me:$LINENO: result: no" >&5
6716 echo "${ECHO_T}no" >&6; }
6721 if test -z "$ac_cv_prog_STRIP"; then
6723 # Extract the first word of "strip", so it can be a program name with args.
6724 set dummy strip
; ac_word
=$2
6725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6727 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6728 echo $ECHO_N "(cached) $ECHO_C" >&6
6730 if test -n "$ac_ct_STRIP"; then
6731 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6737 test -z "$as_dir" && as_dir
=.
6738 for ac_exec_ext
in '' $ac_executable_extensions; do
6739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740 ac_cv_prog_ac_ct_STRIP
="strip"
6741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6751 if test -n "$ac_ct_STRIP"; then
6752 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6753 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6755 { echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6; }
6759 if test "x$ac_ct_STRIP" = x
; then
6762 case $cross_compiling:$ac_tool_warned in
6764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6765 whose name does not start with the host triplet. If you think this
6766 configuration is useful to you, please write to autoconf@gnu.org." >&5
6767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6768 whose name does not start with the host triplet. If you think this
6769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6770 ac_tool_warned
=yes ;;
6775 STRIP
="$ac_cv_prog_STRIP"
6780 old_CFLAGS
="$CFLAGS"
6782 # Set sane defaults for various variables
6783 test -z "$AR" && AR
=ar
6784 test -z "$AR_FLAGS" && AR_FLAGS
=cru
6785 test -z "$AS" && AS
=as
6786 test -z "$CC" && CC
=cc
6787 test -z "$LTCC" && LTCC
=$CC
6788 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6789 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6790 test -z "$LD" && LD
=ld
6791 test -z "$LN_S" && LN_S
="ln -s"
6792 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6793 test -z "$NM" && NM
=nm
6794 test -z "$SED" && SED
=sed
6795 test -z "$OBJDUMP" && OBJDUMP
=objdump
6796 test -z "$RANLIB" && RANLIB
=:
6797 test -z "$STRIP" && STRIP
=:
6798 test -z "$ac_objext" && ac_objext
=o
6800 # Determine commands to create old-style static archives.
6801 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6802 old_postinstall_cmds
='chmod 644 $oldlib'
6803 old_postuninstall_cmds
=
6805 if test -n "$RANLIB"; then
6808 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
6817 for cc_temp
in $compiler""; do
6819 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6820 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6825 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6828 # Only perform the check for file, if the check method requires it
6829 case $deplibs_check_method in
6831 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6832 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6833 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6834 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6835 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6842 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6843 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6844 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6845 for ac_dir
in $ac_dummy; do
6847 test -z "$ac_dir" && ac_dir
=.
6848 if test -f $ac_dir/${ac_tool_prefix}file; then
6849 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6850 if test -n "$file_magic_test_file"; then
6851 case $deplibs_check_method in
6853 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6854 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6855 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6856 $EGREP "$file_magic_regex" > /dev
/null
; then
6861 *** Warning: the command libtool uses to detect shared libraries,
6862 *** $file_magic_cmd, produces output that libtool cannot recognize.
6863 *** The result is that libtool may fail to recognize shared libraries
6864 *** as such. This will affect the creation of libtool libraries that
6865 *** depend on shared libraries, but programs linked with such libtool
6866 *** libraries will work regardless of this problem. Nevertheless, you
6867 *** may want to report the problem to your system manager and/or to
6868 *** bug-libtool@gnu.org
6878 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6883 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6884 if test -n "$MAGIC_CMD"; then
6885 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6886 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6888 { echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6; }
6892 if test -z "$lt_cv_path_MAGIC_CMD"; then
6893 if test -n "$ac_tool_prefix"; then
6894 { echo "$as_me:$LINENO: checking for file" >&5
6895 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6896 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6897 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6904 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6905 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6906 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6907 for ac_dir
in $ac_dummy; do
6909 test -z "$ac_dir" && ac_dir
=.
6910 if test -f $ac_dir/file; then
6911 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6912 if test -n "$file_magic_test_file"; then
6913 case $deplibs_check_method in
6915 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6916 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6917 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
6918 $EGREP "$file_magic_regex" > /dev
/null
; then
6923 *** Warning: the command libtool uses to detect shared libraries,
6924 *** $file_magic_cmd, produces output that libtool cannot recognize.
6925 *** The result is that libtool may fail to recognize shared libraries
6926 *** as such. This will affect the creation of libtool libraries that
6927 *** depend on shared libraries, but programs linked with such libtool
6928 *** libraries will work regardless of this problem. Nevertheless, you
6929 *** may want to report the problem to your system manager and/or to
6930 *** bug-libtool@gnu.org
6940 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6945 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6946 if test -n "$MAGIC_CMD"; then
6947 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6948 echo "${ECHO_T}$MAGIC_CMD" >&6; }
6950 { echo "$as_me:$LINENO: result: no" >&5
6951 echo "${ECHO_T}no" >&6; }
6965 rhapsody
* | darwin
*)
6966 if test -n "$ac_tool_prefix"; then
6967 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6968 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6971 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 if test -n "$DSYMUTIL"; then
6975 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir
=.
6982 for ac_exec_ext
in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6995 if test -n "$DSYMUTIL"; then
6996 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6997 echo "${ECHO_T}$DSYMUTIL" >&6; }
6999 { echo "$as_me:$LINENO: result: no" >&5
7000 echo "${ECHO_T}no" >&6; }
7005 if test -z "$ac_cv_prog_DSYMUTIL"; then
7006 ac_ct_DSYMUTIL
=$DSYMUTIL
7007 # Extract the first word of "dsymutil", so it can be a program name with args.
7008 set dummy dsymutil
; ac_word
=$2
7009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7011 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 if test -n "$ac_ct_DSYMUTIL"; then
7015 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7021 test -z "$as_dir" && as_dir
=.
7022 for ac_exec_ext
in '' $ac_executable_extensions; do
7023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7034 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7037 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7039 { echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6; }
7043 if test "x$ac_ct_DSYMUTIL" = x
; then
7046 case $cross_compiling:$ac_tool_warned in
7048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7049 whose name does not start with the host triplet. If you think this
7050 configuration is useful to you, please write to autoconf@gnu.org." >&5
7051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7052 whose name does not start with the host triplet. If you think this
7053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7054 ac_tool_warned
=yes ;;
7056 DSYMUTIL
=$ac_ct_DSYMUTIL
7059 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7062 if test -n "$ac_tool_prefix"; then
7063 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7064 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7067 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7068 echo $ECHO_N "(cached) $ECHO_C" >&6
7070 if test -n "$NMEDIT"; then
7071 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir
=.
7078 for ac_exec_ext
in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 NMEDIT
=$ac_cv_prog_NMEDIT
7091 if test -n "$NMEDIT"; then
7092 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
7093 echo "${ECHO_T}$NMEDIT" >&6; }
7095 { echo "$as_me:$LINENO: result: no" >&5
7096 echo "${ECHO_T}no" >&6; }
7101 if test -z "$ac_cv_prog_NMEDIT"; then
7102 ac_ct_NMEDIT
=$NMEDIT
7103 # Extract the first word of "nmedit", so it can be a program name with args.
7104 set dummy nmedit
; ac_word
=$2
7105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7107 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 if test -n "$ac_ct_NMEDIT"; then
7111 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7117 test -z "$as_dir" && as_dir
=.
7118 for ac_exec_ext
in '' $ac_executable_extensions; do
7119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7130 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7131 if test -n "$ac_ct_NMEDIT"; then
7132 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7133 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7139 if test "x$ac_ct_NMEDIT" = x
; then
7142 case $cross_compiling:$ac_tool_warned in
7144 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7145 whose name does not start with the host triplet. If you think this
7146 configuration is useful to you, please write to autoconf@gnu.org." >&5
7147 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7148 whose name does not start with the host triplet. If you think this
7149 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7150 ac_tool_warned
=yes ;;
7152 NMEDIT
=$ac_ct_NMEDIT
7155 NMEDIT
="$ac_cv_prog_NMEDIT"
7159 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7160 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
7161 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 lt_cv_apple_cc_single_mod
=no
7165 if test -z "${LT_MULTI_MODULE}"; then
7166 # By default we will add the -single_module flag. You can override
7167 # by either setting the environment variable LT_MULTI_MODULE
7168 # non-empty at configure time, or by adding -multi_module to the
7170 echo "int foo(void){return 1;}" > conftest.c
7171 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7172 -dynamiclib ${wl}-single_module conftest.c
7173 if test -f libconftest.dylib
; then
7174 lt_cv_apple_cc_single_mod
=yes
7175 rm -rf libconftest.dylib
*
7180 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7181 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
7182 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7183 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
7184 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 lt_cv_ld_exported_symbols_list
=no
7188 save_LDFLAGS
=$LDFLAGS
7189 echo "_main" > conftest.sym
7190 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7191 cat >conftest.
$ac_ext <<_ACEOF
7194 cat confdefs.h
>>conftest.
$ac_ext
7195 cat >>conftest.
$ac_ext <<_ACEOF
7196 /* end confdefs.h. */
7206 rm -f conftest.
$ac_objext conftest
$ac_exeext
7207 if { (ac_try
="$ac_link"
7209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7210 *) ac_try_echo=$ac_try;;
7212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7213 (eval "$ac_link") 2>conftest.er1
7215 grep -v '^ *+' conftest.er1 >conftest.err
7217 cat conftest.err >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } && {
7220 test -z "$ac_c_werror_flag" ||
7221 test ! -s conftest.err
7222 } && test -s conftest$ac_exeext &&
7223 $as_test_x conftest$ac_exeext; then
7224 lt_cv_ld_exported_symbols_list=yes
7226 echo "$as_me: failed program was:" >&5
7227 sed 's/^/| /' conftest.$ac_ext >&5
7229 lt_cv_ld_exported_symbols_list=no
7232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7233 conftest$ac_exeext conftest.$ac_ext
7234 LDFLAGS="$save_LDFLAGS"
7237 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7238 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7240 rhapsody* | darwin1.[0123])
7241 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7243 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7245 # if running on 10.5 or later, the deployment target defaults
7246 # to the OS version, if on x86, and 10.4, the deployment
7247 # target defaults to 10.4. Don't you love it?
7248 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7249 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7250 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7252 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7254 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7258 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7259 _lt_dar_single_mod='$single_module'
7261 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7262 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7264 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7266 if test "$DSYMUTIL" != ":"; then
7267 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7278 # Check whether --enable-libtool-lock was given.
7279 if test "${enable_libtool_lock+set}" = set; then
7280 enableval=$enable_libtool_lock;
7283 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7286 # Check whether --with-pic was given.
7287 if test "${with_pic+set}" = set; then
7288 withval=$with_pic; pic_mode="$withval"
7293 test -z "$pic_mode" && pic_mode=default
7295 # Use C for the default configuration in the libtool script
7299 ac_cpp='$CPP $CPPFLAGS'
7300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7305 # Source file extension for C test sources.
7308 # Object file extension for compiled C test sources.
7312 # Code to be used in simple compile tests
7313 lt_simple_compile_test_code="int some_variable = 0;"
7315 # Code to be used in simple link tests
7316 lt_simple_link_test_code='int main(){return(0);}'
7319 # If no C compiler was specified, use CC.
7322 # If no C compiler flags were specified, use CFLAGS.
7323 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7325 # Allow CC to be a program name with arguments.
7329 # save warnings/boilerplate of simple test code
7330 ac_outfile=conftest.$ac_objext
7331 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7332 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7333 _lt_compiler_boilerplate=`cat conftest.err
`
7336 ac_outfile=conftest.$ac_objext
7337 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7338 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7339 _lt_linker_boilerplate=`cat conftest.err
`
7344 lt_prog_compiler_no_builtin_flag=
7346 if test "$GCC" = yes; then
7347 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7350 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7351 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7352 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 lt_cv_prog_compiler_rtti_exceptions=no
7356 ac_outfile=conftest.$ac_objext
7357 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7358 lt_compiler_flag="-fno-rtti -fno-exceptions"
7359 # Insert the option either (1) after the last *FLAGS variable, or
7360 # (2) before a word containing "conftest.", or (3) at the end.
7361 # Note that $ac_compile itself does not contain backslashes and begins
7362 # with a dollar sign (not a hyphen), so the echo should work correctly.
7363 # The option is referenced via a variable to avoid confusing sed.
7364 lt_compile=`echo "$ac_compile" |
$SED \
7365 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7367 -e 's:$: $lt_compiler_flag:'`
7368 (eval echo "\"\$as_me:7368: $lt_compile\"" >&5)
7369 (eval "$lt_compile" 2>conftest.err)
7371 cat conftest.err >&5
7372 echo "$as_me:7372: \$? = $ac_status" >&5
7373 if (exit $ac_status) && test -s "$ac_outfile"; then
7374 # The compiler can only warn and ignore the option if not recognized
7375 # So say no if there are warnings other than the usual output.
7376 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7377 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7378 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7379 lt_cv_prog_compiler_rtti_exceptions=yes
7385 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7386 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7388 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7389 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7396 lt_prog_compiler_wl=
7397 lt_prog_compiler_pic=
7398 lt_prog_compiler_static=
7400 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7401 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7403 if test "$GCC" = yes; then
7404 lt_prog_compiler_wl='-Wl,'
7405 lt_prog_compiler_static='-static'
7409 # All AIX code is PIC.
7410 if test "$host_cpu" = ia64; then
7411 # AIX 5 now supports IA64 processor
7412 lt_prog_compiler_static='-Bstatic'
7417 # FIXME: we need at least 68020 code to build shared libraries, but
7418 # adding the `-m68020' flag to GCC prevents building anything better,
7420 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7423 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7424 # PIC is the default for these OSes.
7427 mingw
* | cygwin
* | pw32
* | os2
*)
7428 # This hack is so that the source file can tell whether it is being
7429 # built for inclusion in a dll (and should export symbols for example).
7430 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7431 # (--disable-auto-import) libraries
7432 lt_prog_compiler_pic
='-DDLL_EXPORT'
7435 darwin
* | rhapsody
*)
7436 # PIC is the default on this platform
7437 # Common symbols not allowed in MH_DYLIB files
7438 lt_prog_compiler_pic
='-fno-common'
7442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7443 # Instead, we relocate shared libraries at runtime.
7447 # Just because we use GCC doesn't mean we suddenly get shared libraries
7448 # on systems that don't support them.
7449 lt_prog_compiler_can_build_shared
=no
7454 if test -d /usr
/nec
; then
7455 lt_prog_compiler_pic
=-Kconform_pic
7460 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7467 lt_prog_compiler_pic
='-fPIC'
7473 lt_prog_compiler_pic
='-fPIC'
7477 # PORTME Check for flag to pass linker flags through the system compiler.
7480 lt_prog_compiler_wl
='-Wl,'
7481 if test "$host_cpu" = ia64
; then
7482 # AIX 5 now supports IA64 processor
7483 lt_prog_compiler_static
='-Bstatic'
7485 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7489 # PIC is the default on this platform
7490 # Common symbols not allowed in MH_DYLIB files
7491 case $cc_basename in
7493 lt_prog_compiler_pic
='-qnocommon'
7494 lt_prog_compiler_wl
='-Wl,'
7499 mingw
* | cygwin
* | pw32
* | os2
*)
7500 # This hack is so that the source file can tell whether it is being
7501 # built for inclusion in a dll (and should export symbols for example).
7502 lt_prog_compiler_pic
='-DDLL_EXPORT'
7505 hpux9
* | hpux10
* | hpux11
*)
7506 lt_prog_compiler_wl
='-Wl,'
7507 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7514 lt_prog_compiler_pic
='+Z'
7517 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7518 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7521 irix5
* | irix6
* | nonstopux
*)
7522 lt_prog_compiler_wl
='-Wl,'
7523 # PIC (with -KPIC) is the default.
7524 lt_prog_compiler_static
='-non_shared'
7528 lt_prog_compiler_pic
='-KPIC'
7529 lt_prog_compiler_static
='-Bstatic'
7532 linux
* | k
*bsd
*-gnu)
7533 case $cc_basename in
7535 lt_prog_compiler_wl
='-Wl,'
7536 lt_prog_compiler_pic
='-KPIC'
7537 lt_prog_compiler_static
='-static'
7539 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7540 # Portland Group compilers (*not* the Pentium gcc compiler,
7541 # which looks to be a dead project)
7542 lt_prog_compiler_wl
='-Wl,'
7543 lt_prog_compiler_pic
='-fpic'
7544 lt_prog_compiler_static
='-Bstatic'
7547 lt_prog_compiler_wl
='-Wl,'
7548 # All Alpha code is PIC.
7549 lt_prog_compiler_static
='-non_shared'
7552 case `$CC -V 2>&1 | sed 5q` in
7555 lt_prog_compiler_pic
='-KPIC'
7556 lt_prog_compiler_static
='-Bstatic'
7557 lt_prog_compiler_wl
='-Wl,'
7560 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7561 lt_prog_compiler_pic
='-KPIC'
7562 lt_prog_compiler_static
='-Bstatic'
7563 lt_prog_compiler_wl
=''
7570 osf3
* | osf4
* | osf5
*)
7571 lt_prog_compiler_wl
='-Wl,'
7572 # All OSF/1 code is PIC.
7573 lt_prog_compiler_static
='-non_shared'
7577 lt_prog_compiler_static
='-non_shared'
7581 lt_prog_compiler_pic
='-KPIC'
7582 lt_prog_compiler_static
='-Bstatic'
7583 case $cc_basename in
7585 lt_prog_compiler_wl
='-Qoption ld ';;
7587 lt_prog_compiler_wl
='-Wl,';;
7592 lt_prog_compiler_wl
='-Qoption ld '
7593 lt_prog_compiler_pic
='-PIC'
7594 lt_prog_compiler_static
='-Bstatic'
7597 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7598 lt_prog_compiler_wl
='-Wl,'
7599 lt_prog_compiler_pic
='-KPIC'
7600 lt_prog_compiler_static
='-Bstatic'
7604 if test -d /usr
/nec
;then
7605 lt_prog_compiler_pic
='-Kconform_pic'
7606 lt_prog_compiler_static
='-Bstatic'
7610 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7611 lt_prog_compiler_wl
='-Wl,'
7612 lt_prog_compiler_pic
='-KPIC'
7613 lt_prog_compiler_static
='-Bstatic'
7617 lt_prog_compiler_wl
='-Wl,'
7618 lt_prog_compiler_can_build_shared
=no
7622 lt_prog_compiler_pic
='-pic'
7623 lt_prog_compiler_static
='-Bstatic'
7627 lt_prog_compiler_can_build_shared
=no
7632 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7633 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7636 # Check to make sure the PIC flag actually works.
7638 if test -n "$lt_prog_compiler_pic"; then
7640 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7641 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7642 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 lt_cv_prog_compiler_pic_works
=no
7646 ac_outfile
=conftest.
$ac_objext
7647 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7648 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7649 # Insert the option either (1) after the last *FLAGS variable, or
7650 # (2) before a word containing "conftest.", or (3) at the end.
7651 # Note that $ac_compile itself does not contain backslashes and begins
7652 # with a dollar sign (not a hyphen), so the echo should work correctly.
7653 # The option is referenced via a variable to avoid confusing sed.
7654 lt_compile
=`echo "$ac_compile" | $SED \
7655 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7656 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7657 -e 's:$: $lt_compiler_flag:'`
7658 (eval echo "\"\$as_me:7658: $lt_compile\"" >&5)
7659 (eval "$lt_compile" 2>conftest.err
)
7661 cat conftest.err
>&5
7662 echo "$as_me:7662: \$? = $ac_status" >&5
7663 if (exit $ac_status) && test -s "$ac_outfile"; then
7664 # The compiler can only warn and ignore the option if not recognized
7665 # So say no if there are warnings other than the usual output.
7666 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7668 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7669 lt_cv_prog_compiler_pic_works
=yes
7675 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7676 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
7678 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7679 case $lt_prog_compiler_pic in
7681 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7684 lt_prog_compiler_pic
=
7685 lt_prog_compiler_can_build_shared
=no
7690 # For platforms which do not support PIC, -DPIC is meaningless:
7692 lt_prog_compiler_pic
=
7695 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7700 # Check to make sure the static flag actually works.
7702 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7703 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7704 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7705 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7706 echo $ECHO_N "(cached) $ECHO_C" >&6
7708 lt_cv_prog_compiler_static_works
=no
7709 save_LDFLAGS
="$LDFLAGS"
7710 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7711 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7712 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7713 # The linker can only warn and ignore the option if not recognized
7714 # So say no if there are warnings
7715 if test -s conftest.err
; then
7716 # Append any errors to the config.log.
7717 cat conftest.err
1>&5
7718 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7719 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7720 if diff conftest.exp conftest.er2
>/dev
/null
; then
7721 lt_cv_prog_compiler_static_works
=yes
7724 lt_cv_prog_compiler_static_works
=yes
7728 LDFLAGS
="$save_LDFLAGS"
7731 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7732 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
7734 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7737 lt_prog_compiler_static
=
7741 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7742 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7743 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 lt_cv_prog_compiler_c_o
=no
7747 $rm -r conftest
2>/dev
/null
7751 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7753 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7754 # Insert the option either (1) after the last *FLAGS variable, or
7755 # (2) before a word containing "conftest.", or (3) at the end.
7756 # Note that $ac_compile itself does not contain backslashes and begins
7757 # with a dollar sign (not a hyphen), so the echo should work correctly.
7758 lt_compile
=`echo "$ac_compile" | $SED \
7759 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7760 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7761 -e 's:$: $lt_compiler_flag:'`
7762 (eval echo "\"\$as_me:7762: $lt_compile\"" >&5)
7763 (eval "$lt_compile" 2>out
/conftest.err
)
7765 cat out
/conftest.err
>&5
7766 echo "$as_me:7766: \$? = $ac_status" >&5
7767 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7769 # The compiler can only warn and ignore the option if not recognized
7770 # So say no if there are warnings
7771 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7772 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7773 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7774 lt_cv_prog_compiler_c_o
=yes
7779 # SGI C++ compiler will create directory out/ii_files/ for
7780 # template instantiation
7781 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7782 $rm out
/* && rmdir out
7788 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7789 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7792 hard_links
="nottested"
7793 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7794 # do not overwrite the value of need_locks provided by the user
7795 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7796 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7799 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7801 ln conftest.a conftest.b
2>&5 || hard_links
=no
7802 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7803 { echo "$as_me:$LINENO: result: $hard_links" >&5
7804 echo "${ECHO_T}$hard_links" >&6; }
7805 if test "$hard_links" = no
; then
7806 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7807 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7814 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7815 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7818 allow_undefined_flag
=
7819 enable_shared_with_static_runtimes
=no
7821 archive_expsym_cmds
=
7822 old_archive_From_new_cmds
=
7823 old_archive_from_expsyms_cmds
=
7824 export_dynamic_flag_spec
=
7825 whole_archive_flag_spec
=
7826 thread_safe_flag_spec
=
7827 hardcode_libdir_flag_spec
=
7828 hardcode_libdir_flag_spec_ld
=
7829 hardcode_libdir_separator
=
7832 hardcode_shlibpath_var
=unsupported
7833 link_all_deplibs
=unknown
7834 hardcode_automatic
=no
7837 always_export_symbols
=no
7838 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7839 # include_expsyms should be a list of space-separated symbols to be *always*
7840 # included in the symbol list
7842 # exclude_expsyms can be an extended regexp of symbols to exclude
7843 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7844 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7845 # as well as any symbol that contains `d'.
7846 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7847 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7848 # platforms (ab)use it in PIC code, but their linkers get confused if
7849 # the symbol is explicitly referenced. Since portable code cannot
7850 # rely on this symbol name, it's probably fine to never include it in
7851 # preloaded symbol tables.
7852 # Exclude shared library initialization/finalization symbols.
7853 extract_expsyms_cmds
=
7854 # Just being paranoid about ensuring that cc_basename is set.
7855 for cc_temp
in $compiler""; do
7857 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7858 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7863 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7866 cygwin
* | mingw
* | pw32
*)
7867 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7868 # When not using gcc, we currently assume that we are using
7869 # Microsoft Visual C++.
7870 if test "$GCC" != yes; then
7875 # we just hope/assume this is gcc and not c89 (= MSVC++)
7884 if test "$with_gnu_ld" = yes; then
7885 # If archive_cmds runs LD, not CC, wlarc should be empty
7888 # Set some defaults for GNU ld with shared library support. These
7889 # are reset later if shared libraries are not supported. Putting them
7890 # here allows them to be overridden if necessary.
7891 runpath_var
=LD_RUN_PATH
7892 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7893 export_dynamic_flag_spec
='${wl}--export-dynamic'
7894 # ancient GNU ld didn't support --whole-archive et. al.
7895 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7896 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7898 whole_archive_flag_spec
=
7900 supports_anon_versioning
=no
7901 case `$LD -v 2>/dev/null` in
7902 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7903 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7904 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7905 *\
2.11.
*) ;; # other 2.11 versions
7906 *) supports_anon_versioning
=yes ;;
7909 # See if GNU ld supports shared libraries.
7912 # On AIX/PPC, the GNU linker is very broken
7913 if test "$host_cpu" != ia64
; then
7917 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7918 *** to be unable to reliably create shared libraries on AIX.
7919 *** Therefore, libtool is disabling shared libraries support. If you
7920 *** really care for shared libraries, you may want to modify your PATH
7921 *** so that a non-GNU linker is found, and then restart.
7928 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)'
7929 hardcode_libdir_flag_spec
='-L$libdir'
7930 hardcode_minus_L
=yes
7932 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7933 # that the semantics of dynamic libraries on AmigaOS, at least up
7934 # to version 4, is to share data among multiple programs linked
7935 # with the same dynamic library. Since this doesn't match the
7936 # behavior of shared libraries on other platforms, we can't use
7942 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7943 allow_undefined_flag
=unsupported
7944 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7945 # support --undefined. This deserves some investigation. FIXME
7946 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7952 cygwin
* | mingw
* | pw32
*)
7953 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7954 # as there is no search path for DLLs.
7955 hardcode_libdir_flag_spec
='-L$libdir'
7956 allow_undefined_flag
=unsupported
7957 always_export_symbols
=no
7958 enable_shared_with_static_runtimes
=yes
7959 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7961 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
7962 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7963 # If the export-symbols file already is a .def file (1st line
7964 # is EXPORTS), use it as is; otherwise, prepend...
7965 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7966 cp $export_symbols $output_objdir/$soname.def;
7968 echo EXPORTS > $output_objdir/$soname.def;
7969 cat $export_symbols >> $output_objdir/$soname.def;
7971 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7979 hardcode_shlibpath_var
=no
7980 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7981 export_dynamic_flag_spec
='${wl}-E'
7982 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7983 # Instead, shared libraries are loaded at an image base (0x10000000 by
7984 # default) and relocated if they conflict, which is a slow very memory
7985 # consuming and fragmenting process. To avoid this, we pick a random,
7986 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7987 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7988 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7989 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'
7992 gnu
* | linux
* | k
*bsd
*-gnu)
7993 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7995 case $cc_basename,$host_cpu in
7996 pgcc
*) # Portland Group C compiler
7997 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'
7998 tmp_addflag
=' $pic_flag'
8000 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8001 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'
8002 tmp_addflag
=' $pic_flag -Mnomain' ;;
8003 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8004 tmp_addflag
=' -i_dynamic' ;;
8005 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8006 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8007 ifc
* | ifort
*) # Intel Fortran compiler
8008 tmp_addflag
=' -nofor_main' ;;
8010 case `$CC -V 2>&1 | sed 5q` in
8011 *Sun\ C
*) # Sun C 5.9
8012 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'
8013 tmp_sharedflag
='-G' ;;
8014 *Sun\ F
*) # Sun Fortran 8.3
8015 tmp_sharedflag
='-G' ;;
8017 tmp_sharedflag
='-shared' ;;
8019 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8021 if test $supports_anon_versioning = yes; then
8022 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8024 $echo "local: *; };" >> $output_objdir/$libname.ver~
8025 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8033 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8034 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8038 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8043 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8047 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8048 *** create shared libraries on Solaris systems. Therefore, libtool
8049 *** is disabling shared libraries support. We urge you to upgrade GNU
8050 *** binutils to release 2.9.1 or newer. Another option is to modify
8051 *** your PATH or compiler configuration so that the native linker is
8052 *** used, and then restart.
8055 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8057 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8063 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8064 case `$LD -v 2>&1` in
8065 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8069 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8070 *** reliably create shared libraries on SCO systems. Therefore, libtool
8071 *** is disabling shared libraries support. We urge you to upgrade GNU
8072 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8073 *** your PATH or compiler configuration so that the native linker is
8074 *** used, and then restart.
8079 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8080 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8082 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8091 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8094 hardcode_shlibpath_var
=no
8098 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8099 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8100 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8107 if test "$ld_shlibs" = no
; then
8109 hardcode_libdir_flag_spec
=
8110 export_dynamic_flag_spec
=
8111 whole_archive_flag_spec
=
8114 # PORTME fill in a description of your system's linker (not GNU ld)
8117 allow_undefined_flag
=unsupported
8118 always_export_symbols
=yes
8119 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'
8120 # Note: this linker hardcodes the directories in LIBPATH if there
8121 # are no directories specified by -L.
8122 hardcode_minus_L
=yes
8123 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8124 # Neither direct hardcoding nor static linking is supported with a
8126 hardcode_direct
=unsupported
8131 if test "$host_cpu" = ia64
; then
8132 # On IA64, the linker does run time linking by default, so we don't
8133 # have to do anything special.
8134 aix_use_runtimelinking
=no
8135 exp_sym_flag
='-Bexport'
8138 # If we're using GNU nm, then we don't want the "-C" option.
8139 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8140 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8141 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'
8143 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'
8145 aix_use_runtimelinking
=no
8147 # Test if we are trying to use run time linking or normal
8148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8149 # need to do runtime linking.
8150 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8151 for ld_flag
in $LDFLAGS; do
8152 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8153 aix_use_runtimelinking
=yes
8160 exp_sym_flag
='-bexport'
8161 no_entry_flag
='-bnoentry'
8164 # When large executables or shared objects are built, AIX ld can
8165 # have problems creating the table of contents. If linking a library
8166 # or program results in "error TOC overflow" add -mminimal-toc to
8167 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8168 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8172 hardcode_libdir_separator
=':'
8173 link_all_deplibs
=yes
8175 if test "$GCC" = yes; then
8176 case $host_os in aix4.
[012]|aix4.
[012].
*)
8177 # We only want to do this on AIX 4.2 and lower, the check
8178 # below for broken collect2 doesn't work under 4.3+
8179 collect2name
=`${CC} -print-prog-name=collect2`
8180 if test -f "$collect2name" && \
8181 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8183 # We have reworked collect2
8186 # We have old collect2
8187 hardcode_direct
=unsupported
8188 # It fails to find uninstalled libraries when the uninstalled
8189 # path is not listed in the libpath. Setting hardcode_minus_L
8190 # to unsupported forces relinking
8191 hardcode_minus_L
=yes
8192 hardcode_libdir_flag_spec
='-L$libdir'
8193 hardcode_libdir_separator
=
8197 shared_flag
='-shared'
8198 if test "$aix_use_runtimelinking" = yes; then
8199 shared_flag
="$shared_flag "'${wl}-G'
8203 if test "$host_cpu" = ia64
; then
8204 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8205 # chokes on -Wl,-G. The following line is correct:
8208 if test "$aix_use_runtimelinking" = yes; then
8209 shared_flag
='${wl}-G'
8211 shared_flag
='${wl}-bM:SRE'
8216 # It seems that -bexpall does not export symbols beginning with
8217 # underscore (_), so it is better to generate a list of symbols to export.
8218 always_export_symbols
=yes
8219 if test "$aix_use_runtimelinking" = yes; then
8220 # Warning - without using the other runtime loading flags (-brtl),
8221 # -berok will link without error, but may produce a broken library.
8222 allow_undefined_flag
='-berok'
8223 # Determine the default libpath from the value encoded in an empty executable.
8224 cat >conftest.
$ac_ext <<_ACEOF
8227 cat confdefs.h
>>conftest.
$ac_ext
8228 cat >>conftest.
$ac_ext <<_ACEOF
8229 /* end confdefs.h. */
8239 rm -f conftest.
$ac_objext conftest
$ac_exeext
8240 if { (ac_try
="$ac_link"
8242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8243 *) ac_try_echo=$ac_try;;
8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_link") 2>conftest.er1
8248 grep -v '^ *+' conftest.er1 >conftest.err
8250 cat conftest.err >&5
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } && {
8253 test -z "$ac_c_werror_flag" ||
8254 test ! -s conftest.err
8255 } && test -s conftest$ac_exeext &&
8256 $as_test_x conftest$ac_exeext; then
8258 lt_aix_libpath_sed='
8259 /Import File Strings/,/^$/ {
8265 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8266 # Check for a 64-bit object if we didn't find anything.
8267 if test -z "$aix_libpath"; then
8268 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.$ac_ext >&5
8277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8278 conftest$ac_exeext conftest.$ac_ext
8279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8281 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8282 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"
8284 if test "$host_cpu" = ia64; then
8285 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8286 allow_undefined_flag="-z nodefs"
8287 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"
8289 # Determine the default libpath from the value encoded in an empty executable.
8290 cat >conftest.$ac_ext <<_ACEOF
8293 cat confdefs.h >>conftest.$ac_ext
8294 cat >>conftest.$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8305 rm -f conftest.$ac_objext conftest$ac_exeext
8306 if { (ac_try="$ac_link"
8308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8309 *) ac_try_echo
=$ac_try;;
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312 (eval "$ac_link") 2>conftest.er1
8314 grep -v '^ *+' conftest.er1
>conftest.err
8316 cat conftest.err
>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } && {
8319 test -z "$ac_c_werror_flag" ||
8320 test ! -s conftest.err
8321 } && test -s conftest
$ac_exeext &&
8322 $as_test_x conftest
$ac_exeext; then
8324 lt_aix_libpath_sed
='
8325 /Import File Strings/,/^$/ {
8331 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8332 # Check for a 64-bit object if we didn't find anything.
8333 if test -z "$aix_libpath"; then
8334 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8337 echo "$as_me: failed program was:" >&5
8338 sed 's/^/| /' conftest.
$ac_ext >&5
8343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8344 conftest
$ac_exeext conftest.
$ac_ext
8345 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8347 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8348 # Warning - without using the other run time loading flags,
8349 # -berok will link without error, but may produce a broken library.
8350 no_undefined_flag
=' ${wl}-bernotok'
8351 allow_undefined_flag
=' ${wl}-berok'
8352 # Exported symbols can be pulled into shared objects from archives
8353 whole_archive_flag_spec
='$convenience'
8354 archive_cmds_need_lc
=yes
8355 # This is similar to how AIX traditionally builds its shared libraries.
8356 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'
8362 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)'
8363 hardcode_libdir_flag_spec
='-L$libdir'
8364 hardcode_minus_L
=yes
8365 # see comment about different semantics on the GNU ld section
8370 export_dynamic_flag_spec
=-rdynamic
8373 cygwin
* | mingw
* | pw32
*)
8374 # When not using gcc, we currently assume that we are using
8375 # Microsoft Visual C++.
8376 # hardcode_libdir_flag_spec is actually meaningless, as there is
8377 # no search path for DLLs.
8378 hardcode_libdir_flag_spec
=' '
8379 allow_undefined_flag
=unsupported
8380 # Tell ltmain to make .lib files, not .a files.
8382 # Tell ltmain to make .dll files, not .so files.
8384 # FIXME: Setting linknames here is a bad hack.
8385 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8386 # The linker will automatically build a .lib file if we build a DLL.
8387 old_archive_From_new_cmds
='true'
8388 # FIXME: Should let the user specify the lib program.
8389 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8390 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8391 enable_shared_with_static_runtimes
=yes
8394 darwin
* | rhapsody
*)
8396 rhapsody
* | darwin1.
[012])
8397 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8400 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8401 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8403 case ${MACOSX_DEPLOYMENT_TARGET} in
8405 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8408 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8414 archive_cmds_need_lc
=no
8416 hardcode_automatic
=yes
8417 hardcode_shlibpath_var
=unsupported
8418 whole_archive_flag_spec
=''
8419 link_all_deplibs
=yes
8420 if test "$GCC" = yes ; then
8421 output_verbose_link_cmd
='echo'
8422 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8423 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8424 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}"
8425 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}"
8427 case $cc_basename in
8429 output_verbose_link_cmd
='echo'
8430 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8431 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8432 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8433 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8434 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8444 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_libdir_flag_spec
='-L$libdir'
8446 hardcode_shlibpath_var
=no
8453 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8454 # support. Future versions do this automatically, but an explicit c++rt0.o
8455 # does not break anything, and helps significantly (at the cost of a little
8458 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8459 hardcode_libdir_flag_spec
='-R$libdir'
8461 hardcode_shlibpath_var
=no
8464 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8466 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8468 hardcode_minus_L
=yes
8469 hardcode_shlibpath_var
=no
8472 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8473 freebsd
* | dragonfly
*)
8474 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8475 hardcode_libdir_flag_spec
='-R$libdir'
8477 hardcode_shlibpath_var
=no
8481 if test "$GCC" = yes; then
8482 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8484 archive_cmds
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8486 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8487 hardcode_libdir_separator
=:
8490 # hardcode_minus_L: Not really in the search PATH,
8491 # but as the default location of the library.
8492 hardcode_minus_L
=yes
8493 export_dynamic_flag_spec
='${wl}-E'
8497 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8498 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8500 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8502 if test "$with_gnu_ld" = no
; then
8503 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8504 hardcode_libdir_separator
=:
8507 export_dynamic_flag_spec
='${wl}-E'
8509 # hardcode_minus_L: Not really in the search PATH,
8510 # but as the default location of the library.
8511 hardcode_minus_L
=yes
8516 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8519 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8522 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8525 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8531 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8534 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8537 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8541 if test "$with_gnu_ld" = no
; then
8542 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8543 hardcode_libdir_separator
=:
8547 hardcode_libdir_flag_spec_ld
='+b $libdir'
8549 hardcode_shlibpath_var
=no
8553 export_dynamic_flag_spec
='${wl}-E'
8555 # hardcode_minus_L: Not really in the search PATH,
8556 # but as the default location of the library.
8557 hardcode_minus_L
=yes
8563 irix5
* | irix6
* | nonstopux
*)
8564 if test "$GCC" = yes; then
8565 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8567 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8568 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8570 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8571 hardcode_libdir_separator
=:
8572 link_all_deplibs
=yes
8576 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8577 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8579 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8581 hardcode_libdir_flag_spec
='-R$libdir'
8583 hardcode_shlibpath_var
=no
8587 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8589 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8590 hardcode_libdir_separator
=:
8591 hardcode_shlibpath_var
=no
8595 if test -f /usr
/libexec
/ld.so
; then
8597 hardcode_shlibpath_var
=no
8598 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8599 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8600 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8601 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8602 export_dynamic_flag_spec
='${wl}-E'
8605 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8606 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8607 hardcode_libdir_flag_spec
='-R$libdir'
8610 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8611 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8621 hardcode_libdir_flag_spec
='-L$libdir'
8622 hardcode_minus_L
=yes
8623 allow_undefined_flag
=unsupported
8624 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'
8625 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8629 if test "$GCC" = yes; then
8630 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8631 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'
8633 allow_undefined_flag
=' -expect_unresolved \*'
8634 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'
8636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8637 hardcode_libdir_separator
=:
8640 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8641 if test "$GCC" = yes; then
8642 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8643 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'
8644 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8646 allow_undefined_flag
=' -expect_unresolved \*'
8647 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'
8648 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8649 $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'
8651 # Both c and cxx compiler support -rpath directly
8652 hardcode_libdir_flag_spec
='-rpath $libdir'
8654 hardcode_libdir_separator
=:
8658 no_undefined_flag
=' -z text'
8659 if test "$GCC" = yes; then
8661 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8663 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8666 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8667 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8668 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8670 hardcode_libdir_flag_spec
='-R$libdir'
8671 hardcode_shlibpath_var
=no
8673 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8675 # The compiler driver will combine and reorder linker options,
8676 # but understands `-z linker_flag'. GCC discards it without `$wl',
8677 # but is careful enough not to reorder.
8678 # Supported since Solaris 2.6 (maybe 2.5.1?)
8679 if test "$GCC" = yes; then
8680 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8682 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8686 link_all_deplibs
=yes
8690 if test "x$host_vendor" = xsequent
; then
8691 # Use $CC to link under sequent, because it throws in some extra .o
8692 # files that make .init and .fini sections work.
8693 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8695 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8697 hardcode_libdir_flag_spec
='-L$libdir'
8699 hardcode_minus_L
=yes
8700 hardcode_shlibpath_var
=no
8704 case $host_vendor in
8706 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8707 hardcode_direct
=yes # is this really true???
8710 ## LD is ld it makes a PLAMLIB
8711 ## CC just makes a GrossModule.
8712 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8713 reload_cmds
='$CC -r -o $output$reload_objs'
8717 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8718 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8721 runpath_var
='LD_RUN_PATH'
8722 hardcode_shlibpath_var
=no
8726 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8727 hardcode_shlibpath_var
=no
8728 export_dynamic_flag_spec
='-Bexport'
8732 if test -d /usr
/nec
; then
8733 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8734 hardcode_shlibpath_var
=no
8735 runpath_var
=LD_RUN_PATH
8736 hardcode_runpath_var
=yes
8741 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8742 no_undefined_flag
='${wl}-z,text'
8743 archive_cmds_need_lc
=no
8744 hardcode_shlibpath_var
=no
8745 runpath_var
='LD_RUN_PATH'
8747 if test "$GCC" = yes; then
8748 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8749 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8751 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8752 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 sysv5
* | sco3.2v5
* | sco5v6
*)
8757 # Note: We can NOT use -z defs as we might desire, because we do not
8758 # link with -lc, and that would cause any symbols used from libc to
8759 # always be unresolved, which means just about no library would
8760 # ever link correctly. If we're not using GNU ld we use -z text
8761 # though, which does catch some bad symbols but isn't as heavy-handed
8763 no_undefined_flag
='${wl}-z,text'
8764 allow_undefined_flag
='${wl}-z,nodefs'
8765 archive_cmds_need_lc
=no
8766 hardcode_shlibpath_var
=no
8767 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8768 hardcode_libdir_separator
=':'
8769 link_all_deplibs
=yes
8770 export_dynamic_flag_spec
='${wl}-Bexport'
8771 runpath_var
='LD_RUN_PATH'
8773 if test "$GCC" = yes; then
8774 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8777 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8778 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8783 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8784 hardcode_libdir_flag_spec
='-L$libdir'
8785 hardcode_shlibpath_var
=no
8794 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6; }
8796 test "$ld_shlibs" = no
&& can_build_shared
=no
8799 # Do we need to explicitly link libc?
8801 case "x$archive_cmds_need_lc" in
8803 # Assume -lc should be added
8804 archive_cmds_need_lc
=yes
8806 if test "$enable_shared" = yes && test "$GCC" = yes; then
8807 case $archive_cmds in
8809 # FIXME: we may have to deal with multi-command sequences.
8812 # Test whether the compiler implicitly links with -lc since on some
8813 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8814 # to ld, don't add -lc before -lgcc.
8815 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8816 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8818 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8821 (eval $ac_compile) 2>&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } 2>conftest.err
; then
8827 libobjs
=conftest.
$ac_objext
8829 wl
=$lt_prog_compiler_wl
8830 pic_flag
=$lt_prog_compiler_pic
8836 lt_save_allow_undefined_flag
=$allow_undefined_flag
8837 allow_undefined_flag
=
8838 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8839 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }
8844 archive_cmds_need_lc
=no
8846 archive_cmds_need_lc
=yes
8848 allow_undefined_flag
=$lt_save_allow_undefined_flag
8850 cat conftest.err
1>&5
8853 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8854 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8861 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8862 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8864 libname_spec
='lib$name'
8872 shlibpath_overrides_runpath
=unknown
8874 dynamic_linker
="$host_os ld.so"
8875 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8877 if test "$GCC" = yes; then
8879 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8880 *) lt_awk_arg
="/^libraries:/" ;;
8882 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8883 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
8884 # if the path contains ";" then we assume it to be the separator
8885 # otherwise default to the standard path separator (i.e. ":") - it is
8886 # assumed that no part of a normal pathname contains ";" but that should
8887 # okay in the real world where ";" in dirpaths is itself problematic.
8888 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8890 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8892 # Ok, now we have the path, separated by spaces, we can step through it
8893 # and add multilib dir if necessary.
8894 lt_tmp_lt_search_path_spec
=
8895 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8896 for lt_sys_path
in $lt_search_path_spec; do
8897 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8898 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8900 test -d "$lt_sys_path" && \
8901 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8904 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
8905 BEGIN {RS=" "; FS="/|\n";} {
8908 for (lt_i = NF; lt_i > 0; lt_i--) {
8909 if ($lt_i != "" && $lt_i != ".") {
8910 if ($lt_i == "..") {
8913 if (lt_count == 0) {
8914 lt_foo="/" $lt_i lt_foo;
8921 if (lt_foo != "") { lt_freq[lt_foo]++; }
8922 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8924 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
8926 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8928 need_lib_prefix
=unknown
8929 hardcode_into_libs
=no
8931 # when you set need_version to no, make sure it does not cause -set_version
8932 # flags to be left without arguments
8933 need_version
=unknown
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8939 shlibpath_var
=LIBPATH
8941 # AIX 3 has no versioning support, so we append a major version to the name.
8942 soname_spec
='${libname}${release}${shared_ext}$major'
8949 hardcode_into_libs
=yes
8950 if test "$host_cpu" = ia64
; then
8951 # AIX 5 supports IA64
8952 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8953 shlibpath_var
=LD_LIBRARY_PATH
8955 # With GCC up to 2.95.x, collect2 would create an import file
8956 # for dependence libraries. The import file would start with
8957 # the line `#! .'. This would cause the generated library to
8958 # depend on `.', always an invalid library. This was fixed in
8959 # development snapshots of GCC prior to 3.0.
8961 aix4 | aix4.
[01] | aix4.
[01].
*)
8962 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8964 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8971 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8972 # soname into executable. Probably we can add versioning support to
8973 # collect2, so additional links can be useful in future.
8974 if test "$aix_use_runtimelinking" = yes; then
8975 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8976 # instead of lib<name>.a to let people know that these are not
8977 # typical AIX shared libraries.
8978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8980 # We preserve .a as extension for shared libraries through AIX4.2
8981 # and later when we are not doing run time linking.
8982 library_names_spec
='${libname}${release}.a $libname.a'
8983 soname_spec
='${libname}${release}${shared_ext}$major'
8985 shlibpath_var
=LIBPATH
8990 library_names_spec
='$libname.ixlibrary $libname.a'
8991 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8992 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'
8996 library_names_spec
='${libname}${shared_ext}'
8997 dynamic_linker
="$host_os ld.so"
8998 shlibpath_var
=LIBRARY_PATH
9004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9005 soname_spec
='${libname}${release}${shared_ext}$major'
9006 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9007 shlibpath_var
=LD_LIBRARY_PATH
9008 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9009 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9010 # the default ld.so.conf also contains /usr/contrib/lib and
9011 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9012 # libtool to hard-code these into programs
9015 cygwin
* | mingw
* | pw32
*)
9016 version_type
=windows
9021 case $GCC,$host_os in
9022 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9023 library_names_spec
='$libname.dll.a'
9024 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9025 postinstall_cmds
='base_file=`basename \${file}`~
9026 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9027 dldir=$destdir/`dirname \$dlpath`~
9028 test -d \$dldir || mkdir -p \$dldir~
9029 $install_prog $dir/$dlname \$dldir/$dlname~
9030 chmod a+x \$dldir/$dlname'
9031 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9032 dlpath=$dir/\$dldll~
9034 shlibpath_overrides_runpath
=yes
9038 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9039 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9040 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9043 # MinGW DLLs use traditional 'lib' prefix
9044 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9045 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9046 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9047 # It is most probably a Windows format PATH printed by
9048 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9049 # path with ; separators, and with drive letters. We can handle the
9050 # drive letters (cygwin fileutils understands them), so leave them,
9051 # especially as we might pass files found there to a mingw objdump,
9052 # which wouldn't understand a cygwinified path. Ahh.
9053 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9055 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9059 # pw32 DLLs use 'pw' prefix rather than 'lib'
9060 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9066 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9069 dynamic_linker
='Win32 ld.exe'
9070 # FIXME: first we should search . and the directory the executable is in
9074 darwin
* | rhapsody
*)
9075 dynamic_linker
="$host_os dyld"
9079 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9080 soname_spec
='${libname}${release}${major}$shared_ext'
9081 shlibpath_overrides_runpath
=yes
9082 shlibpath_var
=DYLD_LIBRARY_PATH
9083 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9085 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9086 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 shlibpath_var
=LD_LIBRARY_PATH
9102 freebsd
* | dragonfly
*)
9103 # DragonFly does not have aout. When/if they implement a new
9104 # versioning mechanism, adjust this.
9105 if test -x /usr
/bin
/objformat
; then
9106 objformat
=`/usr/bin/objformat`
9109 freebsd
[123]*) objformat
=aout
;;
9113 version_type
=freebsd-
$objformat
9114 case $version_type in
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9121 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9125 shlibpath_var
=LD_LIBRARY_PATH
9128 shlibpath_overrides_runpath
=yes
9130 freebsd3.
[01]* | freebsdelf3.
[01]*)
9131 shlibpath_overrides_runpath
=yes
9132 hardcode_into_libs
=yes
9134 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9135 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9136 shlibpath_overrides_runpath
=no
9137 hardcode_into_libs
=yes
9139 *) # from 4.6 on, and DragonFly
9140 shlibpath_overrides_runpath
=yes
9141 hardcode_into_libs
=yes
9150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9151 soname_spec
='${libname}${release}${shared_ext}$major'
9152 shlibpath_var
=LD_LIBRARY_PATH
9153 hardcode_into_libs
=yes
9156 hpux9
* | hpux10
* | hpux11
*)
9157 # Give a soname corresponding to the major version so that dld.sl refuses to
9158 # link against other versions.
9165 hardcode_into_libs
=yes
9166 dynamic_linker
="$host_os dld.so"
9167 shlibpath_var
=LD_LIBRARY_PATH
9168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9170 soname_spec
='${libname}${release}${shared_ext}$major'
9171 if test "X$HPUX_IA64_MODE" = X32
; then
9172 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9174 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9176 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9180 hardcode_into_libs
=yes
9181 dynamic_linker
="$host_os dld.sl"
9182 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9183 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9185 soname_spec
='${libname}${release}${shared_ext}$major'
9186 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9187 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9191 dynamic_linker
="$host_os dld.sl"
9192 shlibpath_var
=SHLIB_PATH
9193 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9195 soname_spec
='${libname}${release}${shared_ext}$major'
9198 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9199 postinstall_cmds
='chmod 555 $lib'
9206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9207 soname_spec
='${libname}${release}${shared_ext}$major'
9208 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9209 shlibpath_var
=LD_LIBRARY_PATH
9210 shlibpath_overrides_runpath
=no
9211 hardcode_into_libs
=yes
9214 irix5
* | irix6
* | nonstopux
*)
9216 nonstopux
*) version_type
=nonstopux
;;
9218 if test "$lt_cv_prog_gnu_ld" = yes; then
9226 soname_spec
='${libname}${release}${shared_ext}$major'
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9229 irix5
* | nonstopux
*)
9233 case $LD in # libtool.m4 will add one of these switches to LD
9234 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9235 libsuff
= shlibsuff
= libmagic
=32-bit;;
9236 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9237 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9238 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9239 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9240 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9244 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9245 shlibpath_overrides_runpath
=no
9246 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9247 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9248 hardcode_into_libs
=yes
9251 # No shared lib support for Linux oldld, aout, or coff.
9252 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9256 # This must be Linux ELF.
9257 linux
* | k
*bsd
*-gnu)
9261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9262 soname_spec
='${libname}${release}${shared_ext}$major'
9263 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9264 shlibpath_var
=LD_LIBRARY_PATH
9265 shlibpath_overrides_runpath
=no
9266 # This implies no fast_install, which is unacceptable.
9267 # Some rework will be needed to allow for fast_install
9268 # before this can be enabled.
9269 hardcode_into_libs
=yes
9271 # Append ld.so.conf contents to the search path
9272 if test -f /etc
/ld.so.conf
; then
9273 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' ' '`
9274 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9277 # We used to test for /lib/ld.so.1 and disable shared libraries on
9278 # powerpc, because MkLinux only supported shared libraries with the
9279 # GNU dynamic linker. Since this was broken with cross compilers,
9280 # most powerpc-linux boxes support dynamic linking these days and
9281 # people can always --disable-shared, the test was removed, and we
9282 # assume the GNU/Linux dynamic linker is in use.
9283 dynamic_linker
='GNU/Linux ld.so'
9290 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9292 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9293 dynamic_linker
='NetBSD (a.out) ld.so'
9295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9296 soname_spec
='${libname}${release}${shared_ext}$major'
9297 dynamic_linker
='NetBSD ld.elf_so'
9299 shlibpath_var
=LD_LIBRARY_PATH
9300 shlibpath_overrides_runpath
=yes
9301 hardcode_into_libs
=yes
9306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9307 shlibpath_var
=LD_LIBRARY_PATH
9308 shlibpath_overrides_runpath
=yes
9315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9316 soname_spec
='${libname}${release}${shared_ext}$major'
9317 shlibpath_var
=LD_LIBRARY_PATH
9318 shlibpath_overrides_runpath
=yes
9323 sys_lib_dlsearch_path_spec
="/usr/lib"
9325 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9327 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9328 *) need_version
=no
;;
9330 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9331 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9332 shlibpath_var
=LD_LIBRARY_PATH
9333 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9335 openbsd2.
[89] | openbsd2.
[89].
*)
9336 shlibpath_overrides_runpath
=no
9339 shlibpath_overrides_runpath
=yes
9343 shlibpath_overrides_runpath
=yes
9348 libname_spec
='$name'
9351 library_names_spec
='$libname${shared_ext} $libname.a'
9352 dynamic_linker
='OS/2 ld.exe'
9353 shlibpath_var
=LIBPATH
9356 osf3
* | osf4
* | osf5
*)
9360 soname_spec
='${libname}${release}${shared_ext}$major'
9361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9362 shlibpath_var
=LD_LIBRARY_PATH
9363 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9364 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9376 soname_spec
='${libname}${release}${shared_ext}$major'
9377 shlibpath_var
=LD_LIBRARY_PATH
9378 shlibpath_overrides_runpath
=yes
9379 hardcode_into_libs
=yes
9380 # ldd complains unless libraries are executable
9381 postinstall_cmds
='chmod +x $lib'
9386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9387 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9388 shlibpath_var
=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath
=yes
9390 if test "$with_gnu_ld" = yes; then
9398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec
='${libname}${release}${shared_ext}$major'
9400 shlibpath_var
=LD_LIBRARY_PATH
9401 case $host_vendor in
9403 shlibpath_overrides_runpath
=no
9405 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9406 runpath_var
=LD_RUN_PATH
9414 shlibpath_overrides_runpath
=no
9415 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9421 if test -d /usr
/nec
;then
9423 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9424 soname_spec
='$libname${shared_ext}.$major'
9425 shlibpath_var
=LD_LIBRARY_PATH
9429 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9430 version_type
=freebsd-elf
9433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9434 soname_spec
='${libname}${release}${shared_ext}$major'
9435 shlibpath_var
=LD_LIBRARY_PATH
9436 hardcode_into_libs
=yes
9437 if test "$with_gnu_ld" = yes; then
9438 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9439 shlibpath_overrides_runpath
=no
9441 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9442 shlibpath_overrides_runpath
=yes
9445 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9449 sys_lib_dlsearch_path_spec
='/usr/lib'
9454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9455 soname_spec
='${libname}${release}${shared_ext}$major'
9456 shlibpath_var
=LD_LIBRARY_PATH
9463 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9464 echo "${ECHO_T}$dynamic_linker" >&6; }
9465 test "$dynamic_linker" = no
&& can_build_shared
=no
9467 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9468 echo $ECHO_N "(cached) $ECHO_C" >&6
9470 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9473 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9474 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9480 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9482 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9483 if test "$GCC" = yes; then
9484 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9487 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9488 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9490 if test -n "$hardcode_libdir_flag_spec" || \
9491 test -n "$runpath_var" || \
9492 test "X$hardcode_automatic" = "Xyes" ; then
9494 # We can hardcode non-existant directories.
9495 if test "$hardcode_direct" != no
&&
9496 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9497 # have to relink, otherwise we might link with an installed library
9498 # when we should be linking with a yet-to-be-installed one
9499 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9500 test "$hardcode_minus_L" != no
; then
9501 # Linking always hardcodes the temporary library directory.
9502 hardcode_action
=relink
9504 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9505 hardcode_action
=immediate
9508 # We cannot hardcode anything, or else we can only hardcode existing
9510 hardcode_action
=unsupported
9512 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9513 echo "${ECHO_T}$hardcode_action" >&6; }
9515 if test "$hardcode_action" = relink
; then
9516 # Fast installation is not supported
9517 enable_fast_install
=no
9518 elif test "$shlibpath_overrides_runpath" = yes ||
9519 test "$enable_shared" = no
; then
9520 # Fast installation is not necessary
9521 enable_fast_install
=needless
9526 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9527 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9528 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9529 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9530 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9531 { echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6; }
9534 # FIXME - insert some real tests, host_os isn't really good enough
9537 if test -n "$STRIP" ; then
9538 striplib
="$STRIP -x"
9539 old_striplib
="$STRIP -S"
9540 { echo "$as_me:$LINENO: result: yes" >&5
9541 echo "${ECHO_T}yes" >&6; }
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9548 { echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6; }
9554 if test "x$enable_dlopen" != xyes
; then
9555 enable_dlopen
=unknown
9556 enable_dlopen_self
=unknown
9557 enable_dlopen_self_static
=unknown
9564 lt_cv_dlopen
="load_add_on"
9566 lt_cv_dlopen_self
=yes
9570 lt_cv_dlopen
="LoadLibrary"
9575 lt_cv_dlopen
="dlopen"
9580 # if libdl is installed we need to link against it
9581 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9582 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9583 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 ac_check_lib_save_LIBS
=$LIBS
9588 cat >conftest.
$ac_ext <<_ACEOF
9591 cat confdefs.h
>>conftest.
$ac_ext
9592 cat >>conftest.
$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9610 rm -f conftest.
$ac_objext conftest
$ac_exeext
9611 if { (ac_try
="$ac_link"
9613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9614 *) ac_try_echo=$ac_try;;
9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1 >conftest.err
9621 cat conftest.err >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest$ac_exeext &&
9627 $as_test_x conftest$ac_exeext; then
9628 ac_cv_lib_dl_dlopen=yes
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.$ac_ext >&5
9633 ac_cv_lib_dl_dlopen=no
9636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9641 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9642 if test $ac_cv_lib_dl_dlopen = yes; then
9643 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9648 lt_cv_dlopen_self=yes
9655 { echo "$as_me:$LINENO: checking for shl_load" >&5
9656 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9657 if test "${ac_cv_func_shl_load+set}" = set; then
9658 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 cat >conftest.$ac_ext <<_ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9666 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9668 #define shl_load innocuous_shl_load
9670 /* System header to define __stub macros and hopefully few prototypes,
9671 which can conflict with char shl_load (); below.
9672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9673 <limits.h> exists even on freestanding compilers. */
9676 # include <limits.h>
9678 # include <assert.h>
9683 /* Override any GCC internal prototype to avoid an error.
9684 Use char because int might match the return type of a GCC
9685 builtin and then its argument prototype would still apply. */
9690 /* The GNU C library defines this for functions which it implements
9691 to always fail with ENOSYS. Some functions are actually named
9692 something starting with __ and the normal name is an alias. */
9693 #if defined __stub_shl_load || defined __stub___shl_load
9705 rm -f conftest.$ac_objext conftest$ac_exeext
9706 if { (ac_try="$ac_link"
9708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9709 *) ac_try_echo
=$ac_try;;
9711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9712 (eval "$ac_link") 2>conftest.er1
9714 grep -v '^ *+' conftest.er1
>conftest.err
9716 cat conftest.err
>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } && {
9719 test -z "$ac_c_werror_flag" ||
9720 test ! -s conftest.err
9721 } && test -s conftest
$ac_exeext &&
9722 $as_test_x conftest
$ac_exeext; then
9723 ac_cv_func_shl_load
=yes
9725 echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.
$ac_ext >&5
9728 ac_cv_func_shl_load
=no
9731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9732 conftest
$ac_exeext conftest.
$ac_ext
9734 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9735 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9736 if test $ac_cv_func_shl_load = yes; then
9737 lt_cv_dlopen
="shl_load"
9739 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9740 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 ac_check_lib_save_LIBS
=$LIBS
9746 cat >conftest.
$ac_ext <<_ACEOF
9749 cat confdefs.h
>>conftest.
$ac_ext
9750 cat >>conftest.
$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9768 rm -f conftest.
$ac_objext conftest
$ac_exeext
9769 if { (ac_try
="$ac_link"
9771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9777 grep -v '^ *+' conftest.er1 >conftest.err
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest$ac_exeext &&
9785 $as_test_x conftest$ac_exeext; then
9786 ac_cv_lib_dld_shl_load=yes
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 ac_cv_lib_dld_shl_load=no
9794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9795 conftest$ac_exeext conftest.$ac_ext
9796 LIBS=$ac_check_lib_save_LIBS
9798 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9799 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9800 if test $ac_cv_lib_dld_shl_load = yes; then
9801 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9803 { echo "$as_me:$LINENO: checking for dlopen" >&5
9804 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9805 if test "${ac_cv_func_dlopen+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 cat >conftest.$ac_ext <<_ACEOF
9811 cat confdefs.h >>conftest.$ac_ext
9812 cat >>conftest.$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9814 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9816 #define dlopen innocuous_dlopen
9818 /* System header to define __stub macros and hopefully few prototypes,
9819 which can conflict with char dlopen (); below.
9820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9821 <limits.h> exists even on freestanding compilers. */
9824 # include <limits.h>
9826 # include <assert.h>
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9838 /* The GNU C library defines this for functions which it implements
9839 to always fail with ENOSYS. Some functions are actually named
9840 something starting with __ and the normal name is an alias. */
9841 #if defined __stub_dlopen || defined __stub___dlopen
9853 rm -f conftest.$ac_objext conftest$ac_exeext
9854 if { (ac_try="$ac_link"
9856 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9857 *) ac_try_echo
=$ac_try;;
9859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860 (eval "$ac_link") 2>conftest.er1
9862 grep -v '^ *+' conftest.er1
>conftest.err
9864 cat conftest.err
>&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } && {
9867 test -z "$ac_c_werror_flag" ||
9868 test ! -s conftest.err
9869 } && test -s conftest
$ac_exeext &&
9870 $as_test_x conftest
$ac_exeext; then
9871 ac_cv_func_dlopen
=yes
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.
$ac_ext >&5
9876 ac_cv_func_dlopen
=no
9879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9880 conftest
$ac_exeext conftest.
$ac_ext
9882 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9883 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9884 if test $ac_cv_func_dlopen = yes; then
9885 lt_cv_dlopen
="dlopen"
9887 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9888 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9889 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 ac_check_lib_save_LIBS
=$LIBS
9894 cat >conftest.
$ac_ext <<_ACEOF
9897 cat confdefs.h
>>conftest.
$ac_ext
9898 cat >>conftest.
$ac_ext <<_ACEOF
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9916 rm -f conftest.
$ac_objext conftest
$ac_exeext
9917 if { (ac_try
="$ac_link"
9919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9920 *) ac_try_echo=$ac_try;;
9922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9923 (eval "$ac_link") 2>conftest.er1
9925 grep -v '^ *+' conftest.er1 >conftest.err
9927 cat conftest.err >&5
9928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929 (exit $ac_status); } && {
9930 test -z "$ac_c_werror_flag" ||
9931 test ! -s conftest.err
9932 } && test -s conftest$ac_exeext &&
9933 $as_test_x conftest$ac_exeext; then
9934 ac_cv_lib_dl_dlopen=yes
9936 echo "$as_me: failed program was:" >&5
9937 sed 's/^/| /' conftest.$ac_ext >&5
9939 ac_cv_lib_dl_dlopen=no
9942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9951 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9952 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9953 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9954 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 ac_check_lib_save_LIBS=$LIBS
9958 cat >conftest.$ac_ext <<_ACEOF
9961 cat confdefs.h >>conftest.$ac_ext
9962 cat >>conftest.$ac_ext <<_ACEOF
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9980 rm -f conftest.$ac_objext conftest$ac_exeext
9981 if { (ac_try="$ac_link"
9983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9984 *) ac_try_echo
=$ac_try;;
9986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9987 (eval "$ac_link") 2>conftest.er1
9989 grep -v '^ *+' conftest.er1
>conftest.err
9991 cat conftest.err
>&5
9992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993 (exit $ac_status); } && {
9994 test -z "$ac_c_werror_flag" ||
9995 test ! -s conftest.err
9996 } && test -s conftest
$ac_exeext &&
9997 $as_test_x conftest
$ac_exeext; then
9998 ac_cv_lib_svld_dlopen
=yes
10000 echo "$as_me: failed program was:" >&5
10001 sed 's/^/| /' conftest.
$ac_ext >&5
10003 ac_cv_lib_svld_dlopen
=no
10006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10007 conftest
$ac_exeext conftest.
$ac_ext
10008 LIBS
=$ac_check_lib_save_LIBS
10010 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10011 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10012 if test $ac_cv_lib_svld_dlopen = yes; then
10013 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10015 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10016 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10017 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10018 echo $ECHO_N "(cached) $ECHO_C" >&6
10020 ac_check_lib_save_LIBS
=$LIBS
10022 cat >conftest.
$ac_ext <<_ACEOF
10025 cat confdefs.h
>>conftest.
$ac_ext
10026 cat >>conftest.
$ac_ext <<_ACEOF
10027 /* end confdefs.h. */
10029 /* Override any GCC internal prototype to avoid an error.
10030 Use char because int might match the return type of a GCC
10031 builtin and then its argument prototype would still apply. */
10039 return dld_link ();
10044 rm -f conftest.
$ac_objext conftest
$ac_exeext
10045 if { (ac_try
="$ac_link"
10046 case "(($ac_try" in
10047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10048 *) ac_try_echo=$ac_try;;
10050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10051 (eval "$ac_link") 2>conftest.er1
10053 grep -v '^ *+' conftest.er1 >conftest.err
10055 cat conftest.err >&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); } && {
10058 test -z "$ac_c_werror_flag" ||
10059 test ! -s conftest.err
10060 } && test -s conftest$ac_exeext &&
10061 $as_test_x conftest$ac_exeext; then
10062 ac_cv_lib_dld_dld_link=yes
10064 echo "$as_me: failed program was:" >&5
10065 sed 's/^/| /' conftest.$ac_ext >&5
10067 ac_cv_lib_dld_dld_link=no
10070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10071 conftest$ac_exeext conftest.$ac_ext
10072 LIBS=$ac_check_lib_save_LIBS
10074 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10075 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10076 if test $ac_cv_lib_dld_dld_link = yes; then
10077 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10098 if test "x$lt_cv_dlopen" != xno; then
10104 case $lt_cv_dlopen in
10106 save_CPPFLAGS="$CPPFLAGS"
10107 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10109 save_LDFLAGS="$LDFLAGS"
10110 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10113 LIBS="$lt_cv_dlopen_libs $LIBS"
10115 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10116 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10117 if test "${lt_cv_dlopen_self+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 if test "$cross_compiling" = yes; then :
10121 lt_cv_dlopen_self=cross
10123 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10124 lt_status=$lt_dlunknown
10125 cat > conftest.$ac_ext <<EOF
10126 #line 10126 "configure"
10127 #include "confdefs.h"
10136 # define LT_DLGLOBAL RTLD_GLOBAL
10139 # define LT_DLGLOBAL DL_GLOBAL
10141 # define LT_DLGLOBAL 0
10145 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10146 find out it does not work in some platform. */
10147 #ifndef LT_DLLAZY_OR_NOW
10149 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10152 # define LT_DLLAZY_OR_NOW DL_LAZY
10155 # define LT_DLLAZY_OR_NOW RTLD_NOW
10158 # define LT_DLLAZY_OR_NOW DL_NOW
10160 # define LT_DLLAZY_OR_NOW 0
10168 extern "C" void exit (int);
10171 void fnord() { int i=42;}
10174 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10175 int status = $lt_dlunknown;
10179 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10180 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10181 /* dlclose (self); */
10189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190 (eval $ac_link) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10194 (./conftest; exit; ) >&5 2>/dev/null
10196 case x$lt_status in
10197 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10198 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10199 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10202 # compilation failed
10203 lt_cv_dlopen_self=no
10210 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10211 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10213 if test "x$lt_cv_dlopen_self" = xyes; then
10214 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10215 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10216 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10217 if test "${lt_cv_dlopen_self_static+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 if test "$cross_compiling" = yes; then :
10221 lt_cv_dlopen_self_static=cross
10223 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10224 lt_status=$lt_dlunknown
10225 cat > conftest.$ac_ext <<EOF
10226 #line 10226 "configure"
10227 #include "confdefs.h"
10236 # define LT_DLGLOBAL RTLD_GLOBAL
10239 # define LT_DLGLOBAL DL_GLOBAL
10241 # define LT_DLGLOBAL 0
10245 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10246 find out it does not work in some platform. */
10247 #ifndef LT_DLLAZY_OR_NOW
10249 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10252 # define LT_DLLAZY_OR_NOW DL_LAZY
10255 # define LT_DLLAZY_OR_NOW RTLD_NOW
10258 # define LT_DLLAZY_OR_NOW DL_NOW
10260 # define LT_DLLAZY_OR_NOW 0
10268 extern "C" void exit (int);
10271 void fnord() { int i=42;}
10274 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10275 int status = $lt_dlunknown;
10279 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10280 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10281 /* dlclose (self); */
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10294 (./conftest; exit; ) >&5 2>/dev/null
10296 case x$lt_status in
10297 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10298 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10299 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10302 # compilation failed
10303 lt_cv_dlopen_self_static=no
10310 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10311 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10314 CPPFLAGS="$save_CPPFLAGS"
10315 LDFLAGS="$save_LDFLAGS"
10320 case $lt_cv_dlopen_self in
10321 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10322 *) enable_dlopen_self=unknown ;;
10325 case $lt_cv_dlopen_self_static in
10326 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10327 *) enable_dlopen_self_static=unknown ;;
10332 # Report which library types will actually be built
10333 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10334 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10335 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10336 echo "${ECHO_T}$can_build_shared" >&6; }
10338 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10339 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10340 test "$can_build_shared" = "no" && enable_shared=no
10342 # On AIX, shared libraries and static libraries use the same namespace, and
10343 # are all built from PIC.
10346 test "$enable_shared" = yes && enable_static=no
10347 if test -n "$RANLIB"; then
10348 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10349 postinstall_cmds='$RANLIB $lib'
10354 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10355 test "$enable_shared" = yes && enable_static=no
10359 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10360 echo "${ECHO_T}$enable_shared" >&6; }
10362 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10363 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10364 # Make sure either enable_shared or enable_static is yes.
10365 test "$enable_shared" = yes || enable_static=yes
10366 { echo "$as_me:$LINENO: result: $enable_static" >&5
10367 echo "${ECHO_T}$enable_static" >&6; }
10369 # The else clause should only fire when bootstrapping the
10370 # libtool distribution, otherwise you forgot to ship ltmain.sh
10371 # with your package, and you will get complaints that there are
10372 # no rules to generate ltmain.sh.
10373 if test -f "$ltmain"; then
10374 # See if we are running on zsh, and set the options which allow our commands through
10375 # without removal of \ escapes.
10376 if test -n "${ZSH_VERSION+set}" ; then
10377 setopt NO_GLOB_SUBST
10379 # Now quote all the things that may contain metacharacters while being
10380 # careful not to overquote the AC_SUBSTed values. We take copies of the
10381 # variables and quote the copies for generation of the libtool script.
10382 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10384 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10385 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10386 deplibs_check_method reload_flag reload_cmds need_locks \
10387 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10388 lt_cv_sys_global_symbol_to_c_name_address \
10389 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10390 old_postinstall_cmds old_postuninstall_cmds \
10394 lt_prog_compiler_wl \
10395 lt_prog_compiler_pic \
10396 lt_prog_compiler_static \
10397 lt_prog_compiler_no_builtin_flag \
10398 export_dynamic_flag_spec \
10399 thread_safe_flag_spec \
10400 whole_archive_flag_spec \
10401 enable_shared_with_static_runtimes \
10403 old_archive_from_new_cmds \
10408 compiler_lib_search_path \
10409 compiler_lib_search_dirs \
10411 archive_expsym_cmds \
10413 postuninstall_cmds \
10414 old_archive_from_expsyms_cmds \
10415 allow_undefined_flag \
10416 no_undefined_flag \
10417 export_symbols_cmds \
10418 hardcode_libdir_flag_spec \
10419 hardcode_libdir_flag_spec_ld \
10420 hardcode_libdir_separator \
10421 hardcode_automatic \
10423 module_expsym_cmds \
10424 lt_cv_prog_compiler_c_o \
10427 include_expsyms; do
10430 old_archive_cmds | \
10431 old_archive_from_new_cmds | \
10433 archive_expsym_cmds | \
10435 module_expsym_cmds | \
10436 old_archive_from_expsyms_cmds | \
10437 export_symbols_cmds | \
10438 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10439 postinstall_cmds | postuninstall_cmds | \
10440 old_postinstall_cmds | old_postuninstall_cmds | \
10441 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10442 # Double-quote double-evaled strings.
10443 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10446 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10452 *'\$0 --fallback-echo"')
10453 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10457 cfgfile="${ofile}T"
10458 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10460 { echo "$as_me:$LINENO: creating $ofile" >&5
10461 echo "$as_me: creating $ofile" >&6;}
10463 cat <<__EOF__ >> "$cfgfile"
10466 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10467 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10468 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10470 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10471 # Free Software Foundation, Inc.
10473 # This file is part of GNU Libtool:
10474 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10476 # This program is free software; you can redistribute it and/or modify
10477 # it under the terms of the GNU General Public License as published by
10478 # the Free Software Foundation; either version 2 of the License, or
10479 # (at your option) any later version.
10481 # This program is distributed in the hope that it will be useful, but
10482 # WITHOUT ANY WARRANTY; without even the implied warranty of
10483 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10484 # General Public License for more details.
10486 # You should have received a copy of the GNU General Public License
10487 # along with this program; if not, write to the Free Software
10488 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10490 # As a special exception to the GNU General Public License, if you
10491 # distribute this file as part of a program that contains a
10492 # configuration script generated by Autoconf, you may include it under
10493 # the same distribution terms that you use for the rest of that program.
10495 # A sed program that does not truncate output.
10498 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10499 Xsed="$SED -e 1s/^X//"
10501 # The HP-UX ksh and POSIX shell print the target directory to stdout
10502 # if CDPATH is set.
10503 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10505 # The names of the tagged configurations supported by this script.
10508 # ### BEGIN LIBTOOL CONFIG
10510 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10512 # Shell to use when invoking shell scripts.
10515 # Whether or not to build shared libraries.
10516 build_libtool_libs=$enable_shared
10518 # Whether or not to build static libraries.
10519 build_old_libs=$enable_static
10521 # Whether or not to add -lc for building shared libraries.
10522 build_libtool_need_lc=$archive_cmds_need_lc
10524 # Whether or not to disallow shared libs when runtime libs are static
10525 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10527 # Whether or not to optimize for fast installation.
10528 fast_install=$enable_fast_install
10531 host_alias=$host_alias
10535 # The build system.
10536 build_alias=$build_alias
10540 # An echo program that does not interpret backslashes.
10545 AR_FLAGS=$lt_AR_FLAGS
10550 # LTCC compiler flags.
10551 LTCFLAGS=$lt_LTCFLAGS
10553 # A language-specific compiler.
10556 # Is the compiler the GNU C compiler?
10562 # The linker used to build libraries.
10565 # Whether we need hard or soft links.
10568 # A BSD-compatible nm program.
10571 # A symbol stripping program
10574 # Used to examine libraries when file_magic_cmd begins "file"
10575 MAGIC_CMD=$MAGIC_CMD
10577 # Used on cygwin: DLL creation program.
10580 # Used on cygwin: object dumper.
10583 # Used on cygwin: assembler.
10586 # The name of the directory that contains temporary libtool files.
10589 # How to create reloadable object files.
10590 reload_flag=$lt_reload_flag
10591 reload_cmds=$lt_reload_cmds
10593 # How to pass a linker flag through the compiler.
10594 wl=$lt_lt_prog_compiler_wl
10596 # Object file suffix (normally "o").
10597 objext="$ac_objext"
10599 # Old archive suffix (normally "a").
10602 # Shared library suffix (normally ".so").
10603 shrext_cmds='$shrext_cmds'
10605 # Executable file suffix (normally "").
10608 # Additional compiler flags for building library objects.
10609 pic_flag=$lt_lt_prog_compiler_pic
10612 # What is the maximum length of a command?
10613 max_cmd_len=$lt_cv_sys_max_cmd_len
10615 # Does compiler simultaneously support -c and -o options?
10616 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10618 # Must we lock files when doing compilation?
10619 need_locks=$lt_need_locks
10621 # Do we need the lib prefix for modules?
10622 need_lib_prefix=$need_lib_prefix
10624 # Do we need a version for libraries?
10625 need_version=$need_version
10627 # Whether dlopen is supported.
10628 dlopen_support=$enable_dlopen
10630 # Whether dlopen of programs is supported.
10631 dlopen_self=$enable_dlopen_self
10633 # Whether dlopen of statically linked programs is supported.
10634 dlopen_self_static=$enable_dlopen_self_static
10636 # Compiler flag to prevent dynamic linking.
10637 link_static_flag=$lt_lt_prog_compiler_static
10639 # Compiler flag to turn off builtin functions.
10640 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10642 # Compiler flag to allow reflexive dlopens.
10643 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10645 # Compiler flag to generate shared objects directly from archives.
10646 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10648 # Compiler flag to generate thread-safe objects.
10649 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10651 # Library versioning type.
10652 version_type=$version_type
10654 # Format of library name prefix.
10655 libname_spec=$lt_libname_spec
10657 # List of archive names. First name is the real one, the rest are links.
10658 # The last name is the one that the linker finds with -lNAME.
10659 library_names_spec=$lt_library_names_spec
10661 # The coded name of the library, if different from the real name.
10662 soname_spec=$lt_soname_spec
10664 # Commands used to build and install an old-style archive.
10666 old_archive_cmds=$lt_old_archive_cmds
10667 old_postinstall_cmds=$lt_old_postinstall_cmds
10668 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10670 # Create an old-style archive from a shared archive.
10671 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10673 # Create a temporary old-style archive to link instead of a shared archive.
10674 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10676 # Commands used to build and install a shared archive.
10677 archive_cmds=$lt_archive_cmds
10678 archive_expsym_cmds=$lt_archive_expsym_cmds
10679 postinstall_cmds=$lt_postinstall_cmds
10680 postuninstall_cmds=$lt_postuninstall_cmds
10682 # Commands used to build a loadable module (assumed same as above if empty)
10683 module_cmds=$lt_module_cmds
10684 module_expsym_cmds=$lt_module_expsym_cmds
10686 # Commands to strip libraries.
10687 old_striplib=$lt_old_striplib
10688 striplib=$lt_striplib
10690 # Dependencies to place before the objects being linked to create a
10692 predep_objects=$lt_predep_objects
10694 # Dependencies to place after the objects being linked to create a
10696 postdep_objects=$lt_postdep_objects
10698 # Dependencies to place before the objects being linked to create a
10700 predeps=$lt_predeps
10702 # Dependencies to place after the objects being linked to create a
10704 postdeps=$lt_postdeps
10706 # The directories searched by this compiler when creating a shared
10708 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
10710 # The library search path used internally by the compiler when linking
10711 # a shared library.
10712 compiler_lib_search_path=$lt_compiler_lib_search_path
10714 # Method to check whether dependent libraries are shared objects.
10715 deplibs_check_method=$lt_deplibs_check_method
10717 # Command to use when deplibs_check_method == file_magic.
10718 file_magic_cmd=$lt_file_magic_cmd
10720 # Flag that allows shared libraries with undefined symbols to be built.
10721 allow_undefined_flag=$lt_allow_undefined_flag
10723 # Flag that forces no undefined symbols.
10724 no_undefined_flag=$lt_no_undefined_flag
10726 # Commands used to finish a libtool library installation in a directory.
10727 finish_cmds=$lt_finish_cmds
10729 # Same as above, but a single script fragment to be evaled but not shown.
10730 finish_eval=$lt_finish_eval
10732 # Take the output of nm and produce a listing of raw symbols and C names.
10733 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10735 # Transform the output of nm in a proper C declaration
10736 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10738 # Transform the output of nm in a C name address pair
10739 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10741 # This is the shared library runtime path variable.
10742 runpath_var=$runpath_var
10744 # This is the shared library path variable.
10745 shlibpath_var=$shlibpath_var
10747 # Is shlibpath searched before the hard-coded library search path?
10748 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10750 # How to hardcode a shared library path into an executable.
10751 hardcode_action=$hardcode_action
10753 # Whether we should hardcode library paths into libraries.
10754 hardcode_into_libs=$hardcode_into_libs
10756 # Flag to hardcode \$libdir into a binary during linking.
10757 # This must work even if \$libdir does not exist.
10758 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10760 # If ld is used when linking, flag to hardcode \$libdir into
10761 # a binary during linking. This must work even if \$libdir does
10763 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10765 # Whether we need a single -rpath flag with a separated argument.
10766 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10768 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10769 # resulting binary.
10770 hardcode_direct=$hardcode_direct
10772 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10773 # resulting binary.
10774 hardcode_minus_L=$hardcode_minus_L
10776 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10777 # the resulting binary.
10778 hardcode_shlibpath_var=$hardcode_shlibpath_var
10780 # Set to yes if building a shared library automatically hardcodes DIR into the library
10781 # and all subsequent libraries and executables linked against it.
10782 hardcode_automatic=$hardcode_automatic
10784 # Variables whose values should be saved in libtool wrapper scripts and
10785 # restored at relink time.
10786 variables_saved_for_relink="$variables_saved_for_relink"
10788 # Whether libtool must link a program against all its dependency libraries.
10789 link_all_deplibs=$link_all_deplibs
10791 # Compile-time system search path for libraries
10792 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10794 # Run-time system search path for libraries
10795 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10797 # Fix the shell variable \$srcfile for the compiler.
10798 fix_srcfile_path=$lt_fix_srcfile_path
10800 # Set to yes if exported symbols are required.
10801 always_export_symbols=$always_export_symbols
10803 # The commands to list exported symbols.
10804 export_symbols_cmds=$lt_export_symbols_cmds
10806 # The commands to extract the exported symbol list from a shared archive.
10807 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10809 # Symbols that should not be listed in the preloaded symbols.
10810 exclude_expsyms=$lt_exclude_expsyms
10812 # Symbols that must always be exported.
10813 include_expsyms=$lt_include_expsyms
10815 # ### END LIBTOOL CONFIG
10822 cat <<\EOF >> "$cfgfile"
10824 # AIX sometimes has problems with the GCC collect2 program. For some
10825 # reason, if we set the COLLECT_NAMES environment variable, the problems
10826 # vanish in a puff of smoke.
10827 if test "X${COLLECT_NAMES+set}" != Xset; then
10829 export COLLECT_NAMES
10835 # We use sed instead of cat because bash on DJGPP gets confused if
10836 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10837 # text mode, it properly converts lines to CR/LF. This bash problem
10838 # is reportedly fixed, but why not run on old versions too?
10839 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10841 mv -f "$cfgfile" "$ofile" || \
10842 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10846 # If there is no Makefile yet, we rely on a make rule to execute
10847 # `config.status
--recheck' to rerun these tests and create the
10848 # libtool script then.
10849 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10850 if test -f "$ltmain_in"; then
10851 test -f Makefile && make "$ltmain"
10857 ac_cpp='$CPP $CPPFLAGS'
10858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10859 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10865 # Check whether --with-tags was given.
10866 if test "${with_tags+set}" = set; then
10867 withval=$with_tags; tagnames="$withval"
10871 if test -f "$ltmain" && test -n "$tagnames"; then
10872 if test ! -f "${ofile}"; then
10873 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10874 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10877 if test -z "$LTCC"; then
10878 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10879 if test -z "$LTCC"; then
10880 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10881 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10883 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10884 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10887 if test -z "$LTCFLAGS"; then
10888 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10891 # Extract list of available tagged configurations in $ofile.
10892 # Note that this assumes the entire list is on one line.
10893 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10895 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10896 for tagname in $tagnames; do
10898 # Check whether tagname contains only valid characters
10899 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10901 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10902 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10903 { (exit 1); exit 1; }; }
10907 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10909 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10910 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10911 { (exit 1); exit 1; }; }
10914 # Update the list of available tags.
10915 if test -n "$tagname"; then
10916 echo appending configuration tag \"$tagname\" to $ofile
10920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10921 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10922 (test "X$CXX" != "Xg++"))) ; then
10924 ac_cpp='$CXXCPP $CPPFLAGS'
10925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10932 archive_cmds_need_lc_CXX=no
10933 allow_undefined_flag_CXX=
10934 always_export_symbols_CXX=no
10935 archive_expsym_cmds_CXX=
10936 export_dynamic_flag_spec_CXX=
10937 hardcode_direct_CXX=no
10938 hardcode_libdir_flag_spec_CXX=
10939 hardcode_libdir_flag_spec_ld_CXX=
10940 hardcode_libdir_separator_CXX=
10941 hardcode_minus_L_CXX=no
10942 hardcode_shlibpath_var_CXX=unsupported
10943 hardcode_automatic_CXX=no
10945 module_expsym_cmds_CXX=
10946 link_all_deplibs_CXX=unknown
10947 old_archive_cmds_CXX=$old_archive_cmds
10948 no_undefined_flag_CXX=
10949 whole_archive_flag_spec_CXX=
10950 enable_shared_with_static_runtimes_CXX=no
10952 # Dependencies to place before and after the object being linked:
10953 predep_objects_CXX=
10954 postdep_objects_CXX=
10957 compiler_lib_search_path_CXX=
10958 compiler_lib_search_dirs_CXX=
10960 # Source file extension for C++ test sources.
10963 # Object file extension for compiled C++ test sources.
10967 # Code to be used in simple compile tests
10968 lt_simple_compile_test_code="int some_variable = 0;"
10970 # Code to be used in simple link tests
10971 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10973 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10975 # If no C compiler was specified, use CC.
10978 # If no C compiler flags were specified, use CFLAGS.
10979 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10981 # Allow CC to be a program name with arguments.
10985 # save warnings/boilerplate of simple test code
10986 ac_outfile=conftest.$ac_objext
10987 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10988 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10989 _lt_compiler_boilerplate=`cat conftest.err
`
10992 ac_outfile=conftest.$ac_objext
10993 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10994 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10995 _lt_linker_boilerplate=`cat conftest.err
`
10999 # Allow CC to be a program name with arguments.
11004 lt_save_with_gnu_ld=$with_gnu_ld
11005 lt_save_path_LD=$lt_cv_path_LD
11006 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11007 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11009 $as_unset lt_cv_prog_gnu_ld
11011 if test -n "${lt_cv_path_LDCXX+set}"; then
11012 lt_cv_path_LD=$lt_cv_path_LDCXX
11014 $as_unset lt_cv_path_LD
11016 test -z "${LDCXX+set}" || LD=$LDCXX
11020 for cc_temp in $compiler""; do
11022 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11023 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11028 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11031 # We don't want -fno-exception wen compiling C++ code, so set the
11032 # no_builtin_flag separately
11033 if test "$GXX" = yes; then
11034 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11036 lt_prog_compiler_no_builtin_flag_CXX=
11039 if test "$GXX" = yes; then
11040 # Set up default GNU C++ configuration
11043 # Check whether --with-gnu-ld was given.
11044 if test "${with_gnu_ld+set}" = set; then
11045 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11051 if test "$GCC" = yes; then
11052 # Check if gcc -print-prog-name=ld gives a path.
11053 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11054 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11057 # gcc leaves a trailing carriage return which upsets mingw
11058 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11060 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11063 # Accept absolute paths.
11065 re_direlt='/[^/][^/]*/\.\./'
11066 # Canonicalize the pathname of ld
11067 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11068 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11069 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11071 test -z "$LD" && LD="$ac_prog"
11074 # If it fails, then pretend we aren't using GCC.
11078 # If it is relative, then search for the first ld in PATH.
11079 with_gnu_ld=unknown
11082 elif test "$with_gnu_ld" = yes; then
11083 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11084 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11086 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11087 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11089 if test "${lt_cv_path_LD+set}" = set; then
11090 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 if test -z "$LD"; then
11093 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11094 for ac_dir in $PATH; do
11096 test -z "$ac_dir" && ac_dir=.
11097 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11098 lt_cv_path_LD="$ac_dir/$ac_prog"
11099 # Check to see if the program is GNU ld. I'd rather use --version,
11100 # but apparently some variants of GNU ld only accept -v.
11101 # Break only if it was the GNU/non-GNU ld that we prefer.
11102 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11103 *GNU* | *'with BFD'*)
11104 test "$with_gnu_ld" != no && break
11107 test "$with_gnu_ld" != yes && break
11114 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11118 LD="$lt_cv_path_LD"
11119 if test -n "$LD"; then
11120 { echo "$as_me:$LINENO: result: $LD" >&5
11121 echo "${ECHO_T}$LD" >&6; }
11123 { echo "$as_me:$LINENO: result: no" >&5
11124 echo "${ECHO_T}no" >&6; }
11126 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11127 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11128 { (exit 1); exit 1; }; }
11129 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11130 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11131 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11132 echo $ECHO_N "(cached) $ECHO_C" >&6
11134 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11135 case `$LD -v 2>&1 </dev
/null
` in
11136 *GNU* | *'with BFD'*)
11137 lt_cv_prog_gnu_ld=yes
11140 lt_cv_prog_gnu_ld=no
11144 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11145 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11146 with_gnu_ld=$lt_cv_prog_gnu_ld
11150 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11151 # archiving commands below assume that GNU ld is being used.
11152 if test "$with_gnu_ld" = yes; then
11153 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11154 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'
11156 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11157 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11159 # If archive_cmds runs LD, not CC, wlarc should be empty
11160 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11161 # investigate it a little bit more. (MM)
11164 # ancient GNU ld didn't support --whole-archive et. al.
11165 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11166 grep 'no-whole-archive' > /dev/null; then
11167 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11169 whole_archive_flag_spec_CXX=
11175 # A generic and very simple default shared library creation
11176 # command for GNU C++ for the case where it uses the native
11177 # linker, instead of GNU ld. If possible, this setting should
11178 # overridden to take advantage of the native linker features on
11179 # the platform it is being used on.
11180 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11183 # Commands to make compiler produce verbose output that lists
11184 # what "hidden" libraries, object files and flags are used when
11185 # linking a shared library.
11186 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11194 # PORTME: fill in a description of your system's C++ link characteristics
11195 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11196 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11200 # FIXME: insert proper C++ library support
11204 if test "$host_cpu" = ia64; then
11205 # On IA64, the linker does run time linking by default, so we don't
11206 # have to do anything special.
11207 aix_use_runtimelinking=no
11208 exp_sym_flag='-Bexport'
11211 aix_use_runtimelinking=no
11213 # Test if we are trying to use run time linking or normal
11214 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11215 # need to do runtime linking.
11216 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11217 for ld_flag in $LDFLAGS; do
11220 aix_use_runtimelinking=yes
11228 exp_sym_flag='-bexport'
11229 no_entry_flag='-bnoentry'
11232 # When large executables or shared objects are built, AIX ld can
11233 # have problems creating the table of contents. If linking a library
11234 # or program results in "error TOC overflow" add -mminimal-toc to
11235 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11236 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11238 archive_cmds_CXX=''
11239 hardcode_direct_CXX=yes
11240 hardcode_libdir_separator_CXX=':'
11241 link_all_deplibs_CXX=yes
11243 if test "$GXX" = yes; then
11244 case $host_os in aix4.[012]|aix4.[012].*)
11245 # We only want to do this on AIX 4.2 and lower, the check
11246 # below for broken collect2 doesn't work under 4.3+
11247 collect2name=`${CC} -print-prog-name=collect2
`
11248 if test -f "$collect2name" && \
11249 strings "$collect2name" | grep resolve_lib_name >/dev/null
11251 # We have reworked collect2
11254 # We have old collect2
11255 hardcode_direct_CXX=unsupported
11256 # It fails to find uninstalled libraries when the uninstalled
11257 # path is not listed in the libpath. Setting hardcode_minus_L
11258 # to unsupported forces relinking
11259 hardcode_minus_L_CXX=yes
11260 hardcode_libdir_flag_spec_CXX='-L$libdir'
11261 hardcode_libdir_separator_CXX=
11265 shared_flag='-shared'
11266 if test "$aix_use_runtimelinking" = yes; then
11267 shared_flag="$shared_flag "'${wl}-G'
11271 if test "$host_cpu" = ia64; then
11272 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11273 # chokes on -Wl,-G. The following line is correct:
11276 if test "$aix_use_runtimelinking" = yes; then
11277 shared_flag='${wl}-G'
11279 shared_flag='${wl}-bM:SRE'
11284 # It seems that -bexpall does not export symbols beginning with
11285 # underscore (_), so it is better to generate a list of symbols to export.
11286 always_export_symbols_CXX=yes
11287 if test "$aix_use_runtimelinking" = yes; then
11288 # Warning - without using the other runtime loading flags (-brtl),
11289 # -berok will link without error, but may produce a broken library.
11290 allow_undefined_flag_CXX='-berok'
11291 # Determine the default libpath from the value encoded in an empty executable.
11292 cat >conftest.$ac_ext <<_ACEOF
11295 cat confdefs.h >>conftest.$ac_ext
11296 cat >>conftest.$ac_ext <<_ACEOF
11297 /* end confdefs.h. */
11307 rm -f conftest.$ac_objext conftest$ac_exeext
11308 if { (ac_try="$ac_link"
11309 case "(($ac_try" in
11310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11311 *) ac_try_echo
=$ac_try;;
11313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11314 (eval "$ac_link") 2>conftest.er1
11316 grep -v '^ *+' conftest.er1
>conftest.err
11318 cat conftest.err
>&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } && {
11321 test -z "$ac_cxx_werror_flag" ||
11322 test ! -s conftest.err
11323 } && test -s conftest
$ac_exeext &&
11324 $as_test_x conftest
$ac_exeext; then
11326 lt_aix_libpath_sed
='
11327 /Import File Strings/,/^$/ {
11333 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11334 # Check for a 64-bit object if we didn't find anything.
11335 if test -z "$aix_libpath"; then
11336 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.
$ac_ext >&5
11345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11346 conftest
$ac_exeext conftest.
$ac_ext
11347 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11349 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11351 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"
11353 if test "$host_cpu" = ia64
; then
11354 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11355 allow_undefined_flag_CXX
="-z nodefs"
11356 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"
11358 # Determine the default libpath from the value encoded in an empty executable.
11359 cat >conftest.
$ac_ext <<_ACEOF
11362 cat confdefs.h
>>conftest.
$ac_ext
11363 cat >>conftest.
$ac_ext <<_ACEOF
11364 /* end confdefs.h. */
11374 rm -f conftest.
$ac_objext conftest
$ac_exeext
11375 if { (ac_try
="$ac_link"
11376 case "(($ac_try" in
11377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11378 *) ac_try_echo=$ac_try;;
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 (eval "$ac_link") 2>conftest.er1
11383 grep -v '^ *+' conftest.er1 >conftest.err
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } && {
11388 test -z "$ac_cxx_werror_flag" ||
11389 test ! -s conftest.err
11390 } && test -s conftest$ac_exeext &&
11391 $as_test_x conftest$ac_exeext; then
11393 lt_aix_libpath_sed='
11394 /Import File Strings/,/^$/ {
11400 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11401 # Check for a 64-bit object if we didn't find anything.
11402 if test -z "$aix_libpath"; then
11403 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11413 conftest$ac_exeext conftest.$ac_ext
11414 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11416 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11417 # Warning - without using the other run time loading flags,
11418 # -berok will link without error, but may produce a broken library.
11419 no_undefined_flag_CXX=' ${wl}-bernotok'
11420 allow_undefined_flag_CXX=' ${wl}-berok'
11421 # Exported symbols can be pulled into shared objects from archives
11422 whole_archive_flag_spec_CXX='$convenience'
11423 archive_cmds_need_lc_CXX=yes
11424 # This is similar to how AIX traditionally builds its shared libraries.
11425 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'
11431 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11432 allow_undefined_flag_CXX=unsupported
11433 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11434 # support --undefined. This deserves some investigation. FIXME
11435 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11442 case $cc_basename in
11444 # FIXME: insert proper C++ library support
11450 cygwin* | mingw* | pw32*)
11451 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11452 # as there is no search path for DLLs.
11453 hardcode_libdir_flag_spec_CXX='-L$libdir'
11454 allow_undefined_flag_CXX=unsupported
11455 always_export_symbols_CXX=no
11456 enable_shared_with_static_runtimes_CXX=yes
11458 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11459 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'
11460 # If the export-symbols file already is a .def file (1st line
11461 # is EXPORTS), use it as is; otherwise, prepend...
11462 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11463 cp $export_symbols $output_objdir/$soname.def;
11465 echo EXPORTS > $output_objdir/$soname.def;
11466 cat $export_symbols >> $output_objdir/$soname.def;
11468 $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'
11473 darwin* | rhapsody*)
11474 archive_cmds_need_lc_CXX=no
11475 hardcode_direct_CXX=no
11476 hardcode_automatic_CXX=yes
11477 hardcode_shlibpath_var_CXX=unsupported
11478 whole_archive_flag_spec_CXX=''
11479 link_all_deplibs_CXX=yes
11480 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11481 if test "$GXX" = yes ; then
11482 output_verbose_link_cmd='echo'
11483 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}"
11484 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11485 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}"
11486 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}"
11487 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11488 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}"
11489 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}"
11492 case $cc_basename in
11494 output_verbose_link_cmd='echo'
11495 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'
11496 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11497 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11498 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}'
11499 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}'
11509 case $cc_basename in
11511 # FIXME: insert proper C++ library support
11515 # Green Hills C++ Compiler
11516 # FIXME: insert proper C++ library support
11520 # FIXME: insert proper C++ library support
11526 # C++ shared libraries reported to be fairly broken before switch to ELF
11530 archive_cmds_need_lc_CXX=no
11532 freebsd* | dragonfly*)
11533 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11540 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11541 hardcode_libdir_separator_CXX=:
11542 export_dynamic_flag_spec_CXX='${wl}-E'
11543 hardcode_direct_CXX=yes
11544 hardcode_minus_L_CXX=yes # Not in the search PATH,
11545 # but as the default
11546 # location of the library.
11548 case $cc_basename in
11550 # FIXME: insert proper C++ library support
11554 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'
11555 # Commands to make compiler produce verbose output that lists
11556 # what "hidden" libraries, object files and flags are used when
11557 # linking a shared library.
11559 # There doesn't appear to be a way to prevent this compiler from
11560 # explicitly linking system object files so we need to strip them
11561 # from the output so that they don't get included in the library
11563 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'
11566 if test "$GXX" = yes; then
11567 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'
11569 # FIXME: insert proper C++ library support
11576 if test $with_gnu_ld = no; then
11577 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11578 hardcode_libdir_separator_CXX=:
11583 export_dynamic_flag_spec_CXX='${wl}-E'
11589 hardcode_direct_CXX=no
11590 hardcode_shlibpath_var_CXX=no
11593 hardcode_direct_CXX=yes
11594 hardcode_minus_L_CXX=yes # Not in the search PATH,
11595 # but as the default
11596 # location of the library.
11600 case $cc_basename in
11602 # FIXME: insert proper C++ library support
11608 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11611 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11614 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11617 # Commands to make compiler produce verbose output that lists
11618 # what "hidden" libraries, object files and flags are used when
11619 # linking a shared library.
11621 # There doesn't appear to be a way to prevent this compiler from
11622 # explicitly linking system object files so we need to strip them
11623 # from the output so that they don't get included in the library
11625 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'
11628 if test "$GXX" = yes; then
11629 if test $with_gnu_ld = no; then
11632 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11635 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11638 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'
11643 # FIXME: insert proper C++ library support
11650 hardcode_direct_CXX=no
11651 hardcode_shlibpath_var_CXX=no
11652 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11653 export_dynamic_flag_spec_CXX='${wl}-E'
11654 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11655 # Instead, shared libraries are loaded at an image base (0x10000000 by
11656 # default) and relocated if they conflict, which is a slow very memory
11657 # consuming and fragmenting process. To avoid this, we pick a random,
11658 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11659 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11660 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'
11661 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'
11664 case $cc_basename in
11667 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'
11669 # Archives containing C++ object files must be created using
11670 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11671 # necessary to make sure instantiated templates are included
11673 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11676 if test "$GXX" = yes; then
11677 if test "$with_gnu_ld" = no; then
11678 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'
11680 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'
11683 link_all_deplibs_CXX=yes
11686 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11687 hardcode_libdir_separator_CXX=:
11689 linux* | k*bsd*-gnu)
11690 case $cc_basename in
11692 # Kuck and Associates, Inc. (KAI) C++ Compiler
11694 # KCC will only create a shared library if the output file
11695 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11696 # to its proper name (with version) after linking.
11697 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'
11698 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'
11699 # Commands to make compiler produce verbose output that lists
11700 # what "hidden" libraries, object files and flags are used when
11701 # linking a shared library.
11703 # There doesn't appear to be a way to prevent this compiler from
11704 # explicitly linking system object files so we need to strip them
11705 # from the output so that they don't get included in the library
11707 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'
11709 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11710 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11712 # Archives containing C++ object files must be created using
11713 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11714 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11719 # version 8.0 and above of icpc choke on multiply defined symbols
11720 # if we add $predep_objects and $postdep_objects, however 7.1 and
11721 # earlier do not add the objects themselves.
11722 case `$CC -V 2>&1` in
11724 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11725 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'
11727 *) # Version 8.0 or newer
11730 ia64
*) tmp_idyn
=' -i_dynamic';;
11732 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 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'
11736 archive_cmds_need_lc_CXX
=no
11737 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11738 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11739 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11742 # Portland Group C++ compiler
11743 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11744 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'
11746 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11747 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11748 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'
11752 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11753 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'
11755 runpath_var
=LD_RUN_PATH
11756 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11757 hardcode_libdir_separator_CXX
=:
11759 # Commands to make compiler produce verbose output that lists
11760 # what "hidden" libraries, object files and flags are used when
11761 # linking a shared library.
11763 # There doesn't appear to be a way to prevent this compiler from
11764 # explicitly linking system object files so we need to strip them
11765 # from the output so that they don't get included in the library
11767 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'
11770 case `$CC -V 2>&1 | sed 5q` in
11773 no_undefined_flag_CXX
=' -zdefs'
11774 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11775 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'
11776 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11777 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'
11779 # Not sure whether something based on
11780 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11782 output_verbose_link_cmd
='echo'
11784 # Archives containing C++ object files must be created using
11785 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11786 # necessary to make sure instantiated templates are included
11788 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11795 # FIXME: insert proper C++ library support
11799 # FIXME: insert proper C++ library support
11803 case $cc_basename in
11805 # FIXME: insert proper C++ library support
11809 # FIXME: insert proper C++ library support
11815 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11816 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11818 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11819 hardcode_direct_CXX
=yes
11820 hardcode_shlibpath_var_CXX
=no
11822 # Workaround some broken pre-1.5 toolchains
11823 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11826 # C++ shared libraries are fairly broken
11830 if test -f /usr
/libexec
/ld.so
; then
11831 hardcode_direct_CXX
=yes
11832 hardcode_shlibpath_var_CXX
=no
11833 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11834 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11835 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11836 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11837 export_dynamic_flag_spec_CXX
='${wl}-E'
11838 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11840 output_verbose_link_cmd
='echo'
11846 case $cc_basename in
11848 # Kuck and Associates, Inc. (KAI) C++ Compiler
11850 # KCC will only create a shared library if the output file
11851 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11852 # to its proper name (with version) after linking.
11853 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'
11855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11856 hardcode_libdir_separator_CXX
=:
11858 # Archives containing C++ object files must be created using
11859 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11860 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11864 # Rational C++ 2.4.1
11865 # FIXME: insert proper C++ library support
11869 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11870 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'
11872 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11873 hardcode_libdir_separator_CXX
=:
11875 # Commands to make compiler produce verbose output that lists
11876 # what "hidden" libraries, object files and flags are used when
11877 # linking a shared library.
11879 # There doesn't appear to be a way to prevent this compiler from
11880 # explicitly linking system object files so we need to strip them
11881 # from the output so that they don't get included in the library
11883 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11886 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11887 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11888 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11890 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11891 hardcode_libdir_separator_CXX
=:
11893 # Commands to make compiler produce verbose output that lists
11894 # what "hidden" libraries, object files and flags are used when
11895 # linking a shared library.
11896 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11899 # FIXME: insert proper C++ library support
11906 case $cc_basename in
11908 # Kuck and Associates, Inc. (KAI) C++ Compiler
11910 # KCC will only create a shared library if the output file
11911 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11912 # to its proper name (with version) after linking.
11913 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'
11915 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11916 hardcode_libdir_separator_CXX
=:
11918 # Archives containing C++ object files must be created using
11919 # the KAI C++ compiler.
11920 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11923 # Rational C++ 2.4.1
11924 # FIXME: insert proper C++ library support
11928 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11929 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'
11930 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11931 echo "-hidden">> $lib.exp~
11932 $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~
11935 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11936 hardcode_libdir_separator_CXX
=:
11938 # Commands to make compiler produce verbose output that lists
11939 # what "hidden" libraries, object files and flags are used when
11940 # linking a shared library.
11942 # There doesn't appear to be a way to prevent this compiler from
11943 # explicitly linking system object files so we need to strip them
11944 # from the output so that they don't get included in the library
11946 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'
11949 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11950 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11951 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'
11953 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11954 hardcode_libdir_separator_CXX
=:
11956 # Commands to make compiler produce verbose output that lists
11957 # what "hidden" libraries, object files and flags are used when
11958 # linking a shared library.
11959 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11962 # FIXME: insert proper C++ library support
11969 # FIXME: insert proper C++ library support
11973 case $cc_basename in
11976 # FIXME: insert proper C++ library support
11981 # FIXME: insert proper C++ library support
11985 # FIXME: insert proper C++ library support
11991 case $cc_basename in
11993 # Sun C++ 4.2, 5.x and Centerline C++
11994 archive_cmds_need_lc_CXX
=yes
11995 no_undefined_flag_CXX
=' -zdefs'
11996 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11997 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11998 $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'
12000 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12001 hardcode_shlibpath_var_CXX
=no
12003 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12005 # The compiler driver will combine and reorder linker options,
12006 # but understands `-z linker_flag'.
12007 # Supported since Solaris 2.6 (maybe 2.5.1?)
12008 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12011 link_all_deplibs_CXX
=yes
12013 output_verbose_link_cmd
='echo'
12015 # Archives containing C++ object files must be created using
12016 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12017 # necessary to make sure instantiated templates are included
12019 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12022 # Green Hills C++ Compiler
12023 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12025 # The C++ compiler must be used to create the archive.
12026 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12029 # GNU C++ compiler with Solaris linker
12030 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12031 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12032 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12033 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12034 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12035 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12037 # Commands to make compiler produce verbose output that lists
12038 # what "hidden" libraries, object files and flags are used when
12039 # linking a shared library.
12040 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12042 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12044 archive_cmds_CXX
='$CC -G -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 -G -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 -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12054 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12056 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12058 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12065 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12066 no_undefined_flag_CXX
='${wl}-z,text'
12067 archive_cmds_need_lc_CXX
=no
12068 hardcode_shlibpath_var_CXX
=no
12069 runpath_var
='LD_RUN_PATH'
12071 case $cc_basename in
12073 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12078 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12082 sysv5
* | sco3.2v5
* | sco5v6
*)
12083 # Note: We can NOT use -z defs as we might desire, because we do not
12084 # link with -lc, and that would cause any symbols used from libc to
12085 # always be unresolved, which means just about no library would
12086 # ever link correctly. If we're not using GNU ld we use -z text
12087 # though, which does catch some bad symbols but isn't as heavy-handed
12089 # For security reasons, it is highly recommended that you always
12090 # use absolute paths for naming shared libraries, and exclude the
12091 # DT_RUNPATH tag from executables and libraries. But doing so
12092 # requires that you compile everything twice, which is a pain.
12093 # So that behaviour is only enabled if SCOABSPATH is set to a
12094 # non-empty value in the environment. Most likely only useful for
12095 # creating official distributions of packages.
12096 # This is a hack until libtool officially supports absolute path
12097 # names for shared libraries.
12098 no_undefined_flag_CXX
='${wl}-z,text'
12099 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12100 archive_cmds_need_lc_CXX
=no
12101 hardcode_shlibpath_var_CXX
=no
12102 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12103 hardcode_libdir_separator_CXX
=':'
12104 link_all_deplibs_CXX
=yes
12105 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12106 runpath_var
='LD_RUN_PATH'
12108 case $cc_basename in
12110 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12111 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12114 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12115 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12120 case $cc_basename in
12122 # NonStop-UX NCC 3.20
12123 # FIXME: insert proper C++ library support
12127 # FIXME: insert proper C++ library support
12133 # FIXME: insert proper C++ library support
12137 # FIXME: insert proper C++ library support
12141 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12142 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12143 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12148 cat > conftest.
$ac_ext <<EOF
12152 Foo (void) { a = 0; }
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>&5
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; then
12163 # Parse the compiler output and extract the necessary
12164 # objects, libraries and library flags.
12166 # Sentinel used to keep track of whether or not we are before
12167 # the conftest object file.
12168 pre_test_object_deps_done
=no
12170 # The `*' in the case matches for architectures that use `case' in
12171 # $output_verbose_cmd can trigger glob expansion during the loop
12172 # eval without this substitution.
12173 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12175 for p
in `eval $output_verbose_link_cmd`; do
12179 # Some compilers place space between "-{L,R}" and the path.
12180 # Remove the space.
12181 if test $p = "-L" \
12182 ||
test $p = "-R"; then
12189 if test "$pre_test_object_deps_done" = no
; then
12192 # Internal compiler library paths should come after those
12193 # provided the user. The postdeps already come after the
12194 # user supplied libs so there is no need to process them.
12195 if test -z "$compiler_lib_search_path_CXX"; then
12196 compiler_lib_search_path_CXX
="${prev}${p}"
12198 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12201 # The "-l" case would never come before the object being
12202 # linked, so don't bother handling this case.
12205 if test -z "$postdeps_CXX"; then
12206 postdeps_CXX
="${prev}${p}"
12208 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12214 # This assumes that the test object file only shows up
12215 # once in the compiler output.
12216 if test "$p" = "conftest.$objext"; then
12217 pre_test_object_deps_done
=yes
12221 if test "$pre_test_object_deps_done" = no
; then
12222 if test -z "$predep_objects_CXX"; then
12223 predep_objects_CXX
="$p"
12225 predep_objects_CXX
="$predep_objects_CXX $p"
12228 if test -z "$postdep_objects_CXX"; then
12229 postdep_objects_CXX
="$p"
12231 postdep_objects_CXX
="$postdep_objects_CXX $p"
12236 *) ;; # Ignore the rest.
12244 echo "libtool.m4: error: problem compiling CXX test program"
12247 $rm -f confest.
$objext
12249 compiler_lib_search_dirs_CXX
=
12250 if test -n "$compiler_lib_search_path_CXX"; then
12251 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12254 # PORTME: override above test on systems where it is broken
12257 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12258 # hack all around it, let's just trust "g++" to DTRT.
12259 predep_objects_CXX
=
12260 postdep_objects_CXX
=
12265 case `$CC -V 2>&1 | sed 5q` in
12269 # The more standards-conforming stlport4 library is
12270 # incompatible with the Cstd library. Avoid specifying
12271 # it if it's in CXXFLAGS. Ignore libCrun as
12272 # -library=stlport4 depends on it.
12273 case " $CXX $CXXFLAGS " in
12274 *" -library=stlport4 "*)
12275 solaris_use_stlport4
=yes
12278 if test "$solaris_use_stlport4" != yes; then
12279 postdeps_CXX
='-library=Cstd -library=Crun'
12286 case $cc_basename in
12288 # The more standards-conforming stlport4 library is
12289 # incompatible with the Cstd library. Avoid specifying
12290 # it if it's in CXXFLAGS. Ignore libCrun as
12291 # -library=stlport4 depends on it.
12292 case " $CXX $CXXFLAGS " in
12293 *" -library=stlport4 "*)
12294 solaris_use_stlport4
=yes
12298 # Adding this requires a known-good setup of shared libraries for
12299 # Sun compiler versions before 5.6, else PIC objects from an old
12300 # archive will be linked into the output, leading to subtle bugs.
12301 if test "$solaris_use_stlport4" != yes; then
12302 postdeps_CXX
='-library=Cstd -library=Crun'
12309 case " $postdeps_CXX " in
12310 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12313 lt_prog_compiler_wl_CXX
=
12314 lt_prog_compiler_pic_CXX
=
12315 lt_prog_compiler_static_CXX
=
12317 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12318 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12320 # C++ specific cases for pic, static, wl, etc.
12321 if test "$GXX" = yes; then
12322 lt_prog_compiler_wl_CXX
='-Wl,'
12323 lt_prog_compiler_static_CXX
='-static'
12327 # All AIX code is PIC.
12328 if test "$host_cpu" = ia64
; then
12329 # AIX 5 now supports IA64 processor
12330 lt_prog_compiler_static_CXX
='-Bstatic'
12334 # FIXME: we need at least 68020 code to build shared libraries, but
12335 # adding the `-m68020' flag to GCC prevents building anything better,
12337 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12339 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12340 # PIC is the default for these OSes.
12342 mingw
* | cygwin
* | os2
* | pw32
*)
12343 # This hack is so that the source file can tell whether it is being
12344 # built for inclusion in a dll (and should export symbols for example).
12345 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12346 # (--disable-auto-import) libraries
12347 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12349 darwin
* | rhapsody
*)
12350 # PIC is the default on this platform
12351 # Common symbols not allowed in MH_DYLIB files
12352 lt_prog_compiler_pic_CXX
='-fno-common'
12355 # DJGPP does not support shared libraries at all
12356 lt_prog_compiler_pic_CXX
=
12359 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12360 # Instead, we relocate shared libraries at runtime.
12363 if test -d /usr
/nec
; then
12364 lt_prog_compiler_pic_CXX
=-Kconform_pic
12368 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12369 # not for PA HP-UX.
12374 lt_prog_compiler_pic_CXX
='-fPIC'
12379 lt_prog_compiler_pic_CXX
='-fPIC'
12385 # All AIX code is PIC.
12386 if test "$host_cpu" = ia64
; then
12387 # AIX 5 now supports IA64 processor
12388 lt_prog_compiler_static_CXX
='-Bstatic'
12390 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12394 case $cc_basename in
12396 # Green Hills C++ Compiler
12397 # _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"
12402 # PIC is the default on this platform
12403 # Common symbols not allowed in MH_DYLIB files
12404 case $cc_basename in
12406 lt_prog_compiler_pic_CXX
='-qnocommon'
12407 lt_prog_compiler_wl_CXX
='-Wl,'
12412 case $cc_basename in
12414 lt_prog_compiler_pic_CXX
='-KPIC'
12417 # Green Hills C++ Compiler
12418 lt_prog_compiler_pic_CXX
='-pic'
12424 freebsd
* | dragonfly
*)
12425 # FreeBSD uses GNU C++
12427 hpux9
* | hpux10
* | hpux11
*)
12428 case $cc_basename in
12430 lt_prog_compiler_wl_CXX
='-Wl,'
12431 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12432 if test "$host_cpu" != ia64
; then
12433 lt_prog_compiler_pic_CXX
='+Z'
12437 lt_prog_compiler_wl_CXX
='-Wl,'
12438 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12444 lt_prog_compiler_pic_CXX
='+Z'
12453 # This is c89, which is MS Visual C++ (no shared libs)
12454 # Anyone wants to do a port?
12456 irix5
* | irix6
* | nonstopux
*)
12457 case $cc_basename in
12459 lt_prog_compiler_wl_CXX
='-Wl,'
12460 lt_prog_compiler_static_CXX
='-non_shared'
12461 # CC pic flag -KPIC is the default.
12467 linux
* | k
*bsd
*-gnu)
12468 case $cc_basename in
12471 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12472 lt_prog_compiler_pic_CXX
='-fPIC'
12476 lt_prog_compiler_wl_CXX
='-Wl,'
12477 lt_prog_compiler_pic_CXX
='-KPIC'
12478 lt_prog_compiler_static_CXX
='-static'
12481 # Portland Group C++ compiler.
12482 lt_prog_compiler_wl_CXX
='-Wl,'
12483 lt_prog_compiler_pic_CXX
='-fpic'
12484 lt_prog_compiler_static_CXX
='-Bstatic'
12488 # Make sure the PIC flag is empty. It appears that all Alpha
12489 # Linux and Compaq Tru64 Unix objects are PIC.
12490 lt_prog_compiler_pic_CXX
=
12491 lt_prog_compiler_static_CXX
='-non_shared'
12494 case `$CC -V 2>&1 | sed 5q` in
12497 lt_prog_compiler_pic_CXX
='-KPIC'
12498 lt_prog_compiler_static_CXX
='-Bstatic'
12499 lt_prog_compiler_wl_CXX
='-Qoption ld '
12510 case $cc_basename in
12512 lt_prog_compiler_pic_CXX
='-W c,exportall'
12520 osf3
* | osf4
* | osf5
*)
12521 case $cc_basename in
12523 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12526 # Rational C++ 2.4.1
12527 lt_prog_compiler_pic_CXX
='-pic'
12530 # Digital/Compaq C++
12531 lt_prog_compiler_wl_CXX
='-Wl,'
12532 # Make sure the PIC flag is empty. It appears that all Alpha
12533 # Linux and Compaq Tru64 Unix objects are PIC.
12534 lt_prog_compiler_pic_CXX
=
12535 lt_prog_compiler_static_CXX
='-non_shared'
12544 case $cc_basename in
12546 # Sun C++ 4.2, 5.x and Centerline C++
12547 lt_prog_compiler_pic_CXX
='-KPIC'
12548 lt_prog_compiler_static_CXX
='-Bstatic'
12549 lt_prog_compiler_wl_CXX
='-Qoption ld '
12552 # Green Hills C++ Compiler
12553 lt_prog_compiler_pic_CXX
='-PIC'
12560 case $cc_basename in
12563 lt_prog_compiler_pic_CXX
='-pic'
12564 lt_prog_compiler_static_CXX
='-Bstatic'
12568 lt_prog_compiler_pic_CXX
='-pic'
12575 case $cc_basename in
12577 # NonStop-UX NCC 3.20
12578 lt_prog_compiler_pic_CXX
='-KPIC'
12584 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12585 case $cc_basename in
12587 lt_prog_compiler_wl_CXX
='-Wl,'
12588 lt_prog_compiler_pic_CXX
='-KPIC'
12589 lt_prog_compiler_static_CXX
='-Bstatic'
12596 lt_prog_compiler_can_build_shared_CXX
=no
12601 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12602 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12605 # Check to make sure the PIC flag actually works.
12607 if test -n "$lt_prog_compiler_pic_CXX"; then
12609 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12610 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12611 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 lt_cv_prog_compiler_pic_works_CXX
=no
12615 ac_outfile
=conftest.
$ac_objext
12616 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12617 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12618 # Insert the option either (1) after the last *FLAGS variable, or
12619 # (2) before a word containing "conftest.", or (3) at the end.
12620 # Note that $ac_compile itself does not contain backslashes and begins
12621 # with a dollar sign (not a hyphen), so the echo should work correctly.
12622 # The option is referenced via a variable to avoid confusing sed.
12623 lt_compile
=`echo "$ac_compile" | $SED \
12624 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12625 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12626 -e 's:$: $lt_compiler_flag:'`
12627 (eval echo "\"\$as_me:12627: $lt_compile\"" >&5)
12628 (eval "$lt_compile" 2>conftest.err
)
12630 cat conftest.err
>&5
12631 echo "$as_me:12631: \$? = $ac_status" >&5
12632 if (exit $ac_status) && test -s "$ac_outfile"; then
12633 # The compiler can only warn and ignore the option if not recognized
12634 # So say no if there are warnings other than the usual output.
12635 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12636 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12637 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12638 lt_cv_prog_compiler_pic_works_CXX
=yes
12644 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12645 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12647 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12648 case $lt_prog_compiler_pic_CXX in
12650 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12653 lt_prog_compiler_pic_CXX
=
12654 lt_prog_compiler_can_build_shared_CXX
=no
12659 # For platforms which do not support PIC, -DPIC is meaningless:
12661 lt_prog_compiler_pic_CXX
=
12664 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12669 # Check to make sure the static flag actually works.
12671 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12672 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12673 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12674 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12675 echo $ECHO_N "(cached) $ECHO_C" >&6
12677 lt_cv_prog_compiler_static_works_CXX
=no
12678 save_LDFLAGS
="$LDFLAGS"
12679 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12680 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12681 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12682 # The linker can only warn and ignore the option if not recognized
12683 # So say no if there are warnings
12684 if test -s conftest.err
; then
12685 # Append any errors to the config.log.
12686 cat conftest.err
1>&5
12687 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12688 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12689 if diff conftest.exp conftest.er2
>/dev
/null
; then
12690 lt_cv_prog_compiler_static_works_CXX
=yes
12693 lt_cv_prog_compiler_static_works_CXX
=yes
12697 LDFLAGS
="$save_LDFLAGS"
12700 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12701 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
12703 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12706 lt_prog_compiler_static_CXX
=
12710 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12711 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12712 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 lt_cv_prog_compiler_c_o_CXX
=no
12716 $rm -r conftest
2>/dev
/null
12720 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12722 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12723 # Insert the option either (1) after the last *FLAGS variable, or
12724 # (2) before a word containing "conftest.", or (3) at the end.
12725 # Note that $ac_compile itself does not contain backslashes and begins
12726 # with a dollar sign (not a hyphen), so the echo should work correctly.
12727 lt_compile
=`echo "$ac_compile" | $SED \
12728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12730 -e 's:$: $lt_compiler_flag:'`
12731 (eval echo "\"\$as_me:12731: $lt_compile\"" >&5)
12732 (eval "$lt_compile" 2>out
/conftest.err
)
12734 cat out
/conftest.err
>&5
12735 echo "$as_me:12735: \$? = $ac_status" >&5
12736 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12738 # The compiler can only warn and ignore the option if not recognized
12739 # So say no if there are warnings
12740 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12741 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12742 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12743 lt_cv_prog_compiler_c_o_CXX
=yes
12748 # SGI C++ compiler will create directory out/ii_files/ for
12749 # template instantiation
12750 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12751 $rm out
/* && rmdir out
12757 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12758 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12761 hard_links
="nottested"
12762 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12763 # do not overwrite the value of need_locks provided by the user
12764 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12765 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12768 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12770 ln conftest.a conftest.b
2>&5 || hard_links
=no
12771 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12772 { echo "$as_me:$LINENO: result: $hard_links" >&5
12773 echo "${ECHO_T}$hard_links" >&6; }
12774 if test "$hard_links" = no
; then
12775 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12776 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12783 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12784 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12786 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12789 # If we're using GNU nm, then we don't want the "-C" option.
12790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12791 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12792 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'
12794 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'
12798 export_symbols_cmds_CXX
="$ltdll_cmds"
12801 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'
12804 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12807 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12809 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12810 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12811 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12814 # Do we need to explicitly link libc?
12816 case "x$archive_cmds_need_lc_CXX" in
12818 # Assume -lc should be added
12819 archive_cmds_need_lc_CXX
=yes
12821 if test "$enable_shared" = yes && test "$GCC" = yes; then
12822 case $archive_cmds_CXX in
12824 # FIXME: we may have to deal with multi-command sequences.
12827 # Test whether the compiler implicitly links with -lc since on some
12828 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12829 # to ld, don't add -lc before -lgcc.
12830 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12831 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12836 (eval $ac_compile) 2>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } 2>conftest.err
; then
12842 libobjs
=conftest.
$ac_objext
12844 wl
=$lt_prog_compiler_wl_CXX
12845 pic_flag
=$lt_prog_compiler_pic_CXX
12851 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12852 allow_undefined_flag_CXX
=
12853 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12854 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }
12859 archive_cmds_need_lc_CXX
=no
12861 archive_cmds_need_lc_CXX
=yes
12863 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12865 cat conftest.err
1>&5
12868 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12869 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12876 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12877 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12878 library_names_spec
=
12879 libname_spec
='lib$name'
12883 postuninstall_cmds
=
12887 shlibpath_overrides_runpath
=unknown
12889 dynamic_linker
="$host_os ld.so"
12890 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12892 need_lib_prefix
=unknown
12893 hardcode_into_libs
=no
12895 # when you set need_version to no, make sure it does not cause -set_version
12896 # flags to be left without arguments
12897 need_version
=unknown
12902 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12903 shlibpath_var
=LIBPATH
12905 # AIX 3 has no versioning support, so we append a major version to the name.
12906 soname_spec
='${libname}${release}${shared_ext}$major'
12913 hardcode_into_libs
=yes
12914 if test "$host_cpu" = ia64
; then
12915 # AIX 5 supports IA64
12916 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12917 shlibpath_var
=LD_LIBRARY_PATH
12919 # With GCC up to 2.95.x, collect2 would create an import file
12920 # for dependence libraries. The import file would start with
12921 # the line `#! .'. This would cause the generated library to
12922 # depend on `.', always an invalid library. This was fixed in
12923 # development snapshots of GCC prior to 3.0.
12925 aix4 | aix4.
[01] | aix4.
[01].
*)
12926 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12928 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12931 can_build_shared
=no
12935 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12936 # soname into executable. Probably we can add versioning support to
12937 # collect2, so additional links can be useful in future.
12938 if test "$aix_use_runtimelinking" = yes; then
12939 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12940 # instead of lib<name>.a to let people know that these are not
12941 # typical AIX shared libraries.
12942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12944 # We preserve .a as extension for shared libraries through AIX4.2
12945 # and later when we are not doing run time linking.
12946 library_names_spec
='${libname}${release}.a $libname.a'
12947 soname_spec
='${libname}${release}${shared_ext}$major'
12949 shlibpath_var
=LIBPATH
12954 library_names_spec
='$libname.ixlibrary $libname.a'
12955 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12956 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'
12960 library_names_spec
='${libname}${shared_ext}'
12961 dynamic_linker
="$host_os ld.so"
12962 shlibpath_var
=LIBRARY_PATH
12968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12969 soname_spec
='${libname}${release}${shared_ext}$major'
12970 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12971 shlibpath_var
=LD_LIBRARY_PATH
12972 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12973 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12974 # the default ld.so.conf also contains /usr/contrib/lib and
12975 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12976 # libtool to hard-code these into programs
12979 cygwin
* | mingw
* | pw32
*)
12980 version_type
=windows
12985 case $GCC,$host_os in
12986 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12987 library_names_spec
='$libname.dll.a'
12988 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12989 postinstall_cmds
='base_file=`basename \${file}`~
12990 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12991 dldir=$destdir/`dirname \$dlpath`~
12992 test -d \$dldir || mkdir -p \$dldir~
12993 $install_prog $dir/$dlname \$dldir/$dlname~
12994 chmod a+x \$dldir/$dlname'
12995 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12996 dlpath=$dir/\$dldll~
12998 shlibpath_overrides_runpath
=yes
13002 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13003 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13004 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13007 # MinGW DLLs use traditional 'lib' prefix
13008 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13009 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13010 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13011 # It is most probably a Windows format PATH printed by
13012 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13013 # path with ; separators, and with drive letters. We can handle the
13014 # drive letters (cygwin fileutils understands them), so leave them,
13015 # especially as we might pass files found there to a mingw objdump,
13016 # which wouldn't understand a cygwinified path. Ahh.
13017 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13019 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13023 # pw32 DLLs use 'pw' prefix rather than 'lib'
13024 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13030 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13033 dynamic_linker
='Win32 ld.exe'
13034 # FIXME: first we should search . and the directory the executable is in
13038 darwin
* | rhapsody
*)
13039 dynamic_linker
="$host_os dyld"
13040 version_type
=darwin
13043 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13044 soname_spec
='${libname}${release}${major}$shared_ext'
13045 shlibpath_overrides_runpath
=yes
13046 shlibpath_var
=DYLD_LIBRARY_PATH
13047 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13049 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13057 soname_spec
='${libname}${release}${shared_ext}$major'
13058 shlibpath_var
=LD_LIBRARY_PATH
13065 freebsd
* | dragonfly
*)
13066 # DragonFly does not have aout. When/if they implement a new
13067 # versioning mechanism, adjust this.
13068 if test -x /usr
/bin
/objformat
; then
13069 objformat
=`/usr/bin/objformat`
13072 freebsd
[123]*) objformat
=aout
;;
13073 *) objformat
=elf
;;
13076 version_type
=freebsd-
$objformat
13077 case $version_type in
13079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13084 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13088 shlibpath_var
=LD_LIBRARY_PATH
13091 shlibpath_overrides_runpath
=yes
13093 freebsd3.
[01]* | freebsdelf3.
[01]*)
13094 shlibpath_overrides_runpath
=yes
13095 hardcode_into_libs
=yes
13097 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13098 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13099 shlibpath_overrides_runpath
=no
13100 hardcode_into_libs
=yes
13102 *) # from 4.6 on, and DragonFly
13103 shlibpath_overrides_runpath
=yes
13104 hardcode_into_libs
=yes
13113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13114 soname_spec
='${libname}${release}${shared_ext}$major'
13115 shlibpath_var
=LD_LIBRARY_PATH
13116 hardcode_into_libs
=yes
13119 hpux9
* | hpux10
* | hpux11
*)
13120 # Give a soname corresponding to the major version so that dld.sl refuses to
13121 # link against other versions.
13128 hardcode_into_libs
=yes
13129 dynamic_linker
="$host_os dld.so"
13130 shlibpath_var
=LD_LIBRARY_PATH
13131 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13133 soname_spec
='${libname}${release}${shared_ext}$major'
13134 if test "X$HPUX_IA64_MODE" = X32
; then
13135 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13137 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13139 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13143 hardcode_into_libs
=yes
13144 dynamic_linker
="$host_os dld.sl"
13145 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13146 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148 soname_spec
='${libname}${release}${shared_ext}$major'
13149 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13150 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13154 dynamic_linker
="$host_os dld.sl"
13155 shlibpath_var
=SHLIB_PATH
13156 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13158 soname_spec
='${libname}${release}${shared_ext}$major'
13161 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13162 postinstall_cmds
='chmod 555 $lib'
13169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13170 soname_spec
='${libname}${release}${shared_ext}$major'
13171 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13172 shlibpath_var
=LD_LIBRARY_PATH
13173 shlibpath_overrides_runpath
=no
13174 hardcode_into_libs
=yes
13177 irix5
* | irix6
* | nonstopux
*)
13179 nonstopux
*) version_type
=nonstopux
;;
13181 if test "$lt_cv_prog_gnu_ld" = yes; then
13189 soname_spec
='${libname}${release}${shared_ext}$major'
13190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13192 irix5
* | nonstopux
*)
13193 libsuff
= shlibsuff
=
13196 case $LD in # libtool.m4 will add one of these switches to LD
13197 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13198 libsuff
= shlibsuff
= libmagic
=32-bit;;
13199 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13200 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13201 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13202 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13203 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13207 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13208 shlibpath_overrides_runpath
=no
13209 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13210 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13211 hardcode_into_libs
=yes
13214 # No shared lib support for Linux oldld, aout, or coff.
13215 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13219 # This must be Linux ELF.
13220 linux
* | k
*bsd
*-gnu)
13224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13225 soname_spec
='${libname}${release}${shared_ext}$major'
13226 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13227 shlibpath_var
=LD_LIBRARY_PATH
13228 shlibpath_overrides_runpath
=no
13229 # This implies no fast_install, which is unacceptable.
13230 # Some rework will be needed to allow for fast_install
13231 # before this can be enabled.
13232 hardcode_into_libs
=yes
13234 # Append ld.so.conf contents to the search path
13235 if test -f /etc
/ld.so.conf
; then
13236 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' ' '`
13237 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13240 # We used to test for /lib/ld.so.1 and disable shared libraries on
13241 # powerpc, because MkLinux only supported shared libraries with the
13242 # GNU dynamic linker. Since this was broken with cross compilers,
13243 # most powerpc-linux boxes support dynamic linking these days and
13244 # people can always --disable-shared, the test was removed, and we
13245 # assume the GNU/Linux dynamic linker is in use.
13246 dynamic_linker
='GNU/Linux ld.so'
13253 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13255 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13256 dynamic_linker
='NetBSD (a.out) ld.so'
13258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13259 soname_spec
='${libname}${release}${shared_ext}$major'
13260 dynamic_linker
='NetBSD ld.elf_so'
13262 shlibpath_var
=LD_LIBRARY_PATH
13263 shlibpath_overrides_runpath
=yes
13264 hardcode_into_libs
=yes
13269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13270 shlibpath_var
=LD_LIBRARY_PATH
13271 shlibpath_overrides_runpath
=yes
13278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279 soname_spec
='${libname}${release}${shared_ext}$major'
13280 shlibpath_var
=LD_LIBRARY_PATH
13281 shlibpath_overrides_runpath
=yes
13286 sys_lib_dlsearch_path_spec
="/usr/lib"
13288 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13290 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13291 *) need_version
=no
;;
13293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13294 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13295 shlibpath_var
=LD_LIBRARY_PATH
13296 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13298 openbsd2.
[89] | openbsd2.
[89].
*)
13299 shlibpath_overrides_runpath
=no
13302 shlibpath_overrides_runpath
=yes
13306 shlibpath_overrides_runpath
=yes
13311 libname_spec
='$name'
13314 library_names_spec
='$libname${shared_ext} $libname.a'
13315 dynamic_linker
='OS/2 ld.exe'
13316 shlibpath_var
=LIBPATH
13319 osf3
* | osf4
* | osf5
*)
13323 soname_spec
='${libname}${release}${shared_ext}$major'
13324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13325 shlibpath_var
=LD_LIBRARY_PATH
13326 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13327 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13339 soname_spec
='${libname}${release}${shared_ext}$major'
13340 shlibpath_var
=LD_LIBRARY_PATH
13341 shlibpath_overrides_runpath
=yes
13342 hardcode_into_libs
=yes
13343 # ldd complains unless libraries are executable
13344 postinstall_cmds
='chmod +x $lib'
13349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13350 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13351 shlibpath_var
=LD_LIBRARY_PATH
13352 shlibpath_overrides_runpath
=yes
13353 if test "$with_gnu_ld" = yes; then
13361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13362 soname_spec
='${libname}${release}${shared_ext}$major'
13363 shlibpath_var
=LD_LIBRARY_PATH
13364 case $host_vendor in
13366 shlibpath_overrides_runpath
=no
13368 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13369 runpath_var
=LD_RUN_PATH
13377 shlibpath_overrides_runpath
=no
13378 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13384 if test -d /usr
/nec
;then
13386 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13387 soname_spec
='$libname${shared_ext}.$major'
13388 shlibpath_var
=LD_LIBRARY_PATH
13392 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13393 version_type
=freebsd-elf
13396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13397 soname_spec
='${libname}${release}${shared_ext}$major'
13398 shlibpath_var
=LD_LIBRARY_PATH
13399 hardcode_into_libs
=yes
13400 if test "$with_gnu_ld" = yes; then
13401 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13402 shlibpath_overrides_runpath
=no
13404 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13405 shlibpath_overrides_runpath
=yes
13408 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13412 sys_lib_dlsearch_path_spec
='/usr/lib'
13417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13418 soname_spec
='${libname}${release}${shared_ext}$major'
13419 shlibpath_var
=LD_LIBRARY_PATH
13426 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13427 echo "${ECHO_T}$dynamic_linker" >&6; }
13428 test "$dynamic_linker" = no
&& can_build_shared
=no
13430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13431 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13436 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13437 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13438 echo $ECHO_N "(cached) $ECHO_C" >&6
13440 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13443 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13445 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13446 if test "$GCC" = yes; then
13447 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13450 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13451 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13452 hardcode_action_CXX
=
13453 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13454 test -n "$runpath_var_CXX" || \
13455 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13457 # We can hardcode non-existant directories.
13458 if test "$hardcode_direct_CXX" != no
&&
13459 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13460 # have to relink, otherwise we might link with an installed library
13461 # when we should be linking with a yet-to-be-installed one
13462 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13463 test "$hardcode_minus_L_CXX" != no
; then
13464 # Linking always hardcodes the temporary library directory.
13465 hardcode_action_CXX
=relink
13467 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13468 hardcode_action_CXX
=immediate
13471 # We cannot hardcode anything, or else we can only hardcode existing
13473 hardcode_action_CXX
=unsupported
13475 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13476 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13478 if test "$hardcode_action_CXX" = relink
; then
13479 # Fast installation is not supported
13480 enable_fast_install
=no
13481 elif test "$shlibpath_overrides_runpath" = yes ||
13482 test "$enable_shared" = no
; then
13483 # Fast installation is not necessary
13484 enable_fast_install
=needless
13488 # The else clause should only fire when bootstrapping the
13489 # libtool distribution, otherwise you forgot to ship ltmain.sh
13490 # with your package, and you will get complaints that there are
13491 # no rules to generate ltmain.sh.
13492 if test -f "$ltmain"; then
13493 # See if we are running on zsh, and set the options which allow our commands through
13494 # without removal of \ escapes.
13495 if test -n "${ZSH_VERSION+set}" ; then
13496 setopt NO_GLOB_SUBST
13498 # Now quote all the things that may contain metacharacters while being
13499 # careful not to overquote the AC_SUBSTed values. We take copies of the
13500 # variables and quote the copies for generation of the libtool script.
13501 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13503 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13504 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13505 deplibs_check_method reload_flag reload_cmds need_locks \
13506 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13507 lt_cv_sys_global_symbol_to_c_name_address \
13508 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13509 old_postinstall_cmds old_postuninstall_cmds \
13513 lt_prog_compiler_wl_CXX \
13514 lt_prog_compiler_pic_CXX \
13515 lt_prog_compiler_static_CXX \
13516 lt_prog_compiler_no_builtin_flag_CXX \
13517 export_dynamic_flag_spec_CXX \
13518 thread_safe_flag_spec_CXX \
13519 whole_archive_flag_spec_CXX \
13520 enable_shared_with_static_runtimes_CXX \
13521 old_archive_cmds_CXX \
13522 old_archive_from_new_cmds_CXX \
13523 predep_objects_CXX \
13524 postdep_objects_CXX \
13527 compiler_lib_search_path_CXX \
13528 compiler_lib_search_dirs_CXX \
13530 archive_expsym_cmds_CXX \
13531 postinstall_cmds_CXX \
13532 postuninstall_cmds_CXX \
13533 old_archive_from_expsyms_cmds_CXX \
13534 allow_undefined_flag_CXX \
13535 no_undefined_flag_CXX \
13536 export_symbols_cmds_CXX \
13537 hardcode_libdir_flag_spec_CXX \
13538 hardcode_libdir_flag_spec_ld_CXX \
13539 hardcode_libdir_separator_CXX \
13540 hardcode_automatic_CXX \
13542 module_expsym_cmds_CXX \
13543 lt_cv_prog_compiler_c_o_CXX \
13544 fix_srcfile_path_CXX \
13545 exclude_expsyms_CXX \
13546 include_expsyms_CXX
; do
13549 old_archive_cmds_CXX | \
13550 old_archive_from_new_cmds_CXX | \
13551 archive_cmds_CXX | \
13552 archive_expsym_cmds_CXX | \
13553 module_cmds_CXX | \
13554 module_expsym_cmds_CXX | \
13555 old_archive_from_expsyms_cmds_CXX | \
13556 export_symbols_cmds_CXX | \
13557 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13558 postinstall_cmds | postuninstall_cmds | \
13559 old_postinstall_cmds | old_postuninstall_cmds | \
13560 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13561 # Double-quote double-evaled strings.
13562 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13565 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13571 *'\$0 --fallback-echo"')
13572 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13578 cat <<__EOF__ >> "$cfgfile"
13579 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13581 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13583 # Shell to use when invoking shell scripts.
13586 # Whether or not to build shared libraries.
13587 build_libtool_libs=$enable_shared
13589 # Whether or not to build static libraries.
13590 build_old_libs=$enable_static
13592 # Whether or not to add -lc for building shared libraries.
13593 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13595 # Whether or not to disallow shared libs when runtime libs are static
13596 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13598 # Whether or not to optimize for fast installation.
13599 fast_install=$enable_fast_install
13602 host_alias=$host_alias
13606 # The build system.
13607 build_alias=$build_alias
13611 # An echo program that does not interpret backslashes.
13616 AR_FLAGS=$lt_AR_FLAGS
13621 # LTCC compiler flags.
13622 LTCFLAGS=$lt_LTCFLAGS
13624 # A language-specific compiler.
13625 CC=$lt_compiler_CXX
13627 # Is the compiler the GNU C compiler?
13633 # The linker used to build libraries.
13636 # Whether we need hard or soft links.
13639 # A BSD-compatible nm program.
13642 # A symbol stripping program
13645 # Used to examine libraries when file_magic_cmd begins "file"
13646 MAGIC_CMD=$MAGIC_CMD
13648 # Used on cygwin: DLL creation program.
13651 # Used on cygwin: object dumper.
13654 # Used on cygwin: assembler.
13657 # The name of the directory that contains temporary libtool files.
13660 # How to create reloadable object files.
13661 reload_flag=$lt_reload_flag
13662 reload_cmds=$lt_reload_cmds
13664 # How to pass a linker flag through the compiler.
13665 wl=$lt_lt_prog_compiler_wl_CXX
13667 # Object file suffix (normally "o").
13668 objext="$ac_objext"
13670 # Old archive suffix (normally "a").
13673 # Shared library suffix (normally ".so").
13674 shrext_cmds='$shrext_cmds'
13676 # Executable file suffix (normally "").
13679 # Additional compiler flags for building library objects.
13680 pic_flag=$lt_lt_prog_compiler_pic_CXX
13683 # What is the maximum length of a command?
13684 max_cmd_len=$lt_cv_sys_max_cmd_len
13686 # Does compiler simultaneously support -c and -o options?
13687 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13689 # Must we lock files when doing compilation?
13690 need_locks=$lt_need_locks
13692 # Do we need the lib prefix for modules?
13693 need_lib_prefix=$need_lib_prefix
13695 # Do we need a version for libraries?
13696 need_version=$need_version
13698 # Whether dlopen is supported.
13699 dlopen_support=$enable_dlopen
13701 # Whether dlopen of programs is supported.
13702 dlopen_self=$enable_dlopen_self
13704 # Whether dlopen of statically linked programs is supported.
13705 dlopen_self_static=$enable_dlopen_self_static
13707 # Compiler flag to prevent dynamic linking.
13708 link_static_flag=$lt_lt_prog_compiler_static_CXX
13710 # Compiler flag to turn off builtin functions.
13711 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13713 # Compiler flag to allow reflexive dlopens.
13714 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13716 # Compiler flag to generate shared objects directly from archives.
13717 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13719 # Compiler flag to generate thread-safe objects.
13720 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13722 # Library versioning type.
13723 version_type=$version_type
13725 # Format of library name prefix.
13726 libname_spec=$lt_libname_spec
13728 # List of archive names. First name is the real one, the rest are links.
13729 # The last name is the one that the linker finds with -lNAME.
13730 library_names_spec=$lt_library_names_spec
13732 # The coded name of the library, if different from the real name.
13733 soname_spec=$lt_soname_spec
13735 # Commands used to build and install an old-style archive.
13737 old_archive_cmds=$lt_old_archive_cmds_CXX
13738 old_postinstall_cmds=$lt_old_postinstall_cmds
13739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13741 # Create an old-style archive from a shared archive.
13742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13744 # Create a temporary old-style archive to link instead of a shared archive.
13745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13747 # Commands used to build and install a shared archive.
13748 archive_cmds=$lt_archive_cmds_CXX
13749 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13750 postinstall_cmds=$lt_postinstall_cmds
13751 postuninstall_cmds=$lt_postuninstall_cmds
13753 # Commands used to build a loadable module (assumed same as above if empty)
13754 module_cmds=$lt_module_cmds_CXX
13755 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13757 # Commands to strip libraries.
13758 old_striplib=$lt_old_striplib
13759 striplib=$lt_striplib
13761 # Dependencies to place before the objects being linked to create a
13763 predep_objects=$lt_predep_objects_CXX
13765 # Dependencies to place after the objects being linked to create a
13767 postdep_objects=$lt_postdep_objects_CXX
13769 # Dependencies to place before the objects being linked to create a
13771 predeps=$lt_predeps_CXX
13773 # Dependencies to place after the objects being linked to create a
13775 postdeps=$lt_postdeps_CXX
13777 # The directories searched by this compiler when creating a shared
13779 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
13781 # The library search path used internally by the compiler when linking
13782 # a shared library.
13783 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13785 # Method to check whether dependent libraries are shared objects.
13786 deplibs_check_method=$lt_deplibs_check_method
13788 # Command to use when deplibs_check_method == file_magic.
13789 file_magic_cmd=$lt_file_magic_cmd
13791 # Flag that allows shared libraries with undefined symbols to be built.
13792 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13794 # Flag that forces no undefined symbols.
13795 no_undefined_flag=$lt_no_undefined_flag_CXX
13797 # Commands used to finish a libtool library installation in a directory.
13798 finish_cmds=$lt_finish_cmds
13800 # Same as above, but a single script fragment to be evaled but not shown.
13801 finish_eval=$lt_finish_eval
13803 # Take the output of nm and produce a listing of raw symbols and C names.
13804 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13806 # Transform the output of nm in a proper C declaration
13807 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13809 # Transform the output of nm in a C name address pair
13810 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13812 # This is the shared library runtime path variable.
13813 runpath_var=$runpath_var
13815 # This is the shared library path variable.
13816 shlibpath_var=$shlibpath_var
13818 # Is shlibpath searched before the hard-coded library search path?
13819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13821 # How to hardcode a shared library path into an executable.
13822 hardcode_action=$hardcode_action_CXX
13824 # Whether we should hardcode library paths into libraries.
13825 hardcode_into_libs=$hardcode_into_libs
13827 # Flag to hardcode \$libdir into a binary during linking.
13828 # This must work even if \$libdir does not exist.
13829 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13831 # If ld is used when linking, flag to hardcode \$libdir into
13832 # a binary during linking. This must work even if \$libdir does
13834 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13836 # Whether we need a single -rpath flag with a separated argument.
13837 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13839 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13840 # resulting binary.
13841 hardcode_direct=$hardcode_direct_CXX
13843 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13844 # resulting binary.
13845 hardcode_minus_L=$hardcode_minus_L_CXX
13847 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13848 # the resulting binary.
13849 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13851 # Set to yes if building a shared library automatically hardcodes DIR into the library
13852 # and all subsequent libraries and executables linked against it.
13853 hardcode_automatic=$hardcode_automatic_CXX
13855 # Variables whose values should be saved in libtool wrapper scripts and
13856 # restored at relink time.
13857 variables_saved_for_relink="$variables_saved_for_relink"
13859 # Whether libtool must link a program against all its dependency libraries.
13860 link_all_deplibs=$link_all_deplibs_CXX
13862 # Compile-time system search path for libraries
13863 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13865 # Run-time system search path for libraries
13866 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13868 # Fix the shell variable \$srcfile for the compiler.
13869 fix_srcfile_path=$lt_fix_srcfile_path
13871 # Set to yes if exported symbols are required.
13872 always_export_symbols=$always_export_symbols_CXX
13874 # The commands to list exported symbols.
13875 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13877 # The commands to extract the exported symbol list from a shared archive.
13878 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13880 # Symbols that should not be listed in the preloaded symbols.
13881 exclude_expsyms=$lt_exclude_expsyms_CXX
13883 # Symbols that must always be exported.
13884 include_expsyms=$lt_include_expsyms_CXX
13886 # ### END LIBTOOL TAG CONFIG: $tagname
13892 # If there is no Makefile yet, we rely on a make rule to execute
13893 # `config.status --recheck' to rerun these tests and create the
13894 # libtool script then.
13895 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13896 if test -f "$ltmain_in"; then
13897 test -f Makefile
&& make "$ltmain"
13903 ac_cpp
='$CPP $CPPFLAGS'
13904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13912 with_gnu_ldcxx
=$with_gnu_ld
13913 with_gnu_ld
=$lt_save_with_gnu_ld
13914 lt_cv_path_LDCXX
=$lt_cv_path_LD
13915 lt_cv_path_LD
=$lt_save_path_LD
13916 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13917 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13925 if test -n "$F77" && test "X$F77" != "Xno"; then
13928 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13929 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13930 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13933 archive_cmds_need_lc_F77
=no
13934 allow_undefined_flag_F77
=
13935 always_export_symbols_F77
=no
13936 archive_expsym_cmds_F77
=
13937 export_dynamic_flag_spec_F77
=
13938 hardcode_direct_F77
=no
13939 hardcode_libdir_flag_spec_F77
=
13940 hardcode_libdir_flag_spec_ld_F77
=
13941 hardcode_libdir_separator_F77
=
13942 hardcode_minus_L_F77
=no
13943 hardcode_automatic_F77
=no
13945 module_expsym_cmds_F77
=
13946 link_all_deplibs_F77
=unknown
13947 old_archive_cmds_F77
=$old_archive_cmds
13948 no_undefined_flag_F77
=
13949 whole_archive_flag_spec_F77
=
13950 enable_shared_with_static_runtimes_F77
=no
13952 # Source file extension for f77 test sources.
13955 # Object file extension for compiled f77 test sources.
13959 # Code to be used in simple compile tests
13960 lt_simple_compile_test_code
="\
13966 # Code to be used in simple link tests
13967 lt_simple_link_test_code
="\
13972 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13974 # If no C compiler was specified, use CC.
13977 # If no C compiler flags were specified, use CFLAGS.
13978 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13980 # Allow CC to be a program name with arguments.
13984 # save warnings/boilerplate of simple test code
13985 ac_outfile
=conftest.
$ac_objext
13986 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13987 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13988 _lt_compiler_boilerplate
=`cat conftest.err`
13991 ac_outfile
=conftest.
$ac_objext
13992 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13993 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13994 _lt_linker_boilerplate
=`cat conftest.err`
13998 # Allow CC to be a program name with arguments.
14003 for cc_temp
in $compiler""; do
14005 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14006 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14011 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14014 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14015 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14016 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14017 echo "${ECHO_T}$can_build_shared" >&6; }
14019 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14020 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14021 test "$can_build_shared" = "no" && enable_shared
=no
14023 # On AIX, shared libraries and static libraries use the same namespace, and
14024 # are all built from PIC.
14027 test "$enable_shared" = yes && enable_static
=no
14028 if test -n "$RANLIB"; then
14029 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14030 postinstall_cmds
='$RANLIB $lib'
14034 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14035 test "$enable_shared" = yes && enable_static
=no
14039 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14040 echo "${ECHO_T}$enable_shared" >&6; }
14042 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14043 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14044 # Make sure either enable_shared or enable_static is yes.
14045 test "$enable_shared" = yes || enable_static
=yes
14046 { echo "$as_me:$LINENO: result: $enable_static" >&5
14047 echo "${ECHO_T}$enable_static" >&6; }
14052 lt_prog_compiler_wl_F77
=
14053 lt_prog_compiler_pic_F77
=
14054 lt_prog_compiler_static_F77
=
14056 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14057 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14059 if test "$GCC" = yes; then
14060 lt_prog_compiler_wl_F77
='-Wl,'
14061 lt_prog_compiler_static_F77
='-static'
14065 # All AIX code is PIC.
14066 if test "$host_cpu" = ia64
; then
14067 # AIX 5 now supports IA64 processor
14068 lt_prog_compiler_static_F77
='-Bstatic'
14073 # FIXME: we need at least 68020 code to build shared libraries, but
14074 # adding the `-m68020' flag to GCC prevents building anything better,
14076 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14079 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14080 # PIC is the default for these OSes.
14083 mingw
* | cygwin
* | pw32
* | os2
*)
14084 # This hack is so that the source file can tell whether it is being
14085 # built for inclusion in a dll (and should export symbols for example).
14086 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14087 # (--disable-auto-import) libraries
14088 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14091 darwin
* | rhapsody
*)
14092 # PIC is the default on this platform
14093 # Common symbols not allowed in MH_DYLIB files
14094 lt_prog_compiler_pic_F77
='-fno-common'
14098 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14099 # Instead, we relocate shared libraries at runtime.
14103 # Just because we use GCC doesn't mean we suddenly get shared libraries
14104 # on systems that don't support them.
14105 lt_prog_compiler_can_build_shared_F77
=no
14110 if test -d /usr
/nec
; then
14111 lt_prog_compiler_pic_F77
=-Kconform_pic
14116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14117 # not for PA HP-UX.
14123 lt_prog_compiler_pic_F77
='-fPIC'
14129 lt_prog_compiler_pic_F77
='-fPIC'
14133 # PORTME Check for flag to pass linker flags through the system compiler.
14136 lt_prog_compiler_wl_F77
='-Wl,'
14137 if test "$host_cpu" = ia64
; then
14138 # AIX 5 now supports IA64 processor
14139 lt_prog_compiler_static_F77
='-Bstatic'
14141 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14145 # PIC is the default on this platform
14146 # Common symbols not allowed in MH_DYLIB files
14147 case $cc_basename in
14149 lt_prog_compiler_pic_F77
='-qnocommon'
14150 lt_prog_compiler_wl_F77
='-Wl,'
14155 mingw
* | cygwin
* | pw32
* | os2
*)
14156 # This hack is so that the source file can tell whether it is being
14157 # built for inclusion in a dll (and should export symbols for example).
14158 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14161 hpux9
* | hpux10
* | hpux11
*)
14162 lt_prog_compiler_wl_F77
='-Wl,'
14163 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14164 # not for PA HP-UX.
14170 lt_prog_compiler_pic_F77
='+Z'
14173 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14174 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14177 irix5
* | irix6
* | nonstopux
*)
14178 lt_prog_compiler_wl_F77
='-Wl,'
14179 # PIC (with -KPIC) is the default.
14180 lt_prog_compiler_static_F77
='-non_shared'
14184 lt_prog_compiler_pic_F77
='-KPIC'
14185 lt_prog_compiler_static_F77
='-Bstatic'
14188 linux
* | k
*bsd
*-gnu)
14189 case $cc_basename in
14191 lt_prog_compiler_wl_F77
='-Wl,'
14192 lt_prog_compiler_pic_F77
='-KPIC'
14193 lt_prog_compiler_static_F77
='-static'
14195 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14196 # Portland Group compilers (*not* the Pentium gcc compiler,
14197 # which looks to be a dead project)
14198 lt_prog_compiler_wl_F77
='-Wl,'
14199 lt_prog_compiler_pic_F77
='-fpic'
14200 lt_prog_compiler_static_F77
='-Bstatic'
14203 lt_prog_compiler_wl_F77
='-Wl,'
14204 # All Alpha code is PIC.
14205 lt_prog_compiler_static_F77
='-non_shared'
14208 case `$CC -V 2>&1 | sed 5q` in
14211 lt_prog_compiler_pic_F77
='-KPIC'
14212 lt_prog_compiler_static_F77
='-Bstatic'
14213 lt_prog_compiler_wl_F77
='-Wl,'
14216 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14217 lt_prog_compiler_pic_F77
='-KPIC'
14218 lt_prog_compiler_static_F77
='-Bstatic'
14219 lt_prog_compiler_wl_F77
=''
14226 osf3
* | osf4
* | osf5
*)
14227 lt_prog_compiler_wl_F77
='-Wl,'
14228 # All OSF/1 code is PIC.
14229 lt_prog_compiler_static_F77
='-non_shared'
14233 lt_prog_compiler_static_F77
='-non_shared'
14237 lt_prog_compiler_pic_F77
='-KPIC'
14238 lt_prog_compiler_static_F77
='-Bstatic'
14239 case $cc_basename in
14240 f77
* | f90
* | f95
*)
14241 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14243 lt_prog_compiler_wl_F77
='-Wl,';;
14248 lt_prog_compiler_wl_F77
='-Qoption ld '
14249 lt_prog_compiler_pic_F77
='-PIC'
14250 lt_prog_compiler_static_F77
='-Bstatic'
14253 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14254 lt_prog_compiler_wl_F77
='-Wl,'
14255 lt_prog_compiler_pic_F77
='-KPIC'
14256 lt_prog_compiler_static_F77
='-Bstatic'
14260 if test -d /usr
/nec
;then
14261 lt_prog_compiler_pic_F77
='-Kconform_pic'
14262 lt_prog_compiler_static_F77
='-Bstatic'
14266 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14267 lt_prog_compiler_wl_F77
='-Wl,'
14268 lt_prog_compiler_pic_F77
='-KPIC'
14269 lt_prog_compiler_static_F77
='-Bstatic'
14273 lt_prog_compiler_wl_F77
='-Wl,'
14274 lt_prog_compiler_can_build_shared_F77
=no
14278 lt_prog_compiler_pic_F77
='-pic'
14279 lt_prog_compiler_static_F77
='-Bstatic'
14283 lt_prog_compiler_can_build_shared_F77
=no
14288 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14289 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14292 # Check to make sure the PIC flag actually works.
14294 if test -n "$lt_prog_compiler_pic_F77"; then
14296 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14297 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14298 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 lt_cv_prog_compiler_pic_works_F77
=no
14302 ac_outfile
=conftest.
$ac_objext
14303 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14304 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14305 # Insert the option either (1) after the last *FLAGS variable, or
14306 # (2) before a word containing "conftest.", or (3) at the end.
14307 # Note that $ac_compile itself does not contain backslashes and begins
14308 # with a dollar sign (not a hyphen), so the echo should work correctly.
14309 # The option is referenced via a variable to avoid confusing sed.
14310 lt_compile
=`echo "$ac_compile" | $SED \
14311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14313 -e 's:$: $lt_compiler_flag:'`
14314 (eval echo "\"\$as_me:14314: $lt_compile\"" >&5)
14315 (eval "$lt_compile" 2>conftest.err
)
14317 cat conftest.err
>&5
14318 echo "$as_me:14318: \$? = $ac_status" >&5
14319 if (exit $ac_status) && test -s "$ac_outfile"; then
14320 # The compiler can only warn and ignore the option if not recognized
14321 # So say no if there are warnings other than the usual output.
14322 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14323 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14324 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14325 lt_cv_prog_compiler_pic_works_F77
=yes
14331 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14332 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
14334 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14335 case $lt_prog_compiler_pic_F77 in
14337 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14340 lt_prog_compiler_pic_F77
=
14341 lt_prog_compiler_can_build_shared_F77
=no
14346 # For platforms which do not support PIC, -DPIC is meaningless:
14348 lt_prog_compiler_pic_F77
=
14351 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14356 # Check to make sure the static flag actually works.
14358 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14359 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14360 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14361 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 lt_cv_prog_compiler_static_works_F77
=no
14365 save_LDFLAGS
="$LDFLAGS"
14366 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14367 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14368 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14369 # The linker can only warn and ignore the option if not recognized
14370 # So say no if there are warnings
14371 if test -s conftest.err
; then
14372 # Append any errors to the config.log.
14373 cat conftest.err
1>&5
14374 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14375 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14376 if diff conftest.exp conftest.er2
>/dev
/null
; then
14377 lt_cv_prog_compiler_static_works_F77
=yes
14380 lt_cv_prog_compiler_static_works_F77
=yes
14384 LDFLAGS
="$save_LDFLAGS"
14387 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14388 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
14390 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14393 lt_prog_compiler_static_F77
=
14397 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14398 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14399 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 lt_cv_prog_compiler_c_o_F77
=no
14403 $rm -r conftest
2>/dev
/null
14407 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14409 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14410 # Insert the option either (1) after the last *FLAGS variable, or
14411 # (2) before a word containing "conftest.", or (3) at the end.
14412 # Note that $ac_compile itself does not contain backslashes and begins
14413 # with a dollar sign (not a hyphen), so the echo should work correctly.
14414 lt_compile
=`echo "$ac_compile" | $SED \
14415 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14416 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14417 -e 's:$: $lt_compiler_flag:'`
14418 (eval echo "\"\$as_me:14418: $lt_compile\"" >&5)
14419 (eval "$lt_compile" 2>out
/conftest.err
)
14421 cat out
/conftest.err
>&5
14422 echo "$as_me:14422: \$? = $ac_status" >&5
14423 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14425 # The compiler can only warn and ignore the option if not recognized
14426 # So say no if there are warnings
14427 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14428 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14429 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14430 lt_cv_prog_compiler_c_o_F77
=yes
14435 # SGI C++ compiler will create directory out/ii_files/ for
14436 # template instantiation
14437 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14438 $rm out
/* && rmdir out
14444 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14445 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14448 hard_links
="nottested"
14449 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14450 # do not overwrite the value of need_locks provided by the user
14451 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14452 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14455 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14457 ln conftest.a conftest.b
2>&5 || hard_links
=no
14458 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14459 { echo "$as_me:$LINENO: result: $hard_links" >&5
14460 echo "${ECHO_T}$hard_links" >&6; }
14461 if test "$hard_links" = no
; then
14462 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14463 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14470 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14471 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14474 allow_undefined_flag_F77
=
14475 enable_shared_with_static_runtimes_F77
=no
14477 archive_expsym_cmds_F77
=
14478 old_archive_From_new_cmds_F77
=
14479 old_archive_from_expsyms_cmds_F77
=
14480 export_dynamic_flag_spec_F77
=
14481 whole_archive_flag_spec_F77
=
14482 thread_safe_flag_spec_F77
=
14483 hardcode_libdir_flag_spec_F77
=
14484 hardcode_libdir_flag_spec_ld_F77
=
14485 hardcode_libdir_separator_F77
=
14486 hardcode_direct_F77
=no
14487 hardcode_minus_L_F77
=no
14488 hardcode_shlibpath_var_F77
=unsupported
14489 link_all_deplibs_F77
=unknown
14490 hardcode_automatic_F77
=no
14492 module_expsym_cmds_F77
=
14493 always_export_symbols_F77
=no
14494 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14495 # include_expsyms should be a list of space-separated symbols to be *always*
14496 # included in the symbol list
14497 include_expsyms_F77
=
14498 # exclude_expsyms can be an extended regexp of symbols to exclude
14499 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14500 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14501 # as well as any symbol that contains `d'.
14502 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14503 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14504 # platforms (ab)use it in PIC code, but their linkers get confused if
14505 # the symbol is explicitly referenced. Since portable code cannot
14506 # rely on this symbol name, it's probably fine to never include it in
14507 # preloaded symbol tables.
14508 # Exclude shared library initialization/finalization symbols.
14509 extract_expsyms_cmds
=
14510 # Just being paranoid about ensuring that cc_basename is set.
14511 for cc_temp
in $compiler""; do
14513 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14514 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14519 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14522 cygwin
* | mingw
* | pw32
*)
14523 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14524 # When not using gcc, we currently assume that we are using
14525 # Microsoft Visual C++.
14526 if test "$GCC" != yes; then
14531 # we just hope/assume this is gcc and not c89 (= MSVC++)
14540 if test "$with_gnu_ld" = yes; then
14541 # If archive_cmds runs LD, not CC, wlarc should be empty
14544 # Set some defaults for GNU ld with shared library support. These
14545 # are reset later if shared libraries are not supported. Putting them
14546 # here allows them to be overridden if necessary.
14547 runpath_var
=LD_RUN_PATH
14548 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14549 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14550 # ancient GNU ld didn't support --whole-archive et. al.
14551 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14552 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14554 whole_archive_flag_spec_F77
=
14556 supports_anon_versioning
=no
14557 case `$LD -v 2>/dev/null` in
14558 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14559 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14560 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14561 *\
2.11.
*) ;; # other 2.11 versions
14562 *) supports_anon_versioning
=yes ;;
14565 # See if GNU ld supports shared libraries.
14568 # On AIX/PPC, the GNU linker is very broken
14569 if test "$host_cpu" != ia64
; then
14573 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14574 *** to be unable to reliably create shared libraries on AIX.
14575 *** Therefore, libtool is disabling shared libraries support. If you
14576 *** really care for shared libraries, you may want to modify your PATH
14577 *** so that a non-GNU linker is found, and then restart.
14584 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)'
14585 hardcode_libdir_flag_spec_F77
='-L$libdir'
14586 hardcode_minus_L_F77
=yes
14588 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14589 # that the semantics of dynamic libraries on AmigaOS, at least up
14590 # to version 4, is to share data among multiple programs linked
14591 # with the same dynamic library. Since this doesn't match the
14592 # behavior of shared libraries on other platforms, we can't use
14598 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14599 allow_undefined_flag_F77
=unsupported
14600 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14601 # support --undefined. This deserves some investigation. FIXME
14602 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14608 cygwin
* | mingw
* | pw32
*)
14609 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14610 # as there is no search path for DLLs.
14611 hardcode_libdir_flag_spec_F77
='-L$libdir'
14612 allow_undefined_flag_F77
=unsupported
14613 always_export_symbols_F77
=no
14614 enable_shared_with_static_runtimes_F77
=yes
14615 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14617 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14618 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14619 # If the export-symbols file already is a .def file (1st line
14620 # is EXPORTS), use it as is; otherwise, prepend...
14621 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14622 cp $export_symbols $output_objdir/$soname.def;
14624 echo EXPORTS > $output_objdir/$soname.def;
14625 cat $export_symbols >> $output_objdir/$soname.def;
14627 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14634 hardcode_direct_F77
=no
14635 hardcode_shlibpath_var_F77
=no
14636 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14637 export_dynamic_flag_spec_F77
='${wl}-E'
14638 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14639 # Instead, shared libraries are loaded at an image base (0x10000000 by
14640 # default) and relocated if they conflict, which is a slow very memory
14641 # consuming and fragmenting process. To avoid this, we pick a random,
14642 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14643 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14644 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'
14645 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'
14648 gnu
* | linux
* | k
*bsd
*-gnu)
14649 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14651 case $cc_basename,$host_cpu in
14652 pgcc
*) # Portland Group C compiler
14653 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'
14654 tmp_addflag
=' $pic_flag'
14656 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14657 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'
14658 tmp_addflag
=' $pic_flag -Mnomain' ;;
14659 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14660 tmp_addflag
=' -i_dynamic' ;;
14661 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14662 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14663 ifc
* | ifort
*) # Intel Fortran compiler
14664 tmp_addflag
=' -nofor_main' ;;
14666 case `$CC -V 2>&1 | sed 5q` in
14667 *Sun\ C
*) # Sun C 5.9
14668 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'
14669 tmp_sharedflag
='-G' ;;
14670 *Sun\ F
*) # Sun Fortran 8.3
14671 tmp_sharedflag
='-G' ;;
14673 tmp_sharedflag
='-shared' ;;
14675 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14677 if test $supports_anon_versioning = yes; then
14678 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14679 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14680 $echo "local: *; };" >> $output_objdir/$libname.ver~
14681 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14689 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14690 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14693 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14694 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14699 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14703 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14704 *** create shared libraries on Solaris systems. Therefore, libtool
14705 *** is disabling shared libraries support. We urge you to upgrade GNU
14706 *** binutils to release 2.9.1 or newer. Another option is to modify
14707 *** your PATH or compiler configuration so that the native linker is
14708 *** used, and then restart.
14711 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14712 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14713 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14719 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14720 case `$LD -v 2>&1` in
14721 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14725 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14726 *** reliably create shared libraries on SCO systems. Therefore, libtool
14727 *** is disabling shared libraries support. We urge you to upgrade GNU
14728 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14729 *** your PATH or compiler configuration so that the native linker is
14730 *** used, and then restart.
14735 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14736 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14737 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14738 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14747 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14749 hardcode_direct_F77
=yes
14750 hardcode_shlibpath_var_F77
=no
14754 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14755 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14756 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14763 if test "$ld_shlibs_F77" = no
; then
14765 hardcode_libdir_flag_spec_F77
=
14766 export_dynamic_flag_spec_F77
=
14767 whole_archive_flag_spec_F77
=
14770 # PORTME fill in a description of your system's linker (not GNU ld)
14773 allow_undefined_flag_F77
=unsupported
14774 always_export_symbols_F77
=yes
14775 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'
14776 # Note: this linker hardcodes the directories in LIBPATH if there
14777 # are no directories specified by -L.
14778 hardcode_minus_L_F77
=yes
14779 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14780 # Neither direct hardcoding nor static linking is supported with a
14782 hardcode_direct_F77
=unsupported
14787 if test "$host_cpu" = ia64
; then
14788 # On IA64, the linker does run time linking by default, so we don't
14789 # have to do anything special.
14790 aix_use_runtimelinking
=no
14791 exp_sym_flag
='-Bexport'
14794 # If we're using GNU nm, then we don't want the "-C" option.
14795 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14796 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14797 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'
14799 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'
14801 aix_use_runtimelinking
=no
14803 # Test if we are trying to use run time linking or normal
14804 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14805 # need to do runtime linking.
14806 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14807 for ld_flag
in $LDFLAGS; do
14808 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14809 aix_use_runtimelinking
=yes
14816 exp_sym_flag
='-bexport'
14817 no_entry_flag
='-bnoentry'
14820 # When large executables or shared objects are built, AIX ld can
14821 # have problems creating the table of contents. If linking a library
14822 # or program results in "error TOC overflow" add -mminimal-toc to
14823 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14824 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14826 archive_cmds_F77
=''
14827 hardcode_direct_F77
=yes
14828 hardcode_libdir_separator_F77
=':'
14829 link_all_deplibs_F77
=yes
14831 if test "$GCC" = yes; then
14832 case $host_os in aix4.
[012]|aix4.
[012].
*)
14833 # We only want to do this on AIX 4.2 and lower, the check
14834 # below for broken collect2 doesn't work under 4.3+
14835 collect2name
=`${CC} -print-prog-name=collect2`
14836 if test -f "$collect2name" && \
14837 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14839 # We have reworked collect2
14842 # We have old collect2
14843 hardcode_direct_F77
=unsupported
14844 # It fails to find uninstalled libraries when the uninstalled
14845 # path is not listed in the libpath. Setting hardcode_minus_L
14846 # to unsupported forces relinking
14847 hardcode_minus_L_F77
=yes
14848 hardcode_libdir_flag_spec_F77
='-L$libdir'
14849 hardcode_libdir_separator_F77
=
14853 shared_flag
='-shared'
14854 if test "$aix_use_runtimelinking" = yes; then
14855 shared_flag
="$shared_flag "'${wl}-G'
14859 if test "$host_cpu" = ia64
; then
14860 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14861 # chokes on -Wl,-G. The following line is correct:
14864 if test "$aix_use_runtimelinking" = yes; then
14865 shared_flag
='${wl}-G'
14867 shared_flag
='${wl}-bM:SRE'
14872 # It seems that -bexpall does not export symbols beginning with
14873 # underscore (_), so it is better to generate a list of symbols to export.
14874 always_export_symbols_F77
=yes
14875 if test "$aix_use_runtimelinking" = yes; then
14876 # Warning - without using the other runtime loading flags (-brtl),
14877 # -berok will link without error, but may produce a broken library.
14878 allow_undefined_flag_F77
='-berok'
14879 # Determine the default libpath from the value encoded in an empty executable.
14880 cat >conftest.
$ac_ext <<_ACEOF
14885 rm -f conftest.
$ac_objext conftest
$ac_exeext
14886 if { (ac_try
="$ac_link"
14887 case "(($ac_try" in
14888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14889 *) ac_try_echo=$ac_try;;
14891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14892 (eval "$ac_link") 2>conftest.er1
14894 grep -v '^ *+' conftest.er1 >conftest.err
14896 cat conftest.err >&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); } && {
14899 test -z "$ac_f77_werror_flag" ||
14900 test ! -s conftest.err
14901 } && test -s conftest$ac_exeext &&
14902 $as_test_x conftest$ac_exeext; then
14904 lt_aix_libpath_sed='
14905 /Import File Strings/,/^$/ {
14911 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14912 # Check for a 64-bit object if we didn't find anything.
14913 if test -z "$aix_libpath"; then
14914 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14924 conftest$ac_exeext conftest.$ac_ext
14925 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14927 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14928 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"
14930 if test "$host_cpu" = ia64; then
14931 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14932 allow_undefined_flag_F77="-z nodefs"
14933 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"
14935 # Determine the default libpath from the value encoded in an empty executable.
14936 cat >conftest.$ac_ext <<_ACEOF
14941 rm -f conftest.$ac_objext conftest$ac_exeext
14942 if { (ac_try="$ac_link"
14943 case "(($ac_try" in
14944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14945 *) ac_try_echo
=$ac_try;;
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_link") 2>conftest.er1
14950 grep -v '^ *+' conftest.er1
>conftest.err
14952 cat conftest.err
>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && {
14955 test -z "$ac_f77_werror_flag" ||
14956 test ! -s conftest.err
14957 } && test -s conftest
$ac_exeext &&
14958 $as_test_x conftest
$ac_exeext; then
14960 lt_aix_libpath_sed
='
14961 /Import File Strings/,/^$/ {
14967 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14968 # Check for a 64-bit object if we didn't find anything.
14969 if test -z "$aix_libpath"; then
14970 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14980 conftest
$ac_exeext conftest.
$ac_ext
14981 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14983 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14984 # Warning - without using the other run time loading flags,
14985 # -berok will link without error, but may produce a broken library.
14986 no_undefined_flag_F77
=' ${wl}-bernotok'
14987 allow_undefined_flag_F77
=' ${wl}-berok'
14988 # Exported symbols can be pulled into shared objects from archives
14989 whole_archive_flag_spec_F77
='$convenience'
14990 archive_cmds_need_lc_F77
=yes
14991 # This is similar to how AIX traditionally builds its shared libraries.
14992 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'
14998 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)'
14999 hardcode_libdir_flag_spec_F77
='-L$libdir'
15000 hardcode_minus_L_F77
=yes
15001 # see comment about different semantics on the GNU ld section
15006 export_dynamic_flag_spec_F77
=-rdynamic
15009 cygwin
* | mingw
* | pw32
*)
15010 # When not using gcc, we currently assume that we are using
15011 # Microsoft Visual C++.
15012 # hardcode_libdir_flag_spec is actually meaningless, as there is
15013 # no search path for DLLs.
15014 hardcode_libdir_flag_spec_F77
=' '
15015 allow_undefined_flag_F77
=unsupported
15016 # Tell ltmain to make .lib files, not .a files.
15018 # Tell ltmain to make .dll files, not .so files.
15020 # FIXME: Setting linknames here is a bad hack.
15021 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15022 # The linker will automatically build a .lib file if we build a DLL.
15023 old_archive_From_new_cmds_F77
='true'
15024 # FIXME: Should let the user specify the lib program.
15025 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15026 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15027 enable_shared_with_static_runtimes_F77
=yes
15030 darwin
* | rhapsody
*)
15032 rhapsody
* | darwin1.
[012])
15033 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15036 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15037 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15039 case ${MACOSX_DEPLOYMENT_TARGET} in
15041 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15044 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15050 archive_cmds_need_lc_F77
=no
15051 hardcode_direct_F77
=no
15052 hardcode_automatic_F77
=yes
15053 hardcode_shlibpath_var_F77
=unsupported
15054 whole_archive_flag_spec_F77
=''
15055 link_all_deplibs_F77
=yes
15056 if test "$GCC" = yes ; then
15057 output_verbose_link_cmd
='echo'
15058 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}"
15059 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15060 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}"
15061 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}"
15063 case $cc_basename in
15065 output_verbose_link_cmd
='echo'
15066 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15067 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15068 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15069 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}'
15070 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}'
15080 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15081 hardcode_libdir_flag_spec_F77
='-L$libdir'
15082 hardcode_shlibpath_var_F77
=no
15089 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15090 # support. Future versions do this automatically, but an explicit c++rt0.o
15091 # does not break anything, and helps significantly (at the cost of a little
15094 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15095 hardcode_libdir_flag_spec_F77
='-R$libdir'
15096 hardcode_direct_F77
=yes
15097 hardcode_shlibpath_var_F77
=no
15100 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15102 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15103 hardcode_direct_F77
=yes
15104 hardcode_minus_L_F77
=yes
15105 hardcode_shlibpath_var_F77
=no
15108 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15109 freebsd
* | dragonfly
*)
15110 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15111 hardcode_libdir_flag_spec_F77
='-R$libdir'
15112 hardcode_direct_F77
=yes
15113 hardcode_shlibpath_var_F77
=no
15117 if test "$GCC" = yes; then
15118 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'
15120 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'
15122 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15123 hardcode_libdir_separator_F77
=:
15124 hardcode_direct_F77
=yes
15126 # hardcode_minus_L: Not really in the search PATH,
15127 # but as the default location of the library.
15128 hardcode_minus_L_F77
=yes
15129 export_dynamic_flag_spec_F77
='${wl}-E'
15133 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15134 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15136 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15138 if test "$with_gnu_ld" = no
; then
15139 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15140 hardcode_libdir_separator_F77
=:
15142 hardcode_direct_F77
=yes
15143 export_dynamic_flag_spec_F77
='${wl}-E'
15145 # hardcode_minus_L: Not really in the search PATH,
15146 # but as the default location of the library.
15147 hardcode_minus_L_F77
=yes
15152 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15155 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15158 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15161 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15170 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15173 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15177 if test "$with_gnu_ld" = no
; then
15178 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15179 hardcode_libdir_separator_F77
=:
15183 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15184 hardcode_direct_F77
=no
15185 hardcode_shlibpath_var_F77
=no
15188 hardcode_direct_F77
=yes
15189 export_dynamic_flag_spec_F77
='${wl}-E'
15191 # hardcode_minus_L: Not really in the search PATH,
15192 # but as the default location of the library.
15193 hardcode_minus_L_F77
=yes
15199 irix5
* | irix6
* | nonstopux
*)
15200 if test "$GCC" = yes; then
15201 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'
15203 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'
15204 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15206 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15207 hardcode_libdir_separator_F77
=:
15208 link_all_deplibs_F77
=yes
15212 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15213 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15215 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15217 hardcode_libdir_flag_spec_F77
='-R$libdir'
15218 hardcode_direct_F77
=yes
15219 hardcode_shlibpath_var_F77
=no
15223 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15224 hardcode_direct_F77
=yes
15225 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15226 hardcode_libdir_separator_F77
=:
15227 hardcode_shlibpath_var_F77
=no
15231 if test -f /usr
/libexec
/ld.so
; then
15232 hardcode_direct_F77
=yes
15233 hardcode_shlibpath_var_F77
=no
15234 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15235 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15236 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15237 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15238 export_dynamic_flag_spec_F77
='${wl}-E'
15241 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15242 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15243 hardcode_libdir_flag_spec_F77
='-R$libdir'
15246 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15247 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15257 hardcode_libdir_flag_spec_F77
='-L$libdir'
15258 hardcode_minus_L_F77
=yes
15259 allow_undefined_flag_F77
=unsupported
15260 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'
15261 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15265 if test "$GCC" = yes; then
15266 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15267 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'
15269 allow_undefined_flag_F77
=' -expect_unresolved \*'
15270 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'
15272 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15273 hardcode_libdir_separator_F77
=:
15276 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15277 if test "$GCC" = yes; then
15278 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15279 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'
15280 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15282 allow_undefined_flag_F77
=' -expect_unresolved \*'
15283 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'
15284 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~
15285 $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'
15287 # Both c and cxx compiler support -rpath directly
15288 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15290 hardcode_libdir_separator_F77
=:
15294 no_undefined_flag_F77
=' -z text'
15295 if test "$GCC" = yes; then
15297 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15298 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15299 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15302 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15303 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15304 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15306 hardcode_libdir_flag_spec_F77
='-R$libdir'
15307 hardcode_shlibpath_var_F77
=no
15309 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15311 # The compiler driver will combine and reorder linker options,
15312 # but understands `-z linker_flag'. GCC discards it without `$wl',
15313 # but is careful enough not to reorder.
15314 # Supported since Solaris 2.6 (maybe 2.5.1?)
15315 if test "$GCC" = yes; then
15316 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15318 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15322 link_all_deplibs_F77
=yes
15326 if test "x$host_vendor" = xsequent
; then
15327 # Use $CC to link under sequent, because it throws in some extra .o
15328 # files that make .init and .fini sections work.
15329 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15331 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15333 hardcode_libdir_flag_spec_F77
='-L$libdir'
15334 hardcode_direct_F77
=yes
15335 hardcode_minus_L_F77
=yes
15336 hardcode_shlibpath_var_F77
=no
15340 case $host_vendor in
15342 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15343 hardcode_direct_F77
=yes # is this really true???
15346 ## LD is ld it makes a PLAMLIB
15347 ## CC just makes a GrossModule.
15348 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15349 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15350 hardcode_direct_F77
=no
15353 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15354 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15357 runpath_var
='LD_RUN_PATH'
15358 hardcode_shlibpath_var_F77
=no
15362 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15363 hardcode_shlibpath_var_F77
=no
15364 export_dynamic_flag_spec_F77
='-Bexport'
15368 if test -d /usr
/nec
; then
15369 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15370 hardcode_shlibpath_var_F77
=no
15371 runpath_var
=LD_RUN_PATH
15372 hardcode_runpath_var
=yes
15377 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15378 no_undefined_flag_F77
='${wl}-z,text'
15379 archive_cmds_need_lc_F77
=no
15380 hardcode_shlibpath_var_F77
=no
15381 runpath_var
='LD_RUN_PATH'
15383 if test "$GCC" = yes; then
15384 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15385 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15387 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15388 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15392 sysv5
* | sco3.2v5
* | sco5v6
*)
15393 # Note: We can NOT use -z defs as we might desire, because we do not
15394 # link with -lc, and that would cause any symbols used from libc to
15395 # always be unresolved, which means just about no library would
15396 # ever link correctly. If we're not using GNU ld we use -z text
15397 # though, which does catch some bad symbols but isn't as heavy-handed
15399 no_undefined_flag_F77
='${wl}-z,text'
15400 allow_undefined_flag_F77
='${wl}-z,nodefs'
15401 archive_cmds_need_lc_F77
=no
15402 hardcode_shlibpath_var_F77
=no
15403 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15404 hardcode_libdir_separator_F77
=':'
15405 link_all_deplibs_F77
=yes
15406 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15407 runpath_var
='LD_RUN_PATH'
15409 if test "$GCC" = yes; then
15410 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15411 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15413 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15414 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15419 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15420 hardcode_libdir_flag_spec_F77
='-L$libdir'
15421 hardcode_shlibpath_var_F77
=no
15430 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15431 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15432 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15435 # Do we need to explicitly link libc?
15437 case "x$archive_cmds_need_lc_F77" in
15439 # Assume -lc should be added
15440 archive_cmds_need_lc_F77
=yes
15442 if test "$enable_shared" = yes && test "$GCC" = yes; then
15443 case $archive_cmds_F77 in
15445 # FIXME: we may have to deal with multi-command sequences.
15448 # Test whether the compiler implicitly links with -lc since on some
15449 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15450 # to ld, don't add -lc before -lgcc.
15451 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15452 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15454 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>&5
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } 2>conftest.err
; then
15463 libobjs
=conftest.
$ac_objext
15465 wl
=$lt_prog_compiler_wl_F77
15466 pic_flag
=$lt_prog_compiler_pic_F77
15472 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15473 allow_undefined_flag_F77
=
15474 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15475 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); }
15480 archive_cmds_need_lc_F77
=no
15482 archive_cmds_need_lc_F77
=yes
15484 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15486 cat conftest.err
1>&5
15489 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15490 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15497 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15498 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15499 library_names_spec
=
15500 libname_spec
='lib$name'
15504 postuninstall_cmds
=
15508 shlibpath_overrides_runpath
=unknown
15510 dynamic_linker
="$host_os ld.so"
15511 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15513 need_lib_prefix
=unknown
15514 hardcode_into_libs
=no
15516 # when you set need_version to no, make sure it does not cause -set_version
15517 # flags to be left without arguments
15518 need_version
=unknown
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15524 shlibpath_var
=LIBPATH
15526 # AIX 3 has no versioning support, so we append a major version to the name.
15527 soname_spec
='${libname}${release}${shared_ext}$major'
15534 hardcode_into_libs
=yes
15535 if test "$host_cpu" = ia64
; then
15536 # AIX 5 supports IA64
15537 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15538 shlibpath_var
=LD_LIBRARY_PATH
15540 # With GCC up to 2.95.x, collect2 would create an import file
15541 # for dependence libraries. The import file would start with
15542 # the line `#! .'. This would cause the generated library to
15543 # depend on `.', always an invalid library. This was fixed in
15544 # development snapshots of GCC prior to 3.0.
15546 aix4 | aix4.
[01] | aix4.
[01].
*)
15547 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15549 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15552 can_build_shared
=no
15556 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15557 # soname into executable. Probably we can add versioning support to
15558 # collect2, so additional links can be useful in future.
15559 if test "$aix_use_runtimelinking" = yes; then
15560 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15561 # instead of lib<name>.a to let people know that these are not
15562 # typical AIX shared libraries.
15563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15565 # We preserve .a as extension for shared libraries through AIX4.2
15566 # and later when we are not doing run time linking.
15567 library_names_spec
='${libname}${release}.a $libname.a'
15568 soname_spec
='${libname}${release}${shared_ext}$major'
15570 shlibpath_var
=LIBPATH
15575 library_names_spec
='$libname.ixlibrary $libname.a'
15576 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15577 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'
15581 library_names_spec
='${libname}${shared_ext}'
15582 dynamic_linker
="$host_os ld.so"
15583 shlibpath_var
=LIBRARY_PATH
15589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15590 soname_spec
='${libname}${release}${shared_ext}$major'
15591 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15592 shlibpath_var
=LD_LIBRARY_PATH
15593 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15594 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15595 # the default ld.so.conf also contains /usr/contrib/lib and
15596 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15597 # libtool to hard-code these into programs
15600 cygwin
* | mingw
* | pw32
*)
15601 version_type
=windows
15606 case $GCC,$host_os in
15607 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15608 library_names_spec
='$libname.dll.a'
15609 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15610 postinstall_cmds
='base_file=`basename \${file}`~
15611 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15612 dldir=$destdir/`dirname \$dlpath`~
15613 test -d \$dldir || mkdir -p \$dldir~
15614 $install_prog $dir/$dlname \$dldir/$dlname~
15615 chmod a+x \$dldir/$dlname'
15616 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15617 dlpath=$dir/\$dldll~
15619 shlibpath_overrides_runpath
=yes
15623 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15624 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15625 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15628 # MinGW DLLs use traditional 'lib' prefix
15629 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15630 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15631 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15632 # It is most probably a Windows format PATH printed by
15633 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15634 # path with ; separators, and with drive letters. We can handle the
15635 # drive letters (cygwin fileutils understands them), so leave them,
15636 # especially as we might pass files found there to a mingw objdump,
15637 # which wouldn't understand a cygwinified path. Ahh.
15638 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15640 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15644 # pw32 DLLs use 'pw' prefix rather than 'lib'
15645 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15651 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15654 dynamic_linker
='Win32 ld.exe'
15655 # FIXME: first we should search . and the directory the executable is in
15659 darwin
* | rhapsody
*)
15660 dynamic_linker
="$host_os dyld"
15661 version_type
=darwin
15664 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15665 soname_spec
='${libname}${release}${major}$shared_ext'
15666 shlibpath_overrides_runpath
=yes
15667 shlibpath_var
=DYLD_LIBRARY_PATH
15668 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15670 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15678 soname_spec
='${libname}${release}${shared_ext}$major'
15679 shlibpath_var
=LD_LIBRARY_PATH
15686 freebsd
* | dragonfly
*)
15687 # DragonFly does not have aout. When/if they implement a new
15688 # versioning mechanism, adjust this.
15689 if test -x /usr
/bin
/objformat
; then
15690 objformat
=`/usr/bin/objformat`
15693 freebsd
[123]*) objformat
=aout
;;
15694 *) objformat
=elf
;;
15697 version_type
=freebsd-
$objformat
15698 case $version_type in
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15705 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15709 shlibpath_var
=LD_LIBRARY_PATH
15712 shlibpath_overrides_runpath
=yes
15714 freebsd3.
[01]* | freebsdelf3.
[01]*)
15715 shlibpath_overrides_runpath
=yes
15716 hardcode_into_libs
=yes
15718 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15719 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15720 shlibpath_overrides_runpath
=no
15721 hardcode_into_libs
=yes
15723 *) # from 4.6 on, and DragonFly
15724 shlibpath_overrides_runpath
=yes
15725 hardcode_into_libs
=yes
15734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15735 soname_spec
='${libname}${release}${shared_ext}$major'
15736 shlibpath_var
=LD_LIBRARY_PATH
15737 hardcode_into_libs
=yes
15740 hpux9
* | hpux10
* | hpux11
*)
15741 # Give a soname corresponding to the major version so that dld.sl refuses to
15742 # link against other versions.
15749 hardcode_into_libs
=yes
15750 dynamic_linker
="$host_os dld.so"
15751 shlibpath_var
=LD_LIBRARY_PATH
15752 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15754 soname_spec
='${libname}${release}${shared_ext}$major'
15755 if test "X$HPUX_IA64_MODE" = X32
; then
15756 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15758 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15760 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15764 hardcode_into_libs
=yes
15765 dynamic_linker
="$host_os dld.sl"
15766 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15767 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15769 soname_spec
='${libname}${release}${shared_ext}$major'
15770 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15771 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15775 dynamic_linker
="$host_os dld.sl"
15776 shlibpath_var
=SHLIB_PATH
15777 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15779 soname_spec
='${libname}${release}${shared_ext}$major'
15782 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15783 postinstall_cmds
='chmod 555 $lib'
15790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15791 soname_spec
='${libname}${release}${shared_ext}$major'
15792 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15793 shlibpath_var
=LD_LIBRARY_PATH
15794 shlibpath_overrides_runpath
=no
15795 hardcode_into_libs
=yes
15798 irix5
* | irix6
* | nonstopux
*)
15800 nonstopux
*) version_type
=nonstopux
;;
15802 if test "$lt_cv_prog_gnu_ld" = yes; then
15810 soname_spec
='${libname}${release}${shared_ext}$major'
15811 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15813 irix5
* | nonstopux
*)
15814 libsuff
= shlibsuff
=
15817 case $LD in # libtool.m4 will add one of these switches to LD
15818 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15819 libsuff
= shlibsuff
= libmagic
=32-bit;;
15820 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15821 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15822 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15823 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15824 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15828 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15829 shlibpath_overrides_runpath
=no
15830 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15831 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15832 hardcode_into_libs
=yes
15835 # No shared lib support for Linux oldld, aout, or coff.
15836 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15840 # This must be Linux ELF.
15841 linux
* | k
*bsd
*-gnu)
15845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15846 soname_spec
='${libname}${release}${shared_ext}$major'
15847 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15848 shlibpath_var
=LD_LIBRARY_PATH
15849 shlibpath_overrides_runpath
=no
15850 # This implies no fast_install, which is unacceptable.
15851 # Some rework will be needed to allow for fast_install
15852 # before this can be enabled.
15853 hardcode_into_libs
=yes
15855 # Append ld.so.conf contents to the search path
15856 if test -f /etc
/ld.so.conf
; then
15857 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' ' '`
15858 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15861 # We used to test for /lib/ld.so.1 and disable shared libraries on
15862 # powerpc, because MkLinux only supported shared libraries with the
15863 # GNU dynamic linker. Since this was broken with cross compilers,
15864 # most powerpc-linux boxes support dynamic linking these days and
15865 # people can always --disable-shared, the test was removed, and we
15866 # assume the GNU/Linux dynamic linker is in use.
15867 dynamic_linker
='GNU/Linux ld.so'
15874 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15877 dynamic_linker
='NetBSD (a.out) ld.so'
15879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15880 soname_spec
='${libname}${release}${shared_ext}$major'
15881 dynamic_linker
='NetBSD ld.elf_so'
15883 shlibpath_var
=LD_LIBRARY_PATH
15884 shlibpath_overrides_runpath
=yes
15885 hardcode_into_libs
=yes
15890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15891 shlibpath_var
=LD_LIBRARY_PATH
15892 shlibpath_overrides_runpath
=yes
15899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15900 soname_spec
='${libname}${release}${shared_ext}$major'
15901 shlibpath_var
=LD_LIBRARY_PATH
15902 shlibpath_overrides_runpath
=yes
15907 sys_lib_dlsearch_path_spec
="/usr/lib"
15909 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15911 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15912 *) need_version
=no
;;
15914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15915 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15916 shlibpath_var
=LD_LIBRARY_PATH
15917 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15919 openbsd2.
[89] | openbsd2.
[89].
*)
15920 shlibpath_overrides_runpath
=no
15923 shlibpath_overrides_runpath
=yes
15927 shlibpath_overrides_runpath
=yes
15932 libname_spec
='$name'
15935 library_names_spec
='$libname${shared_ext} $libname.a'
15936 dynamic_linker
='OS/2 ld.exe'
15937 shlibpath_var
=LIBPATH
15940 osf3
* | osf4
* | osf5
*)
15944 soname_spec
='${libname}${release}${shared_ext}$major'
15945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15946 shlibpath_var
=LD_LIBRARY_PATH
15947 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15948 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15960 soname_spec
='${libname}${release}${shared_ext}$major'
15961 shlibpath_var
=LD_LIBRARY_PATH
15962 shlibpath_overrides_runpath
=yes
15963 hardcode_into_libs
=yes
15964 # ldd complains unless libraries are executable
15965 postinstall_cmds
='chmod +x $lib'
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15971 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 shlibpath_overrides_runpath
=yes
15974 if test "$with_gnu_ld" = yes; then
15982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15983 soname_spec
='${libname}${release}${shared_ext}$major'
15984 shlibpath_var
=LD_LIBRARY_PATH
15985 case $host_vendor in
15987 shlibpath_overrides_runpath
=no
15989 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15990 runpath_var
=LD_RUN_PATH
15998 shlibpath_overrides_runpath
=no
15999 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16005 if test -d /usr
/nec
;then
16007 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16008 soname_spec
='$libname${shared_ext}.$major'
16009 shlibpath_var
=LD_LIBRARY_PATH
16013 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16014 version_type
=freebsd-elf
16017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16018 soname_spec
='${libname}${release}${shared_ext}$major'
16019 shlibpath_var
=LD_LIBRARY_PATH
16020 hardcode_into_libs
=yes
16021 if test "$with_gnu_ld" = yes; then
16022 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16023 shlibpath_overrides_runpath
=no
16025 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16026 shlibpath_overrides_runpath
=yes
16029 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16033 sys_lib_dlsearch_path_spec
='/usr/lib'
16038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16039 soname_spec
='${libname}${release}${shared_ext}$major'
16040 shlibpath_var
=LD_LIBRARY_PATH
16047 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16048 echo "${ECHO_T}$dynamic_linker" >&6; }
16049 test "$dynamic_linker" = no
&& can_build_shared
=no
16051 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16057 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16058 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16064 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16066 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16067 if test "$GCC" = yes; then
16068 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16071 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16072 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16073 hardcode_action_F77
=
16074 if test -n "$hardcode_libdir_flag_spec_F77" || \
16075 test -n "$runpath_var_F77" || \
16076 test "X$hardcode_automatic_F77" = "Xyes" ; then
16078 # We can hardcode non-existant directories.
16079 if test "$hardcode_direct_F77" != no
&&
16080 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16081 # have to relink, otherwise we might link with an installed library
16082 # when we should be linking with a yet-to-be-installed one
16083 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16084 test "$hardcode_minus_L_F77" != no
; then
16085 # Linking always hardcodes the temporary library directory.
16086 hardcode_action_F77
=relink
16088 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16089 hardcode_action_F77
=immediate
16092 # We cannot hardcode anything, or else we can only hardcode existing
16094 hardcode_action_F77
=unsupported
16096 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16097 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16099 if test "$hardcode_action_F77" = relink
; then
16100 # Fast installation is not supported
16101 enable_fast_install
=no
16102 elif test "$shlibpath_overrides_runpath" = yes ||
16103 test "$enable_shared" = no
; then
16104 # Fast installation is not necessary
16105 enable_fast_install
=needless
16109 # The else clause should only fire when bootstrapping the
16110 # libtool distribution, otherwise you forgot to ship ltmain.sh
16111 # with your package, and you will get complaints that there are
16112 # no rules to generate ltmain.sh.
16113 if test -f "$ltmain"; then
16114 # See if we are running on zsh, and set the options which allow our commands through
16115 # without removal of \ escapes.
16116 if test -n "${ZSH_VERSION+set}" ; then
16117 setopt NO_GLOB_SUBST
16119 # Now quote all the things that may contain metacharacters while being
16120 # careful not to overquote the AC_SUBSTed values. We take copies of the
16121 # variables and quote the copies for generation of the libtool script.
16122 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16124 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16125 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16126 deplibs_check_method reload_flag reload_cmds need_locks \
16127 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16128 lt_cv_sys_global_symbol_to_c_name_address \
16129 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16130 old_postinstall_cmds old_postuninstall_cmds \
16134 lt_prog_compiler_wl_F77 \
16135 lt_prog_compiler_pic_F77 \
16136 lt_prog_compiler_static_F77 \
16137 lt_prog_compiler_no_builtin_flag_F77 \
16138 export_dynamic_flag_spec_F77 \
16139 thread_safe_flag_spec_F77 \
16140 whole_archive_flag_spec_F77 \
16141 enable_shared_with_static_runtimes_F77 \
16142 old_archive_cmds_F77 \
16143 old_archive_from_new_cmds_F77 \
16144 predep_objects_F77 \
16145 postdep_objects_F77 \
16148 compiler_lib_search_path_F77 \
16149 compiler_lib_search_dirs_F77 \
16151 archive_expsym_cmds_F77 \
16152 postinstall_cmds_F77 \
16153 postuninstall_cmds_F77 \
16154 old_archive_from_expsyms_cmds_F77 \
16155 allow_undefined_flag_F77 \
16156 no_undefined_flag_F77 \
16157 export_symbols_cmds_F77 \
16158 hardcode_libdir_flag_spec_F77 \
16159 hardcode_libdir_flag_spec_ld_F77 \
16160 hardcode_libdir_separator_F77 \
16161 hardcode_automatic_F77 \
16163 module_expsym_cmds_F77 \
16164 lt_cv_prog_compiler_c_o_F77 \
16165 fix_srcfile_path_F77 \
16166 exclude_expsyms_F77 \
16167 include_expsyms_F77
; do
16170 old_archive_cmds_F77 | \
16171 old_archive_from_new_cmds_F77 | \
16172 archive_cmds_F77 | \
16173 archive_expsym_cmds_F77 | \
16174 module_cmds_F77 | \
16175 module_expsym_cmds_F77 | \
16176 old_archive_from_expsyms_cmds_F77 | \
16177 export_symbols_cmds_F77 | \
16178 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16179 postinstall_cmds | postuninstall_cmds | \
16180 old_postinstall_cmds | old_postuninstall_cmds | \
16181 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16182 # Double-quote double-evaled strings.
16183 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16186 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16192 *'\$0 --fallback-echo"')
16193 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16199 cat <<__EOF__ >> "$cfgfile"
16200 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16204 # Shell to use when invoking shell scripts.
16207 # Whether or not to build shared libraries.
16208 build_libtool_libs=$enable_shared
16210 # Whether or not to build static libraries.
16211 build_old_libs=$enable_static
16213 # Whether or not to add -lc for building shared libraries.
16214 build_libtool_need_lc=$archive_cmds_need_lc_F77
16216 # Whether or not to disallow shared libs when runtime libs are static
16217 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16219 # Whether or not to optimize for fast installation.
16220 fast_install=$enable_fast_install
16223 host_alias=$host_alias
16227 # The build system.
16228 build_alias=$build_alias
16232 # An echo program that does not interpret backslashes.
16237 AR_FLAGS=$lt_AR_FLAGS
16242 # LTCC compiler flags.
16243 LTCFLAGS=$lt_LTCFLAGS
16245 # A language-specific compiler.
16246 CC=$lt_compiler_F77
16248 # Is the compiler the GNU C compiler?
16254 # The linker used to build libraries.
16257 # Whether we need hard or soft links.
16260 # A BSD-compatible nm program.
16263 # A symbol stripping program
16266 # Used to examine libraries when file_magic_cmd begins "file"
16267 MAGIC_CMD=$MAGIC_CMD
16269 # Used on cygwin: DLL creation program.
16272 # Used on cygwin: object dumper.
16275 # Used on cygwin: assembler.
16278 # The name of the directory that contains temporary libtool files.
16281 # How to create reloadable object files.
16282 reload_flag=$lt_reload_flag
16283 reload_cmds=$lt_reload_cmds
16285 # How to pass a linker flag through the compiler.
16286 wl=$lt_lt_prog_compiler_wl_F77
16288 # Object file suffix (normally "o").
16289 objext="$ac_objext"
16291 # Old archive suffix (normally "a").
16294 # Shared library suffix (normally ".so").
16295 shrext_cmds='$shrext_cmds'
16297 # Executable file suffix (normally "").
16300 # Additional compiler flags for building library objects.
16301 pic_flag=$lt_lt_prog_compiler_pic_F77
16304 # What is the maximum length of a command?
16305 max_cmd_len=$lt_cv_sys_max_cmd_len
16307 # Does compiler simultaneously support -c and -o options?
16308 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16310 # Must we lock files when doing compilation?
16311 need_locks=$lt_need_locks
16313 # Do we need the lib prefix for modules?
16314 need_lib_prefix=$need_lib_prefix
16316 # Do we need a version for libraries?
16317 need_version=$need_version
16319 # Whether dlopen is supported.
16320 dlopen_support=$enable_dlopen
16322 # Whether dlopen of programs is supported.
16323 dlopen_self=$enable_dlopen_self
16325 # Whether dlopen of statically linked programs is supported.
16326 dlopen_self_static=$enable_dlopen_self_static
16328 # Compiler flag to prevent dynamic linking.
16329 link_static_flag=$lt_lt_prog_compiler_static_F77
16331 # Compiler flag to turn off builtin functions.
16332 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16334 # Compiler flag to allow reflexive dlopens.
16335 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16337 # Compiler flag to generate shared objects directly from archives.
16338 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16340 # Compiler flag to generate thread-safe objects.
16341 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16343 # Library versioning type.
16344 version_type=$version_type
16346 # Format of library name prefix.
16347 libname_spec=$lt_libname_spec
16349 # List of archive names. First name is the real one, the rest are links.
16350 # The last name is the one that the linker finds with -lNAME.
16351 library_names_spec=$lt_library_names_spec
16353 # The coded name of the library, if different from the real name.
16354 soname_spec=$lt_soname_spec
16356 # Commands used to build and install an old-style archive.
16358 old_archive_cmds=$lt_old_archive_cmds_F77
16359 old_postinstall_cmds=$lt_old_postinstall_cmds
16360 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16362 # Create an old-style archive from a shared archive.
16363 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16365 # Create a temporary old-style archive to link instead of a shared archive.
16366 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16368 # Commands used to build and install a shared archive.
16369 archive_cmds=$lt_archive_cmds_F77
16370 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16371 postinstall_cmds=$lt_postinstall_cmds
16372 postuninstall_cmds=$lt_postuninstall_cmds
16374 # Commands used to build a loadable module (assumed same as above if empty)
16375 module_cmds=$lt_module_cmds_F77
16376 module_expsym_cmds=$lt_module_expsym_cmds_F77
16378 # Commands to strip libraries.
16379 old_striplib=$lt_old_striplib
16380 striplib=$lt_striplib
16382 # Dependencies to place before the objects being linked to create a
16384 predep_objects=$lt_predep_objects_F77
16386 # Dependencies to place after the objects being linked to create a
16388 postdep_objects=$lt_postdep_objects_F77
16390 # Dependencies to place before the objects being linked to create a
16392 predeps=$lt_predeps_F77
16394 # Dependencies to place after the objects being linked to create a
16396 postdeps=$lt_postdeps_F77
16398 # The directories searched by this compiler when creating a shared
16400 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16402 # The library search path used internally by the compiler when linking
16403 # a shared library.
16404 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16406 # Method to check whether dependent libraries are shared objects.
16407 deplibs_check_method=$lt_deplibs_check_method
16409 # Command to use when deplibs_check_method == file_magic.
16410 file_magic_cmd=$lt_file_magic_cmd
16412 # Flag that allows shared libraries with undefined symbols to be built.
16413 allow_undefined_flag=$lt_allow_undefined_flag_F77
16415 # Flag that forces no undefined symbols.
16416 no_undefined_flag=$lt_no_undefined_flag_F77
16418 # Commands used to finish a libtool library installation in a directory.
16419 finish_cmds=$lt_finish_cmds
16421 # Same as above, but a single script fragment to be evaled but not shown.
16422 finish_eval=$lt_finish_eval
16424 # Take the output of nm and produce a listing of raw symbols and C names.
16425 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16427 # Transform the output of nm in a proper C declaration
16428 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16430 # Transform the output of nm in a C name address pair
16431 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16433 # This is the shared library runtime path variable.
16434 runpath_var=$runpath_var
16436 # This is the shared library path variable.
16437 shlibpath_var=$shlibpath_var
16439 # Is shlibpath searched before the hard-coded library search path?
16440 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16442 # How to hardcode a shared library path into an executable.
16443 hardcode_action=$hardcode_action_F77
16445 # Whether we should hardcode library paths into libraries.
16446 hardcode_into_libs=$hardcode_into_libs
16448 # Flag to hardcode \$libdir into a binary during linking.
16449 # This must work even if \$libdir does not exist.
16450 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16452 # If ld is used when linking, flag to hardcode \$libdir into
16453 # a binary during linking. This must work even if \$libdir does
16455 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16457 # Whether we need a single -rpath flag with a separated argument.
16458 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16460 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16461 # resulting binary.
16462 hardcode_direct=$hardcode_direct_F77
16464 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16465 # resulting binary.
16466 hardcode_minus_L=$hardcode_minus_L_F77
16468 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16469 # the resulting binary.
16470 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16472 # Set to yes if building a shared library automatically hardcodes DIR into the library
16473 # and all subsequent libraries and executables linked against it.
16474 hardcode_automatic=$hardcode_automatic_F77
16476 # Variables whose values should be saved in libtool wrapper scripts and
16477 # restored at relink time.
16478 variables_saved_for_relink="$variables_saved_for_relink"
16480 # Whether libtool must link a program against all its dependency libraries.
16481 link_all_deplibs=$link_all_deplibs_F77
16483 # Compile-time system search path for libraries
16484 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16486 # Run-time system search path for libraries
16487 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16489 # Fix the shell variable \$srcfile for the compiler.
16490 fix_srcfile_path=$lt_fix_srcfile_path
16492 # Set to yes if exported symbols are required.
16493 always_export_symbols=$always_export_symbols_F77
16495 # The commands to list exported symbols.
16496 export_symbols_cmds=$lt_export_symbols_cmds_F77
16498 # The commands to extract the exported symbol list from a shared archive.
16499 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16501 # Symbols that should not be listed in the preloaded symbols.
16502 exclude_expsyms=$lt_exclude_expsyms_F77
16504 # Symbols that must always be exported.
16505 include_expsyms=$lt_include_expsyms_F77
16507 # ### END LIBTOOL TAG CONFIG: $tagname
16513 # If there is no Makefile yet, we rely on a make rule to execute
16514 # `config.status --recheck' to rerun these tests and create the
16515 # libtool script then.
16516 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16517 if test -f "$ltmain_in"; then
16518 test -f Makefile
&& make "$ltmain"
16524 ac_cpp
='$CPP $CPPFLAGS'
16525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16537 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16540 # Source file extension for Java test sources.
16543 # Object file extension for compiled Java test sources.
16547 # Code to be used in simple compile tests
16548 lt_simple_compile_test_code
="class foo {}"
16550 # Code to be used in simple link tests
16551 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16553 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16555 # If no C compiler was specified, use CC.
16558 # If no C compiler flags were specified, use CFLAGS.
16559 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16561 # Allow CC to be a program name with arguments.
16565 # save warnings/boilerplate of simple test code
16566 ac_outfile
=conftest.
$ac_objext
16567 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16568 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16569 _lt_compiler_boilerplate
=`cat conftest.err`
16572 ac_outfile
=conftest.
$ac_objext
16573 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16574 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16575 _lt_linker_boilerplate
=`cat conftest.err`
16579 # Allow CC to be a program name with arguments.
16584 for cc_temp
in $compiler""; do
16586 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16587 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16592 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16595 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16596 archive_cmds_need_lc_GCJ
=no
16598 old_archive_cmds_GCJ
=$old_archive_cmds
16601 lt_prog_compiler_no_builtin_flag_GCJ
=
16603 if test "$GCC" = yes; then
16604 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16607 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16608 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16609 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 lt_cv_prog_compiler_rtti_exceptions
=no
16613 ac_outfile
=conftest.
$ac_objext
16614 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16615 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16616 # Insert the option either (1) after the last *FLAGS variable, or
16617 # (2) before a word containing "conftest.", or (3) at the end.
16618 # Note that $ac_compile itself does not contain backslashes and begins
16619 # with a dollar sign (not a hyphen), so the echo should work correctly.
16620 # The option is referenced via a variable to avoid confusing sed.
16621 lt_compile
=`echo "$ac_compile" | $SED \
16622 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16623 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16624 -e 's:$: $lt_compiler_flag:'`
16625 (eval echo "\"\$as_me:16625: $lt_compile\"" >&5)
16626 (eval "$lt_compile" 2>conftest.err
)
16628 cat conftest.err
>&5
16629 echo "$as_me:16629: \$? = $ac_status" >&5
16630 if (exit $ac_status) && test -s "$ac_outfile"; then
16631 # The compiler can only warn and ignore the option if not recognized
16632 # So say no if there are warnings other than the usual output.
16633 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16634 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16635 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16636 lt_cv_prog_compiler_rtti_exceptions
=yes
16642 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16643 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16645 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16646 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16653 lt_prog_compiler_wl_GCJ
=
16654 lt_prog_compiler_pic_GCJ
=
16655 lt_prog_compiler_static_GCJ
=
16657 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16658 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16660 if test "$GCC" = yes; then
16661 lt_prog_compiler_wl_GCJ
='-Wl,'
16662 lt_prog_compiler_static_GCJ
='-static'
16666 # All AIX code is PIC.
16667 if test "$host_cpu" = ia64
; then
16668 # AIX 5 now supports IA64 processor
16669 lt_prog_compiler_static_GCJ
='-Bstatic'
16674 # FIXME: we need at least 68020 code to build shared libraries, but
16675 # adding the `-m68020' flag to GCC prevents building anything better,
16677 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16680 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16681 # PIC is the default for these OSes.
16684 mingw
* | cygwin
* | pw32
* | os2
*)
16685 # This hack is so that the source file can tell whether it is being
16686 # built for inclusion in a dll (and should export symbols for example).
16687 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16688 # (--disable-auto-import) libraries
16692 darwin
* | rhapsody
*)
16693 # PIC is the default on this platform
16694 # Common symbols not allowed in MH_DYLIB files
16695 lt_prog_compiler_pic_GCJ
='-fno-common'
16699 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16700 # Instead, we relocate shared libraries at runtime.
16704 # Just because we use GCC doesn't mean we suddenly get shared libraries
16705 # on systems that don't support them.
16706 lt_prog_compiler_can_build_shared_GCJ
=no
16711 if test -d /usr
/nec
; then
16712 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16717 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16718 # not for PA HP-UX.
16724 lt_prog_compiler_pic_GCJ
='-fPIC'
16730 lt_prog_compiler_pic_GCJ
='-fPIC'
16734 # PORTME Check for flag to pass linker flags through the system compiler.
16737 lt_prog_compiler_wl_GCJ
='-Wl,'
16738 if test "$host_cpu" = ia64
; then
16739 # AIX 5 now supports IA64 processor
16740 lt_prog_compiler_static_GCJ
='-Bstatic'
16742 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16746 # PIC is the default on this platform
16747 # Common symbols not allowed in MH_DYLIB files
16748 case $cc_basename in
16750 lt_prog_compiler_pic_GCJ
='-qnocommon'
16751 lt_prog_compiler_wl_GCJ
='-Wl,'
16756 mingw
* | cygwin
* | pw32
* | os2
*)
16757 # This hack is so that the source file can tell whether it is being
16758 # built for inclusion in a dll (and should export symbols for example).
16762 hpux9
* | hpux10
* | hpux11
*)
16763 lt_prog_compiler_wl_GCJ
='-Wl,'
16764 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16765 # not for PA HP-UX.
16771 lt_prog_compiler_pic_GCJ
='+Z'
16774 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16775 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16778 irix5
* | irix6
* | nonstopux
*)
16779 lt_prog_compiler_wl_GCJ
='-Wl,'
16780 # PIC (with -KPIC) is the default.
16781 lt_prog_compiler_static_GCJ
='-non_shared'
16785 lt_prog_compiler_pic_GCJ
='-KPIC'
16786 lt_prog_compiler_static_GCJ
='-Bstatic'
16789 linux
* | k
*bsd
*-gnu)
16790 case $cc_basename in
16792 lt_prog_compiler_wl_GCJ
='-Wl,'
16793 lt_prog_compiler_pic_GCJ
='-KPIC'
16794 lt_prog_compiler_static_GCJ
='-static'
16796 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16797 # Portland Group compilers (*not* the Pentium gcc compiler,
16798 # which looks to be a dead project)
16799 lt_prog_compiler_wl_GCJ
='-Wl,'
16800 lt_prog_compiler_pic_GCJ
='-fpic'
16801 lt_prog_compiler_static_GCJ
='-Bstatic'
16804 lt_prog_compiler_wl_GCJ
='-Wl,'
16805 # All Alpha code is PIC.
16806 lt_prog_compiler_static_GCJ
='-non_shared'
16809 case `$CC -V 2>&1 | sed 5q` in
16812 lt_prog_compiler_pic_GCJ
='-KPIC'
16813 lt_prog_compiler_static_GCJ
='-Bstatic'
16814 lt_prog_compiler_wl_GCJ
='-Wl,'
16817 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16818 lt_prog_compiler_pic_GCJ
='-KPIC'
16819 lt_prog_compiler_static_GCJ
='-Bstatic'
16820 lt_prog_compiler_wl_GCJ
=''
16827 osf3
* | osf4
* | osf5
*)
16828 lt_prog_compiler_wl_GCJ
='-Wl,'
16829 # All OSF/1 code is PIC.
16830 lt_prog_compiler_static_GCJ
='-non_shared'
16834 lt_prog_compiler_static_GCJ
='-non_shared'
16838 lt_prog_compiler_pic_GCJ
='-KPIC'
16839 lt_prog_compiler_static_GCJ
='-Bstatic'
16840 case $cc_basename in
16841 f77
* | f90
* | f95
*)
16842 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16844 lt_prog_compiler_wl_GCJ
='-Wl,';;
16849 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16850 lt_prog_compiler_pic_GCJ
='-PIC'
16851 lt_prog_compiler_static_GCJ
='-Bstatic'
16854 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16855 lt_prog_compiler_wl_GCJ
='-Wl,'
16856 lt_prog_compiler_pic_GCJ
='-KPIC'
16857 lt_prog_compiler_static_GCJ
='-Bstatic'
16861 if test -d /usr
/nec
;then
16862 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16863 lt_prog_compiler_static_GCJ
='-Bstatic'
16867 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16868 lt_prog_compiler_wl_GCJ
='-Wl,'
16869 lt_prog_compiler_pic_GCJ
='-KPIC'
16870 lt_prog_compiler_static_GCJ
='-Bstatic'
16874 lt_prog_compiler_wl_GCJ
='-Wl,'
16875 lt_prog_compiler_can_build_shared_GCJ
=no
16879 lt_prog_compiler_pic_GCJ
='-pic'
16880 lt_prog_compiler_static_GCJ
='-Bstatic'
16884 lt_prog_compiler_can_build_shared_GCJ
=no
16889 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16890 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16893 # Check to make sure the PIC flag actually works.
16895 if test -n "$lt_prog_compiler_pic_GCJ"; then
16897 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16898 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16899 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 lt_cv_prog_compiler_pic_works_GCJ
=no
16903 ac_outfile
=conftest.
$ac_objext
16904 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16905 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16906 # Insert the option either (1) after the last *FLAGS variable, or
16907 # (2) before a word containing "conftest.", or (3) at the end.
16908 # Note that $ac_compile itself does not contain backslashes and begins
16909 # with a dollar sign (not a hyphen), so the echo should work correctly.
16910 # The option is referenced via a variable to avoid confusing sed.
16911 lt_compile
=`echo "$ac_compile" | $SED \
16912 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16913 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16914 -e 's:$: $lt_compiler_flag:'`
16915 (eval echo "\"\$as_me:16915: $lt_compile\"" >&5)
16916 (eval "$lt_compile" 2>conftest.err
)
16918 cat conftest.err
>&5
16919 echo "$as_me:16919: \$? = $ac_status" >&5
16920 if (exit $ac_status) && test -s "$ac_outfile"; then
16921 # The compiler can only warn and ignore the option if not recognized
16922 # So say no if there are warnings other than the usual output.
16923 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16924 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16925 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16926 lt_cv_prog_compiler_pic_works_GCJ
=yes
16932 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
16933 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
16935 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
16936 case $lt_prog_compiler_pic_GCJ in
16938 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16941 lt_prog_compiler_pic_GCJ
=
16942 lt_prog_compiler_can_build_shared_GCJ
=no
16947 # For platforms which do not support PIC, -DPIC is meaningless:
16949 lt_prog_compiler_pic_GCJ
=
16952 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16957 # Check to make sure the static flag actually works.
16959 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16960 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16961 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16962 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16963 echo $ECHO_N "(cached) $ECHO_C" >&6
16965 lt_cv_prog_compiler_static_works_GCJ
=no
16966 save_LDFLAGS
="$LDFLAGS"
16967 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16968 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16969 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16970 # The linker can only warn and ignore the option if not recognized
16971 # So say no if there are warnings
16972 if test -s conftest.err
; then
16973 # Append any errors to the config.log.
16974 cat conftest.err
1>&5
16975 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16976 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16977 if diff conftest.exp conftest.er2
>/dev
/null
; then
16978 lt_cv_prog_compiler_static_works_GCJ
=yes
16981 lt_cv_prog_compiler_static_works_GCJ
=yes
16985 LDFLAGS
="$save_LDFLAGS"
16988 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
16989 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
16991 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
16994 lt_prog_compiler_static_GCJ
=
16998 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16999 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17000 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 lt_cv_prog_compiler_c_o_GCJ
=no
17004 $rm -r conftest
2>/dev
/null
17008 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17010 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17011 # Insert the option either (1) after the last *FLAGS variable, or
17012 # (2) before a word containing "conftest.", or (3) at the end.
17013 # Note that $ac_compile itself does not contain backslashes and begins
17014 # with a dollar sign (not a hyphen), so the echo should work correctly.
17015 lt_compile
=`echo "$ac_compile" | $SED \
17016 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17017 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17018 -e 's:$: $lt_compiler_flag:'`
17019 (eval echo "\"\$as_me:17019: $lt_compile\"" >&5)
17020 (eval "$lt_compile" 2>out
/conftest.err
)
17022 cat out
/conftest.err
>&5
17023 echo "$as_me:17023: \$? = $ac_status" >&5
17024 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17026 # The compiler can only warn and ignore the option if not recognized
17027 # So say no if there are warnings
17028 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17029 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17030 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17031 lt_cv_prog_compiler_c_o_GCJ
=yes
17036 # SGI C++ compiler will create directory out/ii_files/ for
17037 # template instantiation
17038 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17039 $rm out
/* && rmdir out
17045 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17046 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17049 hard_links
="nottested"
17050 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17051 # do not overwrite the value of need_locks provided by the user
17052 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17053 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17056 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17058 ln conftest.a conftest.b
2>&5 || hard_links
=no
17059 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17060 { echo "$as_me:$LINENO: result: $hard_links" >&5
17061 echo "${ECHO_T}$hard_links" >&6; }
17062 if test "$hard_links" = no
; then
17063 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17064 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17071 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17072 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17075 allow_undefined_flag_GCJ
=
17076 enable_shared_with_static_runtimes_GCJ
=no
17078 archive_expsym_cmds_GCJ
=
17079 old_archive_From_new_cmds_GCJ
=
17080 old_archive_from_expsyms_cmds_GCJ
=
17081 export_dynamic_flag_spec_GCJ
=
17082 whole_archive_flag_spec_GCJ
=
17083 thread_safe_flag_spec_GCJ
=
17084 hardcode_libdir_flag_spec_GCJ
=
17085 hardcode_libdir_flag_spec_ld_GCJ
=
17086 hardcode_libdir_separator_GCJ
=
17087 hardcode_direct_GCJ
=no
17088 hardcode_minus_L_GCJ
=no
17089 hardcode_shlibpath_var_GCJ
=unsupported
17090 link_all_deplibs_GCJ
=unknown
17091 hardcode_automatic_GCJ
=no
17093 module_expsym_cmds_GCJ
=
17094 always_export_symbols_GCJ
=no
17095 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17096 # include_expsyms should be a list of space-separated symbols to be *always*
17097 # included in the symbol list
17098 include_expsyms_GCJ
=
17099 # exclude_expsyms can be an extended regexp of symbols to exclude
17100 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17101 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17102 # as well as any symbol that contains `d'.
17103 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17104 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17105 # platforms (ab)use it in PIC code, but their linkers get confused if
17106 # the symbol is explicitly referenced. Since portable code cannot
17107 # rely on this symbol name, it's probably fine to never include it in
17108 # preloaded symbol tables.
17109 # Exclude shared library initialization/finalization symbols.
17110 extract_expsyms_cmds
=
17111 # Just being paranoid about ensuring that cc_basename is set.
17112 for cc_temp
in $compiler""; do
17114 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17115 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17120 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17123 cygwin
* | mingw
* | pw32
*)
17124 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17125 # When not using gcc, we currently assume that we are using
17126 # Microsoft Visual C++.
17127 if test "$GCC" != yes; then
17132 # we just hope/assume this is gcc and not c89 (= MSVC++)
17141 if test "$with_gnu_ld" = yes; then
17142 # If archive_cmds runs LD, not CC, wlarc should be empty
17145 # Set some defaults for GNU ld with shared library support. These
17146 # are reset later if shared libraries are not supported. Putting them
17147 # here allows them to be overridden if necessary.
17148 runpath_var
=LD_RUN_PATH
17149 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17150 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17151 # ancient GNU ld didn't support --whole-archive et. al.
17152 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17153 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17155 whole_archive_flag_spec_GCJ
=
17157 supports_anon_versioning
=no
17158 case `$LD -v 2>/dev/null` in
17159 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17160 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17161 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17162 *\
2.11.
*) ;; # other 2.11 versions
17163 *) supports_anon_versioning
=yes ;;
17166 # See if GNU ld supports shared libraries.
17169 # On AIX/PPC, the GNU linker is very broken
17170 if test "$host_cpu" != ia64
; then
17174 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17175 *** to be unable to reliably create shared libraries on AIX.
17176 *** Therefore, libtool is disabling shared libraries support. If you
17177 *** really care for shared libraries, you may want to modify your PATH
17178 *** so that a non-GNU linker is found, and then restart.
17185 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)'
17186 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17187 hardcode_minus_L_GCJ
=yes
17189 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17190 # that the semantics of dynamic libraries on AmigaOS, at least up
17191 # to version 4, is to share data among multiple programs linked
17192 # with the same dynamic library. Since this doesn't match the
17193 # behavior of shared libraries on other platforms, we can't use
17199 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17200 allow_undefined_flag_GCJ
=unsupported
17201 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17202 # support --undefined. This deserves some investigation. FIXME
17203 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17209 cygwin
* | mingw
* | pw32
*)
17210 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17211 # as there is no search path for DLLs.
17212 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17213 allow_undefined_flag_GCJ
=unsupported
17214 always_export_symbols_GCJ
=no
17215 enable_shared_with_static_runtimes_GCJ
=yes
17216 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17218 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17219 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17220 # If the export-symbols file already is a .def file (1st line
17221 # is EXPORTS), use it as is; otherwise, prepend...
17222 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17223 cp $export_symbols $output_objdir/$soname.def;
17225 echo EXPORTS > $output_objdir/$soname.def;
17226 cat $export_symbols >> $output_objdir/$soname.def;
17228 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17235 hardcode_direct_GCJ
=no
17236 hardcode_shlibpath_var_GCJ
=no
17237 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17238 export_dynamic_flag_spec_GCJ
='${wl}-E'
17239 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17240 # Instead, shared libraries are loaded at an image base (0x10000000 by
17241 # default) and relocated if they conflict, which is a slow very memory
17242 # consuming and fragmenting process. To avoid this, we pick a random,
17243 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17244 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17245 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'
17246 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'
17249 gnu
* | linux
* | k
*bsd
*-gnu)
17250 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17252 case $cc_basename,$host_cpu in
17253 pgcc
*) # Portland Group C compiler
17254 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'
17255 tmp_addflag
=' $pic_flag'
17257 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17258 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'
17259 tmp_addflag
=' $pic_flag -Mnomain' ;;
17260 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17261 tmp_addflag
=' -i_dynamic' ;;
17262 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17263 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17264 ifc
* | ifort
*) # Intel Fortran compiler
17265 tmp_addflag
=' -nofor_main' ;;
17267 case `$CC -V 2>&1 | sed 5q` in
17268 *Sun\ C
*) # Sun C 5.9
17269 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'
17270 tmp_sharedflag
='-G' ;;
17271 *Sun\ F
*) # Sun Fortran 8.3
17272 tmp_sharedflag
='-G' ;;
17274 tmp_sharedflag
='-shared' ;;
17276 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17278 if test $supports_anon_versioning = yes; then
17279 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17280 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17281 $echo "local: *; };" >> $output_objdir/$libname.ver~
17282 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17290 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17291 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17294 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17295 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17300 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17304 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17305 *** create shared libraries on Solaris systems. Therefore, libtool
17306 *** is disabling shared libraries support. We urge you to upgrade GNU
17307 *** binutils to release 2.9.1 or newer. Another option is to modify
17308 *** your PATH or compiler configuration so that the native linker is
17309 *** used, and then restart.
17312 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17313 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17314 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17320 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17321 case `$LD -v 2>&1` in
17322 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17326 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17327 *** reliably create shared libraries on SCO systems. Therefore, libtool
17328 *** is disabling shared libraries support. We urge you to upgrade GNU
17329 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17330 *** your PATH or compiler configuration so that the native linker is
17331 *** used, and then restart.
17336 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17337 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17338 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17339 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17348 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17350 hardcode_direct_GCJ
=yes
17351 hardcode_shlibpath_var_GCJ
=no
17355 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17356 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17357 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17364 if test "$ld_shlibs_GCJ" = no
; then
17366 hardcode_libdir_flag_spec_GCJ
=
17367 export_dynamic_flag_spec_GCJ
=
17368 whole_archive_flag_spec_GCJ
=
17371 # PORTME fill in a description of your system's linker (not GNU ld)
17374 allow_undefined_flag_GCJ
=unsupported
17375 always_export_symbols_GCJ
=yes
17376 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'
17377 # Note: this linker hardcodes the directories in LIBPATH if there
17378 # are no directories specified by -L.
17379 hardcode_minus_L_GCJ
=yes
17380 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17381 # Neither direct hardcoding nor static linking is supported with a
17383 hardcode_direct_GCJ
=unsupported
17388 if test "$host_cpu" = ia64
; then
17389 # On IA64, the linker does run time linking by default, so we don't
17390 # have to do anything special.
17391 aix_use_runtimelinking
=no
17392 exp_sym_flag
='-Bexport'
17395 # If we're using GNU nm, then we don't want the "-C" option.
17396 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17397 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17398 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'
17400 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'
17402 aix_use_runtimelinking
=no
17404 # Test if we are trying to use run time linking or normal
17405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17406 # need to do runtime linking.
17407 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17408 for ld_flag
in $LDFLAGS; do
17409 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17410 aix_use_runtimelinking
=yes
17417 exp_sym_flag
='-bexport'
17418 no_entry_flag
='-bnoentry'
17421 # When large executables or shared objects are built, AIX ld can
17422 # have problems creating the table of contents. If linking a library
17423 # or program results in "error TOC overflow" add -mminimal-toc to
17424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17427 archive_cmds_GCJ
=''
17428 hardcode_direct_GCJ
=yes
17429 hardcode_libdir_separator_GCJ
=':'
17430 link_all_deplibs_GCJ
=yes
17432 if test "$GCC" = yes; then
17433 case $host_os in aix4.
[012]|aix4.
[012].
*)
17434 # We only want to do this on AIX 4.2 and lower, the check
17435 # below for broken collect2 doesn't work under 4.3+
17436 collect2name
=`${CC} -print-prog-name=collect2`
17437 if test -f "$collect2name" && \
17438 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17440 # We have reworked collect2
17443 # We have old collect2
17444 hardcode_direct_GCJ
=unsupported
17445 # It fails to find uninstalled libraries when the uninstalled
17446 # path is not listed in the libpath. Setting hardcode_minus_L
17447 # to unsupported forces relinking
17448 hardcode_minus_L_GCJ
=yes
17449 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17450 hardcode_libdir_separator_GCJ
=
17454 shared_flag
='-shared'
17455 if test "$aix_use_runtimelinking" = yes; then
17456 shared_flag
="$shared_flag "'${wl}-G'
17460 if test "$host_cpu" = ia64
; then
17461 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17462 # chokes on -Wl,-G. The following line is correct:
17465 if test "$aix_use_runtimelinking" = yes; then
17466 shared_flag
='${wl}-G'
17468 shared_flag
='${wl}-bM:SRE'
17473 # It seems that -bexpall does not export symbols beginning with
17474 # underscore (_), so it is better to generate a list of symbols to export.
17475 always_export_symbols_GCJ
=yes
17476 if test "$aix_use_runtimelinking" = yes; then
17477 # Warning - without using the other runtime loading flags (-brtl),
17478 # -berok will link without error, but may produce a broken library.
17479 allow_undefined_flag_GCJ
='-berok'
17480 # Determine the default libpath from the value encoded in an empty executable.
17481 cat >conftest.
$ac_ext <<_ACEOF
17484 cat confdefs.h
>>conftest.
$ac_ext
17485 cat >>conftest.
$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17496 rm -f conftest.
$ac_objext conftest
$ac_exeext
17497 if { (ac_try
="$ac_link"
17498 case "(($ac_try" in
17499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_link") 2>conftest.er1
17505 grep -v '^ *+' conftest.er1 >conftest.err
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest$ac_exeext &&
17513 $as_test_x conftest$ac_exeext; then
17515 lt_aix_libpath_sed='
17516 /Import File Strings/,/^$/ {
17522 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17523 # Check for a 64-bit object if we didn't find anything.
17524 if test -z "$aix_libpath"; then
17525 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17528 echo "$as_me: failed program was:" >&5
17529 sed 's/^/| /' conftest.$ac_ext >&5
17534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17535 conftest$ac_exeext conftest.$ac_ext
17536 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17538 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17539 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"
17541 if test "$host_cpu" = ia64; then
17542 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17543 allow_undefined_flag_GCJ="-z nodefs"
17544 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"
17546 # Determine the default libpath from the value encoded in an empty executable.
17547 cat >conftest.$ac_ext <<_ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17562 rm -f conftest.$ac_objext conftest$ac_exeext
17563 if { (ac_try="$ac_link"
17564 case "(($ac_try" in
17565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17566 *) ac_try_echo
=$ac_try;;
17568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17569 (eval "$ac_link") 2>conftest.er1
17571 grep -v '^ *+' conftest.er1
>conftest.err
17573 cat conftest.err
>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } && {
17576 test -z "$ac_c_werror_flag" ||
17577 test ! -s conftest.err
17578 } && test -s conftest
$ac_exeext &&
17579 $as_test_x conftest
$ac_exeext; then
17581 lt_aix_libpath_sed
='
17582 /Import File Strings/,/^$/ {
17588 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17589 # Check for a 64-bit object if we didn't find anything.
17590 if test -z "$aix_libpath"; then
17591 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.
$ac_ext >&5
17600 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17601 conftest
$ac_exeext conftest.
$ac_ext
17602 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17604 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17605 # Warning - without using the other run time loading flags,
17606 # -berok will link without error, but may produce a broken library.
17607 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17608 allow_undefined_flag_GCJ
=' ${wl}-berok'
17609 # Exported symbols can be pulled into shared objects from archives
17610 whole_archive_flag_spec_GCJ
='$convenience'
17611 archive_cmds_need_lc_GCJ
=yes
17612 # This is similar to how AIX traditionally builds its shared libraries.
17613 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'
17619 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)'
17620 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17621 hardcode_minus_L_GCJ
=yes
17622 # see comment about different semantics on the GNU ld section
17627 export_dynamic_flag_spec_GCJ
=-rdynamic
17630 cygwin
* | mingw
* | pw32
*)
17631 # When not using gcc, we currently assume that we are using
17632 # Microsoft Visual C++.
17633 # hardcode_libdir_flag_spec is actually meaningless, as there is
17634 # no search path for DLLs.
17635 hardcode_libdir_flag_spec_GCJ
=' '
17636 allow_undefined_flag_GCJ
=unsupported
17637 # Tell ltmain to make .lib files, not .a files.
17639 # Tell ltmain to make .dll files, not .so files.
17641 # FIXME: Setting linknames here is a bad hack.
17642 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17643 # The linker will automatically build a .lib file if we build a DLL.
17644 old_archive_From_new_cmds_GCJ
='true'
17645 # FIXME: Should let the user specify the lib program.
17646 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17647 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17648 enable_shared_with_static_runtimes_GCJ
=yes
17651 darwin
* | rhapsody
*)
17653 rhapsody
* | darwin1.
[012])
17654 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17657 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17658 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17660 case ${MACOSX_DEPLOYMENT_TARGET} in
17662 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17665 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17671 archive_cmds_need_lc_GCJ
=no
17672 hardcode_direct_GCJ
=no
17673 hardcode_automatic_GCJ
=yes
17674 hardcode_shlibpath_var_GCJ
=unsupported
17675 whole_archive_flag_spec_GCJ
=''
17676 link_all_deplibs_GCJ
=yes
17677 if test "$GCC" = yes ; then
17678 output_verbose_link_cmd
='echo'
17679 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}"
17680 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17681 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}"
17682 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}"
17684 case $cc_basename in
17686 output_verbose_link_cmd
='echo'
17687 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17688 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17689 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17690 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}'
17691 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}'
17701 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17702 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17703 hardcode_shlibpath_var_GCJ
=no
17710 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17711 # support. Future versions do this automatically, but an explicit c++rt0.o
17712 # does not break anything, and helps significantly (at the cost of a little
17715 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17716 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17717 hardcode_direct_GCJ
=yes
17718 hardcode_shlibpath_var_GCJ
=no
17721 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17723 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17724 hardcode_direct_GCJ
=yes
17725 hardcode_minus_L_GCJ
=yes
17726 hardcode_shlibpath_var_GCJ
=no
17729 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17730 freebsd
* | dragonfly
*)
17731 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17732 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17733 hardcode_direct_GCJ
=yes
17734 hardcode_shlibpath_var_GCJ
=no
17738 if test "$GCC" = yes; then
17739 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'
17741 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'
17743 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17744 hardcode_libdir_separator_GCJ
=:
17745 hardcode_direct_GCJ
=yes
17747 # hardcode_minus_L: Not really in the search PATH,
17748 # but as the default location of the library.
17749 hardcode_minus_L_GCJ
=yes
17750 export_dynamic_flag_spec_GCJ
='${wl}-E'
17754 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17755 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17757 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17759 if test "$with_gnu_ld" = no
; then
17760 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17761 hardcode_libdir_separator_GCJ
=:
17763 hardcode_direct_GCJ
=yes
17764 export_dynamic_flag_spec_GCJ
='${wl}-E'
17766 # hardcode_minus_L: Not really in the search PATH,
17767 # but as the default location of the library.
17768 hardcode_minus_L_GCJ
=yes
17773 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17776 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17779 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17782 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17788 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17791 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17794 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17798 if test "$with_gnu_ld" = no
; then
17799 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17800 hardcode_libdir_separator_GCJ
=:
17804 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17805 hardcode_direct_GCJ
=no
17806 hardcode_shlibpath_var_GCJ
=no
17809 hardcode_direct_GCJ
=yes
17810 export_dynamic_flag_spec_GCJ
='${wl}-E'
17812 # hardcode_minus_L: Not really in the search PATH,
17813 # but as the default location of the library.
17814 hardcode_minus_L_GCJ
=yes
17820 irix5
* | irix6
* | nonstopux
*)
17821 if test "$GCC" = yes; then
17822 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'
17824 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'
17825 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17827 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17828 hardcode_libdir_separator_GCJ
=:
17829 link_all_deplibs_GCJ
=yes
17833 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17834 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17836 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17838 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17839 hardcode_direct_GCJ
=yes
17840 hardcode_shlibpath_var_GCJ
=no
17844 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17845 hardcode_direct_GCJ
=yes
17846 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17847 hardcode_libdir_separator_GCJ
=:
17848 hardcode_shlibpath_var_GCJ
=no
17852 if test -f /usr
/libexec
/ld.so
; then
17853 hardcode_direct_GCJ
=yes
17854 hardcode_shlibpath_var_GCJ
=no
17855 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17856 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17857 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17858 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17859 export_dynamic_flag_spec_GCJ
='${wl}-E'
17862 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17863 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17864 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17867 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17868 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17878 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17879 hardcode_minus_L_GCJ
=yes
17880 allow_undefined_flag_GCJ
=unsupported
17881 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'
17882 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17886 if test "$GCC" = yes; then
17887 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17888 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'
17890 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17891 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'
17893 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17894 hardcode_libdir_separator_GCJ
=:
17897 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17898 if test "$GCC" = yes; then
17899 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17900 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'
17901 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17903 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17904 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'
17905 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~
17906 $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'
17908 # Both c and cxx compiler support -rpath directly
17909 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17911 hardcode_libdir_separator_GCJ
=:
17915 no_undefined_flag_GCJ
=' -z text'
17916 if test "$GCC" = yes; then
17918 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17919 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17920 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17923 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17924 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17925 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17927 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17928 hardcode_shlibpath_var_GCJ
=no
17930 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17932 # The compiler driver will combine and reorder linker options,
17933 # but understands `-z linker_flag'. GCC discards it without `$wl',
17934 # but is careful enough not to reorder.
17935 # Supported since Solaris 2.6 (maybe 2.5.1?)
17936 if test "$GCC" = yes; then
17937 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17939 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17943 link_all_deplibs_GCJ
=yes
17947 if test "x$host_vendor" = xsequent
; then
17948 # Use $CC to link under sequent, because it throws in some extra .o
17949 # files that make .init and .fini sections work.
17950 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17952 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17954 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17955 hardcode_direct_GCJ
=yes
17956 hardcode_minus_L_GCJ
=yes
17957 hardcode_shlibpath_var_GCJ
=no
17961 case $host_vendor in
17963 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17964 hardcode_direct_GCJ
=yes # is this really true???
17967 ## LD is ld it makes a PLAMLIB
17968 ## CC just makes a GrossModule.
17969 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17970 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17971 hardcode_direct_GCJ
=no
17974 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17975 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17978 runpath_var
='LD_RUN_PATH'
17979 hardcode_shlibpath_var_GCJ
=no
17983 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17984 hardcode_shlibpath_var_GCJ
=no
17985 export_dynamic_flag_spec_GCJ
='-Bexport'
17989 if test -d /usr
/nec
; then
17990 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17991 hardcode_shlibpath_var_GCJ
=no
17992 runpath_var
=LD_RUN_PATH
17993 hardcode_runpath_var
=yes
17998 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17999 no_undefined_flag_GCJ
='${wl}-z,text'
18000 archive_cmds_need_lc_GCJ
=no
18001 hardcode_shlibpath_var_GCJ
=no
18002 runpath_var
='LD_RUN_PATH'
18004 if test "$GCC" = yes; then
18005 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18006 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18008 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18009 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18013 sysv5
* | sco3.2v5
* | sco5v6
*)
18014 # Note: We can NOT use -z defs as we might desire, because we do not
18015 # link with -lc, and that would cause any symbols used from libc to
18016 # always be unresolved, which means just about no library would
18017 # ever link correctly. If we're not using GNU ld we use -z text
18018 # though, which does catch some bad symbols but isn't as heavy-handed
18020 no_undefined_flag_GCJ
='${wl}-z,text'
18021 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18022 archive_cmds_need_lc_GCJ
=no
18023 hardcode_shlibpath_var_GCJ
=no
18024 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18025 hardcode_libdir_separator_GCJ
=':'
18026 link_all_deplibs_GCJ
=yes
18027 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18028 runpath_var
='LD_RUN_PATH'
18030 if test "$GCC" = yes; then
18031 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18032 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18034 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18035 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18040 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18041 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18042 hardcode_shlibpath_var_GCJ
=no
18051 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18052 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18053 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18056 # Do we need to explicitly link libc?
18058 case "x$archive_cmds_need_lc_GCJ" in
18060 # Assume -lc should be added
18061 archive_cmds_need_lc_GCJ
=yes
18063 if test "$enable_shared" = yes && test "$GCC" = yes; then
18064 case $archive_cmds_GCJ in
18066 # FIXME: we may have to deal with multi-command sequences.
18069 # Test whether the compiler implicitly links with -lc since on some
18070 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18071 # to ld, don't add -lc before -lgcc.
18072 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18073 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18075 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); } 2>conftest.err
; then
18084 libobjs
=conftest.
$ac_objext
18086 wl
=$lt_prog_compiler_wl_GCJ
18087 pic_flag
=$lt_prog_compiler_pic_GCJ
18093 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18094 allow_undefined_flag_GCJ
=
18095 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18096 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }
18101 archive_cmds_need_lc_GCJ
=no
18103 archive_cmds_need_lc_GCJ
=yes
18105 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18107 cat conftest.err
1>&5
18110 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18111 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18118 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18119 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18120 library_names_spec
=
18121 libname_spec
='lib$name'
18125 postuninstall_cmds
=
18129 shlibpath_overrides_runpath
=unknown
18131 dynamic_linker
="$host_os ld.so"
18132 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18134 need_lib_prefix
=unknown
18135 hardcode_into_libs
=no
18137 # when you set need_version to no, make sure it does not cause -set_version
18138 # flags to be left without arguments
18139 need_version
=unknown
18144 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18145 shlibpath_var
=LIBPATH
18147 # AIX 3 has no versioning support, so we append a major version to the name.
18148 soname_spec
='${libname}${release}${shared_ext}$major'
18155 hardcode_into_libs
=yes
18156 if test "$host_cpu" = ia64
; then
18157 # AIX 5 supports IA64
18158 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18159 shlibpath_var
=LD_LIBRARY_PATH
18161 # With GCC up to 2.95.x, collect2 would create an import file
18162 # for dependence libraries. The import file would start with
18163 # the line `#! .'. This would cause the generated library to
18164 # depend on `.', always an invalid library. This was fixed in
18165 # development snapshots of GCC prior to 3.0.
18167 aix4 | aix4.
[01] | aix4.
[01].
*)
18168 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18170 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18173 can_build_shared
=no
18177 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18178 # soname into executable. Probably we can add versioning support to
18179 # collect2, so additional links can be useful in future.
18180 if test "$aix_use_runtimelinking" = yes; then
18181 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18182 # instead of lib<name>.a to let people know that these are not
18183 # typical AIX shared libraries.
18184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18186 # We preserve .a as extension for shared libraries through AIX4.2
18187 # and later when we are not doing run time linking.
18188 library_names_spec
='${libname}${release}.a $libname.a'
18189 soname_spec
='${libname}${release}${shared_ext}$major'
18191 shlibpath_var
=LIBPATH
18196 library_names_spec
='$libname.ixlibrary $libname.a'
18197 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18198 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'
18202 library_names_spec
='${libname}${shared_ext}'
18203 dynamic_linker
="$host_os ld.so"
18204 shlibpath_var
=LIBRARY_PATH
18210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18211 soname_spec
='${libname}${release}${shared_ext}$major'
18212 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18213 shlibpath_var
=LD_LIBRARY_PATH
18214 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18215 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18216 # the default ld.so.conf also contains /usr/contrib/lib and
18217 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18218 # libtool to hard-code these into programs
18221 cygwin
* | mingw
* | pw32
*)
18222 version_type
=windows
18227 case $GCC,$host_os in
18228 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18229 library_names_spec
='$libname.dll.a'
18230 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18231 postinstall_cmds
='base_file=`basename \${file}`~
18232 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18233 dldir=$destdir/`dirname \$dlpath`~
18234 test -d \$dldir || mkdir -p \$dldir~
18235 $install_prog $dir/$dlname \$dldir/$dlname~
18236 chmod a+x \$dldir/$dlname'
18237 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18238 dlpath=$dir/\$dldll~
18240 shlibpath_overrides_runpath
=yes
18244 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18245 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18246 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18249 # MinGW DLLs use traditional 'lib' prefix
18250 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18251 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18252 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18253 # It is most probably a Windows format PATH printed by
18254 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18255 # path with ; separators, and with drive letters. We can handle the
18256 # drive letters (cygwin fileutils understands them), so leave them,
18257 # especially as we might pass files found there to a mingw objdump,
18258 # which wouldn't understand a cygwinified path. Ahh.
18259 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18261 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18265 # pw32 DLLs use 'pw' prefix rather than 'lib'
18266 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18272 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18275 dynamic_linker
='Win32 ld.exe'
18276 # FIXME: first we should search . and the directory the executable is in
18280 darwin
* | rhapsody
*)
18281 dynamic_linker
="$host_os dyld"
18282 version_type
=darwin
18285 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18286 soname_spec
='${libname}${release}${major}$shared_ext'
18287 shlibpath_overrides_runpath
=yes
18288 shlibpath_var
=DYLD_LIBRARY_PATH
18289 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18291 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18299 soname_spec
='${libname}${release}${shared_ext}$major'
18300 shlibpath_var
=LD_LIBRARY_PATH
18307 freebsd
* | dragonfly
*)
18308 # DragonFly does not have aout. When/if they implement a new
18309 # versioning mechanism, adjust this.
18310 if test -x /usr
/bin
/objformat
; then
18311 objformat
=`/usr/bin/objformat`
18314 freebsd
[123]*) objformat
=aout
;;
18315 *) objformat
=elf
;;
18318 version_type
=freebsd-
$objformat
18319 case $version_type in
18321 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18326 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18330 shlibpath_var
=LD_LIBRARY_PATH
18333 shlibpath_overrides_runpath
=yes
18335 freebsd3.
[01]* | freebsdelf3.
[01]*)
18336 shlibpath_overrides_runpath
=yes
18337 hardcode_into_libs
=yes
18339 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18340 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18341 shlibpath_overrides_runpath
=no
18342 hardcode_into_libs
=yes
18344 *) # from 4.6 on, and DragonFly
18345 shlibpath_overrides_runpath
=yes
18346 hardcode_into_libs
=yes
18355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18356 soname_spec
='${libname}${release}${shared_ext}$major'
18357 shlibpath_var
=LD_LIBRARY_PATH
18358 hardcode_into_libs
=yes
18361 hpux9
* | hpux10
* | hpux11
*)
18362 # Give a soname corresponding to the major version so that dld.sl refuses to
18363 # link against other versions.
18370 hardcode_into_libs
=yes
18371 dynamic_linker
="$host_os dld.so"
18372 shlibpath_var
=LD_LIBRARY_PATH
18373 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18375 soname_spec
='${libname}${release}${shared_ext}$major'
18376 if test "X$HPUX_IA64_MODE" = X32
; then
18377 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18379 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18381 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18385 hardcode_into_libs
=yes
18386 dynamic_linker
="$host_os dld.sl"
18387 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18388 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18390 soname_spec
='${libname}${release}${shared_ext}$major'
18391 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18392 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18396 dynamic_linker
="$host_os dld.sl"
18397 shlibpath_var
=SHLIB_PATH
18398 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18400 soname_spec
='${libname}${release}${shared_ext}$major'
18403 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18404 postinstall_cmds
='chmod 555 $lib'
18411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18412 soname_spec
='${libname}${release}${shared_ext}$major'
18413 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18414 shlibpath_var
=LD_LIBRARY_PATH
18415 shlibpath_overrides_runpath
=no
18416 hardcode_into_libs
=yes
18419 irix5
* | irix6
* | nonstopux
*)
18421 nonstopux
*) version_type
=nonstopux
;;
18423 if test "$lt_cv_prog_gnu_ld" = yes; then
18431 soname_spec
='${libname}${release}${shared_ext}$major'
18432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18434 irix5
* | nonstopux
*)
18435 libsuff
= shlibsuff
=
18438 case $LD in # libtool.m4 will add one of these switches to LD
18439 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18440 libsuff
= shlibsuff
= libmagic
=32-bit;;
18441 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18442 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18443 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18444 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18445 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18449 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18450 shlibpath_overrides_runpath
=no
18451 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18452 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18453 hardcode_into_libs
=yes
18456 # No shared lib support for Linux oldld, aout, or coff.
18457 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18461 # This must be Linux ELF.
18462 linux
* | k
*bsd
*-gnu)
18466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18467 soname_spec
='${libname}${release}${shared_ext}$major'
18468 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18469 shlibpath_var
=LD_LIBRARY_PATH
18470 shlibpath_overrides_runpath
=no
18471 # This implies no fast_install, which is unacceptable.
18472 # Some rework will be needed to allow for fast_install
18473 # before this can be enabled.
18474 hardcode_into_libs
=yes
18476 # Append ld.so.conf contents to the search path
18477 if test -f /etc
/ld.so.conf
; then
18478 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' ' '`
18479 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18482 # We used to test for /lib/ld.so.1 and disable shared libraries on
18483 # powerpc, because MkLinux only supported shared libraries with the
18484 # GNU dynamic linker. Since this was broken with cross compilers,
18485 # most powerpc-linux boxes support dynamic linking these days and
18486 # people can always --disable-shared, the test was removed, and we
18487 # assume the GNU/Linux dynamic linker is in use.
18488 dynamic_linker
='GNU/Linux ld.so'
18495 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18497 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18498 dynamic_linker
='NetBSD (a.out) ld.so'
18500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18501 soname_spec
='${libname}${release}${shared_ext}$major'
18502 dynamic_linker
='NetBSD ld.elf_so'
18504 shlibpath_var
=LD_LIBRARY_PATH
18505 shlibpath_overrides_runpath
=yes
18506 hardcode_into_libs
=yes
18511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18512 shlibpath_var
=LD_LIBRARY_PATH
18513 shlibpath_overrides_runpath
=yes
18520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18521 soname_spec
='${libname}${release}${shared_ext}$major'
18522 shlibpath_var
=LD_LIBRARY_PATH
18523 shlibpath_overrides_runpath
=yes
18528 sys_lib_dlsearch_path_spec
="/usr/lib"
18530 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18532 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18533 *) need_version
=no
;;
18535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18537 shlibpath_var
=LD_LIBRARY_PATH
18538 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18540 openbsd2.
[89] | openbsd2.
[89].
*)
18541 shlibpath_overrides_runpath
=no
18544 shlibpath_overrides_runpath
=yes
18548 shlibpath_overrides_runpath
=yes
18553 libname_spec
='$name'
18556 library_names_spec
='$libname${shared_ext} $libname.a'
18557 dynamic_linker
='OS/2 ld.exe'
18558 shlibpath_var
=LIBPATH
18561 osf3
* | osf4
* | osf5
*)
18565 soname_spec
='${libname}${release}${shared_ext}$major'
18566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18567 shlibpath_var
=LD_LIBRARY_PATH
18568 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18569 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18581 soname_spec
='${libname}${release}${shared_ext}$major'
18582 shlibpath_var
=LD_LIBRARY_PATH
18583 shlibpath_overrides_runpath
=yes
18584 hardcode_into_libs
=yes
18585 # ldd complains unless libraries are executable
18586 postinstall_cmds
='chmod +x $lib'
18591 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18592 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18593 shlibpath_var
=LD_LIBRARY_PATH
18594 shlibpath_overrides_runpath
=yes
18595 if test "$with_gnu_ld" = yes; then
18603 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18604 soname_spec
='${libname}${release}${shared_ext}$major'
18605 shlibpath_var
=LD_LIBRARY_PATH
18606 case $host_vendor in
18608 shlibpath_overrides_runpath
=no
18610 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18611 runpath_var
=LD_RUN_PATH
18619 shlibpath_overrides_runpath
=no
18620 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18626 if test -d /usr
/nec
;then
18628 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18629 soname_spec
='$libname${shared_ext}.$major'
18630 shlibpath_var
=LD_LIBRARY_PATH
18634 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18635 version_type
=freebsd-elf
18638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18639 soname_spec
='${libname}${release}${shared_ext}$major'
18640 shlibpath_var
=LD_LIBRARY_PATH
18641 hardcode_into_libs
=yes
18642 if test "$with_gnu_ld" = yes; then
18643 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18644 shlibpath_overrides_runpath
=no
18646 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18647 shlibpath_overrides_runpath
=yes
18650 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18654 sys_lib_dlsearch_path_spec
='/usr/lib'
18659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18660 soname_spec
='${libname}${release}${shared_ext}$major'
18661 shlibpath_var
=LD_LIBRARY_PATH
18668 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18669 echo "${ECHO_T}$dynamic_linker" >&6; }
18670 test "$dynamic_linker" = no
&& can_build_shared
=no
18672 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18678 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18679 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18685 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18687 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18688 if test "$GCC" = yes; then
18689 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18692 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18693 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18694 hardcode_action_GCJ
=
18695 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18696 test -n "$runpath_var_GCJ" || \
18697 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18699 # We can hardcode non-existant directories.
18700 if test "$hardcode_direct_GCJ" != no
&&
18701 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18702 # have to relink, otherwise we might link with an installed library
18703 # when we should be linking with a yet-to-be-installed one
18704 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18705 test "$hardcode_minus_L_GCJ" != no
; then
18706 # Linking always hardcodes the temporary library directory.
18707 hardcode_action_GCJ
=relink
18709 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18710 hardcode_action_GCJ
=immediate
18713 # We cannot hardcode anything, or else we can only hardcode existing
18715 hardcode_action_GCJ
=unsupported
18717 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18718 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18720 if test "$hardcode_action_GCJ" = relink
; then
18721 # Fast installation is not supported
18722 enable_fast_install
=no
18723 elif test "$shlibpath_overrides_runpath" = yes ||
18724 test "$enable_shared" = no
; then
18725 # Fast installation is not necessary
18726 enable_fast_install
=needless
18730 # The else clause should only fire when bootstrapping the
18731 # libtool distribution, otherwise you forgot to ship ltmain.sh
18732 # with your package, and you will get complaints that there are
18733 # no rules to generate ltmain.sh.
18734 if test -f "$ltmain"; then
18735 # See if we are running on zsh, and set the options which allow our commands through
18736 # without removal of \ escapes.
18737 if test -n "${ZSH_VERSION+set}" ; then
18738 setopt NO_GLOB_SUBST
18740 # Now quote all the things that may contain metacharacters while being
18741 # careful not to overquote the AC_SUBSTed values. We take copies of the
18742 # variables and quote the copies for generation of the libtool script.
18743 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18745 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18746 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18747 deplibs_check_method reload_flag reload_cmds need_locks \
18748 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18749 lt_cv_sys_global_symbol_to_c_name_address \
18750 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18751 old_postinstall_cmds old_postuninstall_cmds \
18755 lt_prog_compiler_wl_GCJ \
18756 lt_prog_compiler_pic_GCJ \
18757 lt_prog_compiler_static_GCJ \
18758 lt_prog_compiler_no_builtin_flag_GCJ \
18759 export_dynamic_flag_spec_GCJ \
18760 thread_safe_flag_spec_GCJ \
18761 whole_archive_flag_spec_GCJ \
18762 enable_shared_with_static_runtimes_GCJ \
18763 old_archive_cmds_GCJ \
18764 old_archive_from_new_cmds_GCJ \
18765 predep_objects_GCJ \
18766 postdep_objects_GCJ \
18769 compiler_lib_search_path_GCJ \
18770 compiler_lib_search_dirs_GCJ \
18772 archive_expsym_cmds_GCJ \
18773 postinstall_cmds_GCJ \
18774 postuninstall_cmds_GCJ \
18775 old_archive_from_expsyms_cmds_GCJ \
18776 allow_undefined_flag_GCJ \
18777 no_undefined_flag_GCJ \
18778 export_symbols_cmds_GCJ \
18779 hardcode_libdir_flag_spec_GCJ \
18780 hardcode_libdir_flag_spec_ld_GCJ \
18781 hardcode_libdir_separator_GCJ \
18782 hardcode_automatic_GCJ \
18784 module_expsym_cmds_GCJ \
18785 lt_cv_prog_compiler_c_o_GCJ \
18786 fix_srcfile_path_GCJ \
18787 exclude_expsyms_GCJ \
18788 include_expsyms_GCJ
; do
18791 old_archive_cmds_GCJ | \
18792 old_archive_from_new_cmds_GCJ | \
18793 archive_cmds_GCJ | \
18794 archive_expsym_cmds_GCJ | \
18795 module_cmds_GCJ | \
18796 module_expsym_cmds_GCJ | \
18797 old_archive_from_expsyms_cmds_GCJ | \
18798 export_symbols_cmds_GCJ | \
18799 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18800 postinstall_cmds | postuninstall_cmds | \
18801 old_postinstall_cmds | old_postuninstall_cmds | \
18802 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18803 # Double-quote double-evaled strings.
18804 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18807 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18813 *'\$0 --fallback-echo"')
18814 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18820 cat <<__EOF__ >> "$cfgfile"
18821 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18823 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18825 # Shell to use when invoking shell scripts.
18828 # Whether or not to build shared libraries.
18829 build_libtool_libs=$enable_shared
18831 # Whether or not to build static libraries.
18832 build_old_libs=$enable_static
18834 # Whether or not to add -lc for building shared libraries.
18835 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18837 # Whether or not to disallow shared libs when runtime libs are static
18838 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18840 # Whether or not to optimize for fast installation.
18841 fast_install=$enable_fast_install
18844 host_alias=$host_alias
18848 # The build system.
18849 build_alias=$build_alias
18853 # An echo program that does not interpret backslashes.
18858 AR_FLAGS=$lt_AR_FLAGS
18863 # LTCC compiler flags.
18864 LTCFLAGS=$lt_LTCFLAGS
18866 # A language-specific compiler.
18867 CC=$lt_compiler_GCJ
18869 # Is the compiler the GNU C compiler?
18875 # The linker used to build libraries.
18878 # Whether we need hard or soft links.
18881 # A BSD-compatible nm program.
18884 # A symbol stripping program
18887 # Used to examine libraries when file_magic_cmd begins "file"
18888 MAGIC_CMD=$MAGIC_CMD
18890 # Used on cygwin: DLL creation program.
18893 # Used on cygwin: object dumper.
18896 # Used on cygwin: assembler.
18899 # The name of the directory that contains temporary libtool files.
18902 # How to create reloadable object files.
18903 reload_flag=$lt_reload_flag
18904 reload_cmds=$lt_reload_cmds
18906 # How to pass a linker flag through the compiler.
18907 wl=$lt_lt_prog_compiler_wl_GCJ
18909 # Object file suffix (normally "o").
18910 objext="$ac_objext"
18912 # Old archive suffix (normally "a").
18915 # Shared library suffix (normally ".so").
18916 shrext_cmds='$shrext_cmds'
18918 # Executable file suffix (normally "").
18921 # Additional compiler flags for building library objects.
18922 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18925 # What is the maximum length of a command?
18926 max_cmd_len=$lt_cv_sys_max_cmd_len
18928 # Does compiler simultaneously support -c and -o options?
18929 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18931 # Must we lock files when doing compilation?
18932 need_locks=$lt_need_locks
18934 # Do we need the lib prefix for modules?
18935 need_lib_prefix=$need_lib_prefix
18937 # Do we need a version for libraries?
18938 need_version=$need_version
18940 # Whether dlopen is supported.
18941 dlopen_support=$enable_dlopen
18943 # Whether dlopen of programs is supported.
18944 dlopen_self=$enable_dlopen_self
18946 # Whether dlopen of statically linked programs is supported.
18947 dlopen_self_static=$enable_dlopen_self_static
18949 # Compiler flag to prevent dynamic linking.
18950 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18952 # Compiler flag to turn off builtin functions.
18953 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18955 # Compiler flag to allow reflexive dlopens.
18956 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18958 # Compiler flag to generate shared objects directly from archives.
18959 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18961 # Compiler flag to generate thread-safe objects.
18962 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18964 # Library versioning type.
18965 version_type=$version_type
18967 # Format of library name prefix.
18968 libname_spec=$lt_libname_spec
18970 # List of archive names. First name is the real one, the rest are links.
18971 # The last name is the one that the linker finds with -lNAME.
18972 library_names_spec=$lt_library_names_spec
18974 # The coded name of the library, if different from the real name.
18975 soname_spec=$lt_soname_spec
18977 # Commands used to build and install an old-style archive.
18979 old_archive_cmds=$lt_old_archive_cmds_GCJ
18980 old_postinstall_cmds=$lt_old_postinstall_cmds
18981 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18983 # Create an old-style archive from a shared archive.
18984 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18986 # Create a temporary old-style archive to link instead of a shared archive.
18987 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18989 # Commands used to build and install a shared archive.
18990 archive_cmds=$lt_archive_cmds_GCJ
18991 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18992 postinstall_cmds=$lt_postinstall_cmds
18993 postuninstall_cmds=$lt_postuninstall_cmds
18995 # Commands used to build a loadable module (assumed same as above if empty)
18996 module_cmds=$lt_module_cmds_GCJ
18997 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18999 # Commands to strip libraries.
19000 old_striplib=$lt_old_striplib
19001 striplib=$lt_striplib
19003 # Dependencies to place before the objects being linked to create a
19005 predep_objects=$lt_predep_objects_GCJ
19007 # Dependencies to place after the objects being linked to create a
19009 postdep_objects=$lt_postdep_objects_GCJ
19011 # Dependencies to place before the objects being linked to create a
19013 predeps=$lt_predeps_GCJ
19015 # Dependencies to place after the objects being linked to create a
19017 postdeps=$lt_postdeps_GCJ
19019 # The directories searched by this compiler when creating a shared
19021 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19023 # The library search path used internally by the compiler when linking
19024 # a shared library.
19025 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19027 # Method to check whether dependent libraries are shared objects.
19028 deplibs_check_method=$lt_deplibs_check_method
19030 # Command to use when deplibs_check_method == file_magic.
19031 file_magic_cmd=$lt_file_magic_cmd
19033 # Flag that allows shared libraries with undefined symbols to be built.
19034 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19036 # Flag that forces no undefined symbols.
19037 no_undefined_flag=$lt_no_undefined_flag_GCJ
19039 # Commands used to finish a libtool library installation in a directory.
19040 finish_cmds=$lt_finish_cmds
19042 # Same as above, but a single script fragment to be evaled but not shown.
19043 finish_eval=$lt_finish_eval
19045 # Take the output of nm and produce a listing of raw symbols and C names.
19046 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19048 # Transform the output of nm in a proper C declaration
19049 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19051 # Transform the output of nm in a C name address pair
19052 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19054 # This is the shared library runtime path variable.
19055 runpath_var=$runpath_var
19057 # This is the shared library path variable.
19058 shlibpath_var=$shlibpath_var
19060 # Is shlibpath searched before the hard-coded library search path?
19061 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19063 # How to hardcode a shared library path into an executable.
19064 hardcode_action=$hardcode_action_GCJ
19066 # Whether we should hardcode library paths into libraries.
19067 hardcode_into_libs=$hardcode_into_libs
19069 # Flag to hardcode \$libdir into a binary during linking.
19070 # This must work even if \$libdir does not exist.
19071 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19073 # If ld is used when linking, flag to hardcode \$libdir into
19074 # a binary during linking. This must work even if \$libdir does
19076 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19078 # Whether we need a single -rpath flag with a separated argument.
19079 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19081 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19082 # resulting binary.
19083 hardcode_direct=$hardcode_direct_GCJ
19085 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19086 # resulting binary.
19087 hardcode_minus_L=$hardcode_minus_L_GCJ
19089 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19090 # the resulting binary.
19091 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19093 # Set to yes if building a shared library automatically hardcodes DIR into the library
19094 # and all subsequent libraries and executables linked against it.
19095 hardcode_automatic=$hardcode_automatic_GCJ
19097 # Variables whose values should be saved in libtool wrapper scripts and
19098 # restored at relink time.
19099 variables_saved_for_relink="$variables_saved_for_relink"
19101 # Whether libtool must link a program against all its dependency libraries.
19102 link_all_deplibs=$link_all_deplibs_GCJ
19104 # Compile-time system search path for libraries
19105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19107 # Run-time system search path for libraries
19108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19110 # Fix the shell variable \$srcfile for the compiler.
19111 fix_srcfile_path=$lt_fix_srcfile_path
19113 # Set to yes if exported symbols are required.
19114 always_export_symbols=$always_export_symbols_GCJ
19116 # The commands to list exported symbols.
19117 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19119 # The commands to extract the exported symbol list from a shared archive.
19120 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19122 # Symbols that should not be listed in the preloaded symbols.
19123 exclude_expsyms=$lt_exclude_expsyms_GCJ
19125 # Symbols that must always be exported.
19126 include_expsyms=$lt_include_expsyms_GCJ
19128 # ### END LIBTOOL TAG CONFIG: $tagname
19134 # If there is no Makefile yet, we rely on a make rule to execute
19135 # `config.status --recheck' to rerun these tests and create the
19136 # libtool script then.
19137 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19138 if test -f "$ltmain_in"; then
19139 test -f Makefile
&& make "$ltmain"
19145 ac_cpp
='$CPP $CPPFLAGS'
19146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19160 # Source file extension for RC test sources.
19163 # Object file extension for compiled RC test sources.
19167 # Code to be used in simple compile tests
19168 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19170 # Code to be used in simple link tests
19171 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19173 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19175 # If no C compiler was specified, use CC.
19178 # If no C compiler flags were specified, use CFLAGS.
19179 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19181 # Allow CC to be a program name with arguments.
19185 # save warnings/boilerplate of simple test code
19186 ac_outfile
=conftest.
$ac_objext
19187 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19188 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19189 _lt_compiler_boilerplate
=`cat conftest.err`
19192 ac_outfile
=conftest.
$ac_objext
19193 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19194 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19195 _lt_linker_boilerplate
=`cat conftest.err`
19199 # Allow CC to be a program name with arguments.
19204 for cc_temp
in $compiler""; do
19206 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19207 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19212 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19214 lt_cv_prog_compiler_c_o_RC
=yes
19216 # The else clause should only fire when bootstrapping the
19217 # libtool distribution, otherwise you forgot to ship ltmain.sh
19218 # with your package, and you will get complaints that there are
19219 # no rules to generate ltmain.sh.
19220 if test -f "$ltmain"; then
19221 # See if we are running on zsh, and set the options which allow our commands through
19222 # without removal of \ escapes.
19223 if test -n "${ZSH_VERSION+set}" ; then
19224 setopt NO_GLOB_SUBST
19226 # Now quote all the things that may contain metacharacters while being
19227 # careful not to overquote the AC_SUBSTed values. We take copies of the
19228 # variables and quote the copies for generation of the libtool script.
19229 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19231 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19232 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19233 deplibs_check_method reload_flag reload_cmds need_locks \
19234 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19235 lt_cv_sys_global_symbol_to_c_name_address \
19236 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19237 old_postinstall_cmds old_postuninstall_cmds \
19241 lt_prog_compiler_wl_RC \
19242 lt_prog_compiler_pic_RC \
19243 lt_prog_compiler_static_RC \
19244 lt_prog_compiler_no_builtin_flag_RC \
19245 export_dynamic_flag_spec_RC \
19246 thread_safe_flag_spec_RC \
19247 whole_archive_flag_spec_RC \
19248 enable_shared_with_static_runtimes_RC \
19249 old_archive_cmds_RC \
19250 old_archive_from_new_cmds_RC \
19251 predep_objects_RC \
19252 postdep_objects_RC \
19255 compiler_lib_search_path_RC \
19256 compiler_lib_search_dirs_RC \
19258 archive_expsym_cmds_RC \
19259 postinstall_cmds_RC \
19260 postuninstall_cmds_RC \
19261 old_archive_from_expsyms_cmds_RC \
19262 allow_undefined_flag_RC \
19263 no_undefined_flag_RC \
19264 export_symbols_cmds_RC \
19265 hardcode_libdir_flag_spec_RC \
19266 hardcode_libdir_flag_spec_ld_RC \
19267 hardcode_libdir_separator_RC \
19268 hardcode_automatic_RC \
19270 module_expsym_cmds_RC \
19271 lt_cv_prog_compiler_c_o_RC \
19272 fix_srcfile_path_RC \
19273 exclude_expsyms_RC \
19274 include_expsyms_RC
; do
19277 old_archive_cmds_RC | \
19278 old_archive_from_new_cmds_RC | \
19279 archive_cmds_RC | \
19280 archive_expsym_cmds_RC | \
19282 module_expsym_cmds_RC | \
19283 old_archive_from_expsyms_cmds_RC | \
19284 export_symbols_cmds_RC | \
19285 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19286 postinstall_cmds | postuninstall_cmds | \
19287 old_postinstall_cmds | old_postuninstall_cmds | \
19288 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19289 # Double-quote double-evaled strings.
19290 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19293 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19299 *'\$0 --fallback-echo"')
19300 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19306 cat <<__EOF__ >> "$cfgfile"
19307 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19311 # Shell to use when invoking shell scripts.
19314 # Whether or not to build shared libraries.
19315 build_libtool_libs=$enable_shared
19317 # Whether or not to build static libraries.
19318 build_old_libs=$enable_static
19320 # Whether or not to add -lc for building shared libraries.
19321 build_libtool_need_lc=$archive_cmds_need_lc_RC
19323 # Whether or not to disallow shared libs when runtime libs are static
19324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19326 # Whether or not to optimize for fast installation.
19327 fast_install=$enable_fast_install
19330 host_alias=$host_alias
19334 # The build system.
19335 build_alias=$build_alias
19339 # An echo program that does not interpret backslashes.
19344 AR_FLAGS=$lt_AR_FLAGS
19349 # LTCC compiler flags.
19350 LTCFLAGS=$lt_LTCFLAGS
19352 # A language-specific compiler.
19355 # Is the compiler the GNU C compiler?
19361 # The linker used to build libraries.
19364 # Whether we need hard or soft links.
19367 # A BSD-compatible nm program.
19370 # A symbol stripping program
19373 # Used to examine libraries when file_magic_cmd begins "file"
19374 MAGIC_CMD=$MAGIC_CMD
19376 # Used on cygwin: DLL creation program.
19379 # Used on cygwin: object dumper.
19382 # Used on cygwin: assembler.
19385 # The name of the directory that contains temporary libtool files.
19388 # How to create reloadable object files.
19389 reload_flag=$lt_reload_flag
19390 reload_cmds=$lt_reload_cmds
19392 # How to pass a linker flag through the compiler.
19393 wl=$lt_lt_prog_compiler_wl_RC
19395 # Object file suffix (normally "o").
19396 objext="$ac_objext"
19398 # Old archive suffix (normally "a").
19401 # Shared library suffix (normally ".so").
19402 shrext_cmds='$shrext_cmds'
19404 # Executable file suffix (normally "").
19407 # Additional compiler flags for building library objects.
19408 pic_flag=$lt_lt_prog_compiler_pic_RC
19411 # What is the maximum length of a command?
19412 max_cmd_len=$lt_cv_sys_max_cmd_len
19414 # Does compiler simultaneously support -c and -o options?
19415 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19417 # Must we lock files when doing compilation?
19418 need_locks=$lt_need_locks
19420 # Do we need the lib prefix for modules?
19421 need_lib_prefix=$need_lib_prefix
19423 # Do we need a version for libraries?
19424 need_version=$need_version
19426 # Whether dlopen is supported.
19427 dlopen_support=$enable_dlopen
19429 # Whether dlopen of programs is supported.
19430 dlopen_self=$enable_dlopen_self
19432 # Whether dlopen of statically linked programs is supported.
19433 dlopen_self_static=$enable_dlopen_self_static
19435 # Compiler flag to prevent dynamic linking.
19436 link_static_flag=$lt_lt_prog_compiler_static_RC
19438 # Compiler flag to turn off builtin functions.
19439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19441 # Compiler flag to allow reflexive dlopens.
19442 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19444 # Compiler flag to generate shared objects directly from archives.
19445 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19447 # Compiler flag to generate thread-safe objects.
19448 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19450 # Library versioning type.
19451 version_type=$version_type
19453 # Format of library name prefix.
19454 libname_spec=$lt_libname_spec
19456 # List of archive names. First name is the real one, the rest are links.
19457 # The last name is the one that the linker finds with -lNAME.
19458 library_names_spec=$lt_library_names_spec
19460 # The coded name of the library, if different from the real name.
19461 soname_spec=$lt_soname_spec
19463 # Commands used to build and install an old-style archive.
19465 old_archive_cmds=$lt_old_archive_cmds_RC
19466 old_postinstall_cmds=$lt_old_postinstall_cmds
19467 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19469 # Create an old-style archive from a shared archive.
19470 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19472 # Create a temporary old-style archive to link instead of a shared archive.
19473 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19475 # Commands used to build and install a shared archive.
19476 archive_cmds=$lt_archive_cmds_RC
19477 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19478 postinstall_cmds=$lt_postinstall_cmds
19479 postuninstall_cmds=$lt_postuninstall_cmds
19481 # Commands used to build a loadable module (assumed same as above if empty)
19482 module_cmds=$lt_module_cmds_RC
19483 module_expsym_cmds=$lt_module_expsym_cmds_RC
19485 # Commands to strip libraries.
19486 old_striplib=$lt_old_striplib
19487 striplib=$lt_striplib
19489 # Dependencies to place before the objects being linked to create a
19491 predep_objects=$lt_predep_objects_RC
19493 # Dependencies to place after the objects being linked to create a
19495 postdep_objects=$lt_postdep_objects_RC
19497 # Dependencies to place before the objects being linked to create a
19499 predeps=$lt_predeps_RC
19501 # Dependencies to place after the objects being linked to create a
19503 postdeps=$lt_postdeps_RC
19505 # The directories searched by this compiler when creating a shared
19507 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19509 # The library search path used internally by the compiler when linking
19510 # a shared library.
19511 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19513 # Method to check whether dependent libraries are shared objects.
19514 deplibs_check_method=$lt_deplibs_check_method
19516 # Command to use when deplibs_check_method == file_magic.
19517 file_magic_cmd=$lt_file_magic_cmd
19519 # Flag that allows shared libraries with undefined symbols to be built.
19520 allow_undefined_flag=$lt_allow_undefined_flag_RC
19522 # Flag that forces no undefined symbols.
19523 no_undefined_flag=$lt_no_undefined_flag_RC
19525 # Commands used to finish a libtool library installation in a directory.
19526 finish_cmds=$lt_finish_cmds
19528 # Same as above, but a single script fragment to be evaled but not shown.
19529 finish_eval=$lt_finish_eval
19531 # Take the output of nm and produce a listing of raw symbols and C names.
19532 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19534 # Transform the output of nm in a proper C declaration
19535 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19537 # Transform the output of nm in a C name address pair
19538 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19540 # This is the shared library runtime path variable.
19541 runpath_var=$runpath_var
19543 # This is the shared library path variable.
19544 shlibpath_var=$shlibpath_var
19546 # Is shlibpath searched before the hard-coded library search path?
19547 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19549 # How to hardcode a shared library path into an executable.
19550 hardcode_action=$hardcode_action_RC
19552 # Whether we should hardcode library paths into libraries.
19553 hardcode_into_libs=$hardcode_into_libs
19555 # Flag to hardcode \$libdir into a binary during linking.
19556 # This must work even if \$libdir does not exist.
19557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19559 # If ld is used when linking, flag to hardcode \$libdir into
19560 # a binary during linking. This must work even if \$libdir does
19562 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19564 # Whether we need a single -rpath flag with a separated argument.
19565 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19567 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19568 # resulting binary.
19569 hardcode_direct=$hardcode_direct_RC
19571 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19572 # resulting binary.
19573 hardcode_minus_L=$hardcode_minus_L_RC
19575 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19576 # the resulting binary.
19577 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19579 # Set to yes if building a shared library automatically hardcodes DIR into the library
19580 # and all subsequent libraries and executables linked against it.
19581 hardcode_automatic=$hardcode_automatic_RC
19583 # Variables whose values should be saved in libtool wrapper scripts and
19584 # restored at relink time.
19585 variables_saved_for_relink="$variables_saved_for_relink"
19587 # Whether libtool must link a program against all its dependency libraries.
19588 link_all_deplibs=$link_all_deplibs_RC
19590 # Compile-time system search path for libraries
19591 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19593 # Run-time system search path for libraries
19594 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19596 # Fix the shell variable \$srcfile for the compiler.
19597 fix_srcfile_path=$lt_fix_srcfile_path
19599 # Set to yes if exported symbols are required.
19600 always_export_symbols=$always_export_symbols_RC
19602 # The commands to list exported symbols.
19603 export_symbols_cmds=$lt_export_symbols_cmds_RC
19605 # The commands to extract the exported symbol list from a shared archive.
19606 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19608 # Symbols that should not be listed in the preloaded symbols.
19609 exclude_expsyms=$lt_exclude_expsyms_RC
19611 # Symbols that must always be exported.
19612 include_expsyms=$lt_include_expsyms_RC
19614 # ### END LIBTOOL TAG CONFIG: $tagname
19620 # If there is no Makefile yet, we rely on a make rule to execute
19621 # `config.status --recheck' to rerun these tests and create the
19622 # libtool script then.
19623 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19624 if test -f "$ltmain_in"; then
19625 test -f Makefile
&& make "$ltmain"
19631 ac_cpp
='$CPP $CPPFLAGS'
19632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19641 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19642 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19643 { (exit 1); exit 1; }; }
19647 # Append the new tag name to the list of available tags.
19648 if test -n "$tagname" ; then
19649 available_tags
="$available_tags $tagname"
19655 # Now substitute the updated list of available tags.
19656 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19657 mv "${ofile}T" "$ofile"
19661 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19662 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19663 { (exit 1); exit 1; }; }
19669 # This can be used to rebuild libtool when needed
19670 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19672 # Always use our own libtool.
19673 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19675 # Prevent multiple expansion
19697 # Checks for libraries.
19699 # Checks for header files.
19702 for ac_header
in netdb.h sys
/socket.h
19704 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19705 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 ac_res
=`eval echo '${'$as_ac_Header'}'`
19712 { echo "$as_me:$LINENO: result: $ac_res" >&5
19713 echo "${ECHO_T}$ac_res" >&6; }
19715 # Is the header compilable?
19716 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
19717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 $ac_includes_default
19725 #include <$ac_header>
19727 rm -f conftest.
$ac_objext
19728 if { (ac_try
="$ac_compile"
19729 case "(($ac_try" in
19730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19731 *) ac_try_echo=$ac_try;;
19733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19734 (eval "$ac_compile") 2>conftest.er1
19736 grep -v '^ *+' conftest.er1 >conftest.err
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } && {
19741 test -z "$ac_c_werror_flag" ||
19742 test ! -s conftest.err
19743 } && test -s conftest.$ac_objext; then
19744 ac_header_compiler=yes
19746 echo "$as_me: failed program was:" >&5
19747 sed 's/^/| /' conftest.$ac_ext >&5
19749 ac_header_compiler=no
19752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19754 echo "${ECHO_T}$ac_header_compiler" >&6; }
19756 # Is the header present?
19757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
19758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19759 cat >conftest.$ac_ext <<_ACEOF
19762 cat confdefs.h >>conftest.$ac_ext
19763 cat >>conftest.$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19765 #include <$ac_header>
19767 if { (ac_try="$ac_cpp conftest.$ac_ext"
19768 case "(($ac_try" in
19769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19770 *) ac_try_echo
=$ac_try;;
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } >/dev
/null
&& {
19780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19783 ac_header_preproc
=yes
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.
$ac_ext >&5
19788 ac_header_preproc
=no
19791 rm -f conftest.err conftest.
$ac_ext
19792 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19793 echo "${ECHO_T}$ac_header_preproc" >&6; }
19795 # So? What about this header?
19796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19801 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19802 ac_header_preproc
=yes
19805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19810 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19812 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19815 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19816 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19818 ## ------------------------------------- ##
19819 ## Report this to ahmed.badran@gmail.com ##
19820 ## ------------------------------------- ##
19822 ) |
sed "s/^/$as_me: WARNING: /" >&2
19825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19827 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 eval "$as_ac_Header=\$ac_header_preproc"
19832 ac_res
=`eval echo '${'$as_ac_Header'}'`
19833 { echo "$as_me:$LINENO: result: $ac_res" >&5
19834 echo "${ECHO_T}$ac_res" >&6; }
19837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19838 cat >>confdefs.h
<<_ACEOF
19839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19847 # Checks for typedefs, structures, and compiler characteristics.
19848 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
19849 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
19850 if test "${ac_cv_header_stdbool_h+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 cat >conftest.
$ac_ext <<_ACEOF
19856 cat confdefs.h
>>conftest.
$ac_ext
19857 cat >>conftest.
$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19860 #include <stdbool.h>
19862 "error: bool is not defined"
19865 "error: false is not defined"
19868 "error: false is not 0"
19871 "error: true is not defined"
19874 "error: true is not 1"
19876 #ifndef __bool_true_false_are_defined
19877 "error: __bool_true_false_are_defined is not defined"
19880 struct s { _Bool s: 1; _Bool t; } s;
19882 char a[true == 1 ? 1 : -1];
19883 char b[false == 0 ? 1 : -1];
19884 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19885 char d[(bool) 0.5 == true ? 1 : -1];
19887 char f[(_Bool) 0.0 == false ? 1 : -1];
19889 char h[sizeof (_Bool)];
19890 char i[sizeof s.t];
19891 enum { j = false, k = true, l = false * true, m = true * 256 };
19893 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19894 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19895 # if defined __xlc__ || defined __GNUC__
19896 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
19897 reported by James Lemley on 2005-10-05; see
19898 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
19899 This test is not quite right, since xlc is allowed to
19900 reject this program, as the initializer for xlcbug is
19901 not one of the forms that C requires support for.
19902 However, doing the test right would require a runtime
19903 test, and that would make cross-compilation harder.
19904 Let us hope that IBM fixes the xlc bug, and also adds
19905 support for this kind of constant expression. In the
19906 meantime, this test will reject xlc, which is OK, since
19907 our stdbool.h substitute should suffice. We also test
19908 this with GCC, where it should work, to detect more
19909 quickly whether someone messes up the test in the
19911 char digs[] = "0123456789";
19912 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
19914 /* Catch a bug in an HP-UX C compiler. See
19915 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19916 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19927 /* Refer to every declared value, to avoid compiler optimizations. */
19928 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19929 + !m + !n + !o + !p + !q + !pq);
19935 rm -f conftest.
$ac_objext
19936 if { (ac_try
="$ac_compile"
19937 case "(($ac_try" in
19938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_compile") 2>conftest.er1
19944 grep -v '^ *+' conftest.er1 >conftest.err
19946 cat conftest.err >&5
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && {
19949 test -z "$ac_c_werror_flag" ||
19950 test ! -s conftest.err
19951 } && test -s conftest.$ac_objext; then
19952 ac_cv_header_stdbool_h=yes
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 ac_cv_header_stdbool_h=no
19960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19962 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
19963 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
19964 { echo "$as_me:$LINENO: checking for _Bool" >&5
19965 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
19966 if test "${ac_cv_type__Bool+set}" = set; then
19967 echo $ECHO_N "(cached) $ECHO_C" >&6
19969 cat >conftest.$ac_ext <<_ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h. */
19975 $ac_includes_default
19976 typedef _Bool ac__type_new_;
19980 if ((ac__type_new_ *) 0)
19982 if (sizeof (ac__type_new_))
19988 rm -f conftest.$ac_objext
19989 if { (ac_try="$ac_compile"
19990 case "(($ac_try" in
19991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19992 *) ac_try_echo
=$ac_try;;
19994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19995 (eval "$ac_compile") 2>conftest.er1
19997 grep -v '^ *+' conftest.er1
>conftest.err
19999 cat conftest.err
>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } && {
20002 test -z "$ac_c_werror_flag" ||
20003 test ! -s conftest.err
20004 } && test -s conftest.
$ac_objext; then
20005 ac_cv_type__Bool
=yes
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20010 ac_cv_type__Bool
=no
20013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20015 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
20016 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
20017 if test $ac_cv_type__Bool = yes; then
20019 cat >>confdefs.h
<<_ACEOF
20020 #define HAVE__BOOL 1
20026 if test $ac_cv_header_stdbool_h = yes; then
20028 cat >>confdefs.h
<<\_ACEOF
20029 #define HAVE_STDBOOL_H 1
20034 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20035 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20036 if test "${ac_cv_c_const+set}" = set; then
20037 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20049 /* FIXME: Include the comments suggested by Paul. */
20050 #ifndef __cplusplus
20051 /* Ultrix mips cc rejects this. */
20052 typedef int charset[2];
20054 /* SunOS 4.1.1 cc rejects this. */
20055 char const *const *pcpcc;
20057 /* NEC SVR4.0.2 mips cc rejects this. */
20058 struct point {int x, y;};
20059 static struct point const zero = {0,0};
20060 /* AIX XL C 1.02.0.0 rejects this.
20061 It does not let you subtract one const X* pointer from another in
20062 an arm of an if-expression whose if-part is not a constant
20064 const char *g = "string";
20065 pcpcc = &g + (g ? g-g : 0);
20066 /* HPUX 7.0 cc rejects these. */
20068 ppc = (char**) pcpcc;
20069 pcpcc = (char const *const *) ppc;
20070 { /* SCO 3.2v4 cc rejects this. */
20072 char const *s = 0 ? (char *) 0 : (char const *) 0;
20077 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20078 int x[] = {25, 17};
20079 const int *foo = &x[0];
20082 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20083 typedef const int *iptr;
20087 { /* AIX XL C 1.02.0.0 rejects this saying
20088 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20089 struct s { int j; const int *ap[3]; };
20090 struct s *b; b->j = 5;
20092 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20093 const int foo = 10;
20094 if (!foo) return 0;
20096 return !cs[0] && !zero.x;
20103 rm -f conftest.
$ac_objext
20104 if { (ac_try
="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20112 grep -v '^ *+' conftest.er1 >conftest.err
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_c_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20131 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20132 if test $ac_cv_c_const = no; then
20134 cat >>confdefs.h <<\_ACEOF
20140 { echo "$as_me:$LINENO: checking for unsigned char" >&5
20141 echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
20142 if test "${ac_cv_type_unsigned_char+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 cat >conftest.$ac_ext <<_ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 $ac_includes_default
20152 typedef unsigned char ac__type_new_;
20156 if ((ac__type_new_ *) 0)
20158 if (sizeof (ac__type_new_))
20164 rm -f conftest.$ac_objext
20165 if { (ac_try="$ac_compile"
20166 case "(($ac_try" in
20167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20168 *) ac_try_echo
=$ac_try;;
20170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20171 (eval "$ac_compile") 2>conftest.er1
20173 grep -v '^ *+' conftest.er1
>conftest.err
20175 cat conftest.err
>&5
20176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20177 (exit $ac_status); } && {
20178 test -z "$ac_c_werror_flag" ||
20179 test ! -s conftest.err
20180 } && test -s conftest.
$ac_objext; then
20181 ac_cv_type_unsigned_char
=yes
20183 echo "$as_me: failed program was:" >&5
20184 sed 's/^/| /' conftest.
$ac_ext >&5
20186 ac_cv_type_unsigned_char
=no
20189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20191 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
20192 echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
20194 # The cast to long int works around a bug in the HP C Compiler
20195 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20196 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20197 # This bug is HP SR number 8606223364.
20198 { echo "$as_me:$LINENO: checking size of unsigned char" >&5
20199 echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
20200 if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20203 if test "$cross_compiling" = yes; then
20204 # Depending upon the size, compute the lo and hi bounds.
20205 cat >conftest.
$ac_ext <<_ACEOF
20208 cat confdefs.h
>>conftest.
$ac_ext
20209 cat >>conftest.
$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211 $ac_includes_default
20212 typedef unsigned char ac__type_sizeof_;
20216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20223 rm -f conftest.
$ac_objext
20224 if { (ac_try
="$ac_compile"
20225 case "(($ac_try" in
20226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20227 *) ac_try_echo=$ac_try;;
20229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_compile") 2>conftest.er1
20232 grep -v '^ *+' conftest.er1 >conftest.err
20234 cat conftest.err >&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } && {
20237 test -z "$ac_c_werror_flag" ||
20238 test ! -s conftest.err
20239 } && test -s conftest.$ac_objext; then
20242 cat >conftest.$ac_ext <<_ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 $ac_includes_default
20249 typedef unsigned char ac__type_sizeof_;
20253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20260 rm -f conftest.$ac_objext
20261 if { (ac_try="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20264 *) ac_try_echo
=$ac_try;;
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.
$ac_objext; then
20277 ac_hi
=$ac_mid; break
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.
$ac_ext >&5
20282 ac_lo
=`expr $ac_mid + 1`
20283 if test $ac_lo -le $ac_mid; then
20287 ac_mid
=`expr 2 '*' $ac_mid + 1`
20290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.
$ac_ext >&5
20296 cat >conftest.
$ac_ext <<_ACEOF
20299 cat confdefs.h
>>conftest.
$ac_ext
20300 cat >>conftest.
$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 $ac_includes_default
20303 typedef unsigned char ac__type_sizeof_;
20307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20314 rm -f conftest.
$ac_objext
20315 if { (ac_try
="$ac_compile"
20316 case "(($ac_try" in
20317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_compile") 2>conftest.er1
20323 grep -v '^ *+' conftest.er1 >conftest.err
20325 cat conftest.err >&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } && {
20328 test -z "$ac_c_werror_flag" ||
20329 test ! -s conftest.err
20330 } && test -s conftest.$ac_objext; then
20333 cat >conftest.$ac_ext <<_ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 $ac_includes_default
20340 typedef unsigned char ac__type_sizeof_;
20344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20355 *) ac_try_echo
=$ac_try;;
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20360 grep -v '^ *+' conftest.er1
>conftest.err
20362 cat conftest.err
>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.
$ac_objext; then
20368 ac_lo
=$ac_mid; break
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.
$ac_ext >&5
20373 ac_hi
=`expr '(' $ac_mid ')' - 1`
20374 if test $ac_mid -le $ac_hi; then
20378 ac_mid
=`expr 2 '*' $ac_mid`
20381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.
$ac_ext >&5
20390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20394 # Binary search between lo and hi bounds.
20395 while test "x$ac_lo" != "x$ac_hi"; do
20396 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20397 cat >conftest.
$ac_ext <<_ACEOF
20400 cat confdefs.h
>>conftest.
$ac_ext
20401 cat >>conftest.
$ac_ext <<_ACEOF
20402 /* end confdefs.h. */
20403 $ac_includes_default
20404 typedef unsigned char ac__type_sizeof_;
20408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20415 rm -f conftest.
$ac_objext
20416 if { (ac_try
="$ac_compile"
20417 case "(($ac_try" in
20418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20424 grep -v '^ *+' conftest.er1 >conftest.err
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_c_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.$ac_objext; then
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20437 ac_lo=`expr '(' $ac_mid ')' + 1`
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 ?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
20444 '') if test "$ac_cv_type_unsigned_char" = yes; then
20445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
20446 See \`config.log
' for more details." >&5
20447 echo "$as_me: error: cannot compute sizeof (unsigned char)
20448 See \`config.log' for more details.
" >&2;}
20449 { (exit 77); exit 77; }; }
20451 ac_cv_sizeof_unsigned_char=0
20455 cat >conftest.$ac_ext <<_ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 typedef unsigned char ac__type_sizeof_;
20463 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20464 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20466 #include <stdlib.h>
20471 FILE *f = fopen ("conftest.val
", "w
");
20474 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20476 long int i = longval ();
20477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20479 fprintf (f, "%ld
\n", i);
20483 unsigned long int i = ulongval ();
20484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20486 fprintf (f, "%lu
\n", i);
20488 return ferror (f) || fclose (f) != 0;
20494 rm -f conftest$ac_exeext
20495 if { (ac_try="$ac_link"
20496 case "(($ac_try" in
20497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20498 *) ac_try_echo=$ac_try;;
20500 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20501 (eval "$ac_link") 2>&5
20503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20505 { (case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20509 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_try") 2>&5
20512 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20513 (exit $ac_status); }; }; then
20514 ac_cv_sizeof_unsigned_char=`cat conftest.val`
20516 echo "$as_me: program exited with status
$ac_status" >&5
20517 echo "$as_me: failed program was
:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20520 ( exit $ac_status )
20521 if test "$ac_cv_type_unsigned_char" = yes; then
20522 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned char
)
20523 See \
`config.log' for more details." >&5
20524 echo "$as_me: error: cannot compute sizeof (unsigned char)
20525 See \`config.log
' for more details." >&2;}
20526 { (exit 77); exit 77; }; }
20528 ac_cv_sizeof_unsigned_char=0
20531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20535 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
20536 echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
20540 cat >>confdefs.h <<_ACEOF
20541 #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
20545 { echo "$as_me:$LINENO: checking for unsigned short" >&5
20546 echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6; }
20547 if test "${ac_cv_type_unsigned_short+set}" = set; then
20548 echo $ECHO_N "(cached) $ECHO_C" >&6
20550 cat >conftest.$ac_ext <<_ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 $ac_includes_default
20557 typedef unsigned short ac__type_new_;
20561 if ((ac__type_new_ *) 0)
20563 if (sizeof (ac__type_new_))
20569 rm -f conftest.$ac_objext
20570 if { (ac_try="$ac_compile"
20571 case "(($ac_try" in
20572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20578 grep -v '^
*+' conftest.er1 >conftest.err
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.$ac_objext; then
20586 ac_cv_type_unsigned_short=yes
20588 echo "$as_me: failed program was:" >&5
20589 sed 's
/^
/|
/' conftest.$ac_ext >&5
20591 ac_cv_type_unsigned_short=no
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5
20597 echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6; }
20599 # The cast to long int works around a bug in the HP C Compiler
20600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20602 # This bug is HP SR number 8606223364.
20603 { echo "$as_me:$LINENO: checking size of unsigned short" >&5
20604 echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6; }
20605 if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
20606 echo $ECHO_N "(cached) $ECHO_C" >&6
20608 if test "$cross_compiling" = yes; then
20609 # Depending upon the size, compute the lo and hi bounds.
20610 cat >conftest.
$ac_ext <<_ACEOF
20613 cat confdefs.h
>>conftest.
$ac_ext
20614 cat >>conftest.
$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 typedef unsigned short ac__type_sizeof_;
20621 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20628 rm -f conftest.
$ac_objext
20629 if { (ac_try
="$ac_compile"
20630 case "(($ac_try" in
20631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20632 *) ac_try_echo=$ac_try;;
20634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20635 (eval "$ac_compile") 2>conftest.er1
20637 grep -v '^ *+' conftest.er1 >conftest.err
20639 cat conftest.err >&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } && {
20642 test -z "$ac_c_werror_flag" ||
20643 test ! -s conftest.err
20644 } && test -s conftest.$ac_objext; then
20647 cat >conftest.$ac_ext <<_ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 typedef unsigned short ac__type_sizeof_;
20658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20665 rm -f conftest.$ac_objext
20666 if { (ac_try="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20669 *) ac_try_echo
=$ac_try;;
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20674 grep -v '^ *+' conftest.er1
>conftest.err
20676 cat conftest.err
>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest.
$ac_objext; then
20682 ac_hi
=$ac_mid; break
20684 echo "$as_me: failed program was:" >&5
20685 sed 's/^/| /' conftest.
$ac_ext >&5
20687 ac_lo
=`expr $ac_mid + 1`
20688 if test $ac_lo -le $ac_mid; then
20692 ac_mid
=`expr 2 '*' $ac_mid + 1`
20695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.
$ac_ext >&5
20701 cat >conftest.
$ac_ext <<_ACEOF
20704 cat confdefs.h
>>conftest.
$ac_ext
20705 cat >>conftest.
$ac_ext <<_ACEOF
20706 /* end confdefs.h. */
20707 $ac_includes_default
20708 typedef unsigned short ac__type_sizeof_;
20712 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20719 rm -f conftest.
$ac_objext
20720 if { (ac_try
="$ac_compile"
20721 case "(($ac_try" in
20722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20723 *) ac_try_echo=$ac_try;;
20725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20726 (eval "$ac_compile") 2>conftest.er1
20728 grep -v '^ *+' conftest.er1 >conftest.err
20730 cat conftest.err >&5
20731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20732 (exit $ac_status); } && {
20733 test -z "$ac_c_werror_flag" ||
20734 test ! -s conftest.err
20735 } && test -s conftest.$ac_objext; then
20738 cat >conftest.$ac_ext <<_ACEOF
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 $ac_includes_default
20745 typedef unsigned short ac__type_sizeof_;
20749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20756 rm -f conftest.$ac_objext
20757 if { (ac_try="$ac_compile"
20758 case "(($ac_try" in
20759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20760 *) ac_try_echo
=$ac_try;;
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_compile") 2>conftest.er1
20765 grep -v '^ *+' conftest.er1
>conftest.err
20767 cat conftest.err
>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } && {
20770 test -z "$ac_c_werror_flag" ||
20771 test ! -s conftest.err
20772 } && test -s conftest.
$ac_objext; then
20773 ac_lo
=$ac_mid; break
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.
$ac_ext >&5
20778 ac_hi
=`expr '(' $ac_mid ')' - 1`
20779 if test $ac_mid -le $ac_hi; then
20783 ac_mid
=`expr 2 '*' $ac_mid`
20786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20789 echo "$as_me: failed program was:" >&5
20790 sed 's/^/| /' conftest.
$ac_ext >&5
20795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20799 # Binary search between lo and hi bounds.
20800 while test "x$ac_lo" != "x$ac_hi"; do
20801 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20802 cat >conftest.
$ac_ext <<_ACEOF
20805 cat confdefs.h
>>conftest.
$ac_ext
20806 cat >>conftest.
$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 $ac_includes_default
20809 typedef unsigned short ac__type_sizeof_;
20813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20820 rm -f conftest.
$ac_objext
20821 if { (ac_try
="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20829 grep -v '^ *+' conftest.er1 >conftest.err
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 ac_lo=`expr '(' $ac_mid ')' + 1`
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 ?*) ac_cv_sizeof_unsigned_short=$ac_lo;;
20849 '') if test "$ac_cv_type_unsigned_short" = yes; then
20850 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short)
20851 See \`config.log
' for more details." >&5
20852 echo "$as_me: error: cannot compute sizeof (unsigned short)
20853 See \`config.log' for more details.
" >&2;}
20854 { (exit 77); exit 77; }; }
20856 ac_cv_sizeof_unsigned_short=0
20860 cat >conftest.$ac_ext <<_ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 typedef unsigned short ac__type_sizeof_;
20868 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20869 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20871 #include <stdlib.h>
20876 FILE *f = fopen ("conftest.val
", "w
");
20879 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20881 long int i = longval ();
20882 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20884 fprintf (f, "%ld
\n", i);
20888 unsigned long int i = ulongval ();
20889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20891 fprintf (f, "%lu
\n", i);
20893 return ferror (f) || fclose (f) != 0;
20899 rm -f conftest$ac_exeext
20900 if { (ac_try="$ac_link"
20901 case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20905 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_link") 2>&5
20908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20910 { (case "(($ac_try" in
20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_try") 2>&5
20917 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20918 (exit $ac_status); }; }; then
20919 ac_cv_sizeof_unsigned_short=`cat conftest.val`
20921 echo "$as_me: program exited with status
$ac_status" >&5
20922 echo "$as_me: failed program was
:" >&5
20923 sed 's/^/| /' conftest.$ac_ext >&5
20925 ( exit $ac_status )
20926 if test "$ac_cv_type_unsigned_short" = yes; then
20927 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned short
)
20928 See \
`config.log' for more details." >&5
20929 echo "$as_me: error: cannot compute sizeof (unsigned short)
20930 See \`config.log
' for more details." >&2;}
20931 { (exit 77); exit 77; }; }
20933 ac_cv_sizeof_unsigned_short=0
20936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20940 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5
20941 echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6; }
20945 cat >>confdefs.h <<_ACEOF
20946 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20950 { echo "$as_me:$LINENO: checking for unsigned int" >&5
20951 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
20952 if test "${ac_cv_type_unsigned_int+set}" = set; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20955 cat >conftest.$ac_ext <<_ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 $ac_includes_default
20962 typedef unsigned int ac__type_new_;
20966 if ((ac__type_new_ *) 0)
20968 if (sizeof (ac__type_new_))
20974 rm -f conftest.$ac_objext
20975 if { (ac_try="$ac_compile"
20976 case "(($ac_try" in
20977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20978 *) ac_try_echo=$ac_try;;
20980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20981 (eval "$ac_compile") 2>conftest.er1
20983 grep -v '^
*+' conftest.er1 >conftest.err
20985 cat conftest.err >&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } && {
20988 test -z "$ac_c_werror_flag" ||
20989 test ! -s conftest.err
20990 } && test -s conftest.$ac_objext; then
20991 ac_cv_type_unsigned_int=yes
20993 echo "$as_me: failed program was:" >&5
20994 sed 's
/^
/|
/' conftest.$ac_ext >&5
20996 ac_cv_type_unsigned_int=no
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21001 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
21002 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
21004 # The cast to long int works around a bug in the HP C Compiler
21005 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21006 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21007 # This bug is HP SR number 8606223364.
21008 { echo "$as_me:$LINENO: checking size of unsigned int" >&5
21009 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
21010 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 if test "$cross_compiling" = yes; then
21014 # Depending upon the size, compute the lo and hi bounds.
21015 cat >conftest.
$ac_ext <<_ACEOF
21018 cat confdefs.h
>>conftest.
$ac_ext
21019 cat >>conftest.
$ac_ext <<_ACEOF
21020 /* end confdefs.h. */
21021 $ac_includes_default
21022 typedef unsigned int ac__type_sizeof_;
21026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21033 rm -f conftest.
$ac_objext
21034 if { (ac_try
="$ac_compile"
21035 case "(($ac_try" in
21036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_compile") 2>conftest.er1
21042 grep -v '^ *+' conftest.er1 >conftest.err
21044 cat conftest.err >&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } && {
21047 test -z "$ac_c_werror_flag" ||
21048 test ! -s conftest.err
21049 } && test -s conftest.$ac_objext; then
21052 cat >conftest.$ac_ext <<_ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058 $ac_includes_default
21059 typedef unsigned int ac__type_sizeof_;
21063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21070 rm -f conftest.$ac_objext
21071 if { (ac_try="$ac_compile"
21072 case "(($ac_try" in
21073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21074 *) ac_try_echo
=$ac_try;;
21076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21077 (eval "$ac_compile") 2>conftest.er1
21079 grep -v '^ *+' conftest.er1
>conftest.err
21081 cat conftest.err
>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && {
21084 test -z "$ac_c_werror_flag" ||
21085 test ! -s conftest.err
21086 } && test -s conftest.
$ac_objext; then
21087 ac_hi
=$ac_mid; break
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.
$ac_ext >&5
21092 ac_lo
=`expr $ac_mid + 1`
21093 if test $ac_lo -le $ac_mid; then
21097 ac_mid
=`expr 2 '*' $ac_mid + 1`
21100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.
$ac_ext >&5
21106 cat >conftest.
$ac_ext <<_ACEOF
21109 cat confdefs.h
>>conftest.
$ac_ext
21110 cat >>conftest.
$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 typedef unsigned int ac__type_sizeof_;
21117 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21124 rm -f conftest.
$ac_objext
21125 if { (ac_try
="$ac_compile"
21126 case "(($ac_try" in
21127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21128 *) ac_try_echo=$ac_try;;
21130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21131 (eval "$ac_compile") 2>conftest.er1
21133 grep -v '^ *+' conftest.er1 >conftest.err
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } && {
21138 test -z "$ac_c_werror_flag" ||
21139 test ! -s conftest.err
21140 } && test -s conftest.$ac_objext; then
21143 cat >conftest.$ac_ext <<_ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef unsigned int ac__type_sizeof_;
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21165 *) ac_try_echo
=$ac_try;;
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21170 grep -v '^ *+' conftest.er1
>conftest.err
21172 cat conftest.err
>&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.
$ac_objext; then
21178 ac_lo
=$ac_mid; break
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.
$ac_ext >&5
21183 ac_hi
=`expr '(' $ac_mid ')' - 1`
21184 if test $ac_mid -le $ac_hi; then
21188 ac_mid
=`expr 2 '*' $ac_mid`
21191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.
$ac_ext >&5
21200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21204 # Binary search between lo and hi bounds.
21205 while test "x$ac_lo" != "x$ac_hi"; do
21206 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21207 cat >conftest.
$ac_ext <<_ACEOF
21210 cat confdefs.h
>>conftest.
$ac_ext
21211 cat >>conftest.
$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 $ac_includes_default
21214 typedef unsigned int ac__type_sizeof_;
21218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21225 rm -f conftest.
$ac_objext
21226 if { (ac_try
="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^ *+' conftest.er1 >conftest.err
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21247 ac_lo=`expr '(' $ac_mid ')' + 1`
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 ?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
21254 '') if test "$ac_cv_type_unsigned_int" = yes; then
21255 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
21256 See \`config.log
' for more details." >&5
21257 echo "$as_me: error: cannot compute sizeof (unsigned int)
21258 See \`config.log' for more details.
" >&2;}
21259 { (exit 77); exit 77; }; }
21261 ac_cv_sizeof_unsigned_int=0
21265 cat >conftest.$ac_ext <<_ACEOF
21268 cat confdefs.h >>conftest.$ac_ext
21269 cat >>conftest.$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 $ac_includes_default
21272 typedef unsigned int ac__type_sizeof_;
21273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21276 #include <stdlib.h>
21281 FILE *f = fopen ("conftest.val
", "w
");
21284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21286 long int i = longval ();
21287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21289 fprintf (f, "%ld
\n", i);
21293 unsigned long int i = ulongval ();
21294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21296 fprintf (f, "%lu
\n", i);
21298 return ferror (f) || fclose (f) != 0;
21304 rm -f conftest$ac_exeext
21305 if { (ac_try="$ac_link"
21306 case "(($ac_try" in
21307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21308 *) ac_try_echo=$ac_try;;
21310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21311 (eval "$ac_link") 2>&5
21313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21315 { (case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21319 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_try") 2>&5
21322 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21323 (exit $ac_status); }; }; then
21324 ac_cv_sizeof_unsigned_int=`cat conftest.val`
21326 echo "$as_me: program exited with status
$ac_status" >&5
21327 echo "$as_me: failed program was
:" >&5
21328 sed 's/^/| /' conftest.$ac_ext >&5
21330 ( exit $ac_status )
21331 if test "$ac_cv_type_unsigned_int" = yes; then
21332 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned int
)
21333 See \
`config.log' for more details." >&5
21334 echo "$as_me: error: cannot compute sizeof (unsigned int)
21335 See \`config.log
' for more details." >&2;}
21336 { (exit 77); exit 77; }; }
21338 ac_cv_sizeof_unsigned_int=0
21341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
21346 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
21350 cat >>confdefs.h <<_ACEOF
21351 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
21355 { echo "$as_me:$LINENO: checking for unsigned long long" >&5
21356 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; }
21357 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
21358 echo $ECHO_N "(cached) $ECHO_C" >&6
21360 cat >conftest.$ac_ext <<_ACEOF
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 $ac_includes_default
21367 typedef unsigned long long ac__type_new_;
21371 if ((ac__type_new_ *) 0)
21373 if (sizeof (ac__type_new_))
21379 rm -f conftest.$ac_objext
21380 if { (ac_try="$ac_compile"
21381 case "(($ac_try" in
21382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_compile") 2>conftest.er1
21388 grep -v '^
*+' conftest.er1 >conftest.err
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && {
21393 test -z "$ac_c_werror_flag" ||
21394 test ! -s conftest.err
21395 } && test -s conftest.$ac_objext; then
21396 ac_cv_type_unsigned_long_long=yes
21398 echo "$as_me: failed program was:" >&5
21399 sed 's
/^
/|
/' conftest.$ac_ext >&5
21401 ac_cv_type_unsigned_long_long=no
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21406 { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
21407 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; }
21409 # The cast to long int works around a bug in the HP C Compiler
21410 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21411 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21412 # This bug is HP SR number 8606223364.
21413 { echo "$as_me:$LINENO: checking size of unsigned long long" >&5
21414 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6; }
21415 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21418 if test "$cross_compiling" = yes; then
21419 # Depending upon the size, compute the lo and hi bounds.
21420 cat >conftest.
$ac_ext <<_ACEOF
21423 cat confdefs.h
>>conftest.
$ac_ext
21424 cat >>conftest.
$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 $ac_includes_default
21427 typedef unsigned long long ac__type_sizeof_;
21431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21438 rm -f conftest.
$ac_objext
21439 if { (ac_try
="$ac_compile"
21440 case "(($ac_try" in
21441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21442 *) ac_try_echo=$ac_try;;
21444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21445 (eval "$ac_compile") 2>conftest.er1
21447 grep -v '^ *+' conftest.er1 >conftest.err
21449 cat conftest.err >&5
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && {
21452 test -z "$ac_c_werror_flag" ||
21453 test ! -s conftest.err
21454 } && test -s conftest.$ac_objext; then
21457 cat >conftest.$ac_ext <<_ACEOF
21460 cat confdefs.h >>conftest.$ac_ext
21461 cat >>conftest.$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 typedef unsigned long long ac__type_sizeof_;
21468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21475 rm -f conftest.$ac_objext
21476 if { (ac_try="$ac_compile"
21477 case "(($ac_try" in
21478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21479 *) ac_try_echo
=$ac_try;;
21481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21482 (eval "$ac_compile") 2>conftest.er1
21484 grep -v '^ *+' conftest.er1
>conftest.err
21486 cat conftest.err
>&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } && {
21489 test -z "$ac_c_werror_flag" ||
21490 test ! -s conftest.err
21491 } && test -s conftest.
$ac_objext; then
21492 ac_hi
=$ac_mid; break
21494 echo "$as_me: failed program was:" >&5
21495 sed 's/^/| /' conftest.
$ac_ext >&5
21497 ac_lo
=`expr $ac_mid + 1`
21498 if test $ac_lo -le $ac_mid; then
21502 ac_mid
=`expr 2 '*' $ac_mid + 1`
21505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.
$ac_ext >&5
21511 cat >conftest.
$ac_ext <<_ACEOF
21514 cat confdefs.h
>>conftest.
$ac_ext
21515 cat >>conftest.
$ac_ext <<_ACEOF
21516 /* end confdefs.h. */
21517 $ac_includes_default
21518 typedef unsigned long long ac__type_sizeof_;
21522 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21529 rm -f conftest.
$ac_objext
21530 if { (ac_try
="$ac_compile"
21531 case "(($ac_try" in
21532 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21533 *) ac_try_echo=$ac_try;;
21535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21536 (eval "$ac_compile") 2>conftest.er1
21538 grep -v '^ *+' conftest.er1 >conftest.err
21540 cat conftest.err >&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); } && {
21543 test -z "$ac_c_werror_flag" ||
21544 test ! -s conftest.err
21545 } && test -s conftest.$ac_objext; then
21548 cat >conftest.$ac_ext <<_ACEOF
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h. */
21554 $ac_includes_default
21555 typedef unsigned long long ac__type_sizeof_;
21559 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21566 rm -f conftest.$ac_objext
21567 if { (ac_try="$ac_compile"
21568 case "(($ac_try" in
21569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21570 *) ac_try_echo
=$ac_try;;
21572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21573 (eval "$ac_compile") 2>conftest.er1
21575 grep -v '^ *+' conftest.er1
>conftest.err
21577 cat conftest.err
>&5
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); } && {
21580 test -z "$ac_c_werror_flag" ||
21581 test ! -s conftest.err
21582 } && test -s conftest.
$ac_objext; then
21583 ac_lo
=$ac_mid; break
21585 echo "$as_me: failed program was:" >&5
21586 sed 's/^/| /' conftest.
$ac_ext >&5
21588 ac_hi
=`expr '(' $ac_mid ')' - 1`
21589 if test $ac_mid -le $ac_hi; then
21593 ac_mid
=`expr 2 '*' $ac_mid`
21596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21599 echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.
$ac_ext >&5
21605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21609 # Binary search between lo and hi bounds.
21610 while test "x$ac_lo" != "x$ac_hi"; do
21611 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21612 cat >conftest.
$ac_ext <<_ACEOF
21615 cat confdefs.h
>>conftest.
$ac_ext
21616 cat >>conftest.
$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 $ac_includes_default
21619 typedef unsigned long long ac__type_sizeof_;
21623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21630 rm -f conftest.
$ac_objext
21631 if { (ac_try
="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21639 grep -v '^ *+' conftest.er1 >conftest.err
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21649 echo "$as_me: failed program was:" >&5
21650 sed 's/^/| /' conftest.$ac_ext >&5
21652 ac_lo=`expr '(' $ac_mid ')' + 1`
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
21659 '') if test "$ac_cv_type_unsigned_long_long" = yes; then
21660 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long)
21661 See \`config.log
' for more details." >&5
21662 echo "$as_me: error: cannot compute sizeof (unsigned long long)
21663 See \`config.log' for more details.
" >&2;}
21664 { (exit 77); exit 77; }; }
21666 ac_cv_sizeof_unsigned_long_long=0
21670 cat >conftest.$ac_ext <<_ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef unsigned long long ac__type_sizeof_;
21678 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21679 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21681 #include <stdlib.h>
21686 FILE *f = fopen ("conftest.val
", "w
");
21689 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21691 long int i = longval ();
21692 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21694 fprintf (f, "%ld
\n", i);
21698 unsigned long int i = ulongval ();
21699 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21701 fprintf (f, "%lu
\n", i);
21703 return ferror (f) || fclose (f) != 0;
21709 rm -f conftest$ac_exeext
21710 if { (ac_try="$ac_link"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21715 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21716 (eval "$ac_link") 2>&5
21718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21720 { (case "(($ac_try" in
21721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21724 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21725 (eval "$ac_try") 2>&5
21727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
21731 echo "$as_me: program exited with status
$ac_status" >&5
21732 echo "$as_me: failed program was
:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21735 ( exit $ac_status )
21736 if test "$ac_cv_type_unsigned_long_long" = yes; then
21737 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(unsigned long long
)
21738 See \
`config.log' for more details." >&5
21739 echo "$as_me: error: cannot compute sizeof (unsigned long long)
21740 See \`config.log
' for more details." >&2;}
21741 { (exit 77); exit 77; }; }
21743 ac_cv_sizeof_unsigned_long_long=0
21746 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21750 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
21751 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6; }
21755 cat >>confdefs.h <<_ACEOF
21756 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
21761 # Checks for library functions.
21762 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21763 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21764 if test "${ac_cv_header_stdc+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21767 cat >conftest.$ac_ext <<_ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773 #include <stdlib.h>
21774 #include <stdarg.h>
21775 #include <string.h>
21786 rm -f conftest.$ac_objext
21787 if { (ac_try="$ac_compile"
21788 case "(($ac_try" in
21789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21790 *) ac_try_echo=$ac_try;;
21792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21793 (eval "$ac_compile") 2>conftest.er1
21795 grep -v '^
*+' conftest.er1 >conftest.err
21797 cat conftest.err >&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && {
21800 test -z "$ac_c_werror_flag" ||
21801 test ! -s conftest.err
21802 } && test -s conftest.$ac_objext; then
21803 ac_cv_header_stdc=yes
21805 echo "$as_me: failed program was:" >&5
21806 sed 's
/^
/|
/' conftest.$ac_ext >&5
21808 ac_cv_header_stdc=no
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813 if test $ac_cv_header_stdc = yes; then
21814 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 #include <string.h>
21824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21825 $EGREP "memchr" >/dev/null 2>&1; then
21828 ac_cv_header_stdc=no
21834 if test $ac_cv_header_stdc = yes; then
21835 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21836 cat >conftest.$ac_ext <<_ACEOF
21839 cat confdefs.h >>conftest.$ac_ext
21840 cat >>conftest.$ac_ext <<_ACEOF
21841 /* end confdefs.h. */
21842 #include <stdlib.h>
21845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21846 $EGREP "free" >/dev/null 2>&1; then
21849 ac_cv_header_stdc=no
21855 if test $ac_cv_header_stdc = yes; then
21856 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21857 if test "$cross_compiling" = yes; then
21860 cat >conftest.$ac_ext <<_ACEOF
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21867 #include <stdlib.h>
21868 #if ((' ' & 0x0FF) == 0x020)
21869 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
21870 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
21872 # define ISLOWER(c) \
21873 (('a
' <= (c) && (c) <= 'i
') \
21874 || ('j
' <= (c) && (c) <= 'r
') \
21875 || ('s
' <= (c) && (c) <= 'z
'))
21876 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21879 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21884 for (i = 0; i < 256; i++)
21885 if (XOR (islower (i), ISLOWER (i))
21886 || toupper (i) != TOUPPER (i))
21891 rm -f conftest$ac_exeext
21892 if { (ac_try="$ac_link"
21893 case "(($ac_try" in
21894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21895 *) ac_try_echo=$ac_try;;
21897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21898 (eval "$ac_link") 2>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21902 { (case "(($ac_try" in
21903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21904 *) ac_try_echo=$ac_try;;
21906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21907 (eval "$ac_try") 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; }; then
21913 echo "$as_me: program exited with status $ac_status" >&5
21914 echo "$as_me: failed program was:" >&5
21915 sed 's
/^
/|
/' conftest.$ac_ext >&5
21917 ( exit $ac_status )
21918 ac_cv_header_stdc=no
21920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21926 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21927 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21928 if test $ac_cv_header_stdc = yes; then
21930 cat >>confdefs.h <<\_ACEOF
21931 #define STDC_HEADERS 1
21939 for ac_func in memset socket strerror
21941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 cat >conftest.$ac_ext <<_ACEOF
21950 cat confdefs.h >>conftest.$ac_ext
21951 cat >>conftest.$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21955 #define $ac_func innocuous_$ac_func
21957 /* System header to define __stub macros and hopefully few prototypes,
21958 which can conflict with char $ac_func (); below.
21959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21960 <limits.h> exists even on freestanding compilers. */
21963 # include <limits.h>
21965 # include <assert.h>
21970 /* Override any GCC internal prototype to avoid an error.
21971 Use char because int might match the return type of a GCC
21972 builtin and then its argument prototype would still apply. */
21977 /* The GNU C library defines this for functions which it implements
21978 to always fail with ENOSYS. Some functions are actually named
21979 something starting with __ and the normal name is an alias. */
21980 #if defined __stub_$ac_func || defined __stub___$ac_func
21987 return $ac_func ();
21992 rm -f conftest.$ac_objext conftest$ac_exeext
21993 if { (ac_try="$ac_link"
21994 case "(($ac_try" in
21995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_link") 2>conftest.er1
22001 grep -v '^
*+' conftest.er1 >conftest.err
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest$ac_exeext &&
22009 $as_test_x conftest$ac_exeext; then
22010 eval "$as_ac_var=yes"
22012 echo "$as_me: failed program was:" >&5
22013 sed 's
/^
/|
/' conftest.$ac_ext >&5
22015 eval "$as_ac_var=no"
22018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22019 conftest$ac_exeext conftest.$ac_ext
22021 ac_res=`eval echo '${'$as_ac_var'}'`
22022 { echo "$as_me:$LINENO: result: $ac_res" >&5
22023 echo "${ECHO_T}$ac_res" >&6; }
22024 if test `eval echo '${'$as_ac_var'}'` = yes; then
22025 cat >>confdefs.h <<_ACEOF
22026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22033 ac_config_files="$ac_config_files Makefile src/simple_comm.pc src/Makefile"
22035 cat >confcache <<\_ACEOF
22036 # This file is a shell script that caches the results of configure
22037 # tests run on this system so they can be shared between configure
22038 # scripts and configure runs, see configure's option
--config-cache.
22039 # It is not useful on other systems. If it contains results you don't
22040 # want to keep, you may remove or edit it.
22042 # config.status only pays attention to the cache file if you give it
22043 # the --recheck option to rerun configure.
22045 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22046 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22047 # following values.
22051 # The following way of writing the cache mishandles newlines in values,
22052 # but we know of no workaround that is simple, portable, and efficient.
22053 # So, we kill variables containing newlines.
22054 # Ultrix sh set writes to stderr and can't be redirected directly,
22055 # and sets the high bit in the cache file unless we assign to the vars.
22057 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22058 eval ac_val
=\$
$ac_var
22062 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22063 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22066 _ | IFS | as_nl
) ;; #(
22067 *) $as_unset $ac_var ;;
22073 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22074 *${as_nl}ac_space
=\
*)
22075 # `set' does not quote correctly, so add quotes (double-quote
22076 # substitution turns \\\\ into \\, and sed turns \\ into \).
22079 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22082 # `set' quotes correctly as required by POSIX, so do not add quotes.
22083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22092 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22094 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22096 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22097 if test -w "$cache_file"; then
22098 test "x$cache_file" != "x/dev/null" &&
22099 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22100 echo "$as_me: updating cache $cache_file" >&6;}
22101 cat confcache
>$cache_file
22103 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22104 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22109 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22110 # Let make expand exec_prefix.
22111 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22113 DEFS
=-DHAVE_CONFIG_H
22117 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22118 # 1. Remove the extension, and $U if already installed.
22119 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22120 ac_i
=`echo "$ac_i" | sed "$ac_script"`
22121 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22122 # will be set to the directory where LIBOBJS objects are built.
22123 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22124 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22126 LIBOBJS
=$ac_libobjs
22128 LTLIBOBJS
=$ac_ltlibobjs
22131 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22132 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22133 Usually this means the macro was only invoked conditionally." >&5
22134 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22135 Usually this means the macro was only invoked conditionally." >&2;}
22136 { (exit 1); exit 1; }; }
22138 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22139 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22140 Usually this means the macro was only invoked conditionally." >&5
22141 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22142 Usually this means the macro was only invoked conditionally." >&2;}
22143 { (exit 1); exit 1; }; }
22145 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22146 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22147 Usually this means the macro was only invoked conditionally." >&5
22148 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22149 Usually this means the macro was only invoked conditionally." >&2;}
22150 { (exit 1); exit 1; }; }
22153 : ${CONFIG_STATUS=./config.status}
22154 ac_clean_files_save
=$ac_clean_files
22155 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22156 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22157 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22158 cat >$CONFIG_STATUS <<_ACEOF
22160 # Generated by $as_me.
22161 # Run this file to recreate the current configuration.
22162 # Compiler output produced by configure, useful for debugging
22163 # configure, is in config.log if it exists.
22166 ac_cs_recheck=false
22168 SHELL=\${CONFIG_SHELL-$SHELL}
22171 cat >>$CONFIG_STATUS <<\_ACEOF
22172 ## --------------------- ##
22173 ## M4sh Initialization. ##
22174 ## --------------------- ##
22176 # Be more Bourne compatible
22177 DUALCASE
=1; export DUALCASE
# for MKS sh
22178 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22181 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22182 # is contrary to our usage. Disable this feature.
22183 alias -g '${1+"$@"}'='"$@"'
22184 setopt NO_GLOB_SUBST
22186 case `(set -o) 2>/dev/null` in
22187 *posix
*) set -o posix
;;
22196 # Avoid depending upon Character Ranges.
22197 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22198 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22199 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22200 as_cr_digits
='0123456789'
22201 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22203 # The user is always right.
22204 if test "${PATH_SEPARATOR+set}" != set; then
22205 echo "#! /bin/sh" >conf$$.sh
22206 echo "exit 0" >>conf$$.sh
22208 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
22216 # Support unset when possible.
22217 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
22225 # We need space, tab and new line, in precisely that order. Quoting is
22226 # there to prevent editors from complaining about space-tab.
22227 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22228 # splitting by setting IFS to empty value.)
22233 # Find who we are. Look in the path if we contain no directory separator.
22235 *[\\/]* ) as_myself
=$0 ;;
22236 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22237 for as_dir
in $PATH
22240 test -z "$as_dir" && as_dir
=.
22241 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
22247 # We did not find ourselves, most probably we were run as `sh COMMAND'
22248 # in which case we are not to be found in the path.
22249 if test "x$as_myself" = x
; then
22252 if test ! -f "$as_myself"; then
22253 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22254 { (exit 1); exit 1; }
22257 # Work around bugs in pre-3.0 UWIN ksh.
22258 for as_var
in ENV MAIL MAILPATH
22259 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22267 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22268 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22269 LC_TELEPHONE LC_TIME
22271 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22272 eval $as_var=C
; export $as_var
22274 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22278 # Required to use basename.
22279 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22280 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22286 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22287 as_basename
=basename
22293 # Name of the executable.
22294 as_me
=`$as_basename -- "$0" ||
22295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22296 X"$0" : 'X\(//\)$' \| \
22297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22299 sed '/^.*\/\([^/][^/]*\)\/*$/{
22318 as_lineno_1
=$LINENO
22319 as_lineno_2
=$LINENO
22320 test "x$as_lineno_1" != "x$as_lineno_2" &&
22321 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22323 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22324 # uniformly replaced by the line number. The first 'sed' inserts a
22325 # line-number line after each line using $LINENO; the second 'sed'
22326 # does the real work. The second script uses 'N' to pair each
22327 # line-number line with the line containing $LINENO, and appends
22328 # trailing '-' during substitution so that $LINENO is not a special
22329 # case at line end.
22330 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22331 # scripts with optimization help from Paolo Bonzini. Blame Lee
22332 # E. McMahon (1931-1989) for sed's syntax. :-)
22344 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22347 ' >$as_me.lineno
&&
22348 chmod +x
"$as_me.lineno" ||
22349 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22350 { (exit 1); exit 1; }; }
22352 # Don't try to exec as it changes $[0], causing all sort of problems
22353 # (the dirname of $[0] is not the place where we might find the
22354 # original and so on. Autoconf is especially sensitive to this).
22355 .
"./$as_me.lineno"
22356 # Exit status is that of the last command.
22361 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22367 ECHO_C
= ECHO_N
= ECHO_T
=
22368 case `echo -n x` in
22370 case `echo 'x\c'` in
22371 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22385 rm -f conf$$ conf$$.exe conf$$.
file
22386 if test -d conf$$.dir
; then
22387 rm -f conf$$.dir
/conf$$.
file
22393 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22395 # ... but there are two gotchas:
22396 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22397 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22398 # In both cases, we have to default to `cp -p'.
22399 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22401 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22406 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22407 rmdir conf$$.dir
2>/dev
/null
22409 if mkdir
-p .
2>/dev
/null
; then
22412 test -d .
/-p && rmdir .
/-p
22416 if test -x / >/dev
/null
2>&1; then
22417 as_test_x
='test -x'
22419 if ls -dL / >/dev
/null
2>&1; then
22426 if test -d "$1"; then
22432 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22433 ???[sx]*):;;*)false;;esac;fi
22437 as_executable_p
=$as_test_x
22439 # Sed expression to map a string onto a valid CPP name.
22440 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22442 # Sed expression to map a string onto a valid variable name.
22443 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22448 # Save the log message, to keep $[0] and so on meaningful, and to
22449 # report actual input values of CONFIG_FILES etc. instead of their
22450 # values after options handling.
22452 This file was extended by simple-comm $as_me 0.1, which was
22453 generated by GNU Autoconf 2.61. Invocation command line was
22455 CONFIG_FILES = $CONFIG_FILES
22456 CONFIG_HEADERS = $CONFIG_HEADERS
22457 CONFIG_LINKS = $CONFIG_LINKS
22458 CONFIG_COMMANDS = $CONFIG_COMMANDS
22461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22466 cat >>$CONFIG_STATUS <<_ACEOF
22467 # Files that config.status was made for.
22468 config_files="$ac_config_files"
22469 config_headers="$ac_config_headers"
22470 config_commands="$ac_config_commands"
22474 cat >>$CONFIG_STATUS <<\_ACEOF
22476 \`$as_me' instantiates files from templates according to the
22477 current configuration.
22479 Usage: $0 [OPTIONS] [FILE]...
22481 -h, --help print this help, then exit
22482 -V, --version print version number and configuration settings, then exit
22483 -q, --quiet do not print progress messages
22484 -d, --debug don't remove temporary files
22485 --recheck update $as_me by reconfiguring in the same conditions
22486 --file=FILE[:TEMPLATE]
22487 instantiate the configuration file FILE
22488 --header=FILE[:TEMPLATE]
22489 instantiate the configuration header FILE
22491 Configuration files:
22494 Configuration headers:
22497 Configuration commands:
22500 Report bugs to <bug-autoconf@gnu.org>."
22503 cat >>$CONFIG_STATUS <<_ACEOF
22505 simple-comm config.status 0.1
22506 configured by $0, generated by GNU Autoconf 2.61,
22507 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22509 Copyright (C) 2006 Free Software Foundation, Inc.
22510 This config.status script is free software; the Free Software Foundation
22511 gives unlimited permission to copy, distribute and modify it."
22519 cat >>$CONFIG_STATUS <<\_ACEOF
22520 # If no file are specified by the user, then we need to provide default
22521 # value. By we need to know if files were specified by the user.
22527 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22528 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22539 # Handling of the options.
22540 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22542 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22543 echo "$ac_cs_version"; exit ;;
22544 --debug |
--debu |
--deb |
--de |
--d |
-d )
22546 --file |
--fil |
--fi |
--f )
22548 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
22549 ac_need_defaults
=false
;;
22550 --header |
--heade |
--head |
--hea )
22552 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
22553 ac_need_defaults
=false
;;
22555 # Conflict between --help and --header
22556 { echo "$as_me: error: ambiguous option: $1
22557 Try \`$0 --help' for more information." >&2
22558 { (exit 1); exit 1; }; };;
22559 --help |
--hel |
-h )
22560 echo "$ac_cs_usage"; exit ;;
22561 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22562 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22565 # This is an error.
22566 -*) { echo "$as_me: error: unrecognized option: $1
22567 Try \`$0 --help' for more information." >&2
22568 { (exit 1); exit 1; }; } ;;
22570 *) ac_config_targets
="$ac_config_targets $1"
22571 ac_need_defaults
=false
;;
22577 ac_configure_extra_args
=
22579 if $ac_cs_silent; then
22581 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22585 cat >>$CONFIG_STATUS <<_ACEOF
22586 if \$ac_cs_recheck; then
22587 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22588 CONFIG_SHELL=$SHELL
22589 export CONFIG_SHELL
22590 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22594 cat >>$CONFIG_STATUS <<\_ACEOF
22598 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22599 ## Running $as_me. ##
22605 cat >>$CONFIG_STATUS <<_ACEOF
22609 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22613 cat >>$CONFIG_STATUS <<\_ACEOF
22615 # Handling of arguments.
22616 for ac_config_target
in $ac_config_targets
22618 case $ac_config_target in
22619 "src/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
22620 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22621 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22622 "src/simple_comm.pc") CONFIG_FILES
="$CONFIG_FILES src/simple_comm.pc" ;;
22623 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
22625 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22626 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22627 { (exit 1); exit 1; }; };;
22632 # If the user did not use the arguments to specify the items to instantiate,
22633 # then the envvar interface is used. Set only those that are not.
22634 # We use the long form for the default assignment because of an extremely
22635 # bizarre bug on SunOS 4.1.3.
22636 if $ac_need_defaults; then
22637 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22638 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22639 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22642 # Have a temporary directory for convenience. Make it in the build tree
22643 # simply because there is no reason against having it here, and in addition,
22644 # creating and moving files from /tmp can sometimes cause problems.
22645 # Hook for its removal unless debugging.
22646 # Note that there is a small window in which the directory will not be cleaned:
22647 # after its creation but before its name has been assigned to `$tmp'.
22651 trap 'exit_status=$?
22652 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22654 trap '{ (exit 1); exit 1; }' 1 2 13 15
22656 # Create a (secure) tmp directory for tmp files.
22659 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22660 test -n "$tmp" && test -d "$tmp"
22663 tmp
=.
/conf$$
-$RANDOM
22664 (umask 077 && mkdir
"$tmp")
22667 echo "$me: cannot create a temporary directory in ." >&2
22668 { (exit 1); exit 1; }
22672 # Set up the sed scripts for CONFIG_FILES section.
22675 # No need to generate the scripts if there are no CONFIG_FILES.
22676 # This happens for instance when ./config.status config.h
22677 if test -n "$CONFIG_FILES"; then
22684 for ac_last_try
in false false false false false
:; do
22685 cat >conf$
$subs.
sed <<_ACEOF
22686 SHELL!$SHELL$ac_delim
22687 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22688 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22689 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22690 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22691 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22692 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22693 exec_prefix!$exec_prefix$ac_delim
22694 prefix!$prefix$ac_delim
22695 program_transform_name!$program_transform_name$ac_delim
22696 bindir!$bindir$ac_delim
22697 sbindir!$sbindir$ac_delim
22698 libexecdir!$libexecdir$ac_delim
22699 datarootdir!$datarootdir$ac_delim
22700 datadir!$datadir$ac_delim
22701 sysconfdir!$sysconfdir$ac_delim
22702 sharedstatedir!$sharedstatedir$ac_delim
22703 localstatedir!$localstatedir$ac_delim
22704 includedir!$includedir$ac_delim
22705 oldincludedir!$oldincludedir$ac_delim
22706 docdir!$docdir$ac_delim
22707 infodir!$infodir$ac_delim
22708 htmldir!$htmldir$ac_delim
22709 dvidir!$dvidir$ac_delim
22710 pdfdir!$pdfdir$ac_delim
22711 psdir!$psdir$ac_delim
22712 libdir!$libdir$ac_delim
22713 localedir!$localedir$ac_delim
22714 mandir!$mandir$ac_delim
22715 DEFS!$DEFS$ac_delim
22716 ECHO_C!$ECHO_C$ac_delim
22717 ECHO_N!$ECHO_N$ac_delim
22718 ECHO_T!$ECHO_T$ac_delim
22719 LIBS!$LIBS$ac_delim
22720 build_alias!$build_alias$ac_delim
22721 host_alias!$host_alias$ac_delim
22722 target_alias!$target_alias$ac_delim
22723 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22724 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22725 INSTALL_DATA!$INSTALL_DATA$ac_delim
22726 am__isrc!$am__isrc$ac_delim
22727 CYGPATH_W!$CYGPATH_W$ac_delim
22728 PACKAGE!$PACKAGE$ac_delim
22729 VERSION!$VERSION$ac_delim
22730 ACLOCAL!$ACLOCAL$ac_delim
22731 AUTOCONF!$AUTOCONF$ac_delim
22732 AUTOMAKE!$AUTOMAKE$ac_delim
22733 AUTOHEADER!$AUTOHEADER$ac_delim
22734 MAKEINFO!$MAKEINFO$ac_delim
22735 install_sh!$install_sh$ac_delim
22736 STRIP!$STRIP$ac_delim
22737 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22738 mkdir_p!$mkdir_p$ac_delim
22740 SET_MAKE!$SET_MAKE$ac_delim
22741 am__leading_dot!$am__leading_dot$ac_delim
22742 AMTAR!$AMTAR$ac_delim
22743 am__tar!$am__tar$ac_delim
22744 am__untar!$am__untar$ac_delim
22746 CXXFLAGS!$CXXFLAGS$ac_delim
22747 LDFLAGS!$LDFLAGS$ac_delim
22748 CPPFLAGS!$CPPFLAGS$ac_delim
22749 ac_ct_CXX!$ac_ct_CXX$ac_delim
22750 EXEEXT!$EXEEXT$ac_delim
22751 OBJEXT!$OBJEXT$ac_delim
22752 DEPDIR!$DEPDIR$ac_delim
22753 am__include!$am__include$ac_delim
22754 am__quote!$am__quote$ac_delim
22755 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22756 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22757 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22758 CXXDEPMODE!$CXXDEPMODE$ac_delim
22759 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22760 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22762 CFLAGS!$CFLAGS$ac_delim
22763 ac_ct_CC!$ac_ct_CC$ac_delim
22764 CCDEPMODE!$CCDEPMODE$ac_delim
22765 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22766 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22767 build!$build$ac_delim
22768 build_cpu!$build_cpu$ac_delim
22769 build_vendor!$build_vendor$ac_delim
22770 build_os!$build_os$ac_delim
22771 host!$host$ac_delim
22772 host_cpu!$host_cpu$ac_delim
22773 host_vendor!$host_vendor$ac_delim
22774 host_os!$host_os$ac_delim
22776 GREP!$GREP$ac_delim
22777 EGREP!$EGREP$ac_delim
22778 LN_S!$LN_S$ac_delim
22779 ECHO!$ECHO$ac_delim
22781 RANLIB!$RANLIB$ac_delim
22782 DSYMUTIL!$DSYMUTIL$ac_delim
22785 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22787 elif $ac_last_try; then
22788 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22789 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22790 { (exit 1); exit 1; }; }
22792 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22796 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22797 if test -n "$ac_eof"; then
22798 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22799 ac_eof
=`expr $ac_eof + 1`
22802 cat >>$CONFIG_STATUS <<_ACEOF
22803 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22804 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22807 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22808 s/^/s,@/; s/!/@,|#_!!_#|/
22811 s/'"$ac_delim"'$/,g/; t
22813 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22814 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22815 rm -f conf$
$subs.
sed
22816 cat >>$CONFIG_STATUS <<_ACEOF
22822 for ac_last_try
in false false false false false
:; do
22823 cat >conf$
$subs.
sed <<_ACEOF
22824 NMEDIT!$NMEDIT$ac_delim
22826 CXXCPP!$CXXCPP$ac_delim
22828 FFLAGS!$FFLAGS$ac_delim
22829 ac_ct_F77!$ac_ct_F77$ac_delim
22830 LIBTOOL!$LIBTOOL$ac_delim
22831 LIBOBJS!$LIBOBJS$ac_delim
22832 LTLIBOBJS!$LTLIBOBJS$ac_delim
22835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
22837 elif $ac_last_try; then
22838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22840 { (exit 1); exit 1; }; }
22842 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
22846 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22847 if test -n "$ac_eof"; then
22848 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
22849 ac_eof
=`expr $ac_eof + 1`
22852 cat >>$CONFIG_STATUS <<_ACEOF
22853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22858 s/^/s,@/; s/!/@,|#_!!_#|/
22861 s/'"$ac_delim"'$/,g/; t
22863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22864 ' >>$CONFIG_STATUS <conf$
$subs.
sed
22865 rm -f conf$
$subs.
sed
22866 cat >>$CONFIG_STATUS <<_ACEOF
22873 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22874 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22875 # trailing colons and then remove the whole line if VPATH becomes empty
22876 # (actually we leave an empty line to preserve line numbers).
22877 if test "x$srcdir" = x.
; then
22878 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
22879 s/:*\$(srcdir):*/:/
22880 s/:*\${srcdir}:*/:/
22882 s/^\([^=]*=[ ]*\):*/\1/
22888 cat >>$CONFIG_STATUS <<\_ACEOF
22889 fi # test -n "$CONFIG_FILES"
22892 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
22895 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22897 case $ac_mode$ac_tag in
22899 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22900 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22901 { (exit 1); exit 1; }; };;
22902 :[FH
]-) ac_tag
=-:-;;
22903 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22920 -) ac_f
="$tmp/stdin";;
22921 *) # Look for the file first in the build tree, then in the source tree
22922 # (if the path is not absolute). The absolute path cannot be DOS-style,
22923 # because $ac_f cannot contain `:'.
22927 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22929 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22930 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22931 { (exit 1); exit 1; }; };;
22933 ac_file_inputs
="$ac_file_inputs $ac_f"
22936 # Let's still pretend it is `configure' which instantiates (i.e., don't
22937 # use $as_me), people would be surprised to read:
22938 # /* config.h. Generated by config.status. */
22939 configure_input
="Generated from "`IFS=:
22940 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22941 if test x
"$ac_file" != x-
; then
22942 configure_input
="$ac_file. $configure_input"
22943 { echo "$as_me:$LINENO: creating $ac_file" >&5
22944 echo "$as_me: creating $ac_file" >&6;}
22948 *:-:* |
*:-) cat >"$tmp/stdin";;
22953 ac_dir
=`$as_dirname -- "$ac_file" ||
22954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22955 X"$ac_file" : 'X\(//\)[^/]' \| \
22956 X"$ac_file" : 'X\(//\)$' \| \
22957 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22963 /^X\(\/\/\)[^/].*/{
22978 -*) as_dir
=.
/$as_dir;;
22980 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22984 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22985 *) as_qdir
=$as_dir;;
22987 as_dirs
="'$as_qdir' $as_dirs"
22988 as_dir
=`$as_dirname -- "$as_dir" ||
22989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22990 X"$as_dir" : 'X\(//\)[^/]' \| \
22991 X"$as_dir" : 'X\(//\)$' \| \
22992 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22998 /^X\(\/\/\)[^/].*/{
23011 test -d "$as_dir" && break
23013 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23014 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23015 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23016 { (exit 1); exit 1; }; }; }
23020 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23022 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23023 # A ".." for each directory in $ac_dir_suffix.
23024 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23025 case $ac_top_builddir_sub in
23026 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23027 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23030 ac_abs_top_builddir
=$ac_pwd
23031 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23032 # for backward compatibility:
23033 ac_top_builddir
=$ac_top_build_prefix
23036 .
) # We are building in place.
23038 ac_top_srcdir
=$ac_top_builddir_sub
23039 ac_abs_top_srcdir
=$ac_pwd ;;
23040 [\\/]* | ?
:[\\/]* ) # Absolute name.
23041 ac_srcdir
=$srcdir$ac_dir_suffix;
23042 ac_top_srcdir
=$srcdir
23043 ac_abs_top_srcdir
=$srcdir ;;
23044 *) # Relative name.
23045 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23046 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23047 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23049 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23059 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23060 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23062 ac_MKDIR_P
=$MKDIR_P
23064 [\\/$
]* | ?
:[\\/]* ) ;;
23065 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23069 cat >>$CONFIG_STATUS <<\_ACEOF
23070 # If the template does not know about datarootdir, expand it.
23071 # FIXME: This hack should be removed a few years after 2.60.
23072 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23074 case `sed -n '/datarootdir/ {
23083 ' $ac_file_inputs` in
23084 *datarootdir
*) ac_datarootdir_seen
=yes;;
23085 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23086 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23087 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23089 cat >>$CONFIG_STATUS <<_ACEOF
23090 ac_datarootdir_hack='
23091 s&@datadir@&$datadir&g
23092 s&@docdir@&$docdir&g
23093 s&@infodir@&$infodir&g
23094 s&@localedir@&$localedir&g
23095 s&@mandir@&$mandir&g
23096 s&\\\${datarootdir}&$datarootdir&g' ;;
23100 # Neutralize VPATH when `$srcdir' = `.'.
23101 # Shell code in configure.ac might set extrasub.
23102 # FIXME: do we really want to maintain this feature?
23103 cat >>$CONFIG_STATUS <<_ACEOF
23107 cat >>$CONFIG_STATUS <<\_ACEOF
23109 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23110 s
&@configure_input@
&$configure_input&;t t
23111 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23112 s
&@srcdir@
&$ac_srcdir&;t t
23113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23116 s
&@builddir@
&$ac_builddir&;t t
23117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23119 s
&@INSTALL@
&$ac_INSTALL&;t t
23120 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23121 $ac_datarootdir_hack
23122 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
23124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23125 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23127 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23128 which seems to be undefined. Please make sure it is defined." >&5
23129 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23130 which seems to be undefined. Please make sure it is defined." >&2;}
23134 -) cat "$tmp/out"; rm -f "$tmp/out";;
23135 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23144 # Transform confdefs.h into a sed script `conftest.defines', that
23145 # substitutes the proper values into config.h.in to produce config.h.
23146 rm -f conftest.defines conftest.
tail
23147 # First, append a space to every undef/define line, to ease matching.
23148 echo 's/$/ /' >conftest.defines
23149 # Then, protect against being on the right side of a sed subst, or in
23150 # an unquoted here document, in config.status. If some macros were
23151 # called several times there might be several #defines for the same
23152 # symbol, which is useless. But do not sort them, since the last
23153 # AC_DEFINE must be honored.
23154 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
23155 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23156 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23157 # PARAMS is the parameter list in the macro definition--in most cases, it's
23158 # just an empty string.
23159 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23160 ac_dB
='\\)[ (].*,\\1define\\2'
23168 s/^[ ]*#[ ]*define[ ][ ]*//
23173 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23174 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23175 ' >>conftest.defines
23177 # Remove the space that was appended to ease matching.
23178 # Then replace #undef with comments. This is necessary, for
23179 # example, in the case of _POSIX_SOURCE, which is predefined and required
23180 # on some systems where configure will not decide to define it.
23181 # (The regexp can be short, since the line contains either #define or #undef.)
23183 s,^[ #]*u.*,/* & */,' >>conftest.defines
23185 # Break up conftest.defines:
23186 ac_max_sed_lines
=50
23188 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23189 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23190 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23192 ac_in
='$ac_file_inputs'
23193 ac_out
='"$tmp/out1"'
23194 ac_nxt
='"$tmp/out2"'
23198 # Write a here document:
23199 cat >>$CONFIG_STATUS <<_ACEOF
23200 # First, check the format of the line:
23201 cat >"\$tmp/defines.sed" <<\\CEOF
23202 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23203 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23207 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
23209 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23210 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
23211 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
23212 grep . conftest.
tail >/dev
/null ||
break
23213 rm -f conftest.defines
23214 mv conftest.
tail conftest.defines
23216 rm -f conftest.defines conftest.
tail
23218 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23219 cat >>$CONFIG_STATUS <<\_ACEOF
23220 if test x
"$ac_file" != x-
; then
23221 echo "/* $configure_input */" >"$tmp/config.h"
23222 cat "$ac_result" >>"$tmp/config.h"
23223 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
23224 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23225 echo "$as_me: $ac_file is unchanged" >&6;}
23228 mv "$tmp/config.h" $ac_file
23231 echo "/* $configure_input */"
23235 # Compute $ac_file's index in $config_headers.
23238 for _am_header
in $config_headers :; do
23239 case $_am_header in
23240 $_am_arg |
$_am_arg:* )
23243 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23246 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23247 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23248 X"$_am_arg" : 'X\(//\)[^/]' \| \
23249 X"$_am_arg" : 'X\(//\)$' \| \
23250 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23256 /^X\(\/\/\)[^/].*/{
23268 s/.*/./; q'`/stamp-h
$_am_stamp_count
23271 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23272 echo "$as_me: executing $ac_file commands" >&6;}
23277 case $ac_file$ac_mode in
23278 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23279 # Strip MF so we end up with the name of the file.
23280 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23281 # Check whether this is an Automake generated Makefile or not.
23282 # We used to match only the files named `Makefile.in', but
23283 # some people rename them; so instead we look at the file content.
23284 # Grep'ing the first line is not enough: some people post-process
23285 # each Makefile.in and add a new line on top of each file to say so.
23286 # Grep'ing the whole file is not good either: AIX grep has a line
23287 # limit of 2048, but all sed's we know have understand at least 4000.
23288 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23289 dirpart
=`$as_dirname -- "$mf" ||
23290 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23291 X"$mf" : 'X\(//\)[^/]' \| \
23292 X"$mf" : 'X\(//\)$' \| \
23293 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23295 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23299 /^X\(\/\/\)[^/].*/{
23315 # Extract the definition of DEPDIR, am__include, and am__quote
23316 # from the Makefile without running `make'.
23317 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23318 test -z "$DEPDIR" && continue
23319 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23320 test -z "am__include" && continue
23321 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23322 # When using ansi2knr, U may be empty or an underscore; expand it
23323 U
=`sed -n 's/^U = //p' < "$mf"`
23324 # Find all dependency output files, they are included files with
23325 # $(DEPDIR) in their names. We invoke sed twice because it is the
23326 # simplest approach to changing $(DEPDIR) to its actual value in the
23328 for file in `sed -n "
23329 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23330 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23331 # Make sure the directory exists.
23332 test -f "$dirpart/$file" && continue
23333 fdir
=`$as_dirname -- "$file" ||
23334 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23335 X"$file" : 'X\(//\)[^/]' \| \
23336 X"$file" : 'X\(//\)$' \| \
23337 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23343 /^X\(\/\/\)[^/].*/{
23356 { as_dir
=$dirpart/$fdir
23358 -*) as_dir
=.
/$as_dir;;
23360 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23364 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23365 *) as_qdir
=$as_dir;;
23367 as_dirs
="'$as_qdir' $as_dirs"
23368 as_dir
=`$as_dirname -- "$as_dir" ||
23369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23370 X"$as_dir" : 'X\(//\)[^/]' \| \
23371 X"$as_dir" : 'X\(//\)$' \| \
23372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23378 /^X\(\/\/\)[^/].*/{
23391 test -d "$as_dir" && break
23393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23394 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23395 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23396 { (exit 1); exit 1; }; }; }
23397 # echo "creating $dirpart/$file"
23398 echo '# dummy' > "$dirpart/$file"
23407 { (exit 0); exit 0; }
23409 chmod +x
$CONFIG_STATUS
23410 ac_clean_files
=$ac_clean_files_save
23413 # configure is writing to config.log, and then calls config.status.
23414 # config.status does its own redirection, appending to config.log.
23415 # Unfortunately, on DOS this fails, as config.log is still kept open
23416 # by configure, so config.status won't be able to write to it; its
23417 # output is simply discarded. So we exec the FD to /dev/null,
23418 # effectively closing config.log, so it can be properly (re)opened and
23419 # appended to by config.status. When coming back to configure, we
23420 # need to make the FD available again.
23421 if test "$no_create" != yes; then
23423 ac_config_status_args
=
23424 test "$silent" = yes &&
23425 ac_config_status_args
="$ac_config_status_args --quiet"
23427 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23430 # would make configure fail if this is the last instruction.
23431 $ac_cs_success ||
{ (exit 1); exit 1; }